/* =====================================================================
   Enori — enori.wine marketing site
   Design system: Enori v3 Cave landing
   Tokens mirror docs/design brand files + current Figma v3 Cave direction
   ===================================================================== */

:root {
  /* Surfaces */
  --canvas: #f8f4f1;
  --paper: #ffffff;
  --special: #f2e9ec;
  --muted: #eee8e3;
  --border: #e8ded8;
  --border-strong: #d7c9c1;

  /* Ink + neutrals */
  --ink: #1a1a1a;
  --secondary: #6b6760;
  --tertiary: #9a9389;

  /* Brand red (decision / presence / appetite) */
  --red: #9f1239;
  --red-deep: #74102b;
  --red-soft: #f4d7df;
  --red-tint: #fff1f4;

  /* Route signal colors (product vocabulary) */
  --best: #16a34a;
  --best-soft: #dcfce7;
  --value: #ca8a04;
  --value-soft: #fef3c7;
  --safest: #0284c7;
  --safest-soft: #e0f2fe;
  --detour: #ea580c;
  --detour-soft: #ffedd5;

  /* App dark mode tokens (mirrors packages/design_system/tokens.json v0.10.0) */
  --color-dark-mode-canvas: #050505;
  --color-dark-mode-glow: #371f24;
  --color-dark-mode-surface: #121313;
  --color-dark-mode-surface-raised: #20201f;
  --color-dark-mode-surface-elevated: #282827;
  --color-dark-mode-nav: #171717;
  --color-dark-mode-control: #242423;
  --color-dark-mode-border: rgba(255, 255, 255, 0.10);
  --color-dark-mode-border-strong: rgba(255, 255, 255, 0.18);
  --color-dark-mode-text: #f7f4f2;
  --color-dark-mode-text-secondary: #bbb5b2;
  --color-dark-mode-text-tertiary: #8e8886;
  --color-dark-mode-accent: #ff3366;
  --color-dark-mode-accent-deep: #b3123d;
  --color-dark-mode-accent-soft: #3b1723;
  --color-dark-mode-accent-halo: rgba(255, 51, 102, 0.35);
  --color-dark-mode-wine-red: #8e2c3b;
  --color-dark-mode-wine-rose: #d56d7e;
  --color-dark-mode-wine-gold: #c9a227;
  --color-dark-mode-wine-yellow: #e6c24e;
  --gradient-dark-mode-hero: linear-gradient(180deg, rgba(55, 31, 36, 0.78) 0%, rgba(5, 5, 5, 0) 58%);
  --gradient-dark-mode-card: linear-gradient(145deg, #20201f 0%, #121313 100%);
  --gradient-dark-mode-accent: linear-gradient(135deg, #ff3366 0%, #b3123d 100%);

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06), 0 1px 2px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.08), 0 2px 6px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 24px 54px rgba(26, 26, 26, 0.12), 0 8px 16px rgba(26, 26, 26, 0.06);

  /* Type */
  --display: "Fredoka", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 22px;
  --radius-lg: 30px;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --canvas: var(--color-dark-mode-canvas);
  --paper: var(--color-dark-mode-surface);
  --special: var(--color-dark-mode-surface-raised);
  --muted: var(--color-dark-mode-control);
  --border: var(--color-dark-mode-border);
  --border-strong: var(--color-dark-mode-border-strong);

  --ink: var(--color-dark-mode-text);
  --secondary: var(--color-dark-mode-text-secondary);
  --tertiary: var(--color-dark-mode-text-tertiary);

  --red: var(--color-dark-mode-accent);
  --red-deep: var(--color-dark-mode-accent);
  --red-soft: var(--color-dark-mode-accent-halo);
  --red-tint: var(--color-dark-mode-accent-soft);

  --best: var(--color-dark-mode-wine-gold);
  --best-soft: var(--color-dark-mode-control);
  --value: var(--color-dark-mode-wine-yellow);
  --value-soft: var(--color-dark-mode-accent-soft);
  --safest: var(--color-dark-mode-wine-rose);
  --safest-soft: var(--color-dark-mode-control);
  --detour: var(--color-dark-mode-accent);
  --detour-soft: var(--color-dark-mode-accent-soft);

  --shadow-sm: 0 1px 0 var(--color-dark-mode-border), 0 16px 34px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 1px 0 var(--color-dark-mode-border), 0 22px 48px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 1px 0 var(--color-dark-mode-border-strong), 0 30px 72px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--canvas) 42%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme="dark"] body {
  background:
    var(--gradient-dark-mode-hero),
    radial-gradient(circle at 78% 5%, var(--color-dark-mode-accent-halo), transparent 28%),
    var(--color-dark-mode-canvas);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }

/* Accessibility: keyboard focus + skip link */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ------------------------------ Navigation ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(234, 224, 210, 0.9);
  background: rgba(253, 250, 246, 0.86);
  backdrop-filter: blur(16px);
}
html[data-theme="dark"] .nav {
  border-bottom-color: var(--color-dark-mode-border);
  background: color-mix(in srgb, var(--color-dark-mode-canvas) 82%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}
.brand-lockup img { width: 34px; height: 34px; }
.brand-lockup .word { font-family: var(--body); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
}
.nav-links a { color: var(--secondary); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--secondary);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); }
.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.moon-icon { fill: currentColor; stroke: none; }
.sun-icon { display: none; }
html[data-theme="dark"] .moon-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: block; }

/* Language switcher (i18n-ready, English-only today) */
.lang {
  position: relative;
  font-size: 13px;
  font-weight: 700;
}
.lang > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--secondary);
}
.lang > summary::-webkit-details-marker { display: none; }
.lang[open] > summary { color: var(--ink); }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang > summary {
  background: color-mix(in srgb, var(--color-dark-mode-control) 84%, transparent);
}
.lang-menu {
  position: absolute;
  right: 0;
  margin-top: 8px;
  min-width: 188px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .lang-menu {
  background: var(--color-dark-mode-surface-raised);
}
.lang-menu a, .lang-menu span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.lang-menu a[aria-current="true"] { background: var(--red-tint); color: var(--red-deep); }
.lang-menu .soon { color: var(--tertiary); cursor: default; }
.lang-menu .soon small {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tertiary);
}

/* ------------------------------ Buttons ------------------------------ */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0 26px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: var(--red-deep); border-color: var(--red-deep); }
.button.secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.button.secondary:hover { background: #fff; }
.button.small { min-height: 42px; padding: 0 18px; font-size: 14px; }
html[data-theme="dark"] .button {
  background: var(--gradient-dark-mode-accent);
  box-shadow: 0 10px 24px var(--color-dark-mode-accent-halo);
}
html[data-theme="dark"] .button.secondary {
  background: color-mix(in srgb, var(--color-dark-mode-control) 80%, transparent);
  color: var(--color-dark-mode-text);
}
html[data-theme="dark"] .button.secondary:hover {
  background: var(--color-dark-mode-surface-elevated);
}

/* ------------------------------ Sections ------------------------------ */
section { padding: clamp(56px, 8vw, 108px) 0; }
.section-head { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.9;
}
h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
}
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.lead { color: var(--secondary); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }

/* ------------------------------ Hero ------------------------------ */
.hero { padding-top: clamp(40px, 6vw, 76px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 50ch; margin-top: 22px; }
.hero-kicker {
  max-width: 14ch;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.02;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--tertiary); font-size: 14px; font-weight: 600; }

.hero-visual {
  position: relative;
  min-height: 680px;
  margin: 0;
}
.phone {
  position: absolute;
  width: min(315px, 46vw);
  border: 10px solid #171412;
  border-radius: 42px;
  background: linear-gradient(180deg, #fff6f8 0%, #fff 42%, #faf6f1 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.88);
}
html[data-theme="dark"] .phone {
  border-color: var(--color-dark-mode-nav);
  background: var(--gradient-dark-mode-card);
}
.phone-home {
  left: 0;
  top: 10px;
  min-height: 612px;
  padding: 18px 18px 94px;
  transform-origin: top left;
}
.phone-result {
  right: 0;
  top: 62px;
  min-height: 560px;
  padding: 20px 18px 28px;
  background: linear-gradient(180deg, #fff 0%, #fbf5f0 100%);
  transform-origin: top right;
}
html[data-theme="dark"] .phone-result {
  background: var(--gradient-dark-mode-card);
}
.phone-status,
.phone-top,
.route-top,
.editorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-status {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.phone-status span:last-child {
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.85;
}
.phone-top {
  margin: 18px 0 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}
.phone-overline,
.micro-label,
.panel-label,
.enori-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.phone h2 {
  font-size: 28px;
  line-height: 1.02;
  margin: 8px 0 8px;
}
.phone-copy {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 18px;
}
.entry-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.entry-card.primary {
  box-shadow: 0 14px 34px rgba(159, 18, 57, 0.16);
}
html[data-theme="dark"] .entry-card.primary {
  border-color: var(--color-dark-mode-border-strong);
  box-shadow: 0 18px 42px var(--color-dark-mode-accent-halo);
}
.entry-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}
html[data-theme="dark"] .entry-icon {
  background: var(--gradient-dark-mode-accent);
}
.entry-card:not(.primary) .entry-icon {
  background: var(--red-tint);
  color: var(--red);
}
.entry-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}
.entry-card small {
  display: block;
  margin-top: 4px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.35;
}
.recent-strip {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}
html[data-theme="dark"] .recent-strip {
  background: color-mix(in srgb, var(--color-dark-mode-surface-raised) 82%, transparent);
}
.recent-strip span {
  display: block;
  color: var(--tertiary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.recent-strip strong { display: block; margin-top: 4px; font-size: 15px; }
.app-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 4px;
  min-height: 78px;
  padding: 14px 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--border);
  color: var(--tertiary);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
html[data-theme="dark"] .app-nav {
  background: color-mix(in srgb, var(--color-dark-mode-nav) 92%, transparent);
  border-top-color: var(--color-dark-mode-border);
}
.app-nav .active { color: var(--red); }
.app-nav .fab {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .app-nav .fab {
  border-color: var(--color-dark-mode-surface);
  background: var(--gradient-dark-mode-accent);
  box-shadow: 0 0 0 6px var(--color-dark-mode-accent-halo), var(--shadow-md);
}
.result-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .entry-card,
html[data-theme="dark"] .device,
html[data-theme="dark"] .story-panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .prose .toc {
  background: color-mix(in srgb, var(--color-dark-mode-surface-raised) 78%, transparent);
  border-color: var(--color-dark-mode-border);
}
.route-top span {
  color: var(--best);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.route-top strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 5px solid currentColor;
  border-radius: 50%;
  color: var(--best);
  font-size: 15px;
}
.value-card .route-top span,
.value-card .route-top strong { color: var(--value); }
.result-card h3 {
  margin: 14px 0 6px;
  font-family: var(--display);
  font-size: 20px;
}
.result-card p {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
}
.result-card button,
.editorial-footer button {
  min-height: 36px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.enori-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--red-tint);
  color: var(--red-deep);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

/* Framed proof panel */
.device {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .device {
  background: var(--gradient-dark-mode-card);
}

/* ------------------------------ Trust strip ------------------------------ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}
html[data-theme="dark"] .trust,
html[data-theme="dark"] .footer {
  background: color-mix(in srgb, var(--color-dark-mode-surface) 68%, transparent);
}
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
.trust .item { display: inline-flex; align-items: center; gap: 9px; color: var(--secondary); font-size: 14px; font-weight: 700; }
.trust .item svg { width: 18px; height: 18px; color: var(--red); }

.story-grid,
.proof-grid,
.responsible-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.story-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pressure-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
}
.pressure-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--secondary);
}
.pressure-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-tint);
  box-shadow: inset 0 0 0 8px #fff;
  border: 1px solid var(--red-soft);
}
html[data-theme="dark"] .pressure-list li::before {
  box-shadow: inset 0 0 0 8px var(--color-dark-mode-surface);
}
.positioning {
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(242,233,236,0.35));
}
html[data-theme="dark"] .positioning {
  background:
    radial-gradient(circle at 15% 0%, var(--color-dark-mode-accent-halo), transparent 24%),
    color-mix(in srgb, var(--color-dark-mode-surface) 74%, var(--color-dark-mode-canvas));
}
.contrast-card {
  min-height: 230px;
}
.contrast-card.active {
  border-color: var(--red);
  box-shadow: 0 20px 46px rgba(159, 18, 57, 0.12);
}
.proof-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--secondary);
}
.proof-list li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}
html[data-theme="dark"] .proof-list li {
  background: color-mix(in srgb, var(--color-dark-mode-control) 76%, transparent);
}
.proof-list strong { color: var(--ink); }
.editorial-card {
  background: #fff;
}
html[data-theme="dark"] .editorial-card {
  background: var(--gradient-dark-mode-card);
}
.editorial-card h3 {
  margin: 18px 0 6px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
}
.editorial-meta {
  color: var(--tertiary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.editorial-card > p:not(.editorial-meta):not(.enori-label) {
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.55;
}
.editorial-card blockquote {
  margin: 20px 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--red-tint);
  color: var(--red-deep);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
}
.editorial-footer strong {
  font-family: var(--display);
  font-size: 24px;
}
.responsible-band {
  background: var(--ink);
  color: #fff;
}
html[data-theme="dark"] .responsible-band,
html[data-theme="dark"] .statement {
  background:
    radial-gradient(circle at 80% 0%, var(--color-dark-mode-accent-halo), transparent 30%),
    var(--gradient-dark-mode-card);
}
.responsible-band h2 { color: #fff; }
.responsible-band .eyebrow { color: #ffccd7; }
.responsible-copy {
  display: grid;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
}
.pricing-grid {
  max-width: 880px;
  margin: 0 auto;
}
.price-card p { color: var(--secondary); }
.price-card .button { margin-top: auto; }
.pricing-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--tertiary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

/* ------------------------------ Cards / grids ------------------------------ */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .card .ico {
  background: var(--color-dark-mode-accent-soft);
}
.card .ico {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--red-tint);
  color: var(--red);
  margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--secondary); }

/* Steps */
.steps { counter-reset: step; }
.step .num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Statement (dark) */
.statement {
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 72px);
  background: var(--ink);
  color: #fff;
}
.statement .eyebrow { color: #ffccd7; }
.statement h2 { color: #fff; }
.statement p { color: rgba(255, 255, 255, 0.8); }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--red); box-shadow: var(--shadow-md); position: relative; }
.price-card .badge {
  position: absolute; top: -12px; left: 24px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.price { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; margin: 8px 0 4px; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--secondary); }
.price-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--secondary); }
.price-list li svg { width: 18px; height: 18px; color: var(--best); flex: 0 0 auto; margin-top: 3px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
html[data-theme="dark"] .faq details {
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--secondary); }

/* Final CTA */
.cta-band { text-align: center; }
.cta-band .statement { display: grid; gap: 18px; justify-items: center; }
.cta-band .statement .hero-actions { justify-content: center; }
.cta-band .button.secondary { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .button.secondary:hover { background: rgba(255,255,255,0.18); }

/* ------------------------------ Footer ------------------------------ */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  padding: clamp(40px, 6vw, 64px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tertiary); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--secondary); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--ink); }
.footer .about p { color: var(--secondary); max-width: 38ch; margin-top: 12px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--tertiary);
  font-size: 13px;
}
.responsible {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--red-tint); color: var(--red-deep);
  font-size: 12.5px; font-weight: 700;
}

/* ------------------------------ Legal / prose pages ------------------------------ */
.page-header { padding: clamp(48px, 7vw, 92px) 0 0; }
.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1 { font-size: clamp(40px, 6vw, 66px); }
.page-header .meta { margin-top: 16px; color: var(--tertiary); font-size: 14px; font-weight: 600; }

.notice {
  margin: 28px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red-deep);
  font-size: 14.5px;
}

.prose { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 8vw, 96px); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { color: var(--secondary); margin: 0 0 14px; }
.prose ul, .prose ol { color: var(--secondary); margin: 0 0 16px; padding-left: 22px; display: grid; gap: 7px; }
.prose a { color: var(--red-deep); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  font-size: 15px;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 11px 12px;
  border: 1px solid var(--border);
  color: var(--secondary);
}
.prose th { background: var(--special); color: var(--ink); font-weight: 700; }
html[data-theme="dark"] .prose th,
html[data-theme="dark"] .prose td {
  border-color: var(--color-dark-mode-border);
}
.prose .toc {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 18px 22px;
  margin-bottom: 8px;
}
.prose .toc strong { display: block; margin-bottom: 8px; }
.prose .toc ul { list-style: none; padding: 0; margin: 0; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1000px) {
  .hero-grid, .grid-2, .story-grid, .proof-grid, .responsible-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 620px; max-width: 680px; margin: 0 auto; width: 100%; }
  .phone { width: min(315px, 48vw); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 34px; }
  .hero-grid { gap: 32px; }
  .hero-visual {
    min-height: 800px;
    display: grid;
    gap: 20px;
  }
  .phone {
    position: relative;
    inset: auto;
    width: min(100%, 330px);
    margin: 0 auto;
    transform: none;
  }
  .phone-home,
  .phone-result {
    top: auto;
    left: auto;
    right: auto;
    min-height: auto;
  }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
