/* Landing, thank-you and privacy pages (builds on site.css; the report preview also uses exercise.css).
   Digital Brief mapping: one idea per level, generous spacing, restrained ivory/navy/gold, one dominant action,
   labels always visible, no motion, clean stacking on phones. */

.tp-page { flex: 1 0 auto; width: 100%; outline: none; }
.tp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--tp-gutter); }
.tp-band { padding: 72px 0; }
.tp-band--alt { background: var(--tp-white); border-block: 1px solid var(--tp-line); }
.tp-band__head { max-width: 680px; display: grid; gap: 6px; margin-bottom: 28px; }
.tp-band__head .tp-h2 { margin: 0; font-size: 1.625rem; line-height: 1.5; text-wrap: balance; }
.tp-band__lead { color: var(--tp-sub); font-size: 1.125rem; line-height: 1.8; }

/* ---------- hero: statement on the start side, the form beside it; stacked on phones ---------- */
.tp-hero { padding: 48px 0 64px; }
.tp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: start; }
.tp-hero__text { padding-top: 24px; display: grid; gap: 10px; }
.tp-hero__title { font-size: 2.5rem; line-height: 1.4; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.tp-hero__benefit { font-size: 1.25rem; line-height: 1.85; color: var(--tp-sub); max-width: 34em; }

/* ---------- opt-in form ---------- */
.tp-optin { background: var(--tp-white); border: 1px solid var(--tp-line); border-radius: 16px; padding: 24px 24px 20px; display: grid; gap: 14px; box-shadow: 0 1px 0 var(--tp-line); }
.tp-optin__field { display: grid; gap: 4px; }
.tp-optin .tp-label { margin: 0; font-size: 1.0625rem; }
.tp-optin .tp-input { min-height: 50px; }
.tp-optin .tp-input[dir="ltr"] { text-align: left; }
.tp-optin .tp-error { margin: 0; font-size: 0.9375rem; }
.tp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.7; color: var(--tp-sub); cursor: pointer; }
.tp-consent input { width: 1.375rem; height: 1.375rem; margin: 2px 0 0; flex: none; accent-color: var(--tp-ink); }
.tp-consent__optional { white-space: nowrap; }
.tp-optin__submit { width: 100%; min-height: 54px; font-size: 1.125rem; }
.tp-optin__submit[aria-disabled="true"] { opacity: 0.75; cursor: progress; }
.tp-optin__next { font-size: 0.9375rem; line-height: 1.7; color: var(--tp-sub); margin: 0; }
.tp-optin__next a { color: var(--tp-ink); }
.tp-optin__status { margin: 0; font-size: 1rem; }
.tp-summary { border: 2px solid var(--tp-error); border-radius: 10px; padding: 10px 14px; background: var(--tp-white); outline: none; }
.tp-summary:focus-visible { outline: 3px solid var(--tp-focus); outline-offset: 2px; }
.tp-summary__title { font-size: 1rem; font-weight: 600; color: var(--tp-error); }
.tp-summary ul { margin: 4px 0 0; padding-inline-start: 20px; font-size: 1rem; }
.tp-summary a { color: var(--tp-error); }

/* ---------- sections below the hero ---------- */
.tp-grid-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tp-feature { background: var(--tp-paper); border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 20px; display: grid; gap: 6px; align-content: start; }
.tp-band--alt .tp-feature { background: var(--tp-paper); }
.tp-feature__title { font-size: 1.125rem; font-weight: 600; line-height: 1.6; }
.tp-feature__text { font-size: 1rem; line-height: 1.75; color: var(--tp-sub); }
.tp-stagelist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.tp-stagelist li { border-top: 3px solid var(--tp-gold); padding-top: 12px; display: grid; gap: 4px; align-content: start; }
.tp-stagelist__name { font-size: 1.25rem; font-weight: 600; }
.tp-stagelist__text { font-size: 1rem; line-height: 1.75; color: var(--tp-sub); }
.tp-preview { max-width: 820px; }
.tp-list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.tp-list-plain li { padding-inline-start: 18px; border-inline-start: 3px solid var(--tp-gold); font-size: 1.0625rem; line-height: 1.8; }
.tp-end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---------- thank-you ---------- */
.tp-status { display: grid; gap: 12px; }
.tp-status .tp-actions { margin-top: 8px; }
.tp-ty-notes { display: grid; gap: 2px; margin-top: 4px !important; }
.tp-ty-notes .tp-hint { margin: 0; font-size: 0.9375rem; }
.tp-button:disabled, .tp-button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.tp-status__heading { font-size: 1.875rem; line-height: 1.45; font-weight: 600; outline: none; }
.tp-status__body { font-size: 1.1875rem; line-height: 1.85; }
.tp-expect { margin: 0; display: grid; gap: 8px; }
.tp-expect__row { display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr); gap: 2px 14px; font-size: 1.0625rem; }
.tp-expect__row dt { color: var(--tp-sub); font-size: 1rem; }
.tp-expect__row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tp-help .tp-details { margin-top: 0; }
.tp-help .tp-details + .tp-details { margin-top: 0; }
.tp-help__providers { display: grid; }
.tp-ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- privacy ---------- */
.tp-prose { max-width: 720px; display: grid; gap: 22px; }
.tp-prose section { display: grid; gap: 6px; }
.tp-prose .tp-h2 { margin: 0; }
.tp-prose p { font-size: 1.125rem; line-height: 1.85; }

/* ---------- footer links ---------- */
.tp-footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tp-footer a { color: var(--tp-ink); }

@media (max-width: 960px) {
  .tp-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-stagelist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tp-hero { padding: 16px 0 40px; }
  .tp-hero__grid, .tp-end { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tp-hero__text { padding-top: 0; gap: 4px; }
  .tp-hero__title { font-size: 1.6875rem; line-height: 1.4; }
  .tp-hero__benefit { font-size: 1.0625rem; line-height: 1.7; }
  .tp-optin { padding: 16px 16px 14px; gap: 10px; border-radius: 14px; }
  .tp-band { padding: 48px 0; }
  .tp-band__head .tp-h2 { font-size: 1.4375rem; }
}
@media (max-width: 560px) {
  .tp-page .tp-header__inner, .tp-landing .tp-header__inner { padding-block: 6px; }
  .tp-grid-cards, .tp-stagelist { grid-template-columns: minmax(0, 1fr); }
  .tp-status__heading { font-size: 1.5625rem; }
  .tp-status__body { font-size: 1.125rem; }
  .tp-expect__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 380px) {
  .tp-landing .tp-header__inner { padding-block: 4px; }
  .tp-landing .tp-logo { height: 36px; }
  .tp-hero { padding-top: 10px; }
  .tp-hero__text { gap: 2px; }
  .tp-hero__title { font-size: 1.375rem; line-height: 1.45; }
  .tp-hero__benefit { font-size: 1rem; line-height: 1.6; }
  .tp-eyebrow { font-size: 0.875rem; margin-bottom: 0; }
  .tp-optin { padding: 12px 12px 12px; gap: 8px; }
  .tp-optin .tp-label { font-size: 1rem; line-height: 1.5; }
  .tp-optin .tp-input { min-height: 44px; padding-block: 5px; }
  .tp-consent { font-size: 0.875rem; line-height: 1.55; }
  .tp-optin__submit { min-height: 48px; }
}
/* The landing page uses a wider frame than the exercise; its header and footer follow it. */
.tp-landing .tp-header__inner, .tp-landing .tp-footer__inner { max-width: 1080px; }
