/* ==========================================================================
   Aacuity — marketing site.

   The design system is not invented here. It is the product's own, lifted
   value for value from customer-app/src/index.css: Tailwind's slate ramp as
   the neutral, the rose / amber / emerald / sky semantic ramps, the system
   font stack, hairline borders, 1px-3px card shadows, 10px uppercase
   eyebrows, tabular numerals. Someone who signs in after reading this page
   should recognise the same hand.

   Two rules the whole file obeys:

   1. NO EXTERNAL REQUESTS. No web font, no CDN, no analytics, no image
      file. Every mark on the page is inline SVG or a token colour. The site
      renders identically on an aeroplane.

   2. EVERY COLOUR IS A TOKEN, and every token is defined on bare :root.
      The dark blocks only RE-POINT names. A colour whose sole definition
      sits inside a media query is the bug that renders one theme's text on
      the other theme's ground, so there are none.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */

:root {
  color-scheme: light;

  /* Neutrals — Tailwind slate, the app's ramp, unmodified. Not a "chosen"
     grey so much as an inherited one: the product already picked it. */
  --ground:      #f1f5f9;   /* slate-100 — the app's page ground          */
  --ground-alt:  #e9eef4;   /* between 100 and 200 — banded sections      */
  --surface:     #ffffff;   /* cards sit ABOVE the ground                 */
  --surface-sub: #f8fafc;   /* slate-50 — quiet rows inside a card        */
  --ink:         #0f172a;   /* slate-900                                  */
  --ink-mid:     #475569;   /* slate-600 — body copy                      */
  --ink-mute:    #64748b;   /* slate-500 — captions, labels               */
  --ink-faint:   #94a3b8;   /* slate-400 — units, dividers in text        */
  --line:        #e2e8f0;   /* slate-200                                  */
  --line-soft:   #eef2f7;   /* hairline inside cards                      */

  /* Accent. Sky is the app's own informational hue; it is used here for
     interaction and for the mark, and almost nowhere else. The colour that
     actually carries meaning on this page is severity, below. */
  --accent:      #0284c7;   /* sky-600  */
  --accent-str:  #075985;   /* sky-800  */
  --accent-wash: #f0f9ff;   /* sky-50   */
  --accent-line: #bae6fd;   /* sky-200  */

  /* Severity. Same four tones the engine actually enforces, so a chip on
     this page means what the identical chip means inside the product. */
  --crit-ink:  #be123c;  --crit-wash:  #fff1f2;  --crit-line:  #fecdd3;
  --high-ink:  #9a3412;  --high-wash:  #fff7ed;  --high-line:  #fed7aa;
  --med-ink:   #92400e;  --med-wash:   #fffbeb;  --med-line:   #fde68a;
  --low-ink:   #047857;  --low-wash:   #ecfdf5;  --low-line:   #a7f3d0;

  --shadow-card: 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-lift: 0 8px 24px -10px rgba(15, 23, 42, .16);
  --shadow-btn:  inset 0 -1px 0 rgba(255, 255, 255, .10),
                 0 1px 2px rgba(15, 23, 42, .16);
  --focus:       #0f172a;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --measure: 1120px;
  --gutter: 24px;
}

/* The un-stamped document — most visitors — follows the OS. Guarded so an
   explicit light choice still beats a dark OS. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --ground:      #10141a;
    --ground-alt:  #151a22;
    --surface:     #1a1f27;
    --surface-sub: #212730;
    --ink:         #eef2f7;
    --ink-mid:     #adb8c6;
    --ink-mute:    #93a0b1;
    --ink-faint:   #7b8798;
    --line:        #2b323d;
    --line-soft:   #242b34;

    --accent:      #38bdf8;
    --accent-str:  #7dd3fc;
    --accent-wash: #0e2430;
    --accent-line: #1f4a5f;

    --crit-ink: #fda4af;  --crit-wash: #2d161a;  --crit-line: #5c2a31;
    --high-ink: #fdba74;  --high-wash: #2b1d12;  --high-line: #5a3a22;
    --med-ink:  #fde082;  --med-wash:  #2b2110;  --med-line:  #5a4520;
    --low-ink:  #6ee7b7;  --low-wash:  #0f2a1e;  --low-line:  #1f5540;

    --shadow-card: 0 1px 3px rgba(0, 0, 0, .40);
    --shadow-lift: 0 8px 24px -10px rgba(0, 0, 0, .60);
    --shadow-btn:  inset 0 1px 0 rgba(255, 255, 255, .06),
                   0 1px 2px rgba(0, 0, 0, .50);
    --focus:       #94c5ff;
  }
}

/* And again for the explicit toggle, so it wins in the other direction. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ground:      #10141a;
  --ground-alt:  #151a22;
  --surface:     #1a1f27;
  --surface-sub: #212730;
  --ink:         #eef2f7;
  --ink-mid:     #adb8c6;
  --ink-mute:    #93a0b1;
  --ink-faint:   #7b8798;
  --line:        #2b323d;
  --line-soft:   #242b34;

  --accent:      #38bdf8;
  --accent-str:  #7dd3fc;
  --accent-wash: #0e2430;
  --accent-line: #1f4a5f;

  --crit-ink: #fda4af;  --crit-wash: #2d161a;  --crit-line: #5c2a31;
  --high-ink: #fdba74;  --high-wash: #2b1d12;  --high-line: #5a3a22;
  --med-ink:  #fde082;  --med-wash:  #2b2110;  --med-line:  #5a4520;
  --low-ink:  #6ee7b7;  --low-wash:  #0f2a1e;  --low-line:  #1f5540;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, .40);
  --shadow-lift: 0 8px 24px -10px rgba(0, 0, 0, .60);
  --shadow-btn:  inset 0 1px 0 rgba(255, 255, 255, .06),
                 0 1px 2px rgba(0, 0, 0, .50);
  --focus:       #94c5ff;
}

/* ------------------------------------------------------------------ base -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  /* Explicit, from a token: the page composites over a ground the browser
     paints in ITS theme, and a transparent body borrows the wrong one. */
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
svg { display: block; }

/* A class selector beats the UA sheet's `[hidden] { display: none }`, so any
   component that sets its own `display` has to re-assert it. The identity row
   on no-access.html is hidden until ?email= supplies a value, and without
   this it renders as an empty "Signed in as" chip. */
[hidden] { display: none !important; }

/* The header is sticky, so an in-page anchor would otherwise land with its
   heading tucked underneath it. */
[id] { scroll-margin-top: 78px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-str); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

code, kbd, samp, pre { font-family: var(--mono); }

/* Dates, counts and money line up in columns, here as in the app. */
table, td, th, time, .num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: -9999px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 600;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- measure -- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }

/* ---------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.021em;
  line-height: 1.16;
  text-wrap: balance;
}

.h-hero { font-size: clamp(31px, 4.4vw, 46px); letter-spacing: -.028em; line-height: 1.08; }
.h-lg   { font-size: clamp(24px, 2.9vw, 31px); }
.h-md   { font-size: clamp(20px, 2.2vw, 24px); }
.h-sm   { font-size: 17px; letter-spacing: -.014em; }

p { margin: 0; }
.stack > * + * { margin-top: 14px; }

.lede {
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-mid);
  max-width: 60ch;
}
.body   { font-size: 14.5px; line-height: 1.66; color: var(--ink-mid); max-width: 66ch; }
.body-s { font-size: 13.5px; line-height: 1.62; color: var(--ink-mute); max-width: 62ch; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .095em;
  color: var(--ink-mute);
}
.eyebrow--accent { color: var(--accent); }

.pull {
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.4;
  letter-spacing: -.016em;
  color: var(--ink);
  font-weight: 500;
  max-width: 46ch;
}

strong, b { font-weight: 600; color: var(--ink); }

/* Inline literal — a payer string, a member id, an endpoint. These are the
   page's real vocabulary, so they get the utility face. */
.lit {
  font-family: var(--mono);
  font-size: .885em;
  background: var(--surface-sub);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .08em .38em;
  color: var(--ink);
  white-space: nowrap;
}

/* ------------------------------------------------------------- continuity -- */

/* Covendo is live, in 23 people's bookmarks and in every invitation already
   sent. The rename is announced quietly and permanently, at the very top,
   rather than being left for a customer to work out. */
.continuity {
  background: var(--ink);
  color: var(--ground);
  font-size: 12.5px;
  line-height: 1.5;
}
.continuity .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 4px 10px; padding-block: 9px;
}
.continuity b { color: #fff; font-weight: 600; }
.continuity span { color: rgba(255, 255, 255, .70); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .continuity { background: #05070a; color: #cbd5e1; }
  :root:not([data-theme="light"]) .continuity b { color: #f1f5f9; }
  :root:not([data-theme="light"]) .continuity span { color: #8b98a9; }
}
:root[data-theme="dark"] .continuity { background: #05070a; color: #cbd5e1; }
:root[data-theme="dark"] .continuity b { color: #f1f5f9; }
:root[data-theme="dark"] .continuity span { color: #8b98a9; }

/* ------------------------------------------------------------------ header -- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 58px;
}

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { flex-shrink: 0; color: var(--ink); }
.brand-name {
  font-size: 17px; font-weight: 600; letter-spacing: -.024em;
}
.brand-badge {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-mute);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 8px; white-space: nowrap;
}
.brand-badge b { color: var(--ink-mid); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-mid);
  text-decoration: none; padding: 7px 10px; border-radius: 7px;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--surface-sub); }
.nav .nav-signin {
  color: var(--ink); font-weight: 600;
  border: 1px solid var(--line); margin-left: 6px;
  background: var(--surface);
}
.nav .nav-signin:hover { border-color: var(--ink-faint); }
.nav .nav-hide { display: inline; }

@media (max-width: 720px) {
  .brand-badge { display: none; }
  .nav .nav-hide { display: none; }
}

/* ------------------------------------------------------------------ bands -- */

/* One rule for section rhythm, so nothing further down cancels it out. The
   spacing is deliberately tight — this is an instrument's brochure, not a
   poster. */
.band { padding-block: 68px; border-top: 1px solid var(--line); }
.band--alt    { background: var(--ground-alt); }
.band--paper  { background: var(--surface); }
.band--tight  { padding-block: 44px; }
.band--first  { border-top: 0; padding-top: 52px; }

.band-head { max-width: 68ch; }
.band-head .lede { margin-top: 14px; }

/* ------------------------------------------------------------------- hero -- */

.hero { border-top: 0; padding-block: 60px 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 52px;
  align-items: start;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.hero h1 { margin-bottom: 20px; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}

.hero-foot {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 12.5px; color: var(--ink-mute);
}
.hero-foot span { display: inline-flex; align-items: center; gap: 6px; }
.hero-foot .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--low-ink); flex-shrink: 0;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  line-height: 1; letter-spacing: -.005em;
  padding: 11px 17px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background .13s ease, border-color .13s ease, color .13s ease;
}
.btn:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn--primary {
  background: var(--ink); border-color: var(--ink); color: var(--ground);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: #000; border-color: #000; color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--primary:hover { background: #fff; border-color: #fff; color: #0b0e13; }
}
:root[data-theme="dark"] .btn--primary:hover { background: #fff; border-color: #fff; color: #0b0e13; }
.btn--ghost { background: transparent; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ cards -- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card--pad { padding: 22px; }
.card--flat { box-shadow: none; }

.card-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.card-head h3 { font-size: 13.5px; letter-spacing: -.012em; }
.card-head .meta { font-size: 11.5px; color: var(--ink-mute); }
.card-body { padding: 16px; }

/* ---------------------------------------------------------------- grids -- */

.cols { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ------------------------------------------------------------------ chips -- */

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 7px; border-radius: 5px;
  border: 1px solid transparent; white-space: nowrap;
}
.chip--crit { color: var(--crit-ink); background: var(--crit-wash); border-color: var(--crit-line); }
.chip--high { color: var(--high-ink); background: var(--high-wash); border-color: var(--high-line); }
.chip--med  { color: var(--med-ink);  background: var(--med-wash);  border-color: var(--med-line); }
.chip--low  { color: var(--low-ink);  background: var(--low-wash);  border-color: var(--low-line); }
.chip--mute { color: var(--ink-mute); background: var(--surface-sub); border-color: var(--line); }

/* --------------------------------------------------------------- specimen --

   The hero's right-hand column is not an illustration of the product. It is
   the product's own change list, in the product's own chrome, rendered from
   the same tokens — because the most persuasive thing we have to show is the
   thing a customer reads on a Tuesday morning.
   -------------------------------------------------------------------------- */

.specimen { box-shadow: var(--shadow-lift); }

.specimen-rows { display: flex; flex-direction: column; }
.specimen-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.specimen-row:first-child { border-top: 0; }
.specimen-row .who {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: -.008em;
}
.specimen-row .what {
  grid-column: 1 / -1;
  font-size: 12.5px; color: var(--ink-mid); line-height: 1.5;
}
.specimen-row .what .was {
  color: var(--ink-faint); text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.specimen-row .when {
  font-size: 11px; color: var(--ink-faint);
}
.specimen-foot {
  padding: 11px 16px; border-top: 1px solid var(--line);
  background: var(--surface-sub);
  font-size: 11.5px; color: var(--ink-mute);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ------------------------------------------------------------------ table -- */

.table-scroll { overflow-x: auto; }
.tbl {
  width: 100%; border-collapse: collapse;
  font-size: 13px; min-width: 560px;
}
.tbl th {
  text-align: left; font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .075em;
  color: var(--ink-mute);
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  background: var(--surface-sub);
  white-space: nowrap;
}
.tbl td {
  padding: 11px 14px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-mid); vertical-align: top;
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.tbl td.k { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; }

/* On a phone the third column is the one that matters and it is the one a
   560px-wide table pushes off the edge — leaving tall, half-empty rows that
   have to be scrolled sideways to read. Below 700px the table becomes the
   same stacked row the change list uses: name, severity, then the sentence. */
@media (max-width: 700px) {
  .table-scroll { overflow-x: visible; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { display: none; }
  .tbl tbody { display: block; }
  .tbl tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { display: block; padding: 0; border: 0; }
  .tbl td:first-child { white-space: normal; font-size: 13.5px; }
  .tbl td:nth-child(2) { justify-self: end; }
  .tbl td:last-child { grid-column: 1 / -1; font-size: 13px; }
}

/* --------------------------------------------------------------- rows list -- */

.rows { margin: 0; display: flex; flex-direction: column; }
.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.rows > div:first-child { border-top: 0; padding-top: 0; }
.rows dt {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-mute); padding-top: 2px;
}
.rows dd { margin: 0; font-size: 13.5px; color: var(--ink-mid); }
@media (max-width: 560px) {
  .rows > div { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------- code -- */

.code {
  margin: 0;
  background: var(--surface-sub);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-mid);
  -moz-tab-size: 2; tab-size: 2;
}
.code .c-key { color: var(--ink); font-weight: 600; }
.code .c-str { color: var(--low-ink); }
.code .c-num { color: var(--accent); }
.code .c-com { color: var(--ink-faint); font-style: italic; }
.code .c-verb { color: var(--accent); font-weight: 600; }

.code-label {
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-mute); margin-bottom: 8px;
}

/* ------------------------------------------------------------------- note -- */

.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 13px; line-height: 1.6;
  color: var(--ink-mid);
}

.soon {
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 20px;
}
.soon h3 { font-size: 15.5px; margin-bottom: 8px; }

/* ------------------------------------------------------------------- ways -- */

.way { display: flex; flex-direction: column; height: 100%; }
.way .card-body { flex: 1; }
.way-for {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .085em; color: var(--ink-mute); margin-bottom: 6px;
}
.way h3 { font-size: 18px; margin-bottom: 10px; }
.way ul {
  margin: 14px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.way li {
  position: relative; padding-left: 18px;
  font-size: 13px; color: var(--ink-mid); line-height: 1.55;
}
.way li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 1.5px;
  background: var(--accent);
}

/* --------------------------------------------------------------- CTA band -- */

.cta {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: 60px;
}
.cta .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px; align-items: center;
}
@media (max-width: 800px) {
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
}
.cta h2 { color: #fff; font-size: clamp(23px, 2.7vw, 30px); }
.cta p { color: rgba(255, 255, 255, .70); font-size: 15px; margin-top: 12px; max-width: 56ch; }
.cta .btn {
  background: #fff; border-color: #fff; color: #0f172a;
}
.cta .btn:hover { background: #e2e8f0; border-color: #e2e8f0; color: #0f172a; }
.cta .btn--ghost {
  background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff;
}
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta { background: #05070a; }
}
:root[data-theme="dark"] .cta { background: #05070a; }

/* ----------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 44px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.footer-grid h2 {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .085em; color: var(--ink-mute); margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13.5px; color: var(--ink-mid); text-decoration: none;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

.footer-bottom {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap;
}
.badge-powered {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-mute);
}
.badge-powered b { color: var(--ink-mid); }
.badge-powered svg { color: var(--ink-mid); }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav a { font-size: 12.5px; color: var(--ink-mute); text-decoration: none; }
.footer-bottom nav a:hover { color: var(--ink); }
.footer-note { font-size: 12px; color: var(--ink-faint); max-width: 62ch; }

.footer-slim { padding-block: 26px 22px; }
.footer-slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* ------------------------------------------------------------------ forms -- */

.form { display: flex; flex-direction: column; gap: 15px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; width: 100%;
  transition: border-color .13s ease;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.hint { font-size: 12px; color: var(--ink-mute); line-height: 1.5; }
.fineprint { font-size: 12.5px; color: var(--ink-mute); }
.form-foot { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ------------------------------------------------- no-access page states -- */

.page { padding-block: 56px 72px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 34px;
  max-width: 860px;
  margin-inline: auto;
}
@media (max-width: 560px) { .panel { padding: 22px; } }
.panel h1 { font-size: clamp(21px, 3vw, 27px); }

.identity {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  background: var(--surface-sub);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; color: var(--ink-mid);
  max-width: 100%; flex-wrap: wrap;
}
.identity .label {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-mute);
}
.identity .value { font-family: var(--mono); font-size: 12.5px; color: var(--ink); word-break: break-all; }
.identity svg { color: var(--ink-faint); flex-shrink: 0; }

.choices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; margin-top: 30px;
}
@media (max-width: 680px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; background: var(--surface-sub);
  display: flex; flex-direction: column;
}
.choice h2 { font-size: 15.5px; margin-bottom: 10px; }
.choice p { font-size: 13.5px; color: var(--ink-mid); line-height: 1.6; }
.choice p + p { margin-top: 10px; }
.choice-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }

.quiet-links {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; gap: 18px; flex-wrap: wrap;
}
.quiet-links a { font-size: 13px; color: var(--ink-mute); text-decoration: none; }
.quiet-links a:hover { color: var(--ink); text-decoration: underline; }

/* The page ships with the default state in the markup and switches with a
   data attribute, so it is correct with JavaScript disabled. */
body[data-state="no-account"]  [data-when="deactivated"] { display: none; }
body[data-state="deactivated"] [data-when="no-account"]  { display: none; }
