/* about.css — page-specific stylesheet for /about/.
   Does not depend on legal.css; does not affect /privacy/ or /terms/.
   Editorial-utility aesthetic: heavy typographic hierarchy, single brand
   purple used as ink, asymmetric layout, checklist motif. OKLCH tokens. */

:root {
  --ink: oklch(0.20 0.012 295);
  --ink-soft: oklch(0.42 0.012 295);
  --ink-mute: oklch(0.56 0.010 295);
  --rule: oklch(0.90 0.006 295);
  --bg: oklch(0.985 0.005 90);
  --bg-tint: oklch(0.965 0.010 295);
  --brand: #6A1B9A;
  --brand-ink: oklch(0.38 0.18 305);
  --brand-bg: oklch(0.95 0.030 305);
  --focus: oklch(0.65 0.18 305);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: oklch(0.96 0.008 90);
    --ink-soft: oklch(0.78 0.012 295);
    --ink-mute: oklch(0.60 0.012 295);
    --rule: oklch(0.28 0.008 295);
    --bg: oklch(0.16 0.012 295);
    --bg-tint: oklch(0.21 0.014 295);
    --brand: oklch(0.74 0.16 305);
    --brand-ink: oklch(0.78 0.18 305);
    --brand-bg: oklch(0.27 0.05 305);
    --focus: oklch(0.74 0.16 305);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Subtle grain — breaks flatness without distracting. Fixed, GPU-cheap,
   pointer-events: none. Opacity is tuned per theme below. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

@media (prefers-color-scheme: dark) {
  body::before { opacity: 0.06; mix-blend-mode: overlay; }
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease-out;
}
a:hover { color: var(--ink); }

::selection { background: var(--brand); color: white; }

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

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

.page-header {
  padding: clamp(56px, 9vw, 104px) 0 clamp(32px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 72px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
}

.section h2, .lede, .section-lede, .checklist h3 {
  text-wrap: balance;
}

.lede {
  margin: 24px 0 36px;
  max-width: 52ch;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 1px 0 0 oklch(0.30 0.16 305 / 0.4) inset,
              0 1px 2px oklch(0.30 0.16 305 / 0.18),
              0 6px 18px -8px oklch(0.30 0.16 305 / 0.35);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              background 140ms ease-out,
              box-shadow 220ms ease-out;
}
.btn-primary:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
              0 8px 22px -8px var(--ink);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 0 oklch(0.30 0.16 305 / 0.4) inset,
              0 1px 2px oklch(0.30 0.16 305 / 0.18);
}

.btn-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.btn-link:hover { color: var(--ink); }

/* ─── Sections ─────────────────────────────────────── */

.section {
  padding: clamp(44px, 6vw, 68px) 0;
  border-top: 1px solid var(--rule);
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section h2 .glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}
.section h2 .glyph svg { width: 14px; height: 14px; }

.section > p {
  margin: 0 0 18px;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.section > p strong { color: var(--ink); font-weight: 600; }

.section-lede {
  margin: -8px 0 28px;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ─── Checklist of features ────────────────────────── */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.checklist li {
  position: relative;
  padding-left: 36px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7.2 5.8 10l5.2-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}
.checklist h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.35;
}
.checklist p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 58ch;
}

/* ─── Scopes ───────────────────────────────────────── */

.scopes {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.scope dt {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.scope dt .opt {
  display: inline-block;
  padding: 2px 8px;
  background: var(--brand-bg);
  color: var(--brand-ink);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scope dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .scope {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.aside {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 60ch;
  line-height: 1.6;
}

/* ─── Closing CTA ──────────────────────────────────── */

.cta-end {
  text-align: center;
  padding: clamp(52px, 8vw, 88px) 0 clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--rule);
}
.cta-end .btn-primary {
  font-size: 16px;
  padding: 15px 30px;
}
.cta-end .meta {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}

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

.page-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg-tint);
  padding: 32px 0;
}
.page-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-mute);
}
.page-footer .mark {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.page-footer nav a {
  color: var(--ink-mute);
  text-decoration: none;
}
.page-footer nav a:hover { color: var(--ink); }
.page-footer .copy {
  margin-left: auto;
}

@media (max-width: 640px) {
  .page-footer .copy { margin-left: 0; width: 100%; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
