/* =============================================================================
   1Auth: brand design system (bold, brand-forward)
   One stylesheet for every signed-out and signed-in surface: marketing, the
   company console, and the native sign-in / device-link pages. The look leans
   into the indigo "keyhole" brand: confident indigo→violet gradients, strong
   display type, deep-ink feature bands, and a crisp light base. Replaces the
   old Orbit-derived marketing.css / site.css / pass.css styling.
   ========================================================================== */

:root {
  /* Brand: a confident blue in the 1Password family (not their exact hue) */
  --accent: #1659cc;          /* 1Auth blue, the primary accent (deeper, less bright) */
  --accent-strong: #104aad;   /* darker blue, hover/pressed */
  --accent-2: #3b8cff;        /* lighter sky blue */
  --accent-3: #6ea8ff;        /* soft blue highlight */
  --accent-soft: #e8f1ff;     /* tinted fill behind accent content */
  --accent-ring: rgba(22, 89, 204, 0.32);
  --grad: linear-gradient(135deg, #1a60d6 0%, #0f49bd 100%);
  --grad-soft: linear-gradient(135deg, #3b8cff, #1659cc);
  --grad-text: linear-gradient(100deg, #1659cc 0%, #3b8cff 100%);

  /* Ink + neutrals (light base) */
  --bg: #ffffff;
  --bg-soft: #f4f7fc;         /* faint cool blue-grey section fill */
  --surface: #ffffff;
  --ink: #1a1b22;             /* charcoal, for dark bands + the hero */
  --ink-2: #23252f;
  --text: #1e2533;            /* body ink */
  --heading: #141620;
  --muted: #566074;
  --faint: #8a93a6;
  --border: #e7eaf1;
  --border-strong: #d6dbe6;
  --on-ink: #ffffff;
  --on-ink-muted: #aab2c6;

  /* State */
  --ok: #16a34a;
  --ok-soft: #e9f7ee;
  --warn: #c2800b;
  --warn-soft: #fcf3e1;
  --danger: #dc2626;
  --danger-soft: #fdecec;

  /* Shape + depth */
  --r-xs: 7px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;
  --sh-sm: 0 1px 2px rgba(12, 10, 30, 0.06), 0 1px 3px rgba(12, 10, 30, 0.05);
  --sh: 0 6px 20px rgba(16, 24, 45, 0.08), 0 2px 6px rgba(16, 24, 45, 0.05);
  --sh-lg: 0 24px 60px rgba(16, 24, 45, 0.16), 0 8px 24px rgba(16, 24, 45, 0.08);
  --sh-glow: 0 18px 50px rgba(22, 89, 204, 0.35);

  /* Layout */
  --wrap: 1180px;
  --radius-sm: var(--r-sm);   /* aliases used by legacy inline styles */
  --radius: var(--r);
  --card: var(--surface);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, monospace;

  color-scheme: light;
}

/* -------------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-ring); color: var(--heading); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* gradient text helper */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --_bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 0.95rem; line-height: 1;
  padding: 12px 20px; border-radius: var(--pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }
.btn.lg { padding: 15px 26px; font-size: 1.02rem; }
.btn.sm { padding: 8px 14px; font-size: 0.85rem; }
.btn.block { display: flex; width: 100%; }

.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(22, 89, 204, 0.28); }
.btn.primary:hover { color: #fff; background: var(--accent-strong); box-shadow: 0 6px 18px rgba(22, 89, 204, 0.36); transform: translateY(-1px); }
.btn.outline { background: var(--surface); color: var(--heading); border-color: var(--border-strong); }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--sh-sm); }
.btn.ghost { background: transparent; color: var(--heading); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-strong); }
.btn.on-ink { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn.on-ink:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn.light { background: #fff; color: var(--accent-strong); }
.btn.light:hover { color: var(--accent-strong); box-shadow: var(--sh); }
.btn.danger { background: var(--danger); color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- chips / badges */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.02em;
  color: var(--accent-strong); background: var(--accent-soft);
  border: 1px solid #cfe0ff; border-radius: var(--pill); padding: 6px 13px;
}
.kicker svg { width: 1.05em; height: 1.05em; }
.eyebrow.plain { background: transparent; border: 0; padding: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 600;
  color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--pill); padding: 5px 11px;
}
.badge.accent { color: var(--accent-strong); background: var(--accent-soft); border-color: #cfe0ff; }
.badge.ok { color: var(--ok); background: var(--ok-soft); border-color: #cdebd6; }
.badge.warn { color: var(--warn); background: var(--warn-soft); border-color: #f0dcb0; }
.badge.ink { color: #fff; background: var(--ink); border-color: transparent; }

/* =============================================================================
   TOP BAR (marketing + public)
   ========================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.topbar.scrolled { border-bottom-color: rgba(255,255,255,0.1); box-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.topbar-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); font-size: 1.12rem; }
.brand img { width: 30px; height: 30px; }
.brand .wm b { color: inherit; font-weight: 800; }
.topbar .brand { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: rgba(255,255,255,0.72); font-weight: 550; font-size: 0.94rem; padding: 8px 13px; border-radius: var(--r-sm);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.14); }
.topbar-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar .btn.ghost { color: #fff; }
.topbar .btn.ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.topbar .btn.primary { background: #fff; color: var(--ink); box-shadow: none; }
.topbar .btn.primary:hover { background: rgba(255,255,255,0.88); color: var(--ink); }

/* =============================================================================
   SECTIONS
   ========================================================================== */
main { display: block; }
.section { padding: 92px 0; }
.section.tight { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section.ink { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.section.ink h1, .section.ink h2, .section.ink h3 { color: #fff; }
.section.ink p { color: var(--on-ink-muted); }

.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 16px 0 14px; }
.sec-head p { font-size: 1.08rem; color: var(--muted); }
.sec-head .eyebrow { margin-bottom: 4px; }

/* aurora glow for ink bands */
.aurora { position: absolute; inset: 0; pointer-events: none; opacity: .7; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.aurora::before { background: radial-gradient(circle, #3b8cff, transparent 60%); top: -20%; left: -10%; }
.aurora::after { background: radial-gradient(circle, #6ea8ff, transparent 60%); bottom: -30%; right: -5%; }

/* =============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(52% 46% at 85% 0%, rgba(59, 140, 255, 0.18), transparent 62%),
    radial-gradient(46% 46% at 6% 6%, rgba(22, 89, 204, 0.16), transparent 60%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy .kicker { margin-bottom: 22px; }
/* dark-hero text treatment (all pages except the home spotlight override below) */
.hero .display { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.8); }
.hero .kicker, .hero .eyebrow { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.hero .kicker svg { color: #fff; }
.hero .hero-assure li { color: rgba(255,255,255,0.85); }
.hero .hero-assure svg { color: #fff; }
.hero .reassure { color: rgba(255,255,255,0.66); }
.hero .btn.outline { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.3); }
.hero .btn.outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); box-shadow: none; }

/* Full-bleed brand hero (home): a charcoal→blue wash spanning the whole
   viewport width, a large light-weight white headline, and the product card
   emerging at the bottom into the white section below. */
.hero.spotlight {
  padding: 84px 0 0; color: #fff; text-align: center; overflow: visible;
  background: linear-gradient(180deg, #1a1b22 0%, #1a1b22 24%, #1659cc 88%, #3f74cf 100%);
}
.hero.spotlight::before { display: none; }
.hero.spotlight .hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero.spotlight .display { color: #fff; font-weight: 300; font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.03em; line-height: 1.04; max-width: 15ch; }
.hero.spotlight .lead { color: rgba(255, 255, 255, 0.82); max-width: 54ch; font-size: 1.2rem; margin: 24px auto 32px; }
.hero.spotlight .cta-row { justify-content: center; }
.hero.spotlight .hero-assure { justify-content: center; margin-top: 30px; }
.hero.spotlight .hero-assure li { color: rgba(255, 255, 255, 0.85); }
.hero.spotlight .hero-assure svg { color: #fff; }
.hero.spotlight .hero-visual { margin: 52px auto -70px; max-width: 920px; width: 100%; }
.hero.spotlight .hero-visual::after { display: none; }
.hero.spotlight .app-mock { box-shadow: 0 40px 90px rgba(8, 18, 44, 0.5); color: var(--text); text-align: left; }
/* the section after the brand hero clears the overlapping product card */
.hero.spotlight + .section { padding-top: 104px; }
.display { font-size: clamp(2.6rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.lead { font-size: 1.18rem; color: var(--muted); margin: 22px 0 30px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-assure { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero-assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 550; color: var(--muted); }
.hero-assure svg { color: var(--accent); width: 1.05em; height: 1.05em; }

/* app mockup */
.hero-visual { position: relative; }
.app-mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.tdot { width: 10px; height: 10px; border-radius: 50%; background: #d7d4e6; }
.mock-url { margin-left: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--faint); }
.mock-body { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 290px; }
.mock-list { border-right: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ml-search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; background: var(--bg-soft); border-radius: var(--pill); font-size: 0.82rem; color: var(--faint); margin-bottom: 6px; }
.ml-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); }
.ml-row.on { background: var(--accent-soft); }
.fav { width: 30px; height: 30px; border-radius: 9px; background: var(--f, #555); color: #fff; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; flex: none; }
.fav.lg { width: 42px; height: 42px; border-radius: 12px; font-size: 0.9rem; }
.ml-meta { display: flex; flex-direction: column; line-height: 1.25; }
.ml-meta b { font-size: 0.86rem; color: var(--heading); }
.ml-meta i { font-size: 0.75rem; color: var(--faint); font-style: normal; }
.mock-detail { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.md-head { display: flex; align-items: center; gap: 12px; }
.md-title { display: flex; flex-direction: column; }
.md-title b { color: var(--heading); }
.md-title i { font-size: 0.78rem; color: var(--faint); font-style: normal; }
.md-field label, .md-totp label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 5px; }
.md-val { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 12px; font-size: 0.86rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.md-val.mono { font-family: var(--mono); letter-spacing: 1px; }
.eye { color: var(--faint); }
.md-totp { display: flex; align-items: center; gap: 14px; }
.md-ring { position: relative; width: 44px; height: 44px; }
.md-ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.md-ring .track { fill: none; stroke: var(--border); stroke-width: 3; }
.md-ring .prog { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 97; stroke-dashoffset: 30; }
.md-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.68rem; font-weight: 700; color: var(--accent-strong); }
.md-code { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--heading); letter-spacing: 2px; }
.mock-float {
  position: absolute; bottom: -18px; left: -22px; display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 11px 16px; border-radius: var(--pill); box-shadow: var(--sh-lg); font-size: 0.86rem;
}
.mock-float svg { color: var(--accent-3); }
.mock-float b { font-weight: 700; }

/* =============================================================================
   TRUST STRIP
   ========================================================================== */
.trust { text-align: center; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.pl-label, .lab { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.pl { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.pl svg { color: var(--heading); width: 1.15em; height: 1.15em; }
.lab { margin: 18px 0 14px; }
/* Integrations panel: contained card with a platform row + a divided logo wall */
.integrations { max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; }
.int-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; padding: 20px 26px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.int-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.int-platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.int-cell { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 18px; background: var(--surface); font-weight: 600; font-size: 1rem; color: var(--heading); transition: background .18s ease; }
.int-cell:hover { background: var(--bg-soft); }
.int-cell svg { width: 30px; height: 30px; display: block; flex: none; }
@media (max-width: 640px) {
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .int-cell { flex-direction: column; gap: 10px; text-align: center; font-size: 0.9rem; padding: 22px 12px; }
}

/* =============================================================================
   BENTO / FEATURE CARDS
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--border-strong); }
.feature.span2 { grid-column: span 2; }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--sh-glow); margin-bottom: 18px; }
.feature .ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* =============================================================================
   STAT BAND
   ========================================================================== */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--ink); border-radius: var(--r-xl); padding: 42px 36px; position: relative; overflow: hidden;
}
.stat-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0, rgba(23,102,230,0.4), transparent 55%); }
.stat-cell { position: relative; text-align: center; padding: 0 10px; }
.stat-cell .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, #bcd6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-cell .lab { display: block; margin-top: 8px; font-size: 0.88rem; color: var(--on-ink-muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.stat-cell .lab b { color: #fff; font-weight: 650; }

/* =============================================================================
   FEATURE ROW (copy + media)
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.flip .fr-copy { order: 2; }
.fr-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 16px; }
.fr-copy p { color: var(--muted); font-size: 1.06rem; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 26px; }
.ticks li { display: flex; align-items: flex-start; gap: 11px; color: var(--text); font-size: 0.99rem; }
.ticks svg { color: var(--accent); margin-top: 3px; flex: none; width: 1.1em; height: 1.1em; }
.fr-copy .foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fr-media { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.fr-media.pad { padding: 30px; }

/* code card */
.code-card { background: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.code-bar .tdot { background: rgba(255,255,255,0.22); }
.code-file { margin-left: 10px; font-size: 0.78rem; color: var(--on-ink-muted); font-family: var(--mono); }
.code-body { margin: 0; padding: 20px; font-family: var(--mono); font-size: 0.83rem; line-height: 1.7; color: #d7d3f5; overflow-x: auto; }
.c-key { color: #a5b4fc; } .c-str { color: #6ee7d8; } .c-pun { color: #8780b5; }
.code-status { display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; color: var(--on-ink-muted); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.2); }

/* =============================================================================
   SPLIT PANELS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; }
.panel.accent { background: var(--ink); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.panel.accent::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0, rgba(23,102,230,0.42), transparent 55%); }
.panel.accent h3 { color: #fff; } .panel.accent p { color: var(--on-ink-muted); }
.panel.accent .ticks li { color: #ece9ff; }
.panel.accent .ticks svg { color: var(--accent-3); }
.panel > * { position: relative; }
.kicker-sm { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.panel.accent .kicker-sm { color: var(--accent-3); }
.panel.accent .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.panel.accent .btn.ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.panel h3 { font-size: 1.4rem; margin: 10px 0 12px; }
.panel .foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* =============================================================================
   DOWNLOADS
   ========================================================================== */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl {
  display: flex; align-items: center; gap: 15px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); color: var(--heading);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: var(--accent); color: var(--heading); }
.dl .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; color: var(--heading); flex: none; }
.dl .ic svg { width: 23px; height: 23px; }
.dl > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.dl .t { font-weight: 650; }
.dl .d { font-size: 0.82rem; color: var(--faint); }
.dl .soon { font-size: 0.72rem; font-weight: 650; color: var(--warn); background: var(--warn-soft); border-radius: var(--pill); padding: 4px 10px; }
.dl .dl-go { color: var(--accent); width: 1.2em; height: 1.2em; }

/* =============================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad); color: #fff; border-radius: var(--r-xl); padding: 64px 40px;
  box-shadow: var(--sh-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0, rgba(255,255,255,0.22), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 14px auto 28px; max-width: 54ch; }
.cta-band .cta-row { justify-content: center; }

/* =============================================================================
   PROTOCOL BADGES
   ========================================================================== */
.protocol-badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* =============================================================================
   PRICING
   ========================================================================== */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--pill); padding: 5px; margin: 0 auto; }
.price-toggle button { font: inherit; font-weight: 600; font-size: 0.9rem; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: var(--pill); cursor: pointer; }
.price-toggle button.on { background: var(--surface); color: var(--heading); box-shadow: var(--sh-sm); }
.price-toggle .save { font-size: 0.72rem; color: var(--ok); font-weight: 700; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.plan {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px; position: relative; height: 100%;
}
.plan.featured { border-color: var(--accent); box-shadow: var(--sh-glow); }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 13px; border-radius: var(--pill); letter-spacing: 0.02em; }
.plan-name { font-size: 1.15rem; font-weight: 700; color: var(--heading); }
.plan-tag { font-size: 0.88rem; color: var(--muted); margin-top: 6px; min-height: 40px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 2px; }
.plan-price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--heading); }
.plan-price .per { font-size: 0.86rem; color: var(--faint); }
.plan-price .custom { font-size: 1.7rem; font-weight: 800; color: var(--heading); }
.plan-cycle-note { font-size: 0.76rem; color: var(--faint); min-height: 18px; }
.plan .btn { margin: 20px 0; }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.plan-features svg { color: var(--accent); margin-top: 2px; flex: none; width: 1.05em; height: 1.05em; }
.plan.featured .plan-features svg { color: var(--accent); }
.plan-current { font-size: 0.78rem; font-weight: 700; color: var(--ok); text-align: center; padding: 11px; }

.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--heading); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding: 0 0 18px; font-size: 0.95rem; }

/* =============================================================================
   SITE FOOTER
   ========================================================================== */
footer.site { background: var(--ink); color: var(--on-ink-muted); padding: 64px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
footer.site .brand { color: #fff; }
footer.site .brand .wm b { color: inherit; }
.foot-brand p { margin: 16px 0; font-size: 0.92rem; max-width: 34ch; color: var(--on-ink-muted); }
.foot-trust { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: #cfcbe8; }
.foot-trust svg { color: var(--accent-3); }
.foot-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 15px; }
.foot-col a { display: block; color: var(--on-ink-muted); font-size: 0.92rem; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: var(--faint); }
.foot-bottom a { color: var(--on-ink-muted); }
.foot-bottom a:hover { color: #fff; }
.foot-badges { font-family: var(--mono); }

/* =============================================================================
   AUTH PAGES (sign-in, device link): centered brand card
   ========================================================================== */
body.auth { background: var(--bg-soft); min-height: 100vh; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden; }
.auth-shell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 0, rgba(23,102,230,0.12), transparent 60%); }
.auth-card { position: relative; width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 36px 34px; }
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head h1 { font-size: 1.6rem; }
.auth-head p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--heading); margin-bottom: 7px; }
.input {
  width: 100%; font: inherit; font-size: 0.97rem; padding: 12px 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.input::placeholder { color: var(--faint); }
.auth-alt { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.auth-error { background: var(--danger-soft); border: 1px solid #f3c6c6; color: #a21d1d; border-radius: var(--r-sm); padding: 11px 14px; font-size: 0.88rem; margin-bottom: 16px; }
.auth-foot { text-align: center; margin-top: 26px; font-size: 0.8rem; color: var(--faint); }
.auth-foot a { color: var(--muted); }
/* aliases + helpers so the server auth templates (sign-in, link) render on brand.css */
.auth-card h1 { font-size: 1.55rem; text-align: center; margin-bottom: 6px; }
.lede { color: var(--muted); font-size: 0.96rem; text-align: center; margin: 0 0 22px; }
.auth-card .messages { margin-bottom: 14px; }
.auth-card .messages p { padding: 11px 14px; border-radius: var(--r-sm); font-size: 0.88rem; margin: 0 0 8px; background: var(--bg-soft); border: 1px solid var(--border); }
.auth-card .messages p.error { background: var(--danger-soft); border-color: #f3c6c6; color: #a21d1d; }
.auth-card .messages p.success { background: var(--ok-soft); border-color: #cdebd6; }
.notice { background: var(--warn-soft); border: 1px solid #f0dcb0; color: var(--warn); border-radius: var(--r-sm); padding: 11px 14px; font-size: 0.88rem; margin-bottom: 14px; }
.muted { color: var(--muted); }
.reference { font-family: var(--mono); font-weight: 650; color: var(--accent-strong); background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; }
.topnav { display: flex; justify-content: center; gap: 14px; margin-bottom: 12px; font-size: 0.88rem; }
/* button aliases used by auth JS + legacy markup */
.btn.brand { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(22, 89, 204, 0.3); }
.btn.brand:hover { color: #fff; box-shadow: 0 12px 30px rgba(22, 89, 204, 0.42); transform: translateY(-1px); }
.btn.small { padding: 8px 14px; font-size: 0.85rem; }
.btn.full { width: 100%; }
#password-submit, #mfa-submit { width: 100%; margin-top: 6px; }
.mfa-methods { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }

/* =============================================================================
   CONSOLE (control.1auth.us): app shell
   ========================================================================== */
body.console { background: var(--bg-soft); color: var(--text); }
.console-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: var(--on-ink-muted); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.side .brand { color: #fff; padding: 4px 8px 14px; }
.side .brand .wm b { color: inherit; }
.side .org { display: flex; align-items: center; gap: 11px; padding: 12px; margin-bottom: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r); }
.side .org .mono { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex: none; }
.side .org .n { color: #fff; font-weight: 650; font-size: 0.92rem; }
.side .org .r { color: var(--faint); font-size: 0.78rem; }
.side .group { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); padding: 16px 10px 7px; }
.side nav a, .side .navlink { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: var(--r-sm); color: var(--on-ink-muted); font-weight: 550; font-size: 0.92rem; }
.side nav a svg { width: 1.15em; height: 1.15em; color: inherit; }
.side nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side nav a.on { background: rgba(23,102,230,0.22); color: #fff; }
.side .side-foot { margin-top: auto; }
.side .side-foot a { color: var(--on-ink-muted); }

.console-main { display: flex; flex-direction: column; min-width: 0; }
.console-top { display: flex; align-items: center; gap: 14px; padding: 18px 32px; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.console-top .crumb { font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.console-top .spacer { margin-left: auto; }
.console-user { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.console-user .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; }
.console-body { padding: 30px 32px 60px; max-width: 1060px; width: 100%; }

.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 1.5rem; }
.page-head p { color: var(--muted); margin-top: 6px; }

/* cards + grids used across console pages */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--sh-sm); }
.card.pad { padding: 22px 24px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-head h2, .card-head h3 { font-size: 1.02rem; }
.card-head .spacer { margin-left: auto; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; }
.stat-tile .k { font-size: 0.8rem; color: var(--faint); font-weight: 600; }
.stat-tile .v { font-size: 1.9rem; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; margin-top: 4px; }
.stat-tile .sub { font-size: 0.8rem; color: var(--muted); }

.hero-card { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0, rgba(23,102,230,0.45), transparent 55%); }
.hero-card > * { position: relative; }
.hero-card h2 { color: #fff; font-size: 1.5rem; }
.hero-card p { color: var(--on-ink-muted); margin: 10px 0 20px; max-width: 52ch; }

/* table */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--bg-soft); }
.who { display: flex; align-items: center; gap: 11px; }
.who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; flex: none; }
.who .nm { font-weight: 600; color: var(--heading); }
.who .em { font-size: 0.8rem; color: var(--faint); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 600; padding: 4px 11px; border-radius: var(--pill); background: var(--bg-soft); color: var(--muted); border: 1px solid var(--border); }
.pill.owner { background: var(--accent-soft); color: var(--accent-strong); border-color: #cfe0ff; }
.pill.invited { background: var(--warn-soft); color: var(--warn); border-color: #f0dcb0; }
.pill.active { background: var(--ok-soft); color: var(--ok); border-color: #cdebd6; }

/* forms in console */
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form-row .field { margin-bottom: 0; flex: 1; min-width: 180px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a869c' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.inline-form { display: inline; }

/* flash */
.flash { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.flash-msg { padding: 12px 16px; border-radius: var(--r-sm); font-size: 0.88rem; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--sh-sm); }
.flash-msg.success { border-color: #cdebd6; background: var(--ok-soft); }
.flash-msg.error { border-color: #f3c6c6; background: var(--danger-soft); color: #a21d1d; }
.flash-msg.info { border-color: #cdd9f3; background: #eef3fd; }

/* empty state */
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty svg { width: 42px; height: 42px; color: var(--faint); margin: 0 auto 14px; }

/* locked / upsell */
.upsell { text-align: center; padding: 44px 32px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.upsell .lock { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--sh-glow); }
.upsell .lock svg { width: 28px; height: 28px; }
.upsell h2 { font-size: 1.4rem; }
.upsell p { color: var(--muted); margin: 10px auto 22px; max-width: 46ch; }

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* =============================================================================
   MARKETING EXTRAS: classes used by personal / business / developers pages
   ========================================================================== */
/* centered hero variant (personal) */
.hero.center { text-align: center; }
.hero.center .hero-copy { max-width: 760px; margin: 0 auto; }
.hero.center .lead { max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero.center .cta-row, .hero.center .hero-assure { justify-content: center; }

/* reusable 3-col grid (alias of bento) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* protocol/tech badges read as accent chips */
.protocol-badges .badge { color: var(--accent-strong); background: var(--accent-soft); border-color: #cfe0ff; font-family: var(--mono); }

/* CTA-band buttons sitting on the gradient */
.btn.on-navy { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.45); }
.btn.on-navy:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* hero-visual glow behind the product mock */
.hero-visual::after {
  content: ""; position: absolute; inset: -12% -6% -16% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(58% 58% at 62% 42%, rgba(79,70,229,0.28), transparent 70%),
              radial-gradient(42% 42% at 24% 92%, rgba(139,92,246,0.22), transparent 70%);
  filter: blur(34px);
}

/* small round avatar used in mocks + chips */
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.76rem; flex: none; }

/* chip + pill variants used in marketing mocks */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border); padding: 3px 10px; border-radius: 8px; }
.chip.role { color: var(--accent-strong); background: var(--accent-soft); border-color: #cfe0ff; }
.pill.ok { color: var(--ok); background: var(--ok-soft); border-color: #cdebd6; }
.pill.muted { color: var(--faint); background: var(--bg-soft); border-color: var(--border); }
.pill.warn { color: var(--warn); background: var(--warn-soft); border-color: #f0dcb0; }

/* company-console mock (business + personal "family" cards) */
.cmock { padding: 16px; display: flex; flex-direction: column; gap: 9px; min-height: 300px; }
.cmock-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 6px; }
.cmock-head b { font-size: 0.95rem; color: var(--heading); }
.cmock-add { font-size: 0.72rem; font-weight: 650; color: #fff; background: var(--grad); padding: 5px 11px; border-radius: 8px; }
.cmrow { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.cmrow.sso { background: var(--bg-soft); border-style: dashed; }
.cmlogo { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; color: #fff; background: var(--f, var(--accent)); }
.cmmeta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cmmeta b { font-size: 0.85rem; color: var(--heading); }
.cmmeta i { font-size: 0.74rem; color: var(--faint); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reassure { margin-top: 14px; font-size: 0.85rem; color: var(--faint); }

/* testimonial / quote block (developers) */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 16px 0 14px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 650; line-height: 1.35; letter-spacing: -0.02em; color: var(--heading); }
.quote .cite { color: var(--muted); font-size: 0.98rem; max-width: 56ch; margin: 0 auto; }

/* generic section-block alias from older markup */
section.block { padding: 92px 0; }

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-grid, .feature-row, .feature-row.flip .fr-copy, .split { grid-template-columns: 1fr; }
  .feature-row.flip .fr-copy { order: 0; }
  .hero-grid .hero-visual { order: -1; }
  .hero.spotlight { padding-top: 60px; }
  .hero.spotlight .hero-visual { max-width: 680px; }
  .bento, .grid { grid-template-columns: repeat(2, 1fr); }
  .feature.span2 { grid-column: span 2; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 860px) {
  .console-shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; }
  .side .group, .side .org, .side .side-foot { display: none; }
  .side nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-links { display: none; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero.spotlight { padding-top: 40px; }
  .hero.spotlight .hero-visual { margin-bottom: -46px; }
  .hero.spotlight + .section { padding-top: 60px; }
  .stat-band { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  /* the product mock collapses to the detail column so it never overflows */
  .hero-visual { width: 100%; }
  .app-mock { max-width: 100%; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-list { display: none; }
  .mock-detail { padding: 16px; }
  .md-code { font-size: 1.15rem; }
  .bento, .grid, .downloads, .plan-grid, .foot-grid, .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .feature.span2 { grid-column: span 1; }
  .hero-assure { gap: 12px; }
  .foot-bottom { flex-direction: column; }
  .console-body, .console-top { padding-left: 18px; padding-right: 18px; }
  .table .hide-sm { display: none; }
}

/* ------------------------------------------------------------- legal pages */
/* Privacy Policy and Terms of Service: a quiet header band over a single,
   readable prose column. No marketing flourishes — just legible long-form. */
.legal-head { background: var(--ink); color: var(--on-ink); padding: 72px 0 60px; }
.legal-head .eyebrow { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.legal-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 300; letter-spacing: -0.03em; margin-top: 14px; }
.legal-head .updated { color: var(--on-ink-muted); font-size: 0.92rem; margin-top: 14px; }
.legal-head .lead { color: rgba(255,255,255,0.82); max-width: 62ch; margin-top: 18px; }

.legal-wrap { padding: 64px 0 88px; }
.legal { max-width: 800px; margin: 0 auto; }
.legal .toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 26px; margin-bottom: 44px; }
.legal .toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 12px; }
.legal .toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: 0.94rem; }
.legal .toc li { margin: 4px 0; break-inside: avoid; }
.legal section { margin: 0 0 40px; scroll-margin-top: 90px; }
.legal h2 { font-size: 1.32rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.legal h3 { font-size: 1.02rem; margin: 26px 0 10px; color: var(--heading); }
.legal p { color: var(--text); margin: 0 0 15px; }
.legal ul, .legal ol.body { margin: 0 0 15px; padding-left: 1.3em; color: var(--text); }
.legal li { margin: 7px 0; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--heading); }
.legal .callout { background: var(--accent-soft); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-sm); padding: 16px 20px; margin: 0 0 26px; }
.legal .callout p { margin: 0; color: var(--text); }
.legal .muted { color: var(--muted); font-size: 0.9rem; }
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 44px 0; }
@media (max-width: 640px) {
  .legal .toc ol { columns: 1; }
  .legal-head { padding: 52px 0 44px; }
  .legal-wrap { padding: 44px 0 64px; }
}
