/* ============================================================
   SeeYouSoon.se — shared stylesheet (redesign 2026)
   Palette: 6 values only. Paper appears ONLY on the receipt.
   ============================================================ */

/* ---- Fonts (self-hosted, variable) ---- */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-var.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink:      #050510;
  --ink-2:    #0F0F22;
  --paper:    #FAF9F6;
  --purple:   #A855F7;
  --blue:     #3B82F6;
  --kr-green: #00C896;

  /* Derived (opacity variants of the six, nothing new) */
  --text:       rgba(250, 249, 246, 0.92);
  --text-mute:  rgba(250, 249, 246, 0.62);
  --text-dim:   rgba(250, 249, 246, 0.40);
  --line:       rgba(250, 249, 246, 0.10);
  --line-soft:  rgba(250, 249, 246, 0.06);
  --ink-on-paper:      #050510;
  --ink-on-paper-mute: rgba(5, 5, 16, 0.55);

  --display: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Type scale: 14 / 16 / 20 / 28 / 40 / 64 / 96 */
  --t-1: 0.875rem;
  --t-2: 1rem;
  --t-3: 1.25rem;
  --t-4: 1.75rem;
  --t-5: 2.5rem;
  --t-6: 4rem;
  --t-7: 6rem;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 140px;

  --r: 10px;
  --wrap: 1120px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--purple); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink-on-paper);
  padding: var(--s-3) var(--s-4); z-index: 100; border-radius: 0 0 var(--r) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-5); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: var(--s-5);
}
.brand {
  font-family: var(--display); font-weight: 800; font-size: var(--t-3);
  letter-spacing: -0.03em;
}
.brand .tld { color: var(--purple); }
.nav-links {
  display: flex; align-items: center; gap: var(--s-6);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { font-size: var(--t-1); font-weight: 500; color: var(--text-mute); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: var(--t-1); font-weight: 600; color: var(--text) !important;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-2) var(--s-4);
  transition: border-color .15s, background .15s;
}
.nav-cta:hover { border-color: var(--purple); background: rgba(168, 85, 247, 0.10); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r); color: var(--text);
  width: 44px; height: 44px; align-items: center; justify-content: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--t-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r); border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: var(--paper); }
.btn-primary:hover { background: #B96BF9; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--purple); }

/* ---- Hero ---- */
.hero { padding: var(--s-9) 0 var(--s-9); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-8); align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 500;
  color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.hero h1 {
  font-size: clamp(var(--t-5), 8.5vw, var(--t-7));
  font-weight: 800; letter-spacing: -0.035em;
}
.hero h1 .pct { color: var(--purple); }
.hero h1 .strike {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-thickness: 0.06em;
  text-decoration-color: var(--purple);
}
.hero-sub {
  margin-top: var(--s-5);
  font-size: var(--t-3); line-height: 1.55; color: var(--text-mute);
  max-width: 34ch;
}
.hero-sub strong { color: var(--kr-green); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-terms {
  margin-top: var(--s-5);
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim);
}

/* ---- The receipt ---- */
.receipt-holder { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.receipt {
  width: min(400px, 100%);
  background: var(--paper);
  color: var(--ink-on-paper);
  font-family: var(--mono);
  font-size: var(--t-2);
  padding: var(--s-6) var(--s-5) var(--s-7);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 24px 60px rgba(5, 5, 16, 0.6), 0 2px 8px rgba(5, 5, 16, 0.4);
  /* torn bottom edge */
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 10px),
    97.5% 100%, 95% calc(100% - 10px), 92.5% 100%, 90% calc(100% - 10px),
    87.5% 100%, 85% calc(100% - 10px), 82.5% 100%, 80% calc(100% - 10px),
    77.5% 100%, 75% calc(100% - 10px), 72.5% 100%, 70% calc(100% - 10px),
    67.5% 100%, 65% calc(100% - 10px), 62.5% 100%, 60% calc(100% - 10px),
    57.5% 100%, 55% calc(100% - 10px), 52.5% 100%, 50% calc(100% - 10px),
    47.5% 100%, 45% calc(100% - 10px), 42.5% 100%, 40% calc(100% - 10px),
    37.5% 100%, 35% calc(100% - 10px), 32.5% 100%, 30% calc(100% - 10px),
    27.5% 100%, 25% calc(100% - 10px), 22.5% 100%, 20% calc(100% - 10px),
    17.5% 100%, 15% calc(100% - 10px), 12.5% 100%, 10% calc(100% - 10px),
    7.5% 100%, 5% calc(100% - 10px), 2.5% 100%, 0 calc(100% - 10px)
  );
}
.receipt-head { text-align: center; margin-bottom: var(--s-4); }
.receipt-brand { font-weight: 700; letter-spacing: 0.14em; }
.receipt-venue { color: var(--ink-on-paper-mute); font-size: var(--t-1); margin-top: var(--s-1); }
.receipt-rule {
  border: none; border-top: 1.5px dashed rgba(5, 5, 16, 0.25);
  margin: var(--s-3) 0;
}
.receipt-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-4); padding: var(--s-1) 0;
  font-variant-numeric: tabular-nums;
}
.receipt-line .amt { font-weight: 500; white-space: nowrap; }
.receipt-line.is-keep { font-weight: 700; font-size: var(--t-3); }
.receipt-line.is-keep .amt { color: var(--kr-green); font-weight: 700; }
.receipt-line.is-them { color: var(--ink-on-paper-mute); font-size: var(--t-1); }
.receipt-line.is-them .amt { text-decoration: line-through; }
.receipt-line.is-diff { font-weight: 700; }
.receipt-line.is-diff .amt { color: var(--purple); }

/* print-in animation */
.receipt [data-print] { opacity: 0; transform: translateY(6px); }
.receipt.is-printed [data-print],
.receipt.no-anim [data-print] { opacity: 1; transform: none; }
.receipt.is-printing [data-print] {
  animation: printline .35s cubic-bezier(.2, .7, .3, 1) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes printline {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .receipt [data-print] { opacity: 1 !important; transform: none !important; animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* slider */
.receipt-slider { width: min(400px, 100%); }
.receipt-slider label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-mute);
  margin-bottom: var(--s-2);
}
.receipt-slider output { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--purple) var(--fill, 27%), var(--line) var(--fill, 27%));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--purple); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9px;
  border-radius: 50%; background: var(--paper);
  border: 3px solid var(--purple);
  box-shadow: 0 2px 10px rgba(5, 5, 16, 0.5);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--purple);
  cursor: grab;
}
input[type="range"]:focus-visible { outline: 2px solid var(--purple); outline-offset: 6px; }

/* ---- Sections ---- */
.section { padding: var(--s-10) 0; border-top: 1px solid var(--line-soft); }
.section-eyebrow {
  font-family: var(--mono); font-size: var(--t-1); color: var(--purple);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--s-3);
}
.section h2 {
  font-size: clamp(var(--t-4), 4.5vw, var(--t-5));
  font-weight: 800; letter-spacing: -0.03em;
  max-width: 22ch;
}
.section-lead { margin-top: var(--s-4); color: var(--text-mute); max-width: 52ch; font-size: var(--t-3); }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); margin-top: var(--s-7);
}
.step {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-6);
}
.step-num {
  font-family: var(--mono); font-size: var(--t-1); color: var(--purple);
  margin-bottom: var(--s-4);
}
.step h3 { font-size: var(--t-3); font-weight: 700; margin-bottom: var(--s-2); }
.step p { color: var(--text-mute); font-size: var(--t-1); line-height: 1.6; }

/* Services */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4); margin-top: var(--s-7);
}
.service {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-5);
  transition: border-color .15s, transform .15s;
}
.service:hover { border-color: var(--purple); transform: translateY(-2px); }
.service h3::before { content: ""; display: block; width: 20px; height: 2px; background: var(--purple); margin-bottom: var(--s-4); }
.service h3 { font-size: var(--t-2); font-weight: 700; }
.service p { margin-top: var(--s-1); color: var(--text-mute); font-size: var(--t-1); }
.service .go {
  display: inline-block; margin-top: var(--s-3);
  font-family: var(--mono); font-size: var(--t-1); color: var(--purple);
}

/* SeeYouSoonPlus */
.plus-band {
  margin-top: var(--s-7);
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-7);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-7); align-items: center;
}
.tier-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tier {
  font-family: var(--mono); font-size: var(--t-1);
  border: 1px solid var(--line); border-radius: 999px;
  padding: var(--s-2) var(--s-4); color: var(--text-mute);
}
.tier.is-top { border-color: var(--purple); color: var(--text); }
.plus-points { margin-top: var(--s-4); color: var(--text-mute); font-size: var(--t-1); line-height: 1.7; }

/* Partner CTA */
.partner {
  margin-top: 0;
  text-align: left;
}
.partner .math {
  font-family: var(--mono);
  font-size: var(--t-3);
  margin-top: var(--s-5);
  color: var(--text-mute);
}
.partner .math .keep { color: var(--kr-green); font-weight: 700; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: var(--s-8) 0 var(--s-7);
  color: var(--text-dim); font-size: var(--t-1);
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-6); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-mute); }
.footer-links a:hover { color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .plus-band { grid-template-columns: 1fr; }
  .section { padding: var(--s-9) 0; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-5);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: none; padding-top: var(--s-3); }
  .nav-links a { display: block; padding: var(--s-4) 0; font-size: var(--t-2); }
  .nav-cta { text-align: center; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: var(--s-7) 0 var(--s-8); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 var(--s-4); }
}

/* ============================================================
   Stage 2 — menu overlay, page templates, forms, interactive
   ============================================================ */

/* ---- Header (menu-button era) ---- */
.nav-right { display: flex; align-items: center; gap: var(--s-3); }
.menu-btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text); padding: 10px var(--s-4);
  font-weight: 600; font-size: var(--t-1);
  transition: border-color .2s, background .2s;
}
.menu-btn:hover { border-color: var(--purple); }
.menu-btn .burger { position: relative; width: 18px; height: 12px; }
.menu-btn .burger span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .35s cubic-bezier(.7,0,.3,1), top .35s cubic-bezier(.7,0,.3,1), opacity .2s;
}
.menu-btn .burger span:nth-child(1) { top: 0; }
.menu-btn .burger span:nth-child(2) { top: 5px; }
.menu-btn .burger span:nth-child(3) { top: 10px; }
body.menu-open .menu-btn .burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn .burger span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn .burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ---- The menu overlay ---- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(168,85,247,0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(59,130,246,0.08), transparent 60%),
    var(--ink-2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility 0s linear .6s;
  overflow-y: auto;
}
body.menu-open .menu {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path .6s cubic-bezier(.76,0,.24,1);
}
body.menu-open { overflow: hidden; }

.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 0 var(--s-6); }
.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 0 var(--s-5);
  max-width: var(--wrap); margin: 0 auto; width: 100%;
}

.menu-grid {
  flex: 1;
  max-width: var(--wrap); margin: 0 auto; width: 100%;
  padding: var(--s-6) var(--s-5) var(--s-5);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--s-7) var(--s-8);
  align-items: start;
}

/* --- primary: the six things we actually want people to do --- */
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { overflow: hidden; }
.m-link {
  display: flex; align-items: baseline; gap: var(--s-4);
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(var(--t-3), 4.2vw, 3.1rem);
  line-height: 1.2;
  color: var(--text-mute);
  padding: 2px 0;
  transform: translateY(110%);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), color .2s, padding-left .3s cubic-bezier(.2,.8,.2,1);
}
body.menu-open .m-link { transform: translateY(0); transition-delay: calc(.12s + var(--i) * 50ms), 0s, 0s; }
.m-link .idx {
  font-family: var(--mono); font-weight: 400; letter-spacing: 0;
  font-size: var(--t-1); color: var(--text-dim);
  transition: color .2s;
}
.m-link:hover, .m-link:focus-visible, .m-link.is-active { color: var(--paper); padding-left: var(--s-4); }
.m-link:hover .idx, .m-link.is-active .idx { color: var(--purple); }
.m-link .arrow {
  font-family: var(--mono); font-size: 0.42em; color: var(--purple);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .25s, transform .25s;
}
.m-link:hover .arrow { opacity: 1; transform: translateX(0); }
.m-note {
  display: block; margin: 2px 0 0 calc(var(--s-4) + 22px);
  font-family: var(--body); font-size: var(--t-1); font-weight: 400;
  letter-spacing: 0; color: var(--text-dim);
}

/* --- right rail: receipt + live strip --- */
.menu-rail { display: grid; gap: var(--s-5); justify-items: center; }

/* --- secondary: grouped link columns --- */
.menu-cols {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  padding-top: var(--s-6); margin-top: var(--s-3);
  border-top: 1px solid var(--line-soft);
}
.menu-col h3 {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 500;
  color: var(--purple); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.menu-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.menu-col a {
  color: var(--text-mute); font-size: var(--t-2);
  display: inline-block;
  transition: color .22s cubic-bezier(.2,.8,.2,1), transform .22s cubic-bezier(.2,.8,.2,1);
}
.menu-col a:hover { color: var(--paper); transform: translateX(5px); }

/* --- mini receipt in the rail --- */
.menu-receipt-wrap { display: flex; justify-content: center; }
.menu-receipt {
  width: min(300px, 100%);
  background: var(--paper); color: var(--ink-on-paper);
  font-family: var(--mono); font-size: var(--t-1);
  padding: var(--s-5) var(--s-4) var(--s-6);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 20px 50px rgba(5,5,16,.55);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 8px),96% 100%,92% calc(100% - 8px),88% 100%,84% calc(100% - 8px),80% 100%,76% calc(100% - 8px),72% 100%,68% calc(100% - 8px),64% 100%,60% calc(100% - 8px),56% 100%,52% calc(100% - 8px),48% 100%,44% calc(100% - 8px),40% 100%,36% calc(100% - 8px),32% 100%,28% calc(100% - 8px),24% 100%,20% calc(100% - 8px),16% 100%,12% calc(100% - 8px),8% 100%,4% calc(100% - 8px),0 100%);
  transform: rotate(1.6deg);
  opacity: 0; translate: 0 16px;
  transition: opacity .5s .35s, translate .5s .35s;
}
body.menu-open .menu-receipt { opacity: 1; translate: 0 0; }
.menu-receipt .mr-title { text-align: center; font-weight: 700; letter-spacing: .12em; margin-bottom: var(--s-3); }
.menu-receipt .mr-line {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: 3px 0; font-variant-numeric: tabular-nums;
}
.menu-receipt .mr-line .v { font-weight: 700; }
.menu-receipt .mr-line.hl .v { color: #00A87C; }
.menu-receipt hr { border: none; border-top: 1.5px dashed rgba(5,5,16,.22); margin: var(--s-2) 0; }
.menu-receipt.reprint .mr-line { animation: mrline .3s cubic-bezier(.2,.7,.3,1) both; }
.menu-receipt.reprint .mr-line:nth-child(3) { animation-delay: .05s; }
.menu-receipt.reprint .mr-line:nth-child(5) { animation-delay: .12s; }
@keyframes mrline { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }


/* ---------- menu preview panel ---------- */
.menu-preview {
  display: grid;
  grid-template-areas: "stack";
  width: min(340px, 100%);
  opacity: 0; translate: 0 14px;
  transition: opacity .5s .3s, translate .5s .3s;
}
body.menu-open .menu-preview { opacity: 1; translate: 0 0; }

.mp {
  grid-area: stack;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s;
  display: grid; gap: var(--s-4); align-content: start;
}
.mp.is-on {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1);
}
.mp-h {
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim);
  letter-spacing: .1em; text-transform: uppercase;
}
.mp-note { font-size: var(--t-1); color: var(--text-dim); line-height: 1.5; max-width: 32ch; }

/* the 13 services, browsable straight from the menu */
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mp-svc {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 10px var(--s-3);
  font-size: var(--t-1); color: var(--text-mute);
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.mp-svc:hover { border-color: var(--purple); color: var(--paper); background: rgba(168,85,247,.13); transform: translateY(-1px); }

/* tier ladder preview */
.mp-tiers { display: grid; gap: 6px; }
.mp-tier {
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-mute);
  border-left: 3px solid var(--t, var(--purple));
  padding: 9px var(--s-4);
  background: rgba(250,249,246,.03); border-radius: 0 8px 8px 0;
}

/* the receipt no longer animates in on its own — the panel handles it */
.menu-preview .menu-receipt { opacity: 1; translate: none; transform: rotate(1.4deg); transition: none; }

@media (max-width: 980px) {
  .menu-preview { width: 100%; }
  .mp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .mp-grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .menu-preview, .mp { transition: none !important; }
}

/* --- live strip: clock + weather --- */
.live-strip {
  width: min(300px, 100%);
  display: grid; gap: var(--s-3);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-4) var(--s-5);
  background: rgba(250,249,246,.02);
  opacity: 0; translate: 0 12px;
  transition: opacity .5s .45s, translate .5s .45s;
}
body.menu-open .live-strip { opacity: 1; translate: 0 0; }
.live-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.live-k {
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim);
  letter-spacing: .06em; text-transform: uppercase;
}
.live-v { font-family: var(--mono); font-size: var(--t-3); font-weight: 700; color: var(--paper); font-variant-numeric: tabular-nums; }
.live-v .sec { color: var(--text-dim); font-size: .62em; }
.live-w { display: flex; align-items: center; gap: var(--s-3); }
.live-w svg { width: 24px; height: 24px; flex: none; color: var(--purple); }
.live-tip {
  border-top: 1px dashed var(--line); padding-top: var(--s-3);
  font-size: var(--t-1); color: var(--text-mute);
}
.live-tip a { color: var(--purple); }
.live-tip a:hover { text-decoration: underline; }
.live-src { font-family: var(--mono); font-size: .72rem; color: var(--text-dim); }

/* header chip */
.hdr-live {
  display: none; align-items: center; gap: var(--s-3);
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-mute);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px var(--s-4); margin-right: var(--s-1);
  white-space: nowrap;
}
.hdr-live.is-on { display: inline-flex; }
.hdr-live .sep { color: var(--text-dim); }
.hdr-live .t { color: var(--text); font-variant-numeric: tabular-nums; }
.hdr-live svg { width: 15px; height: 15px; color: var(--purple); }
@media (min-width: 1040px) { .hdr-live.is-on { display: inline-flex; } }
@media (max-width: 1039px) { .hdr-live.is-on { display: none; } }

.menu-foot {
  max-width: var(--wrap); margin: 0 auto; width: 100%;
  padding: var(--s-5) var(--s-5) 0;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  font-family: var(--mono); font-size: var(--t-1);
}
.menu-foot .lbl { color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; }
.menu-foot a { color: var(--text-mute); transition: color .2s; }
.menu-foot a:hover { color: var(--purple); }

@media (max-width: 980px) {
  .menu-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .menu-rail { justify-items: stretch; }
  .menu-cols { grid-template-columns: 1fr 1fr; }
  .m-link { font-size: clamp(var(--t-3), 7vw, 2.2rem); }
  .live-strip { width: 100%; }
}
@media (max-width: 560px) {
  .menu-cols { grid-template-columns: 1fr; gap: var(--s-5); }
  .m-note { margin-left: calc(var(--s-4) + 18px); }
}
@media (prefers-reduced-motion: reduce) {
  .menu, .m-link, .menu-receipt, .live-strip { transition: none !important; }
  .menu-receipt.reprint .mr-line { animation: none !important; }
}

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: var(--s-8) 0 var(--s-7); }
.crumb {
  font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim);
  margin-bottom: var(--s-5); display: flex; gap: var(--s-2); flex-wrap: wrap;
}
.crumb a:hover { color: var(--text); }
.page-hero h1 {
  font-size: clamp(var(--t-5), 6.5vw, var(--t-6));
  font-weight: 800; letter-spacing: -0.03em; max-width: 16ch;
}
.page-hero .lead { margin-top: var(--s-4); font-size: var(--t-3); color: var(--text-mute); max-width: 48ch; line-height: 1.55; }

/* ---- Forms ---- */
.form-card {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-6);
  max-width: 640px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-1); font-weight: 600; }
.field .hint { font-size: var(--t-1); color: var(--text-dim); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r); color: var(--text);
  padding: var(--s-3) var(--s-4); font: inherit; font-size: var(--t-2);
  transition: border-color .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%), linear-gradient(135deg, var(--text-mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-actions { margin-top: var(--s-5); display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.form-note { font-size: var(--t-1); color: var(--text-dim); }
.form-status { margin-top: var(--s-4); font-size: var(--t-2); display: none; }
.form-status.ok { display: block; color: var(--kr-green); }
.form-status.fail { display: block; color: var(--text); }
.form-status a { color: var(--purple); text-decoration: underline; }
.btn[disabled] { opacity: .55; cursor: wait; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- FAQ accordion ---- */
.faq-list { margin-top: var(--s-7); max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  text-align: left; padding: var(--s-5) 0;
  font-family: var(--display); font-weight: 700; font-size: var(--t-3);
  letter-spacing: -0.01em;
}
.faq-q .pm {
  font-family: var(--mono); color: var(--purple); font-weight: 400; font-size: var(--t-3);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--text-mute); padding-bottom: var(--s-5); max-width: 62ch; }

/* ---- Price tables ---- */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-7); }
.price-card {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-6);
}
.price-card h3 { font-size: var(--t-3); margin-bottom: var(--s-2); }
.price-card .big {
  font-family: var(--mono); font-size: var(--t-5); font-weight: 700;
  color: var(--purple); margin: var(--s-3) 0;
}
.price-card ul { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.price-card li {
  padding: var(--s-3) 0; border-top: 1px solid var(--line-soft);
  color: var(--text-mute); font-size: var(--t-1);
  display: flex; justify-content: space-between; gap: var(--s-4);
}
.price-card li strong { color: var(--text); font-weight: 600; }
@media (max-width: 720px) { .price-cols { grid-template-columns: 1fr; } }

/* ---- Tier tabs (/plus) ---- */
.tier-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); }
.tier-tab {
  font-family: var(--mono); font-size: var(--t-1);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-mute); padding: var(--s-2) var(--s-5);
  transition: border-color .2s, color .2s, background .2s;
}
.tier-tab:hover { border-color: var(--purple); }
.tier-tab.is-active { border-color: var(--purple); color: var(--paper); background: rgba(168,85,247,.14); }
.tier-panel { display: none; margin-top: var(--s-5); }
.tier-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.perk {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-5);
}
.perk h4 { margin: 0 0 var(--s-1); font-size: var(--t-2); }
.perk p { color: var(--text-mute); font-size: var(--t-1); }
@media (max-width: 640px) { .tier-panel.is-active { grid-template-columns: 1fr; } }

/* ---- Misc ---- */
.notice {
  margin-top: var(--s-6); max-width: 640px;
  border-left: 2px solid var(--purple);
  padding: var(--s-3) var(--s-5);
  color: var(--text-mute); font-size: var(--t-1);
}
.prose { max-width: 68ch; margin-top: var(--s-6); }
.prose h2 { font-size: var(--t-4); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: var(--s-3); color: var(--text-mute); }
.prose strong { color: var(--text); }
.areas { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.area {
  font-family: var(--mono); font-size: var(--t-1);
  border: 1px solid var(--line); border-radius: 999px;
  padding: var(--s-2) var(--s-4); color: var(--text-mute);
}
.center-cta { margin-top: var(--s-7); }

/* ============================================================
   Stage 3 — price checker, driver calc, app page, misc
   ============================================================ */

/* ---- Price checker ---- */
.pk { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: var(--s-8); align-items: start; }
.pk-panel {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-6);
}
.pk-step { margin-bottom: var(--s-6); }
.pk-step:last-child { margin-bottom: 0; }
.pk-step > h3 {
  font-family: var(--body); font-size: var(--t-1); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: var(--s-4);
}
.pk-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pk-chip {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-mute); padding: 10px var(--s-4);
  font-size: var(--t-1); font-weight: 500;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.pk-chip:hover { border-color: var(--purple); color: var(--text); transform: translateY(-1px); }
.pk-chip.is-on { border-color: var(--purple); background: rgba(168,85,247,.16); color: var(--paper); }
.pk-opts { display: grid; gap: var(--s-4); }
.pk-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .pk-row { grid-template-columns: 1fr; } }

/* result card = paper, reuses receipt language */
.pk-result {
  position: sticky; top: 88px;
  background: var(--paper); color: var(--ink-on-paper);
  font-family: var(--mono);
  padding: var(--s-6) var(--s-5) var(--s-7);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 24px 60px rgba(5,5,16,.6);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),97.5% 100%,95% calc(100% - 10px),92.5% 100%,90% calc(100% - 10px),87.5% 100%,85% calc(100% - 10px),82.5% 100%,80% calc(100% - 10px),77.5% 100%,75% calc(100% - 10px),72.5% 100%,70% calc(100% - 10px),67.5% 100%,65% calc(100% - 10px),62.5% 100%,60% calc(100% - 10px),57.5% 100%,55% calc(100% - 10px),52.5% 100%,50% calc(100% - 10px),47.5% 100%,45% calc(100% - 10px),42.5% 100%,40% calc(100% - 10px),37.5% 100%,35% calc(100% - 10px),32.5% 100%,30% calc(100% - 10px),27.5% 100%,25% calc(100% - 10px),22.5% 100%,20% calc(100% - 10px),17.5% 100%,15% calc(100% - 10px),12.5% 100%,10% calc(100% - 10px),7.5% 100%,5% calc(100% - 10px),2.5% 100%,0 calc(100% - 10px));
}
.pk-result .r-head { text-align: center; margin-bottom: var(--s-4); }
.pk-result .r-brand { font-weight: 700; letter-spacing: .14em; }
.pk-result .r-what { color: var(--ink-on-paper-mute); font-size: var(--t-1); margin-top: var(--s-1); min-height: 1.3em; }
.pk-result hr { border: none; border-top: 1.5px dashed rgba(5,5,16,.25); margin: var(--s-3) 0; }
.pk-line {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-1) 0; font-size: var(--t-1); font-variant-numeric: tabular-nums;
  color: var(--ink-on-paper-mute);
}
.pk-line .v { color: var(--ink-on-paper); font-weight: 500; }
.pk-total { padding: var(--s-3) 0 var(--s-2); }
.pk-total .l { display: block; font-size: var(--t-1); color: var(--ink-on-paper-mute); }
.pk-total .v {
  display: block; margin-top: var(--s-1);
  font-weight: 700; font-size: clamp(1.5rem, 4.4vw, 1.85rem);
  font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em;
}
.pk-total .v.flash { animation: pkflash .45s ease; }
@keyframes pkflash { 0% { color: var(--purple); transform: translateY(-3px); } 100% { color: inherit; transform: none; } }
.pk-keep { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--t-1); padding-top: var(--s-2); }
.pk-keep .v { color: #00A87C; font-weight: 700; }
.pk-moms { margin-top: var(--s-3); font-size: 0.8rem; color: var(--ink-on-paper-mute); line-height: 1.5; }
.pk-cta { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.pk-cta .btn { width: 100%; }
.pk-empty { color: var(--ink-on-paper-mute); font-size: var(--t-1); padding: var(--s-4) 0; text-align: center; }
@media (max-width: 900px) {
  .pk { grid-template-columns: 1fr; }
  .pk-result { position: static; }
}
@media (prefers-reduced-motion: reduce) { .pk-total .v.flash { animation: none; } }

/* booking sheet revealed after a price */
.pk-book { display: none; margin-top: var(--s-7); }
.pk-book.is-open { display: block; animation: fadein .35s ease; }

/* ---- Split feature rows (app page) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; margin-top: var(--s-7); }
.split + .split { margin-top: var(--s-8); }
.split.flip > :first-child { order: 2; }
.split h3 { font-size: var(--t-4); margin-bottom: var(--s-3); }
.split p { color: var(--text-mute); }
.split-visual {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-7); display: grid; gap: var(--s-3);
}
.split-visual .kv {
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--mono); font-size: var(--t-1);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--line-soft);
}
.split-visual .kv:last-child { border-bottom: none; }
.split-visual .kv strong { color: var(--kr-green); font-weight: 700; }
@media (max-width: 860px) { .split, .split.flip > :first-child { grid-template-columns: 1fr; order: 0; } }

/* ---- Stat strip built from verifiable terms ---- */
.terms-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.term {
  border-top: 2px solid var(--purple); padding-top: var(--s-4);
}
.term .n { font-family: var(--mono); font-size: var(--t-4); font-weight: 700; }
.term .l { color: var(--text-mute); font-size: var(--t-1); margin-top: var(--s-1); }
@media (max-width: 720px) { .terms-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---- Timeline (press / om) ---- */
.tl { margin-top: var(--s-7); border-left: 1px solid var(--line); padding-left: var(--s-6); }
.tl-item { padding-bottom: var(--s-6); position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: calc(var(--s-6) * -1 - 5px); top: 8px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--purple);
}
.tl-item .when { font-family: var(--mono); font-size: var(--t-1); color: var(--purple); }
.tl-item h3 { font-size: var(--t-3); margin: var(--s-2) 0; }
.tl-item p { color: var(--text-mute); font-size: var(--t-1); max-width: 60ch; }

/* ---- Job list ---- */
.jobs { margin-top: var(--s-7); }
.job {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);
  padding: var(--s-5) 0; border-top: 1px solid var(--line-soft);
  transition: padding-left .25s cubic-bezier(.2,.8,.2,1);
}
.job:hover { padding-left: var(--s-3); }
.job:last-child { border-bottom: 1px solid var(--line-soft); }
.job h3 { font-size: var(--t-3); }
.job .meta { font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim); margin-top: var(--s-1); }
.job .go { font-family: var(--mono); font-size: var(--t-1); color: var(--purple); white-space: nowrap; }

/* ============================================================
   Stage 4 — comparison table, articles, support, cities
   ============================================================ */

/* ---- Comparison table ---- */
.cmp-wrap { margin-top: var(--s-7); overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: var(--s-4) var(--s-4); text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 500;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em;
  border-bottom-color: var(--line);
}
.cmp thead th.us { color: var(--paper); }
.cmp tbody th { font-weight: 500; color: var(--text-mute); font-size: var(--t-1); }
.cmp td { font-family: var(--mono); font-size: var(--t-1); font-variant-numeric: tabular-nums; }
.cmp td.us { color: var(--paper); font-weight: 700; background: rgba(168,85,247,.07); }
.cmp td.us .g { color: var(--kr-green); }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: rgba(250,249,246,.03); }
.cmp tbody tr:hover td.us { background: rgba(168,85,247,.12); }
.cmp-note { margin-top: var(--s-4); font-size: var(--t-1); color: var(--text-dim); max-width: 60ch; }

/* ---- Article ---- */
.article { max-width: 68ch; margin-top: var(--s-6); }
.article p { margin-top: var(--s-4); color: var(--text-mute); font-size: 1.05rem; line-height: 1.75; }
.article h2 { font-size: var(--t-4); margin-top: var(--s-7); }
.article ul { margin: var(--s-4) 0 0; padding-left: var(--s-5); color: var(--text-mute); }
.article li { margin-bottom: var(--s-2); line-height: 1.7; }
.article strong { color: var(--text); }
.article .pull {
  margin: var(--s-6) 0; padding-left: var(--s-5);
  border-left: 2px solid var(--purple);
  font-family: var(--display); font-size: var(--t-3); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text); line-height: 1.35;
}
.byline { font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim); margin-top: var(--s-4); }

/* ---- Article cards ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.post {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .18s, transform .18s;
}
.post:hover { border-color: var(--purple); transform: translateY(-2px); }
.post .when { font-family: var(--mono); font-size: var(--t-1); color: var(--purple); }
.post h3 { font-size: var(--t-3); line-height: 1.2; }
.post p { color: var(--text-mute); font-size: var(--t-1); flex: 1; }
.post .go { font-family: var(--mono); font-size: var(--t-1); color: var(--purple); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---- Support hub ---- */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.hub-card {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-5); transition: border-color .18s;
}
.hub-card:hover { border-color: var(--purple); }
.hub-card h3 { font-size: var(--t-2); margin-bottom: var(--s-2); }
.hub-card p { color: var(--text-mute); font-size: var(--t-1); }
.hub-card .go { display: inline-block; margin-top: var(--s-3); font-family: var(--mono); font-size: var(--t-1); color: var(--purple); }
@media (max-width: 860px) { .hub { grid-template-columns: 1fr; } }

/* ============================================================
   Stage 5 — loyalty tiers (live), rewards, login routing
   ============================================================ */

/* ---- Tier ladder ---- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.rung {
  background: var(--ink-2); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.rung::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--tier, var(--purple));
}
.rung:hover { border-color: var(--line); transform: translateY(-2px); }
.rung .tier-name { font-family: var(--display); font-size: var(--t-3); font-weight: 800; letter-spacing: -0.02em; }
.rung .req { font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim); }
.rung ul { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.rung li {
  font-size: var(--t-1); color: var(--text-mute);
  display: flex; gap: var(--s-2); align-items: baseline; line-height: 1.5;
}
.rung li .tick { color: var(--kr-green); font-family: var(--mono); flex: none; }
.rung li.off { color: var(--text-dim); }
.rung li.off .tick { color: var(--text-dim); }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }

/* ---- Rewards ---- */
.rewards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.reward {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-5); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
}
.reward h4 { font-size: var(--t-2); margin: 0 0 var(--s-1); }
.reward p { color: var(--text-mute); font-size: var(--t-1); }
.reward .cost {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 700; color: var(--purple);
  border: 1px solid var(--line); border-radius: 999px; padding: var(--s-2) var(--s-4);
  white-space: nowrap; flex: none;
}
@media (max-width: 640px) { .rewards { grid-template-columns: 1fr; } }

.live-note { font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim); margin-top: var(--s-4); }
.live-note .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--kr-green); margin-right: var(--s-2);
}
.is-loading { opacity: .45; }

/* ---- Login routing ---- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.door {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .2s, transform .2s;
}
.door:hover { border-color: var(--purple); transform: translateY(-2px); }
.door .who { font-family: var(--mono); font-size: var(--t-1); color: var(--purple); }
.door h3 { font-size: var(--t-3); }
.door p { color: var(--text-mute); font-size: var(--t-1); flex: 1; }
.door .go { font-family: var(--mono); font-size: var(--t-1); color: var(--text); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* ============================================================
   Stage 6 — new footer, scroll reveals, product pages
   ============================================================ */

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  margin-top: var(--s-10);
  border-top: 1px solid var(--line-soft);
  /* same near-black as the rest of the site; the glow only grazes the top */
  background:
    radial-gradient(900px 380px at 72% -8%, rgba(168,85,247,.055), transparent 68%),
    var(--ink);
  color: var(--text-mute); font-size: var(--t-1);
  overflow: hidden;
}
/* hairline that catches the light along the top edge */
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,.38) 32%, rgba(59,130,246,.20) 64%, transparent);
}

/* ---- opening band: statement + the 3D receipt ---- */
.f-top { position: relative; padding: var(--s-10) 0 var(--s-9); }
.f-top-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--s-8); align-items: center;
}
.f-eyebrow {
  font-family: var(--mono); font-size: var(--t-1);
  color: var(--purple); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.f-top h2 {
  font-size: clamp(var(--t-4), 5.2vw, var(--t-6));
  font-weight: 800; letter-spacing: -0.035em; color: var(--paper);
  max-width: 14ch; line-height: 1.02;
}
.f-top h2 .zero { color: var(--purple); }
.f-top p { margin-top: var(--s-5); max-width: 42ch; font-size: var(--t-2); line-height: 1.6; }
.f-top-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* the canvas stage */
.f-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 470px;
  display: flex; align-items: center; justify-content: center;
}
.f-stage canvas {
  display: block; width: 100%; height: 100%;
  opacity: 0; transition: opacity .9s ease;
}
.f-stage.is-ready canvas { opacity: 1; }
/* flat fallback: the same receipt in CSS, shown until (or instead of) WebGL */
.f-flat {
  position: absolute; inset: 0; margin: auto;
  width: min(320px, 88%); height: fit-content;
  background: var(--paper); color: var(--ink-on-paper);
  font-family: var(--mono); font-size: var(--t-1);
  padding: var(--s-5) var(--s-4) var(--s-6);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 26px 60px rgba(5,5,16,.6);
  transform: rotate(-2deg);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 8px),96% 100%,92% calc(100% - 8px),88% 100%,84% calc(100% - 8px),80% 100%,76% calc(100% - 8px),72% 100%,68% calc(100% - 8px),64% 100%,60% calc(100% - 8px),56% 100%,52% calc(100% - 8px),48% 100%,44% calc(100% - 8px),40% 100%,36% calc(100% - 8px),32% 100%,28% calc(100% - 8px),24% 100%,20% calc(100% - 8px),16% 100%,12% calc(100% - 8px),8% 100%,4% calc(100% - 8px),0 100%);
  transition: opacity .5s ease;
}
.f-stage.is-ready .f-flat { opacity: 0; pointer-events: none; }
.f-flat .t { text-align: center; font-weight: 700; letter-spacing: .12em; margin-bottom: var(--s-3); }
.f-flat .r {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-4); padding: 4px 0; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.f-flat .r b { font-weight: 700; }
.f-flat .r.g b { color: #00A87C; }
.f-flat hr { border: none; border-top: 1.5px dashed rgba(5,5,16,.22); margin: var(--s-2) 0; }


/* caption + a matching glow for the non-WebGL fallback */
.f-stage-wrap { display: grid; gap: var(--s-4); }
.f-stage-cap {
  text-align: center; max-width: 34ch; margin: 0 auto;
  font-family: var(--mono); font-size: var(--t-1); line-height: 1.6;
  color: var(--text-dim);
}
.f-stage-cap a { color: var(--purple); }
.f-stage-cap a:hover { text-decoration: underline; }
/* the flat receipt is clipped by clip-path, so the glow lives on the stage */
.f-stage::after {
  content: ""; position: absolute; left: 50%; top: 62%;
  width: min(340px, 92%); height: 150px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(168,85,247,.34), transparent 74%),
    radial-gradient(closest-side at 32% 58%, rgba(59,130,246,.22), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  transition: opacity .5s ease;
}
.f-stage.is-ready::after { opacity: 0; }

/* ---- link columns ---- */
.f-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-7) var(--s-5);
  padding: var(--s-8) 0;
}
.f-mid { position: relative; background: rgba(250,249,246,.014); }
.f-mid::before, .f-mid::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--line-soft);
}
.f-mid::before { top: 0; }
.f-mid::after { bottom: 0; }
.f-brand .brand { font-size: var(--t-4); }
.f-tag { margin-top: var(--s-4); max-width: 30ch; line-height: 1.6; }
.f-badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-5);
  font-family: var(--mono); font-size: var(--t-1); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: var(--s-2) var(--s-4);
}
.f-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--kr-green);
  animation: fpulse 2.6s ease-out infinite;
}
@keyframes fpulse {
  0% { box-shadow: 0 0 0 0 rgba(0,200,150,.5); }
  70% { box-shadow: 0 0 0 9px rgba(0,200,150,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,150,0); }
}

.f-col h3 {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 500;
  color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: var(--s-3); margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-soft);
}
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.f-col a {
  color: var(--text-mute); position: relative; display: inline-block;
  transition: color .25s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1);
}
.f-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--purple); transform: scaleX(0); transform-origin: right;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.f-col a:hover { color: var(--paper); transform: translateX(5px); }
.f-col a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- bottom bar ---- */
.f-bottom {
  border-top: 1px solid var(--line-soft);
  padding: var(--s-5) 0 var(--s-6);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: var(--s-4) var(--s-5); align-items: center;
}
.f-legal { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); }
.f-legal a { color: var(--text-dim); transition: color .2s; }
.f-legal a:hover { color: var(--text); }
.f-meta { font-family: var(--mono); color: var(--text-dim); }

/* ---- wordmark, bleeding off the base ---- */
.f-word {
  position: relative;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4.5rem, 25.5vw, 20rem);
  line-height: .74; letter-spacing: -0.055em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250,249,246,.09);
  user-select: none; pointer-events: none;
  margin: var(--s-6) 0 -0.2em;
  transition: -webkit-text-stroke-color .6s ease;
}
.site-footer:hover .f-word { -webkit-text-stroke-color: rgba(168,85,247,.26); }

@media (max-width: 980px) {
  .f-top-inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .f-stage { min-height: 300px; max-width: 380px; margin: 0 auto; }
  .f-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .f-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-4); }
  .f-top { padding: var(--s-8) 0 var(--s-7); }
}
@media (prefers-reduced-motion: reduce) {
  .f-badge .dot { animation: none; }
  .f-stage canvas { display: none; }
  .f-stage.is-ready .f-flat { opacity: 1; }
}

/* ---- Product pages (POS / Proxi) ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.feat {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: var(--s-5); transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: var(--purple); transform: translateY(-2px); }
.feat h3 { font-size: var(--t-2); margin-bottom: var(--s-2); }
.feat h3::before {
  content: ""; display: block; width: 18px; height: 2px;
  background: var(--purple); margin-bottom: var(--s-4);
}
.feat p { color: var(--text-mute); font-size: var(--t-1); line-height: 1.6; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* fake terminal / device panel */
.device {
  background: var(--paper); color: var(--ink-on-paper);
  border-radius: var(--r); padding: var(--s-5);
  font-family: var(--mono); font-size: var(--t-1);
  box-shadow: 0 24px 60px rgba(5,5,16,.55);
}
.device .d-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1.5px dashed rgba(5,5,16,.22);
  font-weight: 700; letter-spacing: .1em;
}
.device .d-row {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-2) 0; font-variant-numeric: tabular-nums;
}
.device .d-row span:last-child { font-weight: 500; }
.device .d-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1.5px dashed rgba(5,5,16,.22); margin-top: var(--s-3); padding-top: var(--s-3);
  font-weight: 700;
}
.device .d-total .amt { font-size: var(--t-3); }
.device .d-stamp {
  margin-top: var(--s-4); font-size: 0.78rem; color: var(--ink-on-paper-mute); line-height: 1.5;
}

/* ============================================================
   Stage 7 — interactive service showcases
   ============================================================ */

.showcase {
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: var(--s-6);
  margin-top: var(--s-7);
}
.sc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,360px); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.sc-label {
  font-family: var(--mono); font-size: var(--t-1); font-weight: 500;
  color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.sc-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sc-chip {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-mute); padding: 9px var(--s-4);
  font-size: var(--t-1); font-weight: 500;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.sc-chip:hover { border-color: var(--purple); color: var(--text); transform: translateY(-1px); }
.sc-chip.is-on { border-color: var(--purple); background: rgba(168,85,247,.16); color: var(--paper); }
.sc-block + .sc-block { margin-top: var(--s-5); }

/* readout panel shared by every showcase */
.sc-out {
  background: var(--ink); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: var(--s-5);
  display: grid; gap: var(--s-3);
}
.sc-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  font-family: var(--mono); font-size: var(--t-1);
  color: var(--text-mute); font-variant-numeric: tabular-nums;
}
.sc-row b { color: var(--text); font-weight: 700; }
.sc-total {
  border-top: 1px dashed var(--line); padding-top: var(--s-3);
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
}
.sc-total .l { font-size: var(--t-1); color: var(--text-dim); font-family: var(--mono); }
.sc-total .v {
  font-family: var(--mono); font-weight: 700; font-size: var(--t-4);
  color: var(--paper); font-variant-numeric: tabular-nums;
}
.sc-total .v.flash { animation: scflash .45s ease; }
@keyframes scflash { 0% { color: var(--purple); transform: translateY(-3px); } 100% { color: var(--paper); transform: none; } }
.sc-keep { font-family: var(--mono); font-size: var(--t-1); color: var(--kr-green); }
.sc-note { font-size: .78rem; color: var(--text-dim); line-height: 1.5; font-family: var(--mono); }

/* ---------- shared SVG stage ---------- */
.sc-stage {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.sc-stage svg { display: block; width: 100%; height: auto; }

/* ---------- TAXI: route + meter ---------- */
.taxi-road { stroke: rgba(250,249,246,.12); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.taxi-trace {
  stroke: var(--purple); stroke-width: 3; fill: none; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(168,85,247,.55));
}
.taxi-pin { fill: var(--paper); }
.taxi-pin-ring { fill: none; stroke: rgba(250,249,246,.35); stroke-width: 1.5; }
.taxi-car { transition: none; }
.taxi-label { font-family: var(--mono); font-size: 11px; fill: rgba(250,249,246,.55); }
.meter-digits {
  font-family: var(--mono); font-weight: 700;
  font-size: 2.4rem; color: var(--kr-green);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}

/* ---------- RESOR: flight arc ---------- */
.fly-arc { stroke: rgba(250,249,246,.14); stroke-width: 2; fill: none; stroke-dasharray: 5 7; }
.fly-arc-live {
  stroke: var(--blue); stroke-width: 2.5; fill: none; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(59,130,246,.5));
}
.fly-city { fill: var(--paper); }
.fly-city-ring { fill: none; stroke: rgba(250,249,246,.3); stroke-width: 1.5; }
.fly-name { font-family: var(--mono); font-size: 11px; fill: rgba(250,249,246,.6); }
.fly-plane { fill: var(--paper); filter: drop-shadow(0 0 8px rgba(168,85,247,.6)); }
.fly-cloud { fill: rgba(250,249,246,.05); }

/* ---------- MAT: kitchen ticket ---------- */
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 560px) { .menu-items { grid-template-columns: 1fr; } }
.dish {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text-mute); padding: var(--s-3) var(--s-4);
  font-size: var(--t-1); text-align: left; width: 100%;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.dish:hover { border-color: var(--purple); color: var(--text); transform: translateY(-1px); }
.dish.is-on { border-color: var(--purple); background: rgba(168,85,247,.13); color: var(--paper); }
.dish .p { font-family: var(--mono); color: var(--text-dim); white-space: nowrap; }
.dish.is-on .p { color: var(--purple); }
.dish .q {
  font-family: var(--mono); font-size: .72rem; color: var(--paper);
  background: var(--purple); border-radius: 999px; padding: 1px 7px; margin-left: var(--s-2);
}

/* the ticket printer */
.ticket {
  background: var(--paper); color: var(--ink-on-paper);
  font-family: var(--mono); font-size: var(--t-1);
  padding: var(--s-5) var(--s-4) var(--s-6);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 18px 44px rgba(5,5,16,.5);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 8px),96% 100%,92% calc(100% - 8px),88% 100%,84% calc(100% - 8px),80% 100%,76% calc(100% - 8px),72% 100%,68% calc(100% - 8px),64% 100%,60% calc(100% - 8px),56% 100%,52% calc(100% - 8px),48% 100%,44% calc(100% - 8px),40% 100%,36% calc(100% - 8px),32% 100%,28% calc(100% - 8px),24% 100%,20% calc(100% - 8px),16% 100%,12% calc(100% - 8px),8% 100%,4% calc(100% - 8px),0 100%);
}
.ticket .tk-head { text-align: center; font-weight: 700; letter-spacing: .12em; margin-bottom: var(--s-2); }
.ticket .tk-sub { text-align: center; font-size: .78rem; color: var(--ink-on-paper-mute); margin-bottom: var(--s-3); }
.ticket hr { border: none; border-top: 1.5px dashed rgba(5,5,16,.22); margin: var(--s-3) 0; }
.ticket .tk-line {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: 2px 0; font-variant-numeric: tabular-nums;
  animation: tkin .28s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes tkin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ticket .tk-empty { text-align: center; color: var(--ink-on-paper-mute); padding: var(--s-4) 0; }
.ticket .tk-tot { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--t-3); }
.ticket .tk-prov { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-on-paper-mute); }
.ticket .tk-prov b { color: #00A87C; }

/* ---------- SKÖNHET: day timeline ---------- */
.tl-day { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.tl-slot {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: var(--s-3);
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text-mute); padding: var(--s-3) var(--s-4);
  font-size: var(--t-1); text-align: left; width: 100%;
  transition: border-color .18s, background .18s, transform .18s, color .18s;
}
.tl-slot:hover:not(:disabled) { border-color: var(--purple); color: var(--text); transform: translateX(3px); }
.tl-slot.is-on { border-color: var(--purple); background: rgba(168,85,247,.14); color: var(--paper); }
.tl-slot:disabled { opacity: .34; cursor: not-allowed; }
.tl-slot .h { font-family: var(--mono); color: var(--text); }
.tl-slot.is-on .h { color: var(--purple); }
.tl-bar { height: 6px; border-radius: 3px; background: rgba(250,249,246,.1); position: relative; overflow: hidden; }
.tl-bar i {
  position: absolute; inset: 0 auto 0 0; display: block;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  width: var(--w, 0%); transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.tl-slot .st { font-family: var(--mono); font-size: .72rem; color: var(--text-dim); }

/* scissor snip animation on the salon stage */
@keyframes snip { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-16deg); } }
.snip-a { transform-origin: 26px 30px; animation: snip 2.4s ease-in-out infinite; }
.snip-b { transform-origin: 26px 30px; animation: snip 2.4s ease-in-out infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .snip-a, .snip-b { animation: none; }
  .ticket .tk-line { animation: none; }
  .sc-total .v.flash { animation: none; }
}

/* scissors sit at their intrinsic size, not the stage's full width */
.sc-snip { display: flex; justify-content: center; padding: var(--s-4) 0 var(--s-2); }
.sc-snip svg { width: 66px; height: 78px; flex: none; }

/* ---------- generic calculator visuals ---------- */
.plan { display: grid; gap: var(--s-2); }
.plan-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.room {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  color: var(--text-dim); padding: var(--s-4) var(--s-2);
  font-family: var(--mono); font-size: .72rem; line-height: 1.35;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.room:hover { border-color: var(--purple); color: var(--text); }
.room.is-on { border-color: var(--purple); background: rgba(168,85,247,.15); color: var(--paper); }
.room .m2 { color: var(--text-dim); }
.room.is-on .m2 { color: var(--purple); }
.room.wide { grid-column: span 2; }
.room.tall { grid-row: span 2; }
.plan-cap { font-family: var(--mono); font-size: var(--t-1); color: var(--text-dim); text-align: right; }
@media (max-width: 560px) { .plan-grid { grid-template-columns: repeat(4, 1fr); } }

/* car wash stage */
.wash-svg { width: 100%; height: auto; display: block; }
.wash-svg [data-foam], .wash-svg [data-shine], .wash-svg [data-grime] { transition: opacity .5s ease; }

/* truck boxes */
.truck-svg [data-box] { transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }

/* toggle chip (RUT) */
.sc-chip[data-rut].is-on { border-color: var(--kr-green); background: rgba(0,200,150,.14); color: var(--paper); }

/* two-column note row */
.sc-row.dim b { color: var(--text-mute); font-weight: 500; }

/* ---------- price factors ---------- */
.factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.factor {
  border-left: 2px solid var(--purple);
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
}
.factor h3 { font-size: var(--t-2); margin-bottom: var(--s-2); }
.factor p { color: var(--text-mute); font-size: var(--t-1); line-height: 1.65; }
@media (max-width: 760px) { .factors { grid-template-columns: 1fr; } }

/* ---------- homepage: audience tabs ---------- */
.aud-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.aud-tab {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-mute); padding: 10px var(--s-5);
  font-size: var(--t-2); font-weight: 600;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.aud-tab:hover { border-color: var(--purple); color: var(--text); transform: translateY(-1px); }
.aud-tab.is-on { border-color: var(--purple); background: rgba(168,85,247,.16); color: var(--paper); }
.aud-panel { display: none; margin-top: var(--s-6); }
.aud-panel.is-on { display: block; animation: fadein .35s ease; }
.aud-panel .steps { margin-top: 0; }
.aud-lead { color: var(--text-mute); font-size: var(--t-3); max-width: 54ch; margin-bottom: var(--s-6); }

/* ---------- homepage: needs finder ---------- */
.finder { margin-top: var(--s-7); }
.finder-q { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.finder-out {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  min-height: 10px;
}
@media (max-width: 900px) { .finder-out { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .finder-out { grid-template-columns: 1fr; } }
.finder-out .service { animation: fadein .35s ease both; }
.finder-empty { color: var(--text-dim); font-family: var(--mono); font-size: var(--t-1); margin-top: var(--s-5); }
