/* ============================================================
   First Look public pages: the www.zbang.ai system.
   Every page opens on night under a night bar, with its headline at
   poster size in Sofia Sans Extra Condensed; the content below sits on
   white and light grey. Buttons are pills (ink on light, white on night),
   everything else is square and flat. Blue marks text links and focus
   rings; light blue is night's accent. No cream, lime, salmon, gradients,
   shadows, serifs or italics. Loaded after app.css and brand.css on the
   logged-out pages only; the signed-in workspace keeps its own sheet.
   ============================================================ */

.public-brand {
  --z-paper: #ffffff;
  --z-paper-deep: #f5f5f7;
  --z-white: #ffffff;
  --z-night: #0f1014;
  --z-ink: #1d1d1f;
  --z-ink-hover: #3a3a3d;
  --z-blue: #2850e0;
  --z-blue-dark: #1736bd;
  --z-blue-light: #9fb0ff;
  --z-grey: #6e6e73;
  --z-copy: #333336;
  --z-on-dark: #a1a1a6;
  --z-copy-on-dark: #c9ccd6;
  --z-line: #d2d2d7;
  --z-line-strong: #86868b;
  --z-line-on-dark: rgba(255, 255, 255, 0.24);
  --z-error: #b3261e;
  /* Names app.css still reads on these pages. */
  --accent: #2850e0;
  --accent-hover: #1736bd;
  --paper: var(--z-paper);
  --ink: var(--z-ink);
  --muted: var(--z-grey);
  --ink-secondary: var(--z-copy);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 576px;
  --measure-wide: 760px;
  --radius-pill: 999px;
  --z-sans: "Sofia Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --z-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --page-title-size: clamp(76px, 7.2vw, 116px);
  --type-figure: clamp(40px, 3.8vw, 54px);
  --type-display-s: clamp(34px, 3.4vw, 46px);
  --type-display-xs: clamp(30px, 2.8vw, 40px);
  --type-display-2xs: clamp(28px, 2.4vw, 34px);
  --text-fact: clamp(19px, 1.7vw, 23px);
  --text-lede: clamp(18px, 1.6vw, 21px);
  --text-reading: 19px;
  --text-lead: 18px;
  --text-body-l: 17px;
  --text-body: 16px;
  --text-ui: 15px;
  --text-small: 14px;
  --text-caption: 13px;
  --text-micro: 12px;
  --duration-fast: 0.15s;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  color: var(--z-ink);
  background: var(--z-paper);
  font: 400 var(--text-body)/1.5 var(--z-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (max-width: 720px) {
  .public-brand { --page-title-size: clamp(46px, 14.5vw, 76px); }
}

@media (prefers-contrast: more) {
  .public-brand {
    --z-grey: #48484d;
    --z-line: #8e8e93;
    --z-line-strong: #6e6e73;
    --z-on-dark: #d2d2d7;
  }
}

/* ── Shell ──────────────────────────────────────────────── */
.public-brand .page-shell {
  min-height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.public-brand .page-content {
  flex: 1;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.public-brand .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.public-brand .skip-link {
  background: var(--z-ink);
  color: var(--z-white);
  border-radius: 0;
  font-size: var(--text-caption);
  font-weight: 600;
}

.public-brand .flash-banner {
  margin: 0;
  padding: 16px var(--gutter);
  border-radius: 0;
  background: var(--z-paper-deep);
  color: var(--z-ink);
}

/* ── Type ───────────────────────────────────────────────── */
.public-brand :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
.public-brand :is(h1, h2, h3, h4) { color: inherit; overflow-wrap: break-word; }
.public-brand h1,
.public-brand h2 {
  font-family: var(--z-display);
  font-weight: 800;
  letter-spacing: 0;
}
.public-brand :is(button, input, select, textarea, summary) { font: inherit; }
.public-brand ::selection { background: var(--z-blue); color: var(--z-white); }
.public-brand a { color: inherit; text-decoration: none; }
.public-brand em { font-style: normal; font-weight: 600; }

/* Keyboard focus: blue on light surfaces, white on night. */
.public-brand :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--z-blue);
  outline-offset: 4px;
  border-radius: 0;
}
.public-brand :is(.site-nav, .page-intro, .page-cta) :is(a, button):focus-visible {
  outline-color: var(--z-white);
}

/* Arrows are SVG masks in the text colour: the font subset has none, and
   only links that leave the app carry one. */
.public-brand .icon-arrow-out,
.public-brand .icon-arrow-back {
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.1em;
  background: currentColor;
  -webkit-mask: url("/static/brand/icons/arrow-up-right.svg") center / contain no-repeat;
  mask: url("/static/brand/icons/arrow-up-right.svg") center / contain no-repeat;
}
.public-brand .icon-arrow-back {
  -webkit-mask-image: url("/static/brand/icons/arrow-left.svg");
  mask-image: url("/static/brand/icons/arrow-left.svg");
}

/* ── Buttons and links ──────────────────────────────────── */
.public-brand .button {
  min-height: 46px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-ui);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.public-brand .button:active { transform: scale(0.98); }
.public-brand .button-dark { border-color: var(--z-ink); background: var(--z-ink); color: var(--z-white); }
.public-brand .button-dark:hover { border-color: var(--z-ink-hover); background: var(--z-ink-hover); color: var(--z-white); }
.public-brand .button-light { border-color: var(--z-white); background: var(--z-white); color: var(--z-ink); }
.public-brand .button-light:hover { border-color: var(--z-paper-deep); background: var(--z-paper-deep); color: var(--z-ink); }
.public-brand .button-outline { border-color: var(--z-line-strong); background: transparent; color: var(--z-ink); }
.public-brand .button-outline:hover { border-color: var(--z-ink); background: var(--z-paper-deep); }
.public-brand .button-large { min-height: 54px; padding-inline: 28px; font-size: var(--text-body); }
.public-brand .button[disabled] { cursor: wait; opacity: 0.65; }

.public-brand .text-link,
.public-brand .auth-sample-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--z-blue);
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: 1.3;
}
.public-brand .text-link:hover,
.public-brand .auth-sample-link:hover { color: var(--z-blue-dark); }

/* Beside a white pill on night, the second action is an outlined pill. */
.public-brand :is(.page-intro, .page-cta) .text-link {
  min-height: 46px;
  padding: 0 22px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  color: var(--z-white);
  transition: background 160ms ease, border-color 160ms ease;
}
.public-brand .page-intro .hero-actions .text-link { min-height: 54px; padding-inline: 26px; font-size: var(--text-body); }
.public-brand :is(.page-intro, .page-cta) .text-link:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: var(--z-white);
}

/* Text links inside running copy: blue, underlined in their own colour. */
.public-brand .prose a,
.public-brand .fine-print a,
.public-brand .faq a,
.public-brand .landing-proof-privacy a,
.public-brand .auth-card a:not(.button):not(.auth-sso-btn),
.public-brand .auth-aside a:not(.button) {
  color: var(--z-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.public-brand .prose a:hover,
.public-brand .fine-print a:hover,
.public-brand .faq a:hover,
.public-brand .auth-card a:not(.button):not(.auth-sso-btn):hover,
.public-brand .auth-aside a:not(.button):hover { color: var(--z-blue-dark); }

/* ── The bar ────────────────────────────────────────────── */
.public-brand .site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--z-night);
  color: var(--z-white);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .public-brand .site-nav {
    background: rgba(15, 16, 20, 0.84);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .public-brand .site-nav {
    background: var(--z-night);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.public-brand .site-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.public-brand .site-nav-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--z-white);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.public-brand .site-nav-brand:hover { color: var(--z-blue-light); }
.public-brand .site-nav-brand img { width: 28px; height: 28px; display: block; }
.public-brand .site-nav-product {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--z-line-on-dark);
  color: var(--z-on-dark);
  font-size: var(--text-ui);
  font-weight: 600;
  letter-spacing: 0;
}
.public-brand .site-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}
.public-brand .site-nav-links a {
  min-height: 44px;
  min-width: 44px;
  padding-inline: 6px;
  margin-inline: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--z-white);
  font-size: var(--text-ui);
  font-weight: 500;
  white-space: nowrap;
  transition: color 150ms ease;
}
.public-brand .site-nav-links a:hover { color: var(--z-blue-light); }
.public-brand .site-nav-links .nav-cta {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--z-white);
  border-radius: var(--radius-pill);
  background: var(--z-white);
  color: var(--z-ink);
  font-weight: 700;
}
.public-brand .site-nav-links .nav-cta:hover {
  border-color: var(--z-paper-deep);
  background: var(--z-paper-deep);
  color: var(--z-ink);
}

/* ── The page opening ───────────────────────────────────── */
.public-brand .page-intro {
  padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background: var(--z-night);
  color: var(--z-white);
}
.public-brand .page-intro-compact {
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
}
.public-brand .page-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.public-brand .page-intro-layout > h1 { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 56px); }
.public-brand .page-intro-compact .page-intro-layout > h1 { margin-bottom: clamp(18px, 2.4vw, 28px); }
.public-brand .page-intro h1 {
  max-width: 1200px;
  font-size: var(--page-title-size);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.public-brand .page-intro-lede,
.public-brand .landing-lede {
  max-width: 640px;
  color: var(--z-copy-on-dark);
  font-size: var(--text-lede);
  line-height: 1.5;
}
.public-brand .page-intro-lede + .page-intro-lede { margin-top: 12px; }
.public-brand .hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.public-brand .hero-note {
  max-width: 560px;
  margin-top: 18px;
  color: var(--z-on-dark);
  font-size: var(--text-small);
  line-height: 1.5;
}
.public-brand .page-facts { border-top: 2px solid var(--z-white); color: var(--z-white); }
.public-brand .page-facts > div {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--z-line-on-dark);
}
.public-brand .page-facts > div:last-child { border-bottom: 0; }
.public-brand .page-facts span { color: var(--z-on-dark); font-size: var(--text-small); font-weight: 600; }
.public-brand .page-facts strong { font-size: var(--text-fact); font-weight: 700; line-height: 1.2; }

/* ── Sections on white ──────────────────────────────────── */
.public-brand .section { padding-block: 56px; }
.public-brand .section-heading h2 {
  max-width: 1200px;
  font-size: calc(var(--page-title-size) * 0.75);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.public-brand .section-heading > p {
  max-width: 640px;
  margin-top: 18px;
  color: var(--z-grey);
  font-size: var(--text-lead);
  line-height: 1.5;
}

/* Columns under a heavy rule, not boxed cards. */
.public-brand .info-grid {
  --cols: 3;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px);
  list-style: none;
}
.public-brand .info-grid-4 { --cols: 4; }
.public-brand .info-grid > li { padding-top: 16px; border-top: 2px solid var(--z-ink); }
@supports (grid-template-rows: subgrid) {
  .public-brand .info-grid > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}
.public-brand .info-grid h3 {
  font-family: var(--z-display);
  font-size: var(--type-display-2xs);
  font-weight: 700;
  line-height: 0.95;
  text-wrap: balance;
}
.public-brand .info-grid p { margin-top: 10px; color: var(--z-copy); font-size: var(--text-body); line-height: 1.55; }

/* A real sequence: the steps band on light grey. */
.public-brand .approach-section { background: var(--z-paper-deep); color: var(--z-ink); }
.public-brand .approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: start;
}
.public-brand .approach-intro h2 {
  font-size: calc(var(--page-title-size) * 0.75);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.public-brand .approach-intro > p { max-width: 500px; margin: 30px 0; color: var(--z-grey); font-size: var(--text-body-l); line-height: 1.62; }
.public-brand .approach-steps { list-style: none; padding: 0; border-top: 2px solid var(--z-ink); }
.public-brand .approach-steps li {
  min-height: 150px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--z-line);
}
.public-brand .approach-steps > li > span {
  color: var(--z-ink);
  font-family: var(--z-display);
  font-size: var(--type-display-xs);
  font-weight: 700;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.public-brand .approach-steps h3 {
  font-family: var(--z-display);
  font-size: var(--type-display-xs);
  font-weight: 700;
  line-height: 0.95;
  text-wrap: balance;
}
.public-brand .approach-steps p { max-width: 550px; margin-top: 12px; color: var(--z-grey); font-size: var(--text-ui); line-height: 1.58; }

.public-brand .note-panel { max-width: 900px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px); background: var(--z-paper-deep); }
.public-brand .note-panel h3 { font-size: var(--text-lead); font-weight: 700; }
.public-brand .note-panel p,
.public-brand .note-panel li { color: var(--z-copy); font-size: var(--text-body); line-height: 1.6; }
.public-brand .note-panel p { margin-top: 10px; }
.public-brand .note-panel ul { margin-top: 10px; padding-left: 20px; }
.public-brand .note-panel li + li { margin-top: 6px; }
.public-brand .note-panel a { color: var(--z-ink); border-bottom: 1px solid currentColor; }

/* ── The closing call to action, on night ───────────────── */
.public-brand .page-cta { padding-block: clamp(56px, 7vw, 96px); background: var(--z-night); color: var(--z-white); }
.public-brand .page-cta-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.public-brand .page-cta h2 {
  max-width: 1000px;
  font-size: calc(var(--page-title-size) * 0.75);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.public-brand .page-cta p { max-width: 580px; margin-top: 18px; color: var(--z-on-dark); font-size: var(--text-lead); line-height: 1.5; }
.public-brand .page-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }

/* ── The footer ─────────────────────────────────────────── */
.public-brand .site-footer {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 68px 0 28px;
  border-top: 1px solid var(--z-line);
  background: var(--z-paper-deep);
  color: var(--z-ink);
  font-size: var(--text-ui);
}
.public-brand .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(150px, 0.52fr));
  gap: clamp(48px, 8vw, 110px);
}
.public-brand .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--z-ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.public-brand .footer-brand img { width: 34px; height: 34px; flex: 0 0 auto; display: block; }
.public-brand .footer-brand:hover { color: var(--z-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.public-brand .site-footer p { max-width: 450px; margin-top: 18px; color: var(--z-grey); font-size: var(--text-caption); line-height: 1.65; }
.public-brand .site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.public-brand .site-footer nav strong { margin-bottom: 7px; color: var(--z-grey); font-size: var(--text-caption); font-weight: 700; }
.public-brand .site-footer nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--z-ink); font-size: var(--text-ui); }
.public-brand .site-footer nav a:hover { color: var(--z-blue); text-decoration: underline; text-underline-offset: 4px; }
.public-brand .footer-bottom { margin-top: 60px; }
.public-brand .footer-legal {
  padding-top: 20px;
  border-top: 1px solid var(--z-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--z-grey);
  font-size: var(--text-micro);
  line-height: 1.55;
}

/* ── The landing page's real audit ──────────────────────── */
/* A square, flat panel with a 1px ink edge, as the site's sample report. */
.public-brand .audit-proof { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--z-ink); background: var(--z-white); }
.public-brand .proof-bar {
  min-height: 40px;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  color: var(--z-white);
  background: var(--z-ink);
  font-size: var(--text-micro);
  font-weight: 650;
}
.public-brand .landing-proof-period strong { font-weight: 750; }
.public-brand .proof-body { padding: clamp(22px, 3.4vw, 42px); display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px); }
.public-brand .landing-proof-label { color: var(--z-grey); font-size: var(--text-caption); font-weight: 650; }
.public-brand .landing-proof-value { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.public-brand .landing-proof-range {
  font-family: var(--z-display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.public-brand .landing-proof-unit { font-size: var(--text-small); font-weight: 700; }
.public-brand .landing-proof-note { margin-top: 14px; color: var(--z-copy); font-size: var(--text-caption); line-height: 1.55; }
.public-brand .landing-proof-intro { margin-top: 16px; max-width: 560px; color: var(--z-copy); font-size: var(--text-body); line-height: 1.55; }
.public-brand .proof-facts { align-self: start; border-top: 2px solid var(--z-ink); }
.public-brand .proof-facts > div { padding: 12px 0; display: flex; flex-direction: column; gap: 3px; border-bottom: 1px solid var(--z-line); }
.public-brand .proof-facts span { color: var(--z-grey); font-size: var(--text-caption); font-weight: 650; }
.public-brand .proof-facts strong { font-family: var(--z-display); font-size: var(--type-display-xs); font-weight: 800; line-height: 0.95; font-variant-numeric: tabular-nums; }
.public-brand .landing-proof-caveat { grid-column: 1 / -1; padding: 14px 16px; background: var(--z-paper-deep); font-size: var(--text-small); line-height: 1.5; }
.public-brand .landing-proof-caveat strong { display: block; color: var(--z-ink); font-weight: 700; }
.public-brand .landing-proof-caveat p { margin-top: 2px; color: var(--z-copy); }
.public-brand .landing-proof-details { grid-column: 1 / -1; border-top: 1px solid var(--z-line); }
.public-brand .landing-proof-details summary {
  padding: 18px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
}
.public-brand .landing-proof-details summary::-webkit-details-marker { display: none; }
.public-brand .landing-proof-details summary > span:first-child { min-width: 0; }
.public-brand .landing-proof-details summary strong { display: block; font-size: var(--text-ui); font-weight: 700; }
.public-brand .landing-proof-details summary > span:first-child > span { display: block; margin-top: 4px; color: var(--z-grey); font-size: var(--text-caption); }
.public-brand .landing-proof-toggle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--z-ink);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.public-brand .landing-proof-toggle::before { content: "+"; }
.public-brand .landing-proof-details[open] .landing-proof-toggle::before { content: "\2212"; }
.public-brand .landing-proof-excerpt { margin-top: 20px; }
.public-brand .landing-proof-excerpt-intro { max-width: 740px; color: var(--z-copy); font-size: var(--text-small); line-height: 1.55; }
.public-brand .landing-proof-findings { margin-top: 16px; padding: 0; list-style: none; border-top: 2px solid var(--z-ink); }
.public-brand .landing-proof-findings li { padding: 18px 0; display: grid; grid-template-columns: 52px 1fr; gap: 14px; border-bottom: 1px solid var(--z-line); }
.public-brand .landing-proof-rank { font-family: var(--z-display); font-size: var(--type-display-xs); font-weight: 700; line-height: 0.85; font-variant-numeric: tabular-nums; }
.public-brand .landing-proof-findings h3 { font-family: var(--z-display); font-size: var(--type-display-2xs); font-weight: 700; line-height: 0.95; text-wrap: balance; }
.public-brand .landing-proof-findings p { margin-top: 8px; color: var(--z-copy); font-size: var(--text-small); line-height: 1.55; }
.public-brand .landing-proof-observed { color: var(--z-grey); font-size: var(--text-caption); }
.public-brand .landing-proof-observed strong { color: var(--z-ink); font-weight: 700; }
.public-brand .landing-proof-methodology { margin-top: 16px; max-width: 740px; color: var(--z-grey); font-size: var(--text-caption); line-height: 1.55; }
.public-brand .landing-proof-privacy { margin-top: 10px; max-width: 740px; color: var(--z-grey); font-size: var(--text-caption); line-height: 1.55; }
.public-brand .proof-actions { grid-column: 1 / -1; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.public-brand .proof-run { color: var(--z-grey); font-size: var(--text-caption); }

/* ── Questions ──────────────────────────────────────────── */
.public-brand .faq-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.public-brand .faq { margin: 0; border-top: 2px solid var(--z-ink); }
.public-brand .faq details { border-bottom: 1px solid var(--z-line); }
.public-brand .faq summary {
  min-height: 44px;
  padding: 18px 44px 18px 0;
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  font-size: var(--text-body-l);
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
}
.public-brand .faq summary::-webkit-details-marker { display: none; }
.public-brand .faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("/static/brand/icons/chevron-down.svg") center / contain no-repeat;
  mask: url("/static/brand/icons/chevron-down.svg") center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform 200ms ease;
}
.public-brand .faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.public-brand .faq details p { max-width: var(--measure-wide); margin: 0 0 20px; color: var(--z-copy); font-size: var(--text-body); line-height: 1.6; }
.public-brand .faq details p + p { margin-top: -8px; }

/* ── Running copy: the legal pages and the app overview ─── */
.public-brand .legal-section { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); }
.public-brand .prose { color: var(--z-copy); font-size: var(--text-reading); line-height: 1.65; }
.public-brand .prose > :is(p, address, ul, ol) { max-width: var(--measure); }
.public-brand .prose > ul,
.public-brand .prose > ol { max-width: calc(var(--measure) + 22px); }
.public-brand .prose > :first-child { margin-top: 0; }
.public-brand .prose h2 {
  max-width: var(--measure-wide);
  margin: clamp(48px, 6vw, 72px) 0 18px;
  color: var(--z-ink);
  font-size: var(--type-display-s);
  font-weight: 700;
  line-height: 0.94;
  text-wrap: balance;
}
.public-brand .prose h3 { max-width: var(--measure-wide); margin: 32px 0 12px; color: var(--z-ink); font-size: var(--text-lead); font-weight: 700; line-height: 1.3; }
.public-brand .prose p { margin: 0 0 18px; }
.public-brand .prose ul,
.public-brand .prose ol { list-style: disc; padding-left: 22px; margin: 0 0 18px; }
.public-brand .prose li + li { margin-top: 12px; }
.public-brand .prose strong { color: var(--z-ink); }
.public-brand .prose code { font-size: 0.875em; }
.public-brand .prose address { font-style: normal; color: var(--z-ink); background: var(--z-paper-deep); padding: 12px 16px; margin: 0 0 18px; }
.public-brand .prose .fine-print { color: var(--z-grey); font-size: var(--text-small); }

/* OAuth scopes: square tiles on light grey, the identifier first. */
.public-brand .policy-scope-grid {
  max-width: 960px;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.public-brand .policy-scope-grid > * { min-width: 0; padding: 16px 18px; background: var(--z-paper-deep); }
.public-brand .policy-scope-grid h4 { margin: 0 0 8px; font-size: var(--text-ui); font-weight: 700; }
.public-brand .policy-scope-grid code { display: block; max-width: 100%; color: var(--z-ink); overflow-wrap: anywhere; word-break: break-word; white-space: normal; font-size: 0.9em; }
.public-brand .policy-scope-grid p { margin: 0; color: var(--z-copy); font-size: var(--text-small); line-height: 1.55; }

/* The providers list. */
.public-brand .provider-list { max-width: 960px; margin: 0 0 24px; padding: 0; list-style: none; border-top: 2px solid var(--z-ink); }
.public-brand .provider-list li { padding: 18px 0; border-bottom: 1px solid var(--z-line); font-size: var(--text-body); }
.public-brand .provider-list h3 { margin: 0 0 8px; font-family: var(--z-display); font-size: var(--type-display-2xs); font-weight: 700; line-height: 0.95; }
.public-brand .provider-list p { margin: 0 0 4px; color: var(--z-copy); line-height: 1.55; }

/* Related links: plain text links in a row. */
.public-brand .related-links { max-width: var(--measure-wide); margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--z-line); display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ── Standalone pages: sign in, unlock, unavailable, 404 ──── */
.public-brand .auth-section { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.public-brand .auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.public-brand .auth-layout-single { grid-template-columns: minmax(0, 560px); }
.public-brand .auth-card { padding: clamp(24px, 3.4vw, 40px); background: var(--z-paper-deep); color: var(--z-ink); }
.public-brand .auth-card h2 { font-size: var(--type-display-s); font-weight: 700; line-height: 0.94; }
.public-brand .auth-card p { color: var(--z-copy); font-size: var(--text-ui); line-height: 1.55; }
.public-brand .auth-card .fine-print { color: var(--z-grey); font-size: var(--text-caption); }
.public-brand .auth-card .fine-print + .fine-print { margin-top: 10px; }
.public-brand .auth-aside { padding-top: 6px; }
.public-brand .auth-aside h2 { font-size: calc(var(--page-title-size) * 0.5); line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance; }
.public-brand .auth-aside > p { max-width: 460px; margin-top: 18px; color: var(--z-grey); font-size: var(--text-lead); line-height: 1.5; }
.public-brand .auth-aside .approach-steps { margin-top: 28px; }
.public-brand .auth-aside .approach-steps li { min-height: 0; padding: 20px 0; }
.public-brand .auth-aside .approach-steps p { font-size: var(--text-ui); }
.public-brand .auth-aside .text-link,
.public-brand .auth-aside .auth-sample-link { margin-top: 24px; }

/* ── Forms ──────────────────────────────────────────────── */
.public-brand .form-field { display: grid; gap: 8px; margin-top: 18px; }
.public-brand .form-field label,
.public-brand .form-field > span { color: var(--z-ink); font-size: var(--text-small); font-weight: 700; }
.public-brand input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.public-brand select,
.public-brand textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--z-line-strong);
  border-radius: 0;
  background: var(--z-white);
  color: var(--z-ink);
  font: 500 var(--text-ui)/1.35 var(--z-sans);
  letter-spacing: normal;
  box-shadow: none;
}
.public-brand input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
.public-brand select:focus,
.public-brand textarea:focus {
  border-color: var(--z-blue);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px var(--z-blue);
}
.public-brand input:focus-visible,
.public-brand select:focus-visible,
.public-brand textarea:focus-visible { outline: 3px solid var(--z-blue); outline-offset: 3px; box-shadow: none; }
.public-brand ::placeholder { color: var(--z-grey); }
.public-brand .form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.public-brand .error-banner {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--z-error);
  border-left-width: 4px;
  border-radius: 0;
  background: var(--z-white);
  color: var(--z-error);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
}

/* ── Phones and touch screens ───────────────────────────── */
@media (max-width: 900px) {
  .public-brand .page-intro-layout,
  .public-brand .page-cta-layout,
  .public-brand .approach-layout,
  .public-brand .faq-layout,
  .public-brand .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .public-brand .page-intro-layout > .page-facts { margin-top: 40px; }
  .public-brand .info-grid,
  .public-brand .info-grid-4 { --cols: 2; }
  .public-brand .proof-body { grid-template-columns: minmax(0, 1fr); }
  .public-brand .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .public-brand .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .public-brand .site-nav { height: 66px; }
  .public-brand .site-nav-inner { gap: 12px; }
  .public-brand .site-nav-brand { font-size: 21px; }
  .public-brand .site-nav-brand img { width: 24px; height: 24px; }
  .public-brand .site-nav-product { display: none; }
  .public-brand .site-nav-links { gap: 14px; }
  .public-brand .site-nav-links .nav-site-link { display: none; }
  .public-brand .site-nav-links .nav-cta { min-height: 44px; padding: 8px 15px; font-size: var(--text-small); }
  .public-brand .page-intro { padding-top: 40px; }
  .public-brand .hero-actions > .button,
  .public-brand .hero-actions > .text-link { width: 100%; }
  .public-brand .approach-steps li { grid-template-columns: 40px 1fr; gap: 18px; }
  .public-brand .prose { font-size: var(--text-body-l); }
  .public-brand .footer-legal { flex-direction: column; }
}

@media (max-width: 380px) {
  .public-brand .site-nav-inner { padding-inline: 14px; gap: 8px; }
  .public-brand .site-nav-links { gap: 8px; }
  .public-brand .site-nav-links .nav-cta { padding: 8px 12px; font-size: var(--text-caption); }
}

@media (max-width: 600px) {
  .public-brand .info-grid,
  .public-brand .info-grid-4 { --cols: 1; }
  .public-brand .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .public-brand .landing-proof-findings li { grid-template-columns: 36px 1fr; gap: 12px; }
}

/* Every standalone link or control offers a 44px tap area on touch
   screens. Links that already look right grow an invisible area. */
@media (max-width: 720px), (pointer: coarse) {
  .public-brand .text-link:not(.page-intro .text-link):not(.page-cta .text-link),
  .public-brand .site-footer nav a,
  .public-brand .related-links a,
  .public-brand .footer-brand,
  .public-brand .auth-card .fine-print a,
  .public-brand .auth-aside a:not(.button),
  .public-brand .prose a {
    position: relative;
    white-space: nowrap;
  }
  .public-brand .prose a,
  .public-brand .auth-card .fine-print a { white-space: normal; }
  .public-brand .text-link:not(.page-intro .text-link):not(.page-cta .text-link)::after,
  .public-brand .site-footer nav a::after,
  .public-brand .related-links a::after,
  .public-brand .footer-brand::after,
  .public-brand .auth-aside a:not(.button)::after {
    content: "";
    position: absolute;
    inset: -10px 0;
  }
  .public-brand .site-footer nav { gap: 0; }
  .public-brand .site-footer nav a { min-height: 44px; min-width: 44px; }
  .public-brand .site-footer nav a::after,
  .public-brand .related-links a::after { inset: -4px -10px; }
  .public-brand .related-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .public-brand .button { min-height: 46px; }
  .public-brand .faq summary { padding-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-brand *,
  .public-brand *::before,
  .public-brand *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .public-brand .site-nav,
  .public-brand .site-footer nav,
  .public-brand .hero-actions,
  .public-brand .page-cta { display: none !important; }
  .public-brand .page-intro { background: none; color: var(--z-ink); }
}
