/* ────────────────────────────────────────────────────────────
   hola — design system
   Dark mode, purple glows, heavy rounded corners.
   ──────────────────────────────────────────────────────────── */

:root {
  /* surfaces */
  --bg:          #0A090E;
  --bg-2:        #08070C;
  --surface:     #1A171F;
  --surface-2:   #221E2A;
  --surface-3:   #2C2735;
  --hairline:    rgba(235, 234, 237, 0.08);
  --hairline-2:  rgba(235, 234, 237, 0.14);

  /* ink */
  --ink:        #EBEAED;
  --ink-80:     rgba(235, 234, 237, 0.80);
  --ink-65:     rgba(235, 234, 237, 0.65);
  --ink-45:     rgba(235, 234, 237, 0.45);
  --ink-30:     rgba(235, 234, 237, 0.30);

  /* brand */
  --primary:       #B794F6;
  --primary-deep:  #8B5CF6;
  --primary-darker:#7C3AED;
  --secondary:     #C084FC;
  --amber:         #F59E0B;
  --amber-soft:    #FBBF24;
  --success:       #4ADE80;
  --danger:        #F87171;

  /* gradients + glows */
  --cta-gradient: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  --cta-gradient-hover: linear-gradient(135deg, #9B6BFF 0%, #8B4DEF 100%);
  --premium-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --hero-aurora: radial-gradient(60% 50% at 70% 20%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
                 radial-gradient(45% 40% at 20% 80%, rgba(192, 132, 252, 0.10) 0%, transparent 65%);

  --glow:        0 0 32px rgba(124, 58, 237, 0.30);
  --glow-strong: 0 0 56px rgba(124, 58, 237, 0.50);
  --glow-cta:    0 14px 36px -8px rgba(124, 58, 237, 0.55);
  --glow-card:   0 10px 40px -12px rgba(124, 58, 237, 0.35);

  /* type */
  --font: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* scale */
  --fs-eyebrow: 0.75rem;
  --fs-small:   0.875rem;
  --fs-body:    1.0625rem;
  --fs-lede:    clamp(1.125rem, 0.95rem + 0.5vw, 1.3125rem);
  --fs-h3:      clamp(1.25rem, 1rem + 1vw, 1.5rem);
  --fs-h2:      clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-hero:    clamp(2.75rem, 1.3rem + 6.2vw, 5.5rem);

  /* spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 176px;

  /* radius */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-pill: 9999px;

  /* layout */
  --pad-x:    clamp(20px, 5vw, 64px);
  --max-w:    1240px;
  --col-prose: 720px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button, input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

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

/* ───────────────────────── base ───────────────────────── */
body {
  background: var(--bg);
  background-image:
    radial-gradient(rgba(235, 234, 237, 0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

/* skip link */
.skip {
  position: absolute;
  top: -40px;
  left: var(--pad-x);
  z-index: 200;
  background: var(--primary-deep);
  color: white;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-small);
}
.skip:focus { top: 12px; }

/* ───────────────────────── layout ───────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(72px, 11vh, 144px);
  position: relative;
}

.section + .section { border-top: 1px solid var(--hairline); }

/* ───────────────────────── typography utils ───────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}
.eyebrow.center { justify-content: center; }
.eyebrow.no-rule::before { display: none; }

.head-xl, .display {
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.head-l {
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.head-m {
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.head-s {
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-80);
  max-width: 56ch;
}

.muted { color: var(--ink-65); }
.dim   { color: var(--ink-45); }

em.accent, .accent {
  color: var(--primary);
  font-style: normal;
}

/* ───────────────────────── buttons / CTAs ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta-gradient);
  color: white;
  box-shadow: var(--glow-cta);
}
.btn-primary:hover {
  background: var(--cta-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -8px rgba(124, 58, 237, 0.7);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--primary);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* app store badges */
.badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-2);
  transition: all 240ms var(--ease);
  min-width: 188px;
}
.badge:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-card);
}
.badge .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}
.badge .label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.badge .label .small {
  font-size: 0.6875rem;
  color: var(--ink-65);
  letter-spacing: 0.02em;
}
.badge .label .big {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* ───────────────────────── nav ───────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 14px;
  background: rgba(10, 9, 14, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-80);
  transition: color 180ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: none; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(6px); }

/* mobile menu (expanded) */
.site-nav.open .nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-5) 0 var(--s-3);
  border-top: 1px solid var(--hairline);
  margin-top: 14px;
}
.nav-mobile { display: none; }
.nav-mobile a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--ink-80);
  background: var(--surface);
}
.nav-mobile .btn-primary { margin-top: 12px; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .site-nav.open .nav-mobile { display: none; }
}

/* ───────────────────────── hero ───────────────────────── */
.hero {
  padding-block: clamp(64px, 10vh, 120px) clamp(72px, 12vh, 144px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-aurora);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  position: relative;
}

.hero h1 { margin-block: var(--s-6) var(--s-5); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--primary); }

.hero .lede { margin-bottom: var(--s-7); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: var(--s-5);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--ink-65);
}
.hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(74, 222, 128, 0.12);
  color: var(--success);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.hero-meta .pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* persona montage in hero */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

/* sparkle accents (referenced by .closer .signoff and editorial overrides) */
.sparkle {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.55));
}

/* ───────────────────────── section header ───────────────────────── */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-8);
  display: grid;
  gap: var(--s-4);
  justify-items: center;
}
.sec-head h2 { max-width: 18ch; }
.sec-head p { color: var(--ink-65); max-width: 56ch; }

/* (companions showcase removed — replaced by editorial 4-card pattern) */

/* ───────────────────────── features grid (8-up) ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 280ms var(--ease);
}
.feature:hover {
  background: var(--surface-2);
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-3px);
}
.feature .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.16);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.feature .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.feature h3 {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.feature p {
  color: var(--ink-65);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ───────────────────────── moments strip ───────────────────────── */
.moments {
  overflow: hidden;
  position: relative;
}
.moments .sec-head { margin-bottom: var(--s-6); }
.moments-track {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.moment-pill {
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  font-size: 0.9375rem;
  color: var(--ink-80);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms var(--ease);
}
.moment-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}
.moment-pill:hover {
  background: var(--surface-2);
  border-color: var(--primary);
}

/* ───────────────────────── safety strip ───────────────────────── */
.safety-strip {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.10) 0%, rgba(192, 132, 252, 0.06) 100%),
    var(--surface);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  gap: var(--s-4);
}
.safety-strip h3 { color: var(--ink); }
.safety-strip p { color: var(--ink-80); max-width: 60ch; }
.safety-strip .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* ───────────────────────── FAQ ───────────────────────── */
.faq {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--hairline);
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  width: 100%;
  background: transparent;
  border: 0;
  padding: clamp(20px, 3vh, 28px) 4px;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 240ms var(--ease), background 240ms var(--ease);
}
.faq-item[open] .faq-q .plus {
  background: var(--primary-deep);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 4px clamp(20px, 3vh, 28px);
  color: var(--ink-80);
  line-height: 1.65;
  max-width: 68ch;
}
.faq-a p + p { margin-top: 0.8em; }

/* ───────────────────────── cta strip ───────────────────────── */
.cta-strip {
  text-align: center;
  display: grid;
  gap: var(--s-6);
  justify-items: center;
  padding-block: clamp(96px, 14vh, 168px);
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
}
.cta-strip h2 { max-width: 20ch; }

/* ───────────────────────── footer ───────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding-block: clamp(56px, 9vh, 96px) var(--s-6);
}

.footer-brand {
  display: grid;
  gap: var(--s-4);
  max-width: 36ch;
}
.footer-brand p {
  color: var(--ink-65);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

.footer-col h4 {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: var(--s-4);
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  color: var(--ink-80);
  font-size: var(--fs-small);
  transition: color 180ms ease;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-block: var(--s-5);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--ink-45);
}
.footer-bottom .langs { color: var(--ink-65); }

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
  }
  .footer-cols { display: contents; }
}

/* ───────────────────────── prose / legal pages ───────────────────────── */
.page-hero {
  padding-block: clamp(48px, 8vh, 96px) clamp(40px, 6vh, 72px);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .eyebrow { margin-bottom: var(--s-5); }
.page-hero h1 { max-width: 16ch; margin-bottom: var(--s-5); }
.page-hero .lede { max-width: 60ch; }

.prose-wrap {
  padding-block: clamp(48px, 8vh, 96px) clamp(72px, 12vh, 144px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (min-width: 880px) {
  .prose-wrap { grid-template-columns: 220px 1fr; }
}

.prose-sidebar {
  position: relative;
  font-size: var(--fs-small);
}
.prose-sidebar h4 {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: var(--s-3);
}
.prose-sidebar .updated {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-65);
  margin-bottom: var(--s-4);
}
.prose-sidebar ol {
  display: grid;
  gap: 10px;
  counter-reset: toc;
}
.prose-sidebar ol li {
  counter-increment: toc;
  display: flex;
  gap: var(--s-3);
  color: var(--ink-65);
}
.prose-sidebar ol li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--ink-45);
  font-feature-settings: 'tnum';
  flex-shrink: 0;
}
.prose-sidebar ol li a { transition: color 180ms ease; }
.prose-sidebar ol li a:hover { color: var(--primary); }

@media (min-width: 880px) {
  .prose-sidebar { position: sticky; top: 96px; align-self: start; }
}

.prose {
  max-width: var(--col-prose);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-80);
}
.prose h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  margin-top: 2.4em;
  margin-bottom: 0.5em;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .secno {
  font-size: 0.6em;
  font-weight: 600;
  color: var(--primary);
  margin-right: 12px;
  letter-spacing: 0.06em;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol {
  margin: 0 0 1.4em 0;
  padding-left: 0;
  display: grid;
  gap: 0.55em;
}
.prose ul li, .prose ol li {
  padding-left: 28px;
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.prose ol { counter-reset: list; }
.prose ol li::before {
  content: counter(list) '.';
  counter-increment: list;
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
.prose a {
  color: var(--primary);
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
  transition: border-color 180ms ease;
}
.prose a:hover { border-bottom-color: var(--primary); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--ink); }
.prose code, .prose .kbd {
  font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace;
  font-size: 0.875em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--primary);
}
.prose blockquote {
  border-left: 2px solid var(--primary);
  padding-left: var(--s-5);
  margin: 1.6em 0;
  color: var(--ink);
  font-size: 1.1em;
  font-weight: 500;
}

.prose .callout {
  margin: 1.6em 0;
  padding: var(--s-5);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(251, 191, 36, 0.06) 100%),
    var(--surface);
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: var(--r-md);
  color: var(--ink-80);
}
.prose .callout strong { color: var(--amber); }
.prose .callout p { margin-bottom: 0; }
.prose .callout.info {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(192, 132, 252, 0.06) 100%),
    var(--surface);
  border-color: rgba(124, 58, 237, 0.30);
}
.prose .callout.info strong { color: var(--primary); }

/* hotline cards on safety page */
.hotline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin: 1.6em 0 2em;
}
@media (min-width: 640px) {
  .hotline-grid { grid-template-columns: repeat(2, 1fr); }
}
.hotline {
  display: grid;
  gap: 6px;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--ink);
  transition: all 240ms var(--ease);
}
.hotline:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-card);
}
.hotline .name { font-weight: 700; font-size: 1rem; }
.hotline .num {
  font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.hotline .hours { font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-45); }

/* contact card variant */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
}
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  transition: all 240ms var(--ease);
}
.contact-card:hover {
  background: var(--surface-2);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--glow-card);
}
.contact-card .key {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.contact-card a {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
  word-break: break-all;
}
.contact-card .note {
  font-size: var(--fs-small);
  color: var(--ink-65);
  margin-top: 6px;
}

/* about story */
.story {
  display: grid;
  gap: var(--s-6);
  max-width: 760px;
}
.story p {
  font-size: var(--fs-lede);
  color: var(--ink-80);
  line-height: 1.65;
}
.story p:first-child::first-line { color: var(--ink); font-weight: 600; }

.parent-block {
  margin-top: var(--s-8);
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  display: grid;
  gap: 8px;
}
.parent-block .key {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.parent-block h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.015em; }
.parent-block p { color: var(--ink-65); }
.parent-block a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
}

/* ───────────────────────── 404 page ───────────────────────── */
.error-page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(64px, 12vh, 144px) var(--pad-x);
  text-align: center;
}
.error-page .num {
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.4));
}
.error-page h1 { margin-block: var(--s-5) var(--s-4); max-width: 18ch; margin-inline: auto; }
.error-page p { color: var(--ink-65); max-width: 44ch; margin-inline: auto; }
.error-page .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s-6);
}

/* ───────────────────────── motion ───────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rise > * {
  opacity: 0;
  animation: rise 700ms var(--ease) forwards;
}
.rise > *:nth-child(1) { animation-delay: 80ms; }
.rise > *:nth-child(2) { animation-delay: 200ms; }
.rise > *:nth-child(3) { animation-delay: 320ms; }
.rise > *:nth-child(4) { animation-delay: 440ms; }
.rise > *:nth-child(5) { animation-delay: 560ms; }
.rise > *:nth-child(6) { animation-delay: 680ms; }

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

/* ───────────────────────── focus ───────────────────────── */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* hide scrollbar in moments etc but keep functional */
.scroll-hidden { scrollbar-width: none; -ms-overflow-style: none; }
.scroll-hidden::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════════════════════════
   EDITORIAL HOMEPAGE — body.editorial overrides only.
   Warm cream paper, Fraunces serif, Hola purple as single accent.
   Scoped to index.html. Other pages keep dark-mode default.
   ════════════════════════════════════════════════════════════ */

body.editorial {
  /* Palette B — cool off-white paper + deep purple, single accent (winner) */
  --paper:        #F2F3F5;
  --paper-warm:   #E8EAEE;
  --paper-tint:   #FAFAFB;
  --ink:          #1A1A22;      /* pure charcoal */
  --ink-80:       rgba(26, 26, 34, 0.80);
  --ink-65:       rgba(26, 26, 34, 0.65);
  --ink-45:       rgba(26, 26, 34, 0.45);
  --ink-30:       rgba(26, 26, 34, 0.30);
  --ink-12:       rgba(26, 26, 34, 0.12);
  --ink-08:       rgba(26, 26, 34, 0.08);
  --accent:       #7C3AED;      /* app's gradient-bottom deep purple */
  --accent-soft:  rgba(124, 58, 237, 0.12);
  --amber:        #F59E0B;
  --serif:        'Fraunces', 'Times New Roman', Times, Georgia, serif;
  --mono:         'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  background: var(--paper);
  background-image: radial-gradient(rgba(26, 26, 34, 0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  color: var(--ink);
}
body.editorial ::selection { background: var(--ink); color: var(--paper); }

/* paper grain overlay */
body.editorial::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.10  0 0 0 0 0.13  0 0 0 0.040 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ──── nav override ──── */
body.editorial .site-nav {
  background: rgba(242, 243, 245, 0.80);
  border-bottom-color: var(--ink-12);
}
/* nav-links / nav-toggle / nav-mobile are no longer in editorial markup;
   keep the Get-the-app CTA visible at every width. */
body.editorial .nav-cta { display: inline-flex; }
body.editorial .brand { color: var(--ink); }
body.editorial .nav-links a { color: var(--ink-65); }
body.editorial .nav-links a:hover,
body.editorial .nav-links a[aria-current="page"] { color: var(--ink); }
body.editorial .btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}
body.editorial .btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--glow-cta);
}
body.editorial .btn-ghost {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--ink-12);
}
body.editorial .btn-ghost:hover {
  background: var(--paper-tint);
  border-color: var(--accent);
}
body.editorial .nav-toggle {
  background: var(--paper-warm);
  border-color: var(--ink-12);
}
body.editorial .nav-toggle span,
body.editorial .nav-toggle span::before,
body.editorial .nav-toggle span::after { background: var(--ink); }
body.editorial .site-nav.open .nav-mobile { border-top-color: var(--ink-12); }
body.editorial .nav-mobile a { background: var(--paper-warm); color: var(--ink-80); }
body.editorial .skip { background: var(--ink); color: var(--paper); }

/* ──── layout ──── */
body.editorial .ed-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

body.editorial .ed-meta-strip {
  padding-block: clamp(28px, 4vh, 48px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}
body.editorial .ed-meta-strip > * { white-space: nowrap; }
body.editorial .ed-meta-strip .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}
body.editorial .ed-meta-strip .hide-sm { display: none; }
@media (min-width: 760px) {
  body.editorial .ed-meta-strip .hide-sm { display: inline; }
}

/* ──── hero ──── */
body.editorial .ed-hero {
  padding-block: clamp(48px, 9vh, 120px) clamp(72px, 14vh, 192px);
}
body.editorial .ed-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

body.editorial .ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 5vh, 56px);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}
body.editorial .ed-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink-45);
}

body.editorial .ed-display {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.75rem, 1.4rem + 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  max-width: 16ch;
}
body.editorial .ed-display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 400;
  color: var(--ink);
}
body.editorial .ed-display .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

body.editorial .ed-lede {
  margin-top: clamp(36px, 6vh, 72px);
  max-width: 56ch;
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-80);
  letter-spacing: -0.005em;
}

body.editorial .ed-cta-row {
  margin-top: clamp(36px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* badge (ink on cream, hover purples) */
body.editorial .ed-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  transition: all 240ms var(--ease);
}
body.editorial .ed-badge:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(124, 58, 237, 0.55);
}
body.editorial .ed-badge .icon { width: 28px; height: 28px; flex-shrink: 0; fill: currentColor; }
body.editorial .ed-badge .label { display: flex; flex-direction: column; line-height: 1.1; }
body.editorial .ed-badge .small { font-size: 0.6875rem; letter-spacing: 0.04em; opacity: 0.7; }
body.editorial .ed-badge .big { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; }

body.editorial .ed-langs {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* hero is single-column at every breakpoint (postmark removed in Round 4) */

/* ──── editorial sections (hairline-bordered) ──── */
body.editorial .ed-section {
  border-top: 1px solid var(--ink-12);
  padding-block: clamp(64px, 10vh, 128px);
}
body.editorial .ed-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-5);
  margin-bottom: clamp(40px, 6vh, 72px);
  flex-wrap: wrap;
}
body.editorial .ed-section-head h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 20ch;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
body.editorial .ed-section-head h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 400;
}
body.editorial .ed-section-head .ed-section-no {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
  white-space: nowrap;
}

/* prose */
body.editorial .ed-prose {
  display: grid;
  gap: var(--s-5);
  max-width: 62ch;
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-80);
}
body.editorial .ed-prose em {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
  color: var(--ink);
  font-weight: 400;
}
body.editorial .ed-prose strong { color: var(--ink); font-weight: 700; }
body.editorial .ed-prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(124, 58, 237, 0.45);
  transition: border-color 180ms ease;
}
body.editorial .ed-prose a:hover { border-bottom-color: var(--accent); }

/* numbered cards (§ 02 Practice) */
body.editorial .ed-cards { display: grid; gap: 0; }
body.editorial .ed-card {
  border-top: 1px solid var(--ink-12);
  padding-block: clamp(28px, 4vh, 44px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
body.editorial .ed-card:last-child { border-bottom: 1px solid var(--ink-12); }
body.editorial .ed-card .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-45);
  padding-top: 8px;
  min-width: 32px;
}
body.editorial .ed-card .body { display: grid; gap: var(--s-3); }
body.editorial .ed-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  font-variation-settings: "opsz" 60, "SOFT" 50;
}
body.editorial .ed-card p {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-80);
  max-width: 58ch;
}
body.editorial .ed-card .tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-top: var(--s-2);
}

/* pull-quote list (§ 03 Moments) */
body.editorial .ed-quotes { display: grid; gap: 0; }
body.editorial .ed-quote {
  border-top: 1px solid var(--ink-12);
  padding-block: clamp(20px, 3vh, 32px);
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
}
body.editorial .ed-quote:last-child { border-bottom: 1px solid var(--ink-12); }
body.editorial .ed-quote .n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-45);
  min-width: 32px;
  flex-shrink: 0;
}
body.editorial .ed-quote .text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2.125rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
}

/* closer */
body.editorial .ed-closer {
  border-top: 1px solid var(--ink-12);
  padding-block: clamp(96px, 16vh, 192px);
  display: grid;
  gap: var(--s-7);
  justify-items: start;
}
body.editorial .ed-closer .ed-wrap {
  display: grid;
  gap: var(--s-7);
  justify-items: start;
}
body.editorial .ed-closer h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
body.editorial .ed-closer h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 400;
}
body.editorial .ed-closer .signoff {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
body.editorial .ed-closer .signoff .star {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.55));
}
body.editorial .ed-closer .signoff strong {
  color: var(--accent);  /* tracks the editorial accent */
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
}

/* ──── footer override ──── */
body.editorial .site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--ink-12);
}
body.editorial .footer-brand p { color: var(--ink-65); }
body.editorial .footer-col h4 { color: var(--ink-45); }
body.editorial .footer-col a { color: var(--ink-65); }
body.editorial .footer-col a:hover { color: var(--accent); }
body.editorial .footer-bottom {
  border-top-color: var(--ink-12);
  color: var(--ink-45);
}
body.editorial .footer-bottom .langs { color: var(--ink-65); }
body.editorial *:focus-visible { outline-color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   EDITORIAL OVERRIDES for shared dark-mode components.
   When body.editorial is set on the other 9 pages, the existing
   markup (page-hero, prose, contact-card, hotline, feature, callout,
   safety-strip, cta-strip, error-page, etc.) re-skins itself to the
   cream + Fraunces + lavender palette without needing markup changes.
   ════════════════════════════════════════════════════════════ */

/* Re-route dark-mode tokens to editorial equivalents so any selector
   that uses --bg/--surface/--primary/--hairline picks up the new look. */
body.editorial {
  --bg:           var(--paper);
  --bg-2:         var(--paper-warm);
  --surface:      #ECEDF1;
  --surface-2:    #E4E6EB;
  --surface-3:    var(--paper-warm);
  --hairline:     var(--ink-12);
  --hairline-2:   var(--ink-08);
  --primary:      var(--accent);
  --primary-deep: var(--accent);
  --secondary:    var(--accent);
  --glow:         0 0 28px rgba(124, 58, 237, 0.18);
  --glow-strong:  0 0 44px rgba(124, 58, 237, 0.28);
  --glow-cta:     0 8px 28px -8px rgba(124, 58, 237, 0.40);
  --glow-card:    0 6px 22px -8px rgba(124, 58, 237, 0.20);
  --cta-gradient:       linear-gradient(135deg, #1A1A22 0%, #1A1A22 100%);
  --cta-gradient-hover: linear-gradient(135deg, #7C3AED 0%, #7C3AED 100%);
  --hero-aurora: none;
}

/* Typography re-skin on shared components */
body.editorial .eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}
body.editorial .eyebrow::before { background: var(--ink-45); }
body.editorial .eyebrow.no-rule::before { display: none; }

body.editorial .head-xl, body.editorial .display,
body.editorial .head-l, body.editorial .head-m, body.editorial .head-s {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--ink);
}
body.editorial .head-xl em, body.editorial .display em,
body.editorial .head-l em, body.editorial .head-m em, body.editorial .head-s em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 400;
  color: var(--ink);
}
body.editorial em.accent, body.editorial .accent {
  color: var(--ink);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

body.editorial .lede { color: var(--ink-80); }
body.editorial .muted { color: var(--ink-65); }
body.editorial .dim   { color: var(--ink-45); }

/* Page hero (about, contact, safety, all legal) */
body.editorial .page-hero { border-bottom-color: var(--ink-12); }

/* Sections */
body.editorial .section + .section { border-top-color: var(--ink-12); }

/* Section heads */
body.editorial .sec-head h2 { color: var(--ink); font-family: var(--serif); font-weight: 350; }
body.editorial .sec-head p { color: var(--ink-65); }

/* Buttons (.btn-primary / .btn-ghost editorial styles live above in the nav block) */
body.editorial .link-arrow {
  color: var(--ink);
  border-bottom-color: var(--ink-12);
}
body.editorial .link-arrow:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
body.editorial .link-arrow::after { color: inherit; }

/* App-store badge (Google Play) */
body.editorial .badge {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
body.editorial .badge:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
body.editorial .badge .small {
  color: var(--paper);
  opacity: 0.78;
}
body.editorial .badge:hover .small { color: var(--paper); }

/* Story (about page) */
body.editorial .story p { color: var(--ink-80); }
body.editorial .story p:first-child::first-line { color: var(--ink); }

/* Features grid (about page) — convert to editorial numbered-list look */
body.editorial .features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
body.editorial .feature {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink-12);
  border-radius: 0;
  padding: clamp(20px, 3vh, 32px) 0;
  transition: none;
}
body.editorial .feature:last-child { border-bottom: 1px solid var(--ink-12); }
body.editorial .feature:hover {
  background: transparent;
  transform: none;
  border-color: var(--ink-12);
  border-top-color: var(--ink-12);
}
body.editorial .feature .icon {
  background: transparent;
  color: var(--ink);
  width: 36px;
  height: 36px;
}
body.editorial .feature .icon svg { stroke: var(--ink); }
body.editorial .feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60, "SOFT" 50;
}
body.editorial .feature p { color: var(--ink-65); }

/* Contact cards */
body.editorial .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--s-6);
}
body.editorial .contact-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink-12);
  border-radius: 0;
  padding: clamp(24px, 4vh, 36px) 0;
  transition: none;
}
body.editorial .contact-card:last-child { border-bottom: 1px solid var(--ink-12); }
body.editorial .contact-card:hover {
  background: transparent;
  transform: none;
  border-top-color: var(--ink-12);
  box-shadow: none;
}
body.editorial .contact-card .key {
  font-family: var(--mono);
  color: var(--ink-45);
  font-weight: 400;
  letter-spacing: 0.08em;
}
body.editorial .contact-card a {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
  border-bottom: 1px solid var(--ink-12);
  padding-bottom: 2px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
body.editorial .contact-card a:hover { color: var(--accent); border-bottom-color: var(--accent); }
body.editorial .contact-card .note { color: var(--ink-65); }

@media (min-width: 760px) {
  body.editorial .contact-grid { grid-template-columns: 1fr; }
}

/* Hotline cards (safety) */
body.editorial .hotline {
  background: var(--paper-warm);
  border-color: var(--ink-12);
  color: var(--ink);
}
body.editorial .hotline:hover {
  background: var(--paper-tint);
  border-color: var(--accent);
  box-shadow: var(--glow-card);
  transform: translateY(-2px);
}
body.editorial .hotline .name { color: var(--ink); font-family: var(--serif); font-weight: 400; }
body.editorial .hotline .num { color: var(--accent); }
body.editorial .hotline .hours { color: var(--ink-45); font-family: var(--mono); letter-spacing: 0.08em; }

/* Prose / Legal pages */
body.editorial .prose { color: var(--ink-80); }
body.editorial .prose h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 50;
  letter-spacing: -0.02em;
}
body.editorial .prose h2 .secno {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 400;
}
body.editorial .prose h3 { color: var(--ink); font-family: var(--sans); }
body.editorial .prose p { color: var(--ink-80); }
body.editorial .prose ul li::before { background: var(--accent); color: var(--accent); content: ''; }
body.editorial .prose ol li::before { color: var(--accent); }
body.editorial .prose a {
  color: var(--accent);
  border-bottom-color: rgba(124, 58, 237, 0.40);
}
body.editorial .prose a:hover { border-bottom-color: var(--accent); }
body.editorial .prose strong { color: var(--ink); }
body.editorial .prose code, body.editorial .prose .kbd {
  background: var(--paper-warm);
  color: var(--accent);
}
body.editorial .prose blockquote {
  border-left-color: var(--accent);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
}

/* Callouts */
body.editorial .prose .callout {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%),
    var(--paper-warm);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--ink-80);
}
body.editorial .prose .callout strong { color: #B45309; }
body.editorial .prose .callout.info {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.40);
}
body.editorial .prose .callout.info strong { color: var(--accent); }

/* Prose sidebar */
body.editorial .prose-sidebar h4 { color: var(--ink-45); font-family: var(--mono); font-weight: 400; }
body.editorial .prose-sidebar .updated { color: var(--ink-65); font-family: var(--mono); }
body.editorial .prose-sidebar ol li { color: var(--ink-65); }
body.editorial .prose-sidebar ol li::before { color: var(--ink-45); font-family: var(--mono); }
body.editorial .prose-sidebar ol li a:hover { color: var(--accent); }

/* CTA strip / Closer — left-aligned on editorial so the eyebrow,
   headline, and Google Play badge sit on the same vertical rail
   as the rest of the page (matches .ed-closer behaviour). */
body.editorial .cta-strip {
  text-align: left;
  justify-items: start;
  background: none;
  padding-block: clamp(72px, 12vh, 144px);
  gap: var(--s-6);
}
body.editorial .cta-strip .wrap {
  display: grid;
  gap: var(--s-6);
  justify-items: start;
}
body.editorial .cta-strip h2 { max-width: 22ch; }
body.editorial .cta-strip .badges {
  justify-content: flex-start !important;
}
body.editorial .cta-strip .badge { min-width: 0; }
body.editorial .closer { border-top-color: var(--ink-12); }
body.editorial .closer h2 { color: var(--ink); font-family: var(--serif); font-weight: 350; }
body.editorial .closer h2 em { color: var(--ink); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

/* Safety strip */
body.editorial .safety-strip {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.10) 0%, rgba(124, 58, 237, 0.04) 100%),
    var(--paper-warm);
  border-color: rgba(124, 58, 237, 0.25);
}
body.editorial .safety-strip h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
body.editorial .safety-strip p { color: var(--ink-80); }

/* Parent block (about) — in case it's ever shown */
body.editorial .parent-block {
  background: var(--paper-warm);
  border-color: var(--ink-12);
}
body.editorial .parent-block h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
body.editorial .parent-block p { color: var(--ink-65); }
body.editorial .parent-block .key { color: var(--ink-45); font-family: var(--mono); }
body.editorial .parent-block a { color: var(--accent); border-bottom-color: rgba(124, 58, 237, 0.40); }

/* 404 page */
body.editorial .error-page .num {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.25));
}
body.editorial .error-page h1 { color: var(--ink); font-family: var(--serif); font-weight: 350; }
body.editorial .error-page h1 em { color: var(--ink); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
body.editorial .error-page p { color: var(--ink-65); }

/* Nav links (other pages keep About/Safety/Contact in the editorial nav) */
body.editorial .nav-links a { color: var(--ink-65); }
body.editorial .nav-links a:hover,
body.editorial .nav-links a[aria-current="page"] { color: var(--ink); }
body.editorial .nav-mobile a { background: var(--paper-warm); color: var(--ink-80); }
body.editorial .nav-mobile a:hover { background: var(--paper-tint); color: var(--ink); }

/* General eyebrow.center adjustment */
body.editorial .eyebrow.center { justify-content: flex-start; }
body.editorial .sec-head {
  text-align: left;
  justify-items: start;
  margin-inline: 0;     /* override default auto-centering of the section head block */
  max-width: none;
}
body.editorial .sec-head h2 { max-width: 22ch; }
