/* "/" lander. Loads after brand.css. The section rhythm follows the
   TighterWallet landing page; the hero card is the invitation start form. */
.lander-page { background: radial-gradient(circle at 92% 4%, rgba(15, 143, 126, .1), transparent 26rem), var(--paper); }
.lander-page main { overflow-x: clip; }
.lander-page h1, .lander-page h2 { font-family: var(--serif); font-weight: 500; }
.kicker { margin: 0; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.text-link { color: var(--teal-dark); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: 48px 72px; padding: 72px var(--gutter) 96px; }
.hero::before { position: absolute; z-index: -1; top: 36px; right: 0; width: 40%; height: 76%; border-radius: 80px 0 0 80px; background: linear-gradient(145deg, rgba(15, 143, 126, .1), rgba(15, 31, 46, .05)); content: ""; }
.hero h1 { max-width: 620px; margin: 18px 0 22px; font-size: clamp(46px, 5.1vw, 74px); letter-spacing: -.04em; line-height: .98; }
.hero h1 em { color: var(--zen-mint); }
.hero-lede { max-width: 560px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 600; list-style: none; }
.trust-row li { position: relative; padding-left: 22px; }
.trust-row li::before { position: absolute; top: .42em; left: 1px; width: 10px; height: 5px; border-bottom: 2px solid var(--teal); border-left: 2px solid var(--teal); content: ""; transform: rotate(-45deg); }

.start-card { overflow: hidden; border: 1px solid var(--mint-line); border-radius: 20px; background: var(--white); box-shadow: 12px 12px 0 #cdebe5, 0 24px 60px rgba(15, 31, 46, .12); scroll-margin-top: 96px; }
.start-card-top { display: flex; justify-content: space-between; gap: 16px; padding: 13px 26px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.start-card-top span:last-child { color: #8fe0d2; }
.start-form { display: grid; gap: 16px; padding: 26px 26px 24px; }
.start-form h2 { margin: 0 0 2px; font-size: 27px; letter-spacing: -.03em; line-height: 1.1; }
.start-form #invitation_code { letter-spacing: .04em; }
.start-note { margin: 2px 0 -4px; color: var(--ink-2); font-size: 14px; text-align: center; }
.start-submit { width: 100%; min-height: 58px; font-size: 18px; }
.start-error { margin: 0; padding: 11px 13px; border-radius: 10px; background: #fff0f2; color: var(--danger); font-size: 14px; font-weight: 600; }
.start-alt { margin: 0; font-size: 15px; text-align: center; }
.start-alt a { color: var(--teal-dark); font-weight: 700; text-underline-offset: 4px; }
.start-consent { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.start-consent a { color: var(--ink-2); }

.section-heading { max-width: 720px; }
.section-heading h2, .letter-copy h2, .promise-section h2, .closing-section h2 { margin: 12px 0 0; font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -.045em; line-height: 1; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.steps-section, .options-section, .faq-section { padding: 88px var(--gutter); }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps-grid li { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.steps-grid b { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; }
.steps-grid strong { display: block; margin: 22px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.letter-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px 72px; padding: 88px var(--gutter); background: linear-gradient(135deg, #dff3ef, #e4f0f6); }
.letter-copy > p:not(.kicker) { max-width: 560px; margin: 18px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.letter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.letter-figure { margin: 0; }
.letter { max-width: 420px; margin: 0 auto; padding: 26px 26px 34px; border: 1px solid #a9cdc7; border-radius: 6px; background: var(--white); box-shadow: 9px 9px 0 var(--ink); transform: rotate(-1.6deg); }
.letter-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.letter-head img { display: block; width: 117px; height: auto; }
.letter-code { display: grid; gap: 2px; padding: 8px 12px; border: 2px dashed var(--teal); border-radius: 8px; background: var(--mint-soft); }
.letter-code span { color: var(--teal-dark); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.letter-code b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .06em; }
.letter-lines { display: grid; gap: 11px; margin-top: 34px; }
.letter-lines i { display: block; height: 8px; border-radius: 4px; background: #e3eaf0; }
.letter-lines i:nth-child(1) { width: 38%; background: #cbd6e0; }
.letter-lines i:nth-child(4) { width: 88%; }
.letter-lines i:nth-child(6) { width: 56%; }
.letter-figure figcaption { margin-top: 30px; color: var(--muted); font-size: 13px; text-align: center; }

.options-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.options-grid li { display: grid; align-content: start; gap: 8px; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.options-grid li:nth-child(2) { border-color: var(--mint-line); background: var(--mint); }
.options-grid strong { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.options-grid span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.options-grid li:nth-child(2) span { color: var(--ink-2); }

.promise-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px 70px; padding: 88px var(--gutter); background: var(--ink); color: #fff; }
.promise-section .kicker { color: #8fe0d2; }
.promise-section p:not(.kicker) { max-width: 520px; margin: 16px 0 20px; color: #c3d0dc; font-size: 17px; line-height: 1.6; }
.promise-section a { color: #8fe0d2; font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.promise-section ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.promise-section li { position: relative; display: flex; min-height: 96px; align-items: center; padding: 18px 18px 18px 50px; border: 1px solid #38506a; border-radius: 16px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.promise-section li::before { position: absolute; top: 50%; left: 20px; width: 13px; height: 7px; margin-top: -7px; border-bottom: 2px solid #8fe0d2; border-left: 2px solid #8fe0d2; content: ""; transform: rotate(-45deg); }

.faq-section .section-heading { max-width: none; text-align: center; }
.faq-list { max-width: 860px; margin: 34px auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; font-family: var(--serif); font-size: 23px; letter-spacing: -.02em; line-height: 1.25; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 8px; width: 10px; height: 10px; margin-top: -9px; border-right: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark); content: ""; transform: rotate(45deg); transition: transform .18s ease; }
.faq-list details[open] summary::after { margin-top: -3px; transform: rotate(-135deg); }
.faq-list details p { max-width: 720px; margin: -6px 0 24px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.faq-list details a { color: var(--teal-dark); font-weight: 700; text-underline-offset: 4px; }

.closing-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; padding: 60px var(--gutter); background: var(--teal-dark); color: #fff; }
.closing-section h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 52px; }
  .hero::before { display: none; }
  .start-card { width: 100%; max-width: 520px; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter-section, .promise-section { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .hero { gap: 36px; padding: 38px 16px 64px; }
  .hero h1 { margin: 14px 0 18px; font-size: 44px; }
  .hero-lede { font-size: 16.5px; }
  .trust-row { margin-top: 22px; }
  .start-card { border-radius: 18px; box-shadow: 6px 6px 0 #cdebe5, 0 18px 40px rgba(15, 31, 46, .1); scroll-margin-top: 80px; }
  .start-card-top { padding: 12px 18px; }
  .start-form { padding: 22px 18px 20px; }
  .start-form h2 { font-size: 25px; }
  .steps-section, .options-section, .faq-section, .letter-section, .promise-section { padding: 64px 16px; }
  .section-heading h2, .letter-copy h2, .promise-section h2 { font-size: 36px; }
  .steps-grid { margin-top: 30px; }
  .letter { padding: 20px 18px 28px; box-shadow: 6px 6px 0 var(--ink); }
  .letter-head { flex-direction: column; }
  .options-grid { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .options-grid li { min-height: 0; }
  .promise-section ul { grid-template-columns: minmax(0, 1fr); }
  .promise-section li { min-height: 0; }
  .faq-list summary { font-size: 20px; }
  .closing-section { padding: 48px 16px; }
  .closing-actions, .closing-actions .button, .letter-actions .button { width: 100%; }
}
