/* ==========================================================================
   Bee Garden – Spin To Bloom
   Shared design system · static, no build step
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #faf8f3;
  --bg-tint: #f4f1e8;
  --surface: #ffffff;
  --surface-2: #f3f0e7;
  --surface-3: #ece8dc;

  --ink: #171613;
  --ink-2: #454138;
  --muted: #6d6960;

  --line: rgba(23, 22, 19, 0.09);
  --line-strong: rgba(23, 22, 19, 0.16);

  --green: #3a6b4a;
  --green-ink: #2c5539;
  --green-soft: #e6efe4;
  --honey: #c98a1e;
  --honey-ink: #8f5f0c;
  --honey-soft: #fbefd6;
  --plum: #6a5a8d;
  --plum-soft: #edeaf6;

  --shadow-xs: 0 1px 2px rgba(23, 22, 19, 0.05);
  --shadow-sm: 0 1px 2px rgba(23, 22, 19, 0.05), 0 3px 10px rgba(23, 22, 19, 0.04);
  --shadow-md: 0 2px 6px rgba(23, 22, 19, 0.05), 0 14px 34px rgba(23, 22, 19, 0.07);
  --shadow-lg: 0 4px 14px rgba(23, 22, 19, 0.06), 0 30px 70px rgba(23, 22, 19, 0.10);

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  color-scheme: light;
}

/* Dark tokens — explicit toggle */
:root[data-theme="dark"] {
  --bg: #0d1110;
  --bg-tint: #111614;
  --surface: #151b17;
  --surface-2: #1a211c;
  --surface-3: #212a23;

  --ink: #f3f1ea;
  --ink-2: #cdc9bf;
  --muted: #9b978c;

  --line: rgba(243, 241, 234, 0.10);
  --line-strong: rgba(243, 241, 234, 0.20);

  --green: #86c79b;
  --green-ink: #a6d9b6;
  --green-soft: rgba(134, 199, 155, 0.12);
  --honey: #eec36e;
  --honey-ink: #f3d493;
  --honey-soft: rgba(238, 195, 110, 0.12);
  --plum: #b9aade;
  --plum-soft: rgba(185, 170, 222, 0.13);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 3px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.45), 0 30px 70px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* Dark tokens — system preference (unless user forced light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1110;
    --bg-tint: #111614;
    --surface: #151b17;
    --surface-2: #1a211c;
    --surface-3: #212a23;

    --ink: #f3f1ea;
    --ink-2: #cdc9bf;
    --muted: #9b978c;

    --line: rgba(243, 241, 234, 0.10);
    --line-strong: rgba(243, 241, 234, 0.20);

    --green: #86c79b;
    --green-ink: #a6d9b6;
    --green-soft: rgba(134, 199, 155, 0.12);
    --honey: #eec36e;
    --honey-ink: #f3d493;
    --honey-soft: rgba(238, 195, 110, 0.12);
    --plum: #b9aade;
    --plum-soft: rgba(185, 170, 222, 0.13);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 3px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.45), 0 30px 70px rgba(0, 0, 0, 0.55);

    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover { color: var(--green-ink); }

button { font: inherit; color: inherit; }

::selection {
  background: var(--honey-soft);
  color: var(--ink);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 1rem; color: var(--ink); }

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }

.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  flex-wrap: wrap;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  margin-right: auto;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--honey-soft), var(--green-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.brand-mark svg { width: 18px; height: 18px; }

.brand-dash { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 3;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

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

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 2;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-toggle svg { width: 17px; height: 17px; }

.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

@media (min-width: 860px) {
  .nav-inner { flex-wrap: nowrap; min-height: 76px; }
  .nav-links { order: 2; width: auto; margin-inline: auto; }
  .nav-actions { order: 3; }
  .brand { margin-right: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  color: var(--ink);
  transform: translateY(-1px);
  border-color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.82rem; gap: 0.4rem; }
.btn--sm svg { width: 14px; height: 14px; }

/* Inactive App Store CTA — non-navigating, no href anywhere */
.store-btn {
  cursor: default;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid transparent;
  box-shadow: var(--shadow-xs);
  opacity: 0.92;
}

.store-btn:hover,
.store-btn:active { transform: none; box-shadow: var(--shadow-xs); color: var(--bg); }

.store-btn[aria-disabled="true"] { cursor: not-allowed; }

.store-btn .store-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.store-btn .store-kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.store-btn .store-name { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; }

.btn--sm .store-kicker { font-size: 0.55rem; }
.btn--sm .store-name { font-size: 0.8rem; }

.nav-actions .store-btn { display: none; }

@media (min-width: 720px) {
  .nav-actions .store-btn { display: inline-flex; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-soft);
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; font-weight: 700; }

.display {
  font-size: clamp(3.1rem, 11vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.h2 {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  letter-spacing: -0.035em;
}

.h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  letter-spacing: -0.02em;
  font-weight: 650;
}

.lead {
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.015em;
}

.body { color: var(--muted); font-size: 1rem; }

.section-head { max-width: 46rem; display: grid; gap: 0.9rem; }

.section-head .body { max-width: 40rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 8vw, 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(46% 52% at 22% 30%, var(--green-soft) 0%, transparent 70%),
    radial-gradient(40% 46% at 78% 18%, var(--honey-soft) 0%, transparent 72%),
    radial-gradient(38% 44% at 62% 72%, var(--plum-soft) 0%, transparent 74%);
  filter: blur(6px);
  opacity: 0.85;
  pointer-events: none;
}

.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy { display: grid; gap: 1.35rem; justify-items: start; }

.hero-copy .lead { max-width: 34rem; }

.hero-sub {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  padding-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-note li { display: inline-flex; align-items: center; gap: 0.4rem; }

.hero-note svg { width: 13px; height: 13px; color: var(--green); flex: none; }

/* Orbit visual */
.orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
}

.orbit-ring--inner { inset: 22%; border-style: solid; border-color: var(--line); }

.orbit-core {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, var(--surface) 0%, var(--surface-2) 62%, var(--surface-3) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
}

.orbit-core svg { width: 42%; height: 42%; color: var(--green); }

.orbit-spin {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  animation: orbit 14s linear infinite;
}

.orbit-bee {
  position: absolute;
  top: -9px;
  left: 50%;
  translate: -50% 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 5px var(--honey-soft), var(--shadow-sm);
  display: grid;
  place-items: center;
}

.orbit-bee::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface);
  opacity: 0.85;
}

.orbit-flower {
  position: absolute;
  right: 6%;
  bottom: 20%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plum-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--plum-soft) 55%, transparent);
  animation: glow 3.6s ease-in-out infinite;
}

.orbit-flower svg { width: 22px; height: 22px; color: var(--plum); }

@keyframes orbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--plum-soft) 45%, transparent); }
  50% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--plum-soft) 22%, transparent); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
  .orbit { width: 100%; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step:nth-child(2) .step-num { background: var(--honey-soft); color: var(--honey-ink); }
.step:nth-child(3) .step-num { background: var(--plum-soft); color: var(--plum); }

.step p { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Features ---------- */
.features {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  grid-template-columns: 1fr;
}

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

.feature {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(1.3rem, 2.6vw, 1.65rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--green);
  border: 1px solid var(--line);
}

.feature-icon svg { width: 19px; height: 19px; }

.feature:nth-child(3n + 2) .feature-icon { background: var(--honey-soft); color: var(--honey-ink); }
.feature:nth-child(3n + 3) .feature-icon { background: var(--plum-soft); color: var(--plum); }

.feature h3 { font-size: 1rem; letter-spacing: -0.015em; font-weight: 650; }

.feature p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
}

.shots::-webkit-scrollbar { display: none; }

.shots:focus-visible { outline-offset: 6px; }

.shot { display: grid; gap: 0.7rem; align-content: start; scroll-snap-align: start; }

.phone {
  position: relative;
  border-radius: 26px;
  padding: 7px;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.shot:hover .phone { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--surface-2);
  color: transparent;
  font-size: 0;
}

@media (min-width: 700px) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1000px) {
  .shots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding-inline: 0.15rem;
  flex-wrap: wrap;
}

.shot figcaption strong { font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; }

.shot figcaption span { color: var(--muted); font-size: 0.76rem; }

.shots-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 44rem;
}

/* ---------- Callout / panel ---------- */
.panel {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.panel--tint {
  background:
    radial-gradient(120% 140% at 0% 0%, var(--green-soft) 0%, transparent 58%),
    radial-gradient(120% 140% at 100% 100%, var(--honey-soft) 0%, transparent 58%),
    var(--surface);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.badge svg { width: 13px; height: 13px; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 420px;
  background:
    radial-gradient(42% 50% at 18% 40%, var(--green-soft) 0%, transparent 72%),
    radial-gradient(38% 46% at 82% 30%, var(--plum-soft) 0%, transparent 74%);
  opacity: 0.8;
  pointer-events: none;
}

.page-head > .wrap { position: relative; display: grid; gap: 1rem; }

.page-head .lead { max-width: 44rem; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.meta-chip svg { width: 12px; height: 12px; }

/* ---------- Prose (policy) ---------- */
.layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 940px) {
  .layout { grid-template-columns: 232px minmax(0, 1fr); }
}

.toc {
  display: grid;
  gap: 0.15rem;
  position: sticky;
  top: 6.5rem;
}

.toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.7rem 0.5rem;
}

.toc a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-xs);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  border-left: 2px solid transparent;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.toc a:hover { color: var(--ink); background: var(--surface-2); border-left-color: var(--line-strong); }

.prose { display: grid; gap: 2rem; max-width: 44rem; }

.prose section { display: grid; gap: 0.7rem; scroll-margin-top: 6.5rem; }

.prose h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  letter-spacing: -0.02em;
  font-weight: 650;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.prose h2 .num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.prose p { color: var(--ink-2); font-size: 0.97rem; line-height: 1.68; }

.prose ul { display: grid; gap: 0.5rem; }

.prose ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.62;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.55;
}

.prose strong { color: var(--ink); font-weight: 650; }

.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.callout {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
}

.callout .callout-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.callout .callout-title svg { width: 15px; height: 15px; }

.callout p { color: var(--ink-2); font-size: 0.94rem; margin: 0; }

.callout--neutral {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.callout--neutral .callout-title { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.faq summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  list-style: none;
  transition: background var(--dur) var(--ease);
}

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

.faq summary:hover { background: var(--surface-2); }

.faq summary .chev {
  margin-left: auto;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform var(--dur) var(--ease);
}

.faq details[open] summary .chev { transform: rotate(180deg); }

.faq .faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  display: grid;
  gap: 0.6rem;
}

.faq .faq-body a { font-weight: 600; }

/* ---------- Support contact ---------- */
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 800px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }

.contact-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.015em; }

.contact-card p { color: var(--muted); font-size: 0.93rem; }

.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: start;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-2);
  word-break: break-all;
}

a.email-chip {
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

a.email-chip:hover {
  color: var(--ink);
  border-color: var(--green);
  background: var(--green-soft);
}

.email-chip svg { width: 15px; height: 15px; flex: none; color: var(--muted); }

.owner-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 0.85rem;
  border-left: 2px solid var(--line-strong);
}

.info-list { display: grid; gap: 0.75rem; }

.info-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.info-list .k {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list .v { font-size: 0.92rem; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
  padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 130% at 12% 0%, var(--honey-soft) 0%, transparent 62%),
    radial-gradient(90% 130% at 88% 100%, var(--green-soft) 0%, transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cta-band .h2 { max-width: 22ch; }

.cta-band p { color: var(--muted); max-width: 34rem; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
  background: var(--bg-tint);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

.footer-brand { display: grid; gap: 0.75rem; justify-items: start; }

.footer-brand p { color: var(--muted); font-size: 0.86rem; max-width: 26rem; }

.footer-col { display: grid; gap: 0.55rem; align-content: start; }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.footer-col a,
.footer-col button {
  justify-self: start;
  color: var(--ink-2);
  font-size: 0.88rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover { color: var(--ink); }

.footer-col .store-btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--r-pill);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }

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

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .theme-toggle, .store-btn, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { max-width: none; }
}
