/* DreamChrome, company site styles.
   Theme: dark-primary. A polished object catching the light in a deep dream-dark
   night, Dream Ink ground, an Iris -> Aurora Cyan spectral catch as the only
   "gilt." System sans for the UI; one mono "engineering beat" per page; no serif.
   Single stylesheet, no build step. System font stacks only (no web-font fetch ->
   no font-block CLS/LCP). Every visual is a CSS gradient or inline SVG (zero raster
   images beyond the apple-touch-icon + OG card), so the page stays small and fast.
   Mirrors the structure and a11y posture of the Kairos Vine company site, re-skinned
   to the DreamChrome studio identity. "Chrome" is the light it throws, never metal. */

/* ─── Semantic aliases (sourced from tokens.css -> single source of truth) ───── */
:root {
  color-scheme: dark;

  /* Dream ground (dark surfaces) */
  --bg:        var(--dc-dream-900);
  --bg-deep:   var(--dc-dream-1000);
  --bg-raised: var(--dc-dream-800);
  --surface:   var(--dc-dream-700);
  --surface-2: var(--dc-dream-600);
  --on:        var(--dc-on-dream);
  --on-muted:  var(--dc-on-dream-muted);
  --line:      var(--dc-on-dream-line);
  --line-2:    rgba(234, 237, 247, 0.16);

  /* Iris (action / links) */
  --iris:        var(--dc-iris);
  --iris-bright: var(--dc-iris-300);
  --iris-strong: var(--dc-iris-600);

  /* Aurora cyan (the spectral end, live, glints) */
  --cyan:      var(--dc-cyan);
  --cyan-soft: var(--dc-cyan-300);
  --cyan-deep: var(--dc-cyan-700);

  /* Platinum (the chrome tone, structure, wordmark) */
  --platinum:        var(--dc-platinum-500);
  --platinum-bright: var(--dc-platinum-300);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --maxw: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4), 0 22px 48px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset / base ───────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--on);
  background: var(--bg-deep);
  background-image:
    radial-gradient(120% 80% at 12% -8%, #15183200, transparent),
    radial-gradient(90% 70% at 8% -6%, rgba(110, 92, 255, 0.16), transparent 55%),
    radial-gradient(95% 75% at 100% 0%, rgba(53, 224, 214, 0.10), transparent 60%);
  background-attachment: fixed;
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { text-wrap: balance; font-weight: 800; letter-spacing: -0.012em; overflow-wrap: break-word; }
p { text-wrap: pretty; }

::selection { background: rgba(110, 92, 255, 0.45); color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--iris);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 0; }

/* The spectral catch, the brand's only "gilt." A gradient-clipped text accent. */
.accent {
  background: var(--dc-grad-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Layout primitives ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--line); }
.section--deep { background: var(--bg-deep); border-block: 1px solid var(--line); }

/* A hairline spectral rule that can sit at the top of a band */
.section--edge { border-top: 1px solid transparent; }
.section--edge::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--dc-grad-edge);
  opacity: 0.7;
}

/* Eyebrow / kicker, uppercase with a spectral rule on each side */
.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin: 0 0 1.1rem;
}
.kicker::before,
.kicker::after {
  content: "";
  width: 1.9rem;
  height: 2px;
  border-radius: 2px;
}
.kicker::before { background: linear-gradient(90deg, transparent, var(--iris-bright)); }
.kicker::after  { background: linear-gradient(90deg, var(--cyan-soft), transparent); }
.kicker--center { justify-content: center; }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.14;
  margin: 0 0 0.9rem;
  color: var(--on);
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  color: var(--on-muted);
  margin: 0;
}

/* ─── Buttons (iris action) ──────────────────────────────────────────────── */
.cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--dc-grad-action);
  color: #f4f3ff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 1.02rem 1.85rem;
  border: 1px solid rgba(156, 140, 255, 0.45);
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(110, 92, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), filter 160ms var(--ease);
  will-change: transform;
}
.cta:hover, .cta:focus-visible,
.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 12px 30px rgba(110, 92, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.cta:active, .btn:active { transform: translateY(0); }
.cta svg, .btn svg { flex: none; }

.btn--ghost {
  background: transparent;
  color: var(--on);
  box-shadow: none;
  border: 1.5px solid var(--line-2);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(156, 140, 255, 0.10);
  border-color: var(--iris-bright);
  filter: none;
  box-shadow: none;
}
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.85rem; border-radius: 9px; }
.cta--lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

/* ─── Brand lockup (inline SVG logo from assets/logo/) ───────────────────── */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
}
.brand-lockup {
  display: block;
  width: auto;
  height: 2.1rem;
}
@media (min-width: 600px) { .brand-lockup { height: 2.3rem; } }
.site-footer .brand-lockup { height: 2.5rem; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 22, 0.86);
  border-bottom: 1px solid var(--line);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(10, 12, 22, 0.62);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}
/* Primary nav, a company site navigates; it doesn't funnel. Plain links, no button. */
.site-nav { display: none; gap: 1.7rem; align-items: center; }
@media (min-width: 600px) { .site-nav { display: flex; } }
.site-nav a {
  color: var(--on-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.1rem;
  transition: color 140ms var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--cyan-soft); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dc-grad-dream);
  color: var(--on);
  min-height: min(84svh, 780px);
  display: grid;
  align-items: center;
  padding-block: clamp(3.5rem, 8vh, 6rem) clamp(3.5rem, 9vh, 6rem);
}
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(58% 50% at 16% 6%, rgba(110, 92, 255, 0.30), transparent 60%),
    radial-gradient(55% 48% at 88% 12%, rgba(77, 140, 255, 0.18), transparent 60%),
    radial-gradient(80% 75% at 70% 112%, rgba(53, 224, 214, 0.20), transparent 62%);
}
/* faint constellation watermark (official mark-on-dark.svg) */
.hero__mark {
  position: absolute;
  right: clamp(-3rem, -1vw, 2rem);
  top: 50%;
  translate: 0 -50%;
  width: min(58vw, 460px);
  height: auto;
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: inset 0 -120px 90px -80px rgba(6, 7, 14, 0.9);
  pointer-events: none;
}
.hero__content {
  max-width: 52rem;
  text-align: center;
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 4.5rem);
  line-height: 1.06;
  margin: 0;
  color: var(--on);
}
.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--on-muted);
  max-width: 42rem;
  margin: 1.35rem auto 2.1rem;
}
/* Quiet identity meta line (replaces the landing-page "trust badges" row) */
.hero__meta {
  margin: 2.1rem auto 0;
  color: var(--on-muted);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  max-width: min(100%, 44rem);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vh, 2.25rem);
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--cyan-soft);
  z-index: 1;
}
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--iris-bright); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: bob 2.4s var(--ease) infinite; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─── The name (Dream + Chrome explainer) ────────────────────────────────── */
.name { background: var(--bg-raised); border-block: 1px solid var(--line); }
.name-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3.25rem);
}
@media (min-width: 760px) { .name-grid { grid-template-columns: 1fr 1fr; } }
.name-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem 2.1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.name-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--dc-grad-edge);
}
.name-card .word {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on);
  margin: 0;
}
.name-card .gloss {
  display: block;
  margin: 0.15rem 0 1rem;
  font-family: var(--mono);
  color: var(--cyan-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.name-card p { margin: 0; color: var(--on-muted); }
.name-card p + p { margin-top: 0.85rem; }
.name__closer {
  max-width: 44rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--on);
}

/* ─── Value pillars (dream plates, spectral motifs) ──────────────────────── */
.pillars-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 560px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }

.pillar {
  --accent: var(--cyan-soft);
  --accent-2: var(--iris-bright);
  --art-bg: var(--dc-dream-800);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 140, 255, 0.4);
}
.pillar--a { --art-bg: #0f1326; }
.pillar--b { --art-bg: #0e1426; }
.pillar--c { --art-bg: #101226; }
.pillar--d { --art-bg: #0d1224; }

.pillar__art {
  position: relative;
  height: clamp(150px, 22vw, 178px);
  color: var(--accent);
  background: var(--art-bg);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-2);
}
.pillar__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 0%, rgba(110, 92, 255, 0.22), transparent 70%);
}
.pillar__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 50% 120%, rgba(53, 224, 214, 0.20), transparent 62%);
}
.motif {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.motif .a2 { stroke: var(--accent-2); }
.motif .a2f { fill: var(--accent-2); }
.motif .nf { fill: #cfeaff; }

.pillar__body { padding: 1.6rem 1.6rem 1.85rem; }
.pillar h3 { font-size: 1.3rem; margin: 0 0 0.5rem; color: var(--on); }
.pillar__body p { color: var(--on-muted); margin: 0; font-size: 1rem; }

/* ─── Capabilities grid (what we build, domains) ────────────────────────── */
.caps-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 560px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .caps-grid { grid-template-columns: repeat(3, 1fr); } }

.cap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.55rem;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.cap:hover {
  transform: translateY(-3px);
  border-color: rgba(156, 140, 255, 0.4);
  box-shadow: var(--shadow-md);
}
.cap__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.05rem;
  border-radius: 12px;
  color: var(--cyan-soft);
  background: radial-gradient(120% 120% at 30% 0%, rgba(110, 92, 255, 0.22), rgba(53, 224, 214, 0.08));
  border: 1px solid var(--line-2);
}
.cap__icon svg { width: 1.6rem; height: 1.6rem; }
.cap h3 { font-size: 1.18rem; margin: 0 0 0.4rem; color: var(--on); }
.cap p { margin: 0; color: var(--on-muted); font-size: 0.99rem; }

/* ─── Statement band (the mono engineering beat) ─────────────────────────── */
.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--on);
}
.statement__glow {
  position: absolute;
  inset: clamp(0.9rem, 3vw, 1.85rem);
  z-index: -1;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background:
    radial-gradient(60% 75% at 50% 0%, rgba(110, 92, 255, 0.22), transparent 70%),
    radial-gradient(60% 75% at 50% 120%, rgba(53, 224, 214, 0.18), transparent 70%);
}
.statement .container { max-width: 58rem; text-align: center; }
.statement .stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--cyan-soft);
  margin: 0 0 1.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(53, 224, 214, 0.06);
}
.statement blockquote {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.statement .attribution {
  margin: 1.5rem 0 0;
  color: var(--on-muted);
  font-size: 1rem;
}

/* ─── Contact (understated, a door, not a funnel) ───────────────────────── */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-raised);
  color: var(--on);
  text-align: center;
}
.contact__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 90% at 50% 120%, rgba(110, 92, 255, 0.16), transparent 66%);
}
.contact .container { max-width: 44rem; }
.contact h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
  color: var(--on);
}
.contact p {
  color: var(--on-muted);
  font-size: clamp(1.08rem, 1.9vw, 1.22rem);
  margin: 0 auto;
  max-width: 38rem;
}
.contact__email { margin-top: clamp(1.6rem, 4vw, 2.4rem) !important; }
.contact__email a {
  display: inline-block;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cyan-soft);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--line-2);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.contact__email a:hover, .contact__email a:focus-visible {
  color: var(--iris-bright);
  border-bottom-color: var(--iris-bright);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  color: var(--on-muted);
  border-top: 1px solid var(--line-2);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--dc-grad-edge);
  opacity: 0.6;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; align-items: center; }
@media (min-width: 720px) { .footer-brand { align-items: flex-start; } }
.footer-brand p { margin: 0; font-size: 0.94rem; max-width: 28rem; }
.footer-emblem { display: flex; align-items: center; gap: 0.9rem; }
.footer-emblem img { width: 2.6rem; height: 2.6rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--on-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.25rem;
  transition: color 140ms var(--ease);
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--cyan-soft); }
.copyright { color: var(--on-muted); margin: 1.5rem 0 0; font-size: 0.85rem; }
.copyright .mono { font-family: var(--mono); opacity: 0.8; }

/* Secondary footer row for legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin: 1.4rem 0 0;
}
.footer-legal a {
  color: var(--on-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 140ms var(--ease);
}
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--cyan-soft); }

/* ─── Legal / long-form pages (privacy, terms, support, deletion) ─────────── */
.legal-head {
  position: relative;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}
.legal-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--dc-grad-edge);
  opacity: 0.7;
}
.legal-head .container { max-width: 52rem; }
.legal-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0;
  color: var(--on);
}
.legal-meta {
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan-soft);
}

.prose {
  max-width: 52rem;
  margin-inline: auto;
  color: var(--on-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  color: var(--on);
  scroll-margin-top: 5rem;
}
.prose h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.12rem;
  color: var(--on);
}
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: var(--cyan-soft); }
.prose a { color: var(--iris-bright); }
.prose strong { color: var(--on); font-weight: 700; }
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line-2);
  margin: 2.4rem 0;
}
.prose address {
  font-style: normal;
  color: var(--on);
}

/* A clearly-visible placeholder for company-specific values to fill before go-live */
.ph {
  background: rgba(110, 92, 255, 0.18);
  color: var(--iris-bright);
  border: 1px dashed rgba(156, 140, 255, 0.5);
  border-radius: 5px;
  padding: 0.05em 0.4em;
  font-family: var(--mono);
  font-size: 0.86em;
  white-space: nowrap;
}

/* A boxed note (e.g. "this is a template, not legal advice") */
.callout {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--iris-bright);
  border-radius: 10px;
  background: rgba(110, 92, 255, 0.07);
  color: var(--on-muted);
  font-size: 0.96rem;
}
.callout strong { color: var(--on); }

/* Quick in-page table of contents */
.toc {
  margin: 0 0 2.4rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
}
.toc p {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 1.5rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { color: var(--on-muted); text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--cyan-soft); }

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.notfound {
  text-align: center;
  padding: clamp(4rem, 14vw, 8rem) var(--pad);
  max-width: 36rem;
  margin: 0 auto;
}
.notfound h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--on);
}
.notfound p { color: var(--on-muted); font-size: 1.15rem; margin: 0 0 2rem; }

/* ─── Scroll-reveal (progressive enhancement; no-op without support) ─────── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
