/* ---------- tokens ---------- */
:root {
  /* purple ramp — deep violet w/ indigo undertone */
  --v-50:  #faf7ff;
  --v-100: #f1ebff;
  --v-200: #ddd0ff;
  --v-300: #c4aeff;
  --v-400: #a78bfa;
  --v-500: #8b5cf6;
  --v-600: #7c3aed;
  --v-700: #6d28d9;
  --v-800: #5b21b6;
  --v-900: #4c1d95;
  --v-950: #2e1065;
  --v-1000:#1a0b2e;

  /* warm neutrals — tinted toward plum */
  --ink-0:   #ffffff;
  --ink-50:  #fbfaf9;
  --ink-100: #f5f3f0;
  --ink-200: #ebe7e1;
  --ink-300: #d9d3cb;
  --ink-400: #a8a29a;
  --ink-500: #78716c;
  --ink-600: #57534e;
  --ink-700: #3d3a36;
  --ink-800: #26241f;
  --ink-900: #16140f;

  /* semantic */
  --bg:         var(--ink-50);
  --bg-raised: #ffffff;
  --bg-sunken: var(--ink-100);
  --fg:         var(--ink-900);
  --fg-muted:   var(--ink-500);
  --fg-subtle:  var(--ink-400);
  --border:     rgba(38, 36, 31, 0.09);
  --border-strong: rgba(38, 36, 31, 0.16);
  --accent:     var(--v-700);
  --accent-ink: var(--v-900);
  --accent-soft:var(--v-50);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(26, 11, 46, 0.04), 0 1px 0 rgba(255,255,255,0.6) inset;
  --shadow-md: 0 2px 4px rgba(26, 11, 46, 0.04), 0 12px 28px -12px rgba(76, 29, 149, 0.14);
  --shadow-lg: 0 4px 10px rgba(26, 11, 46, 0.06), 0 30px 60px -20px rgba(76, 29, 149, 0.22);

  --font-display: "Roboto Serif", ui-serif, Georgia, serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max-w: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --section-y: clamp(48px, 7vw, 96px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

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

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-raised);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
.display em { font-style: normal; font-weight: 500; color: var(--accent); }

.h-sm { font-size: clamp(24px, 2.9vw, 38px); }
.h-md { font-size: clamp(28px, 3.4vw, 46px); }
.h-lg { font-size: clamp(44px, 6.4vw, 88px); }

.body-lg { font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-muted); line-height: 1.55; text-wrap: pretty; max-width: 62ch; }
.body    { color: var(--fg-muted); text-wrap: pretty; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--accent-ink); }

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 30px -10px var(--accent);
}
.btn-accent:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-raised); }

.btn svg { width: 14px; height: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav[data-scrolled="true"] { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; }
.brand-logo { height: 28px; width: auto; display: block; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(140deg, var(--v-600), var(--v-900));
  position: relative;
  box-shadow: 0 4px 14px -4px var(--v-600), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px 10px 4px 10px;
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0.05));
  filter: blur(0.3px);
}
.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-muted);
  font-size: 14px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-raised); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* language switcher (dropdown) */
.lang-switch { position: relative; display: inline-flex; }
.lang-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  line-height: 1;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.lang-toggle:hover { color: var(--fg); border-color: var(--v-600); }
.lang-caret { transition: transform .15s ease; opacity: 0.7; }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: 0 16px 40px -12px rgba(20, 8, 40, 0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
  z-index: 60;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1;
  transition: color .15s ease, background .15s ease;
}
.lang-menu button:hover { color: var(--fg); background: var(--bg); }
.lang-menu button.active { color: #fff; background: linear-gradient(140deg, var(--v-600), var(--v-900)); }

/* keep the bar uncluttered on small screens — drop Sign in, keep the language switch */
@media (max-width: 560px) { .nav-cta > .btn-ghost { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 80%;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, var(--accent) 0%, transparent 60%);
  opacity: 0.14;
  pointer-events: none;
  filter: blur(20px);
}

.hero-layout {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-layout { grid-template-columns: minmax(510px, 0.9fr) minmax(0, 1.1fr); }
}
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-title { max-width: 14ch; font-size: clamp(38px, 4.2vw, 66px); }
.hero-sub { max-width: 44ch; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-ctas .play-dot {
  width: 22px; height: 22px; border-radius: 999px; margin-left: -6px;
  background: var(--accent); color: white;
  display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: 0 6px 16px -6px var(--accent);
}
.hero-ctas .play-dot svg { width: 9px; height: 9px; margin-left: 1px; }

.hero-trust {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 12px 0; align-items: stretch;
  color: var(--fg-muted); font-size: 12px; line-height: 1.35;
}
.hero-trust li {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; padding-right: 14px;
}
.hero-trust li + li { border-left: 1px solid var(--border-strong); padding-left: 14px; }
.hero-trust li:last-child { padding-right: 0; }
.hero-trust svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .hero-visual img { width: 112%; max-width: none; margin-inline-start: -6%; }
}
@media (max-width: 1023px) {
  .hero-visual img { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-trust li { max-width: none; padding-right: 0; }
  .hero-trust li + li { border-left: 0; padding-left: 0; }
}

/* ---------- logo strip ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  justify-items: center;
}
@media (min-width: 720px) { .logo-strip { grid-template-columns: repeat(6, 1fr); } }
.logo-strip .logo { color: var(--fg-subtle); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.72; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-strip .logo:hover { opacity: 1; color: var(--fg); }
.logo-strip .logo .sq { width: 10px; height: 10px; border-radius: 2px; background: currentColor; opacity: 0.4; flex: 0 0 auto; }
.logo-strip .logo.alt span:last-child { font-family: var(--font-display); font-style: italic; font-size: 18px; }
.logo-strip-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
  margin-bottom: 20px;
}

/* ---------- bento ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: 36px; max-width: 760px; }
.section-head .eyebrow { justify-self: start; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 12;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--border-strong); }
.card.feature { min-height: 280px; display: flex; flex-direction: column; }
.card .card-body { display: flex; flex-direction: column; gap: 10px; max-width: 42ch; }
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.card p { margin: 0; color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; }
.card .card-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.card .card-visual { flex: 1; position: relative; margin-top: 22px; min-height: 180px; }

@media (min-width: 760px) {
  .card.col-3 { grid-column: span 6; }
  .card.col-5 { grid-column: span 6; }
  .card.col-6 { grid-column: span 6; }
  .card.col-4 { grid-column: span 6; }
  .card.col-8 { grid-column: span 12; }
  .card.col-12 { grid-column: span 12; }
}
@media (min-width: 1040px) {
  .card.col-3 { grid-column: span 3; }
  .card.col-4 { grid-column: span 4; }
  .card.col-5 { grid-column: span 5; }
  .card.col-6 { grid-column: span 6; }
  .card.col-8 { grid-column: span 8; }
}

/* card visuals */
.card .card-visual.viz-img {
  display: flex; align-items: center; justify-content: center;
  min-height: 0;
}
.card .card-visual.viz-img img {
  width: 100%; height: auto; max-width: 640px;
}

.viz-translate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.viz-translate .tr-globe {
  position: absolute; right: -34px; top: -14px; width: 210px; height: 210px;
  color: var(--ink-300); opacity: 0.55; pointer-events: none;
}
.viz-translate .tr-globe-route { stroke: var(--accent); opacity: 0.6; }
.viz-translate .tr-globe-node { fill: var(--accent); }
.viz-translate .tr-row {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: var(--shadow-sm);
}
.viz-translate .tr-flag {
  width: 24px; height: 17px; border-radius: 3px; overflow: hidden;
  flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(38, 36, 31, 0.12);
}
.viz-translate .tr-flag svg { width: 100%; height: 100%; }
.viz-translate .tr-code { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; flex: 0 0 auto; }
.viz-translate .tr-txt {
  color: var(--fg); flex: 1; min-width: 0;
  font-family: var(--font-display); font-size: 14.5px; font-style: italic;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.viz-translate .tr-check { width: 20px; height: 20px; flex: 0 0 auto; color: var(--v-600); }
.viz-translate .tr-check svg { width: 100%; height: 100%; }

.viz-plans { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.viz-plans .plan-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-sunken);
  font-size: 12.5px;
}
.viz-plans .plan-row.current { border-color: var(--accent); background: var(--accent-soft); }
.viz-plans .plan-row .name { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.viz-plans .plan-row .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); }
.viz-plans .plan-row.current .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.viz-plans .plan-row .price { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }

/* horizontal feature card: text left, visual right */
@media (min-width: 1040px) {
  .card.feature.feature-row { flex-direction: row; align-items: center; gap: 48px; }
  .card.feature.feature-row .card-visual { margin-top: 0; }
}

.viz-catalog { display: flex; align-items: center; justify-content: center; min-height: 0; }
.cat-panel {
  position: relative;
  width: 100%; max-width: 640px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-raised);
  box-shadow: var(--shadow-md);
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.cat-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.cat-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-sunken);
  color: var(--fg-subtle); font-size: 12px;
}
.cat-search svg { width: 13px; height: 13px; flex: 0 0 auto; }
.cat-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-chip {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-raised);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-muted); white-space: nowrap;
}
.cat-chip-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-head, .cat-row {
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 60px 92px;
}
.cat-head {
  padding: 4px 12px 6px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-subtle);
  border-bottom: 1px solid var(--border);
}
.cat-row {
  padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-raised);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}
.cat-name {
  font-family: var(--font-display); font-style: italic; font-size: 15.5px; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-variants { display: flex; gap: 5px; }
.cat-variants em {
  font-style: normal; font-family: var(--font-mono); font-size: 10px;
  padding: 2px 7px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg-sunken); color: var(--fg-muted);
  white-space: nowrap;
}
.cat-ean { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-align: right; white-space: nowrap; }
.cat-status-col { display: flex; justify-content: flex-end; }
.cat-status {
  font-style: normal; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--bg-sunken); color: var(--fg-muted);
  border: 1px solid var(--border); white-space: nowrap;
}
.cat-status.live {
  background: #e9f7ee; color: #177245;
  border-color: rgba(23, 114, 69, 0.22);
}
.cat-toast {
  position: absolute; top: -12px; right: -10px;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--bg-raised); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg);
}
.cat-toast svg { width: 15px; height: 15px; color: #1d9e5f; }
@media (max-width: 719px) {
  .cat-head, .cat-row { grid-template-columns: minmax(0, 1.4fr) 60px 92px; }
  .cat-variants, .cat-ean { display: none; }
  .cat-toast { right: 6px; }
}
.viz-logistics-row .pvp { font-family: var(--font-mono); color: var(--accent); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 28px;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: 0.12em;
}
.step-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.step-body p { margin: 0; color: var(--fg-muted); max-width: 52ch; }
.step-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.step-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--accent-soft);
  display: grid; place-items: center; flex: 0 0 auto;
  font-family: var(--font-display); font-size: 36px; font-style: italic; color: var(--accent);
}

/* ---------- pricing ---------- */
.price-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--bg-sunken); border: 1px solid var(--border);
  margin-bottom: 40px;
}
.price-toggle button {
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; color: var(--fg-muted); font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.price-toggle button.active { background: var(--bg-raised); color: var(--fg); box-shadow: var(--shadow-sm); }
.price-toggle .save { font-family: var(--font-mono); font-size: 10px; margin-left: 6px; color: var(--accent); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.plan {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-raised) 45%);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -10px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--accent); color: white;
}
.plan-name { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.plan-price .num { font-size: 42px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.plan-price .per { font-size: 13px; color: var(--fg-muted); font-family: var(--font-sans); }
.plan-desc { color: var(--fg-muted); font-size: 13.5px; line-height: 1.5; margin: 0; min-height: 3em; }
.plan-divider { border-top: 1px dashed var(--border); }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--fg); }
.plan-features li.off { color: var(--fg-subtle); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.plan-features li > svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 3px; }
.plan-features .check { color: var(--accent); }
.plan-features .x { color: var(--fg-subtle); }
.plan-cta { margin-top: auto; justify-content: center; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  flex: 0 0 auto;
}
.faq-item[data-open="true"] .faq-icon { background: var(--accent); color: white; border-color: var(--accent); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item[data-open="true"] .faq-a { max-height: 400px; }
.faq-a-inner { padding-bottom: 24px; color: var(--fg-muted); max-width: 62ch; }

/* ---------- cta ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 72px);
  background-color: #30166d;
  background-image: url("cta-bg.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: #f3eefc;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: 26px; max-width: 560px; justify-items: start; }
.cta .display em { color: #d8b4fe; }
.cta p { color: rgba(243, 238, 252, 0.7); max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cta .btn-primary { background: white; color: var(--v-950); }
.cta .btn-primary:hover { background: var(--v-100); }
.cta .btn-ghost { color: white; border-color: rgba(255,255,255,0.25); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cta .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: rgba(243,238,252,0.7); }
.cta .eyebrow .spark { color: #d8b4fe; filter: drop-shadow(0 0 8px #d8b4fe); flex-shrink: 0; }
.cta-trust {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 26px);
}
.cta-trust li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; line-height: 1.35; color: rgba(243, 238, 252, 0.78);
  max-width: 150px;
}
.cta-trust li + li { border-left: 1px solid rgba(255,255,255,0.16); padding-left: clamp(16px, 2.5vw, 26px); }
.cta-trust svg { flex-shrink: 0; color: rgba(243, 238, 252, 0.85); }
@media (min-width: 1021px) {
  .cta { min-height: 580px; }
  .cta-inner { max-width: min(560px, 48%); }
}
@media (max-width: 1020px) {
  /* left edge of the artwork is plain purple — keeps text readable on small screens */
  .cta { background-position: left center; }
}
@media (max-width: 480px) {
  .cta-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-trust li { max-width: none; }
  .cta-trust li + li { border-left: 0; padding-left: 0; }
}

/* ---------- footer ---------- */
.footer {
  padding-block: 64px 32px;
  border-top: 1px solid var(--border);
  margin-top: clamp(64px, 9vw, 120px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-subtle); font-weight: 500; margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--fg-muted); font-size: 14px; }
.footer a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.05em;
}
.footer .brand-desc { color: var(--fg-muted); font-size: 14px; max-width: 30ch; margin-top: 14px; }

/* ---------- reveal on scroll ----------
   Visible by default — never gated behind opacity:0 — so content can never
   get stuck hidden if the IntersectionObserver fails to fire. The .in class
   is a progressive enhancement only. */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.reveal.pre { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- GDPR cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(380px, calc(100vw - 40px));
  padding: 18px 18px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner[data-shown="true"] { opacity: 1; transform: none; }
.cookie-banner[data-hiding="true"] { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cookie-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: 8px 16px; font-size: 13px; }
@media (max-width: 420px) {
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- changelog ---------- */
.changelog-entry { align-items: start; }
.changelog-msg {
  margin: 0;
  padding: 28px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.changelog-body { margin-top: 12px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; max-width: 62ch; }
.changelog-body h1, .changelog-body h2, .changelog-body h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin: 18px 0 6px;
}
.changelog-body p { margin: 8px 0; }
.changelog-body ul, .changelog-body ol { padding-left: 20px; margin: 8px 0; }
.changelog-body li { margin: 4px 0; }
.changelog-body a { color: var(--accent); }
.changelog-body code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 5px;
}
.changelog-body img { max-width: 100%; border-radius: var(--radius-md); border: 1px solid var(--border); }
