/* One frame for every public page (2026-11-09). Every public page, from the
   landing pages to the legal pages, ends with the same footer and uses the
   same action colour as the app: teal in light mode, light teal in dark mode.
   Load it after the page's own stylesheet and before brand-logo.css. */
/* Every public page loads the same Inter faces, so text is never faked bold
   from the wrong file. Weights 501-699 use SemiBold, as on the homepage. */
@font-face { font-family: Inter; src: url('/assets/fonts/Inter_400Regular.woff2') format('woff2'); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/Inter_600SemiBold.woff2') format('woff2'); font-weight: 501 699; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/Inter_700Bold.woff2') format('woff2'); font-weight: 700 749; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/Inter_800ExtraBold.woff2') format('woff2'); font-weight: 750 900; font-style: normal; font-display: swap; }
:root {
  --site-ink: #10203f; --site-muted: #586781; --site-line: #d7deea; --site-hover: #e9eef5;
  --site-action: #00788F; --site-action-hover: #006E86; --site-action-ink: #ffffff;
}
body.dark-mode {
  --site-ink: #edf2ff; --site-muted: #b3bfd5; --site-line: #34425c; --site-hover: #22304a;
  --site-action: #5CC8DF; --site-action-hover: #8AD9EA; --site-action-ink: #0b1a24;
}

/* Footer: the homepage's footer, on every page. */
.public-footer { display: grid; grid-template-columns: 1fr auto; gap: 48px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 40px 0 56px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; box-sizing: border-box; }
.public-footer strong { color: var(--site-ink); font-size: 15px; font-weight: 700; }
.public-footer p { margin: 4px 0 6px; font-size: 13px; }
.public-footer small { font-size: 12px; }
.public-footer-links { display: grid; justify-items: end; gap: 10px; }
.public-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.public-footer a { color: var(--site-muted); font-size: 13px; text-decoration: none; }
.public-footer a:hover, .public-footer a[aria-current="page"] { color: var(--site-ink); text-decoration: underline; text-underline-offset: 3px; }
.public-footer .public-footer-social { gap: 4px; margin: -8px -8px 0 0; }
.public-footer .public-footer-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--site-muted); transition: color .15s, background-color .15s; }
.public-footer .public-footer-social a:hover, .public-footer .public-footer-social a:focus-visible { color: var(--site-ink); background: var(--site-hover); text-decoration: none; }
.public-footer-social svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 720px) {
  .public-footer { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 44px; }
  .public-footer-links { justify-items: start; }
  .public-footer nav { justify-content: flex-start; }
  .public-footer .public-footer-social { margin: 0 0 0 -8px; }
}

/* Landing pages keep their one action, so their header holds only the logo
   and Sign in, but it sits exactly where the full header does. */
.funnel-top .funnel-wrap { max-width: 1216px; min-height: 86px; }
.funnel-page .funnel-foot-wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
@media (max-width: 620px) { .funnel-top .funnel-wrap { min-height: 72px; } }

/* Legal pages read like the rest of the site: open on the page, not in a box. */
.legal-shell .legal-document { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.legal-shell > .public-footer { width: min(1180px, 100%); }
body:has(> .legal-shell) { background: #f4f6fa; }
body.dark-mode:has(> .legal-shell) { background: #0e1728; }
html:has(body > .legal-shell) { background: #f4f6fa; }
html:has(body.dark-mode > .legal-shell) { background: #0e1728; }
.legal-shell .legal-document { max-width: 820px; padding: 24px 0 48px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.legal-shell .legal-document > .eyebrow { margin: 0 0 14px; color: var(--site-action); font-size: 11px; font-weight: 650; letter-spacing: 1.6px; }
.legal-shell .legal-document h1 { margin: 0 0 14px; color: var(--site-ink); font-size: clamp(36px, 9vw, 56px); font-weight: 680; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.legal-shell .legal-document h2 { color: var(--site-ink); font-weight: 680; letter-spacing: -.01em; }
.legal-shell .legal-document a { color: var(--site-action); }
@media (max-width: 620px) { .legal-shell .legal-document { margin: 16px auto; padding: 8px 0 40px; } }
body.dark-mode .public-page-ribbon .user-controls .account-chip { background: transparent; }
.legal-shell .public-footer a { color: var(--site-muted); }
.legal-shell .public-footer a:hover, .legal-shell .public-footer a[aria-current="page"] { color: var(--site-ink); }
.legal-shell .legal-summary { background: #ffffff; border-color: var(--site-line); border-radius: 14px; }
body.dark-mode .legal-shell .legal-summary { background: #17233a; }

/* One type scale for every public page (2026-11-09). Inter throughout.
   Page title, section title, document heading, small heading, lead, body,
   eyebrow and button each have one size, weight and spacing everywhere. */
:root {
  --type-title: 680 clamp(40px, 8.4vw, 68px)/1.03 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-section: 680 clamp(28px, 5.4vw, 42px)/1.1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-doc: 680 clamp(21px, 4.4vw, 24px)/1.25 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-small: 650 18px/1.35 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-lead: 400 18px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-eyebrow: 700 12px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-button: 600 15px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Page titles */
.faq-hero h1, .faq-hero h1 + .faq-subhead, .faq-subhead, .about-page .faq-hero h1, .contact-page h1, .help-hero h1, .check-intro h1,
.funnel-page .funnel-hero h1, .funnel-page h1, .legal-shell .legal-document h1 {
  font: var(--type-title); letter-spacing: -.045em; text-wrap: balance;
}
.funnel-page .funnel-hero h1 { margin-top: 14px; }

/* Section titles */
.faq-page .question-group h2, .faq-close h2, .agent-section h2, .contact-form h2,
.about-why h2, .about-founder h2, .about-beliefs h2, .about-ahead h2, .contact-other h2,
.funnel-page .funnel-band h2, .funnel-page .funnel-close h2 {
  font: var(--type-section); letter-spacing: -.035em; text-wrap: balance;
}
/* Headings inside reading pages */
.help-section > h2, .legal-shell .legal-document section > h2, .funnel-page .funnel-stage h2 {
  font: var(--type-doc); letter-spacing: -.02em; text-wrap: balance;
}
.funnel-page h3, .about-beliefs h3, .agent-section h3 { font: var(--type-small); letter-spacing: -.01em; }
/* Lead paragraph under a page title */
.faq-lede, .help-lede, .check-lede, .funnel-page .funnel-lede, .legal-shell .legal-document .legal-intro {
  font: var(--type-lead);
}
/* Eyebrows */
.faq-kicker, .help-kicker, .funnel-page .funnel-kicker, .funnel-page .funnel-example-label, .legal-shell .legal-document > .eyebrow {
  font: var(--type-eyebrow); letter-spacing: .12em; text-transform: uppercase;
}

/* Buttons */
.faq-button, .funnel-page .funnel-button {
  min-height: 50px; padding: 13px 24px; border-radius: 12px; font: var(--type-button);
}
.funnel-page .funnel-sticky .funnel-button { min-height: 50px; }

/* One content edge: every page lines up with the header's left edge. */
.funnel-wrap { max-width: 1216px; }
.funnel-wrap.funnel-narrow { max-width: 1216px; }
.funnel-wrap.funnel-narrow > * { max-width: 780px; }
@media (min-width: 900px) {
  .legal-shell .legal-document { max-width: 1180px; margin-inline: auto; }
  .legal-shell .legal-document > * { max-width: 780px; }

}

/* One phone gutter: 20px on every public page. */
@media (max-width: 620px) {
  .public-shell { width: min(100% - 40px, 1180px); }
  .funnel-wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .funnel-page .funnel-foot-wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 620px) {
  .legal-shell { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  
}
