  body { background: var(--paper); }

  /* ─── Page head ─── */
  .apply-head {
    background: var(--orange-soft);
    padding: 64px 0 72px;
    text-align: center;
  }
  .apply-head h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-top: 18px;
  }
  .apply-head h1 .script {
    display: block;
    font-size: .82em;
    color: var(--orange-deep);
    margin-top: 6px;
    padding-bottom: 0.12em;
  }
  .apply-head .lede {
    color: var(--ink);
    opacity: .82;
    font-size: 18px;
    line-height: 1.55;
    margin: 22px auto 0;
    max-width: 620px;
  }

  /* ─── Listings frame ─── */
  .apply-section { padding: 56px 0 96px; }

  .apply-embed {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    /* AppFolio's listings render comfortably around 800px; past that the cards
       just stretch, so cap it and centre rather than filling a 1240px page. */
    max-width: 880px;
    margin: 0 auto;
    overflow: hidden;
  }
  /* Width is driven here, not by the iframe's width attribute — a fixed 800px
     would set the page's minimum width and scroll the whole document on a phone. */
  .apply-embed iframe {
    display: block;
    width: 100%;
    border: 0;
  }
  .apply-embed--unset {
    padding: 48px 24px;
    text-align: center;
    color: var(--muted);
    background: var(--cream);
    border-style: dashed;
  }

  .apply-direct {
    max-width: 880px;
    margin: 14px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
  }
  .apply-direct a {
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 3px;
  }
  .apply-direct a:hover { color: var(--orange); }

  /* ─── Help footer ─── */
  .apply-help {
    max-width: 880px;
    margin: 56px auto 0;
    padding: 32px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    text-align: center;
  }
  .apply-help h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
  .apply-help p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 10px auto 20px;
    max-width: 520px;
  }

  @media (max-width: 768px) {
    .apply-head { padding: 44px 0 52px; }
    .apply-section { padding: 36px 0 64px; }
    .apply-embed { padding: 8px; border-radius: var(--radius-md); }
    .apply-help { margin-top: 40px; padding: 24px 20px; }
  }
