/* disk.ie — site-v2 design system.
 *
 * One stylesheet for the whole site. Tokens live on :root and are the
 * only place hex values appear in components. The accent (--accent) is
 * disk.ie's brand blue; everything else is the standard light-on-white
 * with a single dark navy hero overlay.
 *
 * The structure (tokens, container, hero, cards, prose shell, pricing,
 * faq) follows .claude/skills/netquirk-website-quality/site-standard.md.
 * Read that file before changing a token or adding a new component.
 *
 * Single stylesheet, system font stack, no @import, no external URL.
 */

:root {
  /* Brand & status */
  --accent:        #2057d8;     /* disk.ie blue — primary buttons, links, ticks */
  --accent-dark:   #1a47b0;     /* hover / pressed */
  --accent-soft:   #e8f0ff;     /* tinted band on light surfaces */
  --accent-fg:     #ffffff;     /* text on top of --accent (flips in dark mode) */

  /* Dark palette (header on dark heroes, hero background, footer accents) */
  --navy-900:      #0c1626;
  --navy-800:      #122036;
  --navy-700:      #1a2c46;
  --navy-600:      #22395a;
  --navy-500:      #2e4a72;

  /* Text on light surfaces — token colours are tuned so that every
   * text/background pair in the design system meets WCAG 2.1 AA
   * (4.5:1 body, 3:1 large/UI). The previous --muted value failed
   * AA at exactly 4.45:1 on --surface-2, and a sibling status pill
   * token failed at 4.02:1 on --surface; both have moved. */
  --ink:           #111418;
  --ink-2:         #3a414b;
  --muted:         #58606a;     /* was #6b7480; 4.45 → 5.98 on --surface-2 */

  /* Status colours — separate tokens so the dashboard pills, the SVG
   * mock-ups in the marketing pages, and any future status surface
   * share the same WCAG-AA-compliant value. */
  --ok:            #1d7a3d;
  --warn:          #9c5800;     /* was #b86d00 (hard-coded in .status-pill--unknown); 4.02 → 5.51 on --surface */
  --bad:           #b3261e;

  /* Light surfaces */
  --surface:       #ffffff;
  --surface-2:     #f6f8fa;
  --line:          #d6dbe1;

  /* Geometry */
  --radius:        8px;
  --radius-lg:     14px;
  --shadow:        0 1px 2px rgba(15, 22, 36, .04), 0 8px 24px rgba(15, 22, 36, .06);
  --shadow-lg:     0 4px 12px rgba(15, 22, 36, .08), 0 24px 60px rgba(15, 22, 36, .12);

  /* Type scale: 1.25 — 16px base, ~65ch prose measure, clamp() headings */
  --font-sans:     system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:     ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --measure:       65ch;

  /* Layout — max 1160px container, 16px gutters */
  --container:     1160px;
  --gutter:        16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent:        #6ea8ff;
    --accent-dark:   #4a8cff;
    --accent-soft:   #14233f;
    /* Dark-mode accent is a bright blue; white on it is only 2.41:1.
     * Use the dark surface colour as the foreground so primary
     * buttons, step-number badges, and pricing badges all pass AA. */
    --accent-fg:     #0d1117;

    --ink:           #e8eaed;
    --ink-2:         #c3c8cf;
    /* Dark --muted already passes AA on --surface (6.15) and on
     * --surface-2 (5.62); leave the previous value. */
    --muted:         #8b949e;

    --ok:            #34c759;
    --warn:          #ffb454;
    --bad:           #ff6b6b;

    --surface:       #0d1117;
    --surface-2:     #161b22;
    --line:          #2a313a;

    --shadow:        0 1px 2px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.4);
    --shadow-lg:     0 4px 12px rgba(0,0,0,.45), 0 24px 60px rgba(0,0,0,.5);
  }
}

/* ── Reset / base ──────────────────────────────────────────────────── */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover, a:focus-visible {
  color: var(--accent-dark);
}

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

::selection {
  background: var(--accent);
  color: var(--accent-fg);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

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

code {
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

@media (prefers-color-scheme: dark) {
  code {
    background: #1a232f;
    border-color: #2a3340;
  }
}

pre {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow-x: auto;
  margin: 0 0 16px;
  line-height: 1.5;
}

pre code {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
}

kbd {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .85em;
}

button {
  font: inherit;
}

/* ── Accessibility helpers ─────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -64px;
  left: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 10px 14px;
  border-radius: var(--radius);
  z-index: 100;
  transition: top 120ms ease-in;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus-visible {
  top: 12px;
  color: var(--accent-fg);
}

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

/* ── Layout primitives ─────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: 56px 0;
}

.section.soft {
  background: var(--surface-2);
}

.section.tinted {
  background: var(--accent-soft);
}

.section-head {
  max-width: var(--measure);
  margin: 0 auto 32px;
  text-align: center;
}

.section-head .kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 1.5rem + 1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.section-head .lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: var(--measure);
}

/* ── Header ────────────────────────────────────────────────────────── */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(8px);
}

.site-header .container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-header .brand svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.site-header .brand .brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.site-header .brand .brand-text strong {
  font-weight: 700;
}

.site-header .brand .brand-text small {
  font-size: .68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius);
}

.nav-links a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .signin {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
}

.nav-cta .signin:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: inline-block; }

  /* When the toggle is open, show nav as a vertical sheet under the header. */
  .site-header.is-open .nav-links,
  .site-header.is-open .nav-cta {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links a,
  .site-header.is-open .nav-cta a {
    padding: 12px;
  }

  .site-header.is-open .nav-cta {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 12px;
  }
}

/* ── Hero (own layout, not the prose shell) ────────────────────────── */

.hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    radial-gradient(1100px 380px at 50% 0%, rgba(32, 87, 216, .08), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.hero .hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero .hero-inner > .hero-shot {
  min-width: 0;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero .lede {
  font-size: clamp(1.05rem, .95rem + .3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
}

.hero-note {
  font-size: .92rem;
  color: var(--muted);
  margin: 8px 0 0;
}

@media (max-width: 880px) {
  .hero { padding: 40px 0 36px; }
  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Buttons ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
  user-select: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--accent-fg);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-soft);
}

.btn-light {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #ffffff;
}
.btn-light:hover,
.btn-light:focus-visible {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ── Cards / icon features ─────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 880px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin: 0 0 16px;
}

.card .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.55;
}

/* ── Feature rows (text + screenshot, flip alternates) ──────────────── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}

.feature-row.flip {
  grid-template-columns: 1.1fr 1fr;
}
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .shot { order: 1; }

@media (max-width: 880px) {
  .feature-row,
  .feature-row.flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row.flip .feature-copy { order: 0; }
  .feature-row.flip .shot { order: 1; }
}

.feature-copy .kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.feature-copy h2 {
  font-size: clamp(1.4rem, 1.3rem + .6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.feature-copy p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 56ch;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.5;
}

.ticks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232057d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
  margin-top: 2px;
}

@media (prefers-color-scheme: dark) {
  .ticks li::before {
    background: rgba(110, 168, 255, 0.16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ea8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
  }
}

.shot {
  margin: 0;
}

.shot .browser {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.shot .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.shot .browser-bar .dots {
  display: inline-flex;
  gap: 6px;
}

.shot .browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.shot .browser-bar .dot:nth-child(1) { background: #ff5f57; }
.shot .browser-bar .dot:nth-child(2) { background: #febc2e; }
.shot .browser-bar .dot:nth-child(3) { background: #28c840; }

.shot .browser-bar .url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot .browser-body {
  background: var(--surface);
  padding: 22px;
  min-height: 200px;
}

.shot figcaption {
  margin-top: 8px;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
}

/* ── Facts strip ───────────────────────────────────────────────────── */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fact strong {
  display: block;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}

.fact span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
}

.fact {
  text-align: left;
}

/* ── Steps / "How it works" ────────────────────────────────────────── */

.trial-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 880px) {
  .trial-steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}

/* ── Call-to-action band ───────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
  color: #ffffff;
  padding: 64px 0;
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
  letter-spacing: -0.01em;
  max-width: 30ch;
}

.cta-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 56ch;
}

.cta-band .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Pricing ───────────────────────────────────────────────────────── */

.pricing-note {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.billing-toggle {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 24px;
  font-size: .92rem;
  font-weight: 600;
}

.billing-toggle button {
  background: transparent;
  border: 0;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.billing-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }

.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.price.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.price .badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* The "featured" tier ribbon is rendered on top of the navy pricing band,
 * so it needs light text on --navy-900 regardless of the colour scheme.
 * Using a token-driven modifier (rather than inline styles on the page)
 * keeps every text/background pair inside this design system AA-clean. */
.price .badge.price-featured {
  background: var(--navy-900);
  color: #ffffff;
}

.price .for {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.price .name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.price .amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 4px;
}

.price .amount .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
}

.price .amount .value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.price .amount .unit {
  font-size: 1rem;
  color: var(--muted);
}

.price .annual {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.price .ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.price .ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: .94rem;
  color: var(--ink-2);
}

.price .ticks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232057d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
  margin-top: 2px;
}

@media (prefers-color-scheme: dark) {
  .price .ticks li::before {
    background: rgba(110, 168, 255, .16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ea8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px no-repeat;
  }
}

.price .fine {
  font-size: .85rem;
  color: var(--muted);
  margin: 16px 0 0;
}

/* ── FAQ (native details/summary) ──────────────────────────────────── */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  padding: 4px 0;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  font-weight: 400;
  width: 1em;
  text-align: center;
  flex: 0 0 1em;
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p,
.faq details ul {
  margin: 12px 0 4px;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.6;
  max-width: var(--measure);
}

.faq details ul { padding-left: 1.1em; }
.faq details li { margin: 0 0 6px; }

/* ── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer .footer-top {
  padding: 56px 0 32px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 880px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer .footer-brand .brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.site-footer .footer-brand .brand-line svg {
  width: 28px;
  height: 28px;
}

.site-footer .footer-brand p {
  margin: 0 0 16px;
  font-size: .95rem;
  line-height: 1.55;
  max-width: 36ch;
}

.site-footer h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 6px 0 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin: 0 0 8px;
}

.site-footer ul a {
  font-size: .95rem;
}

.site-footer .footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 32px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer .footer-legal a {
  color: rgba(255, 255, 255, 0.78);
}

/* ── Prose pages (docs, faq, support, legal) ──────────────────────── */

main.prose {
  flex: 1;
  padding: 40px 0 80px;
}

main.prose .container {
  max-width: 880px;
}

main.prose h1 {
  font-size: clamp(1.7rem, 1.5rem + 1vw, 2.2rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 8px 0 6px;
  color: var(--ink);
}

main.prose .lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: var(--measure);
}

main.prose h2 {
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  margin: 40px 0 12px;
  color: var(--ink);
}

main.prose h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
  color: var(--ink);
}

main.prose p {
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: var(--measure);
  font-size: 1rem;
  line-height: 1.65;
}

main.prose ul, main.prose ol {
  color: var(--ink-2);
  padding-left: 1.2em;
  margin: 0 0 20px;
  max-width: var(--measure);
}

main.prose li { margin: 0 0 8px; }

main.prose strong { color: var(--ink); }

main.prose hr {
  margin: 32px 0;
  border-top: 1px solid var(--line);
}

main.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: .95rem;
}

main.prose th, main.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

main.prose th {
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
}

main.prose .breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 8px;
}

main.prose .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

main.prose .breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

main.prose blockquote {
  border-left: 4px solid var(--accent);
  margin: 0 0 24px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2);
  font-size: .98rem;
}

main.prose details {
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

main.prose details > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
}

main.prose details > summary::-webkit-details-marker { display: none; }

main.prose details > summary::after { content: "+"; }
main.prose details[open] > summary::after { content: "\2212"; }

main.prose details[open] > summary { border-bottom: 1px solid var(--line); }

main.prose details > div,
main.prose details > p {
  padding: 16px 18px;
  margin: 0;
  color: var(--ink-2);
}

main.prose .callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft);
  padding: 16px 18px;
  margin: 0 0 24px;
  color: var(--ink-2);
}

main.prose .callout strong { color: var(--ink); }

main.prose .cta {
  margin: 40px 0 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

main.prose .cta p { margin: 0; max-width: 50ch; }
main.prose .cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 404 ──────────────────────────────────────────────────────────── */

.error-page {
  text-align: center;
  padding: 80px 0;
}

.error-page h1 {
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.error-page p {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 auto 28px;
}

.error-page .actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Auth pages (sign in, register, verify, reset) ─────────────────── */

/* The four unauthenticated pages (sign in, register, verify, reset)
 * are rendered by a fixture dumper in
 * infra/exfat-usb/disk-ie-control-plane/src/bin/ and served with this
 * stylesheet. Every colour below is a :root token, so the
 * @media (prefers-color-scheme: dark) block above flips them with no
 * per-rule override. No raw colour literals are permitted in this
 * section — no hex and no functional colour notation; any literal
 * would also break the dark flip.
 *
 * Pairing: .auth-shell sits on --surface-2, .auth-card on --surface.
 * Text is --ink (headings/labels), --ink-2 (body), --muted (help,
 * footnote) — the three values the token comments above say were
 * tuned to WCAG AA on both surfaces. Submit button: .btn .btn-primary
 * .btn-block from the Buttons section, not restyled here. */

.auth-shell {
  flex: 1 0 auto;                 /* body is a flex column; keeps footer down */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: var(--surface-2);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.auth-lead {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.auth-field input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.auth-field input::placeholder { color: var(--muted); }

.auth-help {
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--muted);
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin: 20px 0 0;
  font-size: .9rem;
}

.auth-links a { color: var(--accent); }

.auth-links a:hover,
.auth-links a:focus-visible { color: var(--accent-dark); }

.auth-footnote {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* The bare .auth-notice carries the failure tone: it is the only
 * warning slot these four pages have (bad credentials, expired link,
 * unknown address). --ok flips the accent bar to the success tone
 * ("check your inbox"). Body text stays --ink-2 in both, so the
 * meaning is never colour-only and every pair stays AA on both
 * surfaces in both schemes. */
.auth-notice {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--bad);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.5;
}

.auth-notice--ok { border-left-color: var(--ok); }

/* .btn-block (the full-width submit modifier) is already declared in
 * the Buttons section above; these forms reuse it rather than
 * re-declaring it here. */

/* ── Reduced motion ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .btn:hover { transform: none; }
}
