/* ============================================================
   ki-shopping.ch — design tokens
   ============================================================ */
:root[data-theme="dark"], [data-theme="dark"] {
  --bg:        oklch(0.17 0.015 40);
  --bg-2:      oklch(0.20 0.018 40);
  --surface:   oklch(0.22 0.02 40);
  --surface-2: oklch(0.25 0.022 40);
  --line:      oklch(0.32 0.02 40);
  --line-2:    oklch(0.40 0.025 40);
  --fg:        oklch(0.96 0.01 80);
  --fg-2:      oklch(0.85 0.012 70);
  --muted:     oklch(0.65 0.015 70);
  --muted-2:   oklch(0.50 0.018 60);
  --accent:    oklch(0.72 0.16 45);
  --accent-2:  oklch(0.82 0.13 70);
  --accent-ink: oklch(0.20 0.02 40);
  --grain-op: .06;
  --shadow-1: 0 10px 30px -12px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.3);
  --shadow-glow: 0 0 60px -10px oklch(0.72 0.16 45 / .4);
}
[data-theme="light"] {
  --bg:        oklch(0.98 0.008 80);
  --bg-2:      oklch(0.95 0.012 75);
  --surface:   oklch(1.00 0 0);
  --surface-2: oklch(0.96 0.01 75);
  --line:      oklch(0.88 0.01 75);
  --line-2:    oklch(0.78 0.014 75);
  --fg:        oklch(0.22 0.02 45);
  --fg-2:      oklch(0.35 0.02 45);
  --muted:     oklch(0.50 0.016 65);
  --muted-2:   oklch(0.60 0.016 65);
  --accent:    oklch(0.62 0.17 45);
  --accent-2:  oklch(0.72 0.14 65);
  --accent-ink: oklch(1 0 0);
  --grain-op: .03;
  --shadow-1: 0 10px 30px -18px rgba(70,30,10,.25), 0 2px 6px rgba(70,30,10,.08);
  --shadow-glow: 0 0 80px -10px oklch(0.72 0.17 45 / .35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 40px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, padding .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--fg); text-decoration: none; font-size: 17px;
}
.brand-tld { color: var(--accent); }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent);
  display: inline-grid; place-items: center;
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 70%, #000);
}
.brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 80%, #fff 20%);
}

.nav-links {
  position: relative;
  display: flex; gap: 2px;
  font-size: 13.5px; font-weight: 500;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.nav-links a {
  position: relative; z-index: 1;
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-indicator {
  position: absolute; top: 4px; left: 4px;
  height: calc(100% - 8px); width: 0;
  background: var(--surface-2);
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.6,.1,.1,1), width .35s cubic-bezier(.6,.1,.1,1);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
@media (max-width: 920px) {
  .nav-links { display: none; }
}
.nav-right { display: inline-flex; gap: 10px; align-items: center; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  display: inline-grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--surface-2); transform: rotate(-15deg); }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px;
  width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .08s linear;
}

/* ============================================================
   GENERIC
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14.5px;
  cursor: pointer; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 90%, #fff); }

.btn-ghost {
  background: transparent; color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--surface); }

.eyebrow, .cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted);
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.section { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.section-head {
  max-width: 780px; margin-bottom: 64px;
}
.section-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 600; line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  margin: 0; max-width: 60ch;
  text-wrap: pretty;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.8'/></svg>");
  mix-blend-mode: overlay;
}
.hero-glow {
  position: absolute; inset: -10% -5% auto auto;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 60%);
  opacity: .18; filter: blur(40px); pointer-events: none;
}
[data-theme="light"] .hero-glow { opacity: .35; }

.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 500; line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: italic; font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  color: var(--accent);
}

.hero-lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--fg-2);
  max-width: 56ch; margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-lede strong { color: var(--fg); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  max-width: 780px;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-plus { color: var(--accent); }
.stat-label {
  font-size: 13px; color: var(--muted); margin-top: 8px;
}

/* floating card */
.hero-card {
  position: absolute;
  top: 18%; right: 5vw;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-1);
  z-index: 3;
  animation: float 7s ease-in-out infinite;
}
@media (max-width: 1100px) { .hero-card { display: none; } }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50%     { transform: translateY(-14px) rotate(2deg); }
}
.hc-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.hc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--accent);
  padding: 3px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.hc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px;
}
.hc-img {
  aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 12px;
}
.hc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15px; margin-bottom: 2px;
}
.hc-meta { font-size: 12px; color: var(--muted); }
.hc-ai {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent);
}
.ai-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s infinite;
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step;
}
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: border-color .3s ease, transform .3s ease;
}
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.step p {
  color: var(--muted); font-size: 15px; margin: 0 0 24px;
}
.step-visual {
  height: 120px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}

/* step 1 upload */
.upload-frame { position: relative; width: 80%; }
.upload-dashed {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  animation: uploadPulse 3s ease-in-out infinite;
}
@keyframes uploadPulse {
  0%,100% { border-color: var(--line-2); color: var(--muted); }
  50% { border-color: var(--accent); color: var(--accent); }
}

/* step 2 ai stream */
.ai-stream {
  width: 90%; font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.ai-line {
  display: flex; gap: 10px; padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.ai-line:last-child { border-bottom: none; }
.ai-key { color: var(--accent); min-width: 48px; }
.ai-val { color: var(--fg-2); }

/* step 3 mini market */
.mini-market {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  width: 90%; height: 80%;
}
.mm-cell {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.mm-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px color-mix(in oklab, var(--accent) 50%, transparent);
  animation: mmPop 2.4s ease-in-out infinite;
}
@keyframes mmPop {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.08); }
}
.mm-price {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--accent-ink); font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 14px;
}

/* ============================================================
   AI DEMO
   ============================================================ */
.ai-section { background: var(--bg-2); }
.ai-demo {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .ai-demo { grid-template-columns: 1fr; }
  .ai-arrow { transform: rotate(90deg); justify-self: center; }
}
.ai-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ai-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.ai-panel-title { color: var(--fg); font-weight: 500; }
.ai-badge {
  margin-left: 6px; padding: 2px 6px; border-radius: 4px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 9.5px;
}
.ai-panel-meta { display: inline-flex; align-items: center; gap: 6px; }

.ai-input-body {
  padding: 22px; flex: 1;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-content: flex-start;
  min-height: 180px;
}
.ai-chip {
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--fg-2);
  font-family: 'JetBrains Mono', monospace;
  transition: border-color .2s ease, transform .2s ease;
  animation: chipIn .5s ease backwards;
}
.ai-chip:nth-child(1) { animation-delay: .1s; }
.ai-chip:nth-child(2) { animation-delay: .2s; }
.ai-chip:nth-child(3) { animation-delay: .3s; }
.ai-chip:nth-child(4) { animation-delay: .4s; }
.ai-chip:nth-child(5) { animation-delay: .5s; }
.ai-chip:nth-child(6) { animation-delay: .6s; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ai-input-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
  justify-content: space-between;
}
.ai-thumb {
  width: 52px; height: 52px; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--line);
  flex-shrink: 0;
}
.ai-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ai-arrow {
  display: grid; place-items: center;
  color: var(--muted);
  position: relative;
}
.ai-arrow::before {
  content: ''; position: absolute; inset: 0; left: -20px; right: -20px;
  background-image: linear-gradient(90deg, transparent 0, var(--line) 50%, transparent 100%);
  background-size: 8px 1px; background-repeat: repeat-x;
  background-position: center;
  opacity: .4;
}

.ai-out-body { padding: 22px; display: grid; gap: 18px; flex: 1; min-height: 180px; }
.ai-out-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.ai-out-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-top: 2px;
}
.ai-out-val {
  font-size: 14.5px; color: var(--fg-2); line-height: 1.5;
  min-height: 18px;
}
.ai-out-val[data-field="title"] { font-weight: 600; color: var(--fg); font-size: 16px; }

.ai-out-val.typing::after {
  content: '▊'; color: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ai-run {
  padding: 9px 14px;
}
.ai-run.loading .ai-run-label::after {
  content: '...';
  display: inline-block; width: 1.2em; text-align: left;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 920px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.benefit::after {
  content: ''; position: absolute; inset: auto auto -40px -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--accent); opacity: 0;
  transition: opacity .4s ease;
  filter: blur(40px);
}
.benefit:hover { transform: translateY(-3px); border-color: var(--line-2); }
.benefit:hover::after { opacity: .12; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.benefit h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.benefit p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ============================================================
   MARKET PREVIEW
   ============================================================ */
.market-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.market-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { color: var(--fg); border-color: var(--line-2); }
.chip-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
[data-theme="light"] .chip-active { background: var(--fg); color: var(--bg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s ease, opacity .4s ease, border-color .2s ease;
  cursor: pointer;
}
.product:hover { border-color: var(--line-2); transform: translateY(-3px); }
.product.hiding { opacity: 0; transform: scale(0.96); pointer-events: none; position: absolute; }
.product-img {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: var(--surface-2);
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.product:hover .product-img img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--fg);
  letter-spacing: 0.04em;
}
.product-ai {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
}
.product-body { padding: 14px 16px 16px; }
.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15.5px;
  margin: 0 0 3px; letter-spacing: -0.01em;
  line-height: 1.25;
}
.product-meta {
  font-size: 12px; color: var(--muted);
  display: flex; justify-content: space-between; margin-bottom: 10px;
}
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px;
}
.product-shop {
  font-size: 12px; color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: stretch;
}
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.plan:hover { transform: translateY(-3px); }
.plan-featured {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 5%, var(--surface));
  position: relative;
  overflow: hidden;
}
.plan-featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 60%);
  pointer-events: none;
}
.plan-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; position: relative;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 500;
}
.plan-tag {
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--muted);
  letter-spacing: 0.05em;
}
.plan-tag-hot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px; position: relative;
}
.plan-currency { font-size: 16px; color: var(--muted); }
.plan-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px; font-weight: 500; line-height: 1;
  letter-spacing: -0.03em;
}
.plan-period { font-size: 14px; color: var(--muted); }
.plan-note { font-size: 13.5px; color: var(--muted); margin: 0 0 24px; position: relative; }
.plan-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; flex: 1; position: relative;
}
.plan-list li {
  padding-left: 22px; position: relative;
  color: var(--fg-2);
}
.plan-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 10px; height: 6px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============================================================
   MAP
   ============================================================ */
.map-section { background: var(--bg-2); }
.map-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: center;
}
@media (max-width: 920px) { .map-grid { grid-template-columns: 1fr; } }
.map-legend {
  display: flex; gap: 20px; margin: 24px 0;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted);
}
.map-legend-row { display: inline-flex; align-items: center; gap: 8px; }
.map-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
}
.map-dot-new {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.map-counters {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding-top: 24px; border-top: 1px solid var(--line);
  max-width: 480px;
}
.map-counters div { display: flex; flex-direction: column; gap: 4px; }
.map-counters strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em;
}
.map-counters span { font-size: 12px; color: var(--muted); }

.map-wrap { position: relative; }
.swiss-map { width: 100%; height: auto; display: block; }
.ch-shape {
  transition: fill .3s ease;
}
.ch-dots circle {
  fill: var(--accent-2);
  opacity: 0;
  transform-origin: center;
}
.ch-dots circle.show {
  opacity: .9;
  animation: dotPop .6s cubic-bezier(.2,.8,.2,1.4) forwards;
}
.ch-dots circle.new {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}
@keyframes dotPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: .9; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 14px; height: 14px; position: relative; flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: ''; position: absolute; background: var(--fg);
  border-radius: 1px;
  transition: transform .3s ease;
}
.faq-plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-plus::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-item[open] .faq-plus::after { transform: translateX(-50%) rotate(90deg); }
.faq-body {
  padding: 0 24px 24px;
  color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 68ch;
}

/* ============================================================
   CTA / FOOTER
   ============================================================ */
.cta-section {
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: auto 0 -40% 0;
  height: 80%;
  background: radial-gradient(ellipse at 50% 100%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-eyebrow { margin-bottom: 20px; }
.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1.05; margin: 0 0 16px;
  text-wrap: balance;
}
.cta-lede {
  font-size: 18px; color: var(--muted); margin: 0 0 36px;
}
.cta-form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto 20px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
}
@media (max-width: 520px) {
  .cta-form { flex-direction: column; padding: 8px; border-radius: 14px; }
  .cta-form input, .cta-form .btn { border-radius: 10px !important; }
}
.cta-form input {
  flex: 1; border: none; background: transparent;
  padding: 10px 16px;
  color: var(--fg); font-family: 'Inter', sans-serif; font-size: 15px;
}
.cta-form input:focus { outline: none; }
.cta-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted);
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}

.foot {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.foot-links {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px;
}
.foot-links a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.foot-links a:hover { color: var(--fg); }
.foot-meta { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted-2); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1) var(--delay,0s),
              transform .8s cubic-bezier(.2,.6,.2,1) var(--delay,0s);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
