/* =========================================================
   Check Spindle — design system
   Palette sampled from assets/logo-symbol.svg gradients:
   #5dd49d (spindle green) · #9df5cc (mint) · #8fd2ed (sky)
   #81c6e2 (blue) · #e8f8ff (ice) · wordmark ink #212529
   Spacing: 8px scale. Type: Manrope (display, 600-800) + Inter (text).
   ========================================================= */
:root {
  /* Brand (from logo) */
  --green: #5dd49d;
  --mint: #9df5cc;
  --sky: #8fd2ed;
  --blue: #81c6e2;
  --ice: #e8f8ff;
  --logo-ink: #212529;

  /* Derived, AA-checked */
  --green-700: #0e7a4e;   /* 5.4:1 on white — green used as text */
  --green-900: #0a4a31;
  --night: #0b1d18;       /* dark sections */
  --night-2: #102a22;
  --ink: #0f1c18;         /* headings */
  --text: #34443e;        /* body copy, 9.9:1 on white */
  --muted: #5b6b64;       /* secondary, 5.6:1 on white */
  --line: #dbe7e1;
  --paper: #f5faf7;
  --mint-50: #ecfbf4;
  --ice-50: #f3fbff;
  --white: #ffffff;
  --on-dark: #e8f8ff;
  --on-dark-muted: #a9c1b8;  /* 8.9:1 on --night */
  --warn: #f2b84b;

  /* Type */
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Spacing (8px scale) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;

  --radius-sm: 8px; --radius: 16px; --radius-lg: 24px; --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 24, .06), 0 2px 8px rgba(11, 29, 24, .05);
  --shadow: 0 2px 4px rgba(11, 29, 24, .04), 0 16px 40px -8px rgba(11, 29, 24, .14);
  --shadow-lg: 0 4px 8px rgba(11, 29, 24, .05), 0 40px 80px -24px rgba(11, 29, 24, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s2)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: var(--s1) var(--s2); border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: var(--s2); }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Logo (kept exactly as the live site) ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.wordmark { font-family: 'Outfit', sans-serif; font-size: 28px; line-height: 1; font-weight: 400; color: var(--logo-ink); letter-spacing: normal; }
.wordmark > span { color: #5dd49d; font-weight: 700; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s1); font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: var(--s3); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--green); }
.display-xl { font-size: clamp(42px, 6vw, 84px); line-height: 1.02; letter-spacing: -.03em; }
.display-l { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.025em; }
.display-m { font-size: clamp(28px, 3vw, 40px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); max-width: 60ch; }
.on-dark { color: var(--on-dark-muted); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede { color: var(--on-dark-muted); }
.hl { color: var(--green-700); }
.on-dark .hl { color: var(--green); }
.underline-mark { background: linear-gradient(transparent 68%, rgba(157, 245, 204, .85) 68%, rgba(157, 245, 204, .85) 92%, transparent 92%); padding-inline: .04em; }

/* POS asterisk */
.fn-ref { text-decoration: none; color: var(--green-700); font-weight: 700; font-size: .62em; vertical-align: super; line-height: 0; margin-left: 1px; padding: 0 2px; }
.fn-ref:hover { text-decoration: underline; }
.on-dark .fn-ref { color: var(--green); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 var(--s3); border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(11, 29, 24, .45); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--green); --fg: var(--night); }
.btn-primary:hover { --bg: #74ddad; }
.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.on-dark .btn-ghost { --fg: var(--white); border-color: rgba(232, 248, 255, .25); }
.on-dark .btn-ghost:hover { border-color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--green); padding-bottom: 2px; }
.link-arrow:hover { color: var(--green-700); }
.on-dark .link-arrow { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(11, 29, 24, .25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav-links { display: flex; gap: var(--s4); list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); position: relative; padding: var(--s1) 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: var(--s2); }
.nav-phone { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .nav-phone { display: none; } .nav-links { gap: var(--s3); } }
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 0; padding: var(--s3) 24px var(--s5); background: var(--white); border-top: 1px solid var(--line); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: var(--s2) 0; font: 600 26px/1.2 var(--display); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: var(--s4); }
  .nav-cta .btn { width: 100%; }
  .nav-phone { display: block; text-align: center; padding: var(--s2) 0; font-size: 17px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s16) 0; position: relative; }
.section-tight { padding: var(--s12) 0; }
.bg-paper { background: var(--paper); }
.bg-night { background: var(--night); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s6); align-items: end; margin-bottom: var(--s10); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p.lede { justify-self: end; }
.section-head.center p.lede { justify-self: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s12) 0 var(--s12); overflow: hidden; background:
  radial-gradient(60% 60% at 85% 20%, rgba(143, 210, 237, .28), transparent 70%),
  radial-gradient(50% 55% at 70% 85%, rgba(157, 245, 204, .35), transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 28, 24, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 28, 24, .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: var(--s8); align-items: center; }
.hero h1 { margin-bottom: var(--s3); }
.hero .lede { margin-bottom: var(--s5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.hero-proof li { display: inline-flex; align-items: center; gap: var(--s1); }
.check { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--mint); display: inline-grid; place-items: center; }
.check svg { width: 12px; height: 12px; }
.on-dark .check { background: rgba(93, 212, 157, .2); }
.on-dark .check svg path { stroke: var(--green); }

/* ---------- KDS mockup (HTML/CSS illustration) ---------- */
.kds { position: relative; border-radius: var(--radius-lg); background: #0d1714; padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.kds-screen { border-radius: 14px; overflow: hidden; background: #16221e; font-family: var(--body); color: #dce8e3; }
.kds-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); padding: 10px 14px; background: #0f1a17; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.kds-bar .kds-title { display: flex; align-items: center; gap: 8px; color: #fff; }
.kds-bar .kds-title img { width: 18px; height: 18px; }
.kds-counts { display: flex; gap: 12px; color: #9fb3ab; }
.kds-counts b { color: #fff; font-weight: 700; }
.kds-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 0; }
.kds-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; min-height: 300px; align-items: start; }
.ticket { border-radius: 10px; background: #fff; color: #1a2420; font-size: 12px; line-height: 1.35; overflow: hidden; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); transition: background-color .5s var(--ease), transform .5s var(--ease); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px 6px; border-bottom: 1px dashed rgba(0, 0, 0, .18); font-weight: 700; }
.ticket-head small { font-weight: 600; font-variant-numeric: tabular-nums; opacity: .75; font-size: 11px; }
.ticket ul { list-style: none; padding: 6px 10px 10px; }
.ticket li { padding: 2px 0; }
.ticket li b { font-variant-numeric: tabular-nums; margin-right: 4px; }
.ticket li i { display: block; font-style: normal; padding-left: 16px; font-size: 11px; opacity: .7; }
.ticket-meta { padding: 0 10px 8px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.t-new { background: #ffffff; }
.t-progress { background: var(--sky); }
.t-done { background: var(--green); }
.kds-legend { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s3); font-size: 14px; font-weight: 500; color: var(--text); }
.kds-legend span { display: inline-flex; align-items: center; gap: var(--s1); }
.kds-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(15, 28, 24, .2); }
.kds-legend .l-new { background: #fff; }
.kds-legend .l-progress { background: var(--sky); }
.kds-legend .l-done { background: var(--green); }
.kds-note { font-size: 13px; color: var(--muted); margin-top: var(--s1); }
.kds-float { position: absolute; z-index: 2; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.kds-float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.kds-float .icon-badge { width: 36px; height: 36px; }
.kds-float.f1 { left: -32px; bottom: -28px; }
.kds-float.f2 { right: -20px; top: -40px; }
.kds .swipe-hint { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; pointer-events: none; opacity: 0; }

@keyframes ticketCycle {
  0%, 30% { background: #fff; }
  36%, 66% { background: var(--sky); }
  72%, 100% { background: var(--green); }
}
@keyframes swipeDown { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: 1; } 40% { opacity: 1; transform: translateY(40px); } 50%, 100% { opacity: 0; transform: translateY(40px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(93, 212, 157, .6); } 50% { box-shadow: 0 0 0 6px rgba(93, 212, 157, 0); } }
.motion .ticket.cycle { animation: ticketCycle 9s var(--ease) infinite; }
.motion .kds .swipe-hint { animation: swipeDown 3s var(--ease) infinite; animation-delay: 2.4s; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.motion .live-dot { animation: pulse 2s infinite; }

/* ---------- Icon badge ---------- */
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-50); color: var(--green-700); flex: none; }
.icon-badge svg { width: 24px; height: 24px; }
.on-dark .icon-badge { background: rgba(93, 212, 157, .12); color: var(--green); }

/* ---------- Logo strip / proof placeholder ---------- */
.proof-strip { border-block: 1px solid var(--line); background: var(--white); }
.proof-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: var(--s4) var(--s3); display: flex; gap: var(--s2); align-items: flex-start; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; margin-bottom: 2px; }
.proof-item span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Cost of paper ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.cost-card { position: relative; padding: var(--s4); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; display: flex; flex-direction: column; }
.cost-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cost-card .icon-badge { margin-bottom: var(--s4); background: #fff4e0; color: #8a5a00; }
.cost-card h3 { font-size: 22px; line-height: 1.2; margin-bottom: var(--s2); }
.cost-card p { font-size: 16px; }
.cost-card .fix { margin-top: auto; padding-top: var(--s3); font-size: 15px; font-weight: 600; color: var(--green-700); display: flex; gap: var(--s1); }
.cost-card .fix::before { content: "→"; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); counter-reset: step; position: relative; }
.step { padding: var(--s5) var(--s4) var(--s4); border-radius: var(--radius-lg); background: var(--night-2); border: 1px solid rgba(232, 248, 255, .08); position: relative; overflow: hidden; }
.step-num { font: 700 14px/1 var(--mono); color: var(--green); letter-spacing: .1em; margin-bottom: var(--s5); display: flex; align-items: center; gap: var(--s2); }
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(93, 212, 157, .5), transparent); }
.step h3 { font-size: 26px; margin-bottom: var(--s2); }
.step p { color: var(--on-dark-muted); font-size: 16px; }
.step-visual { height: 120px; margin: 0 0 var(--s4); border-radius: var(--radius); background: rgba(232, 248, 255, .04); border: 1px solid rgba(232, 248, 255, .06); display: grid; place-items: center; }
.step-visual svg { width: 100%; height: 100%; }
.callout { margin-top: var(--s6); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding: var(--s3) var(--s4); border-radius: var(--radius-lg); background: rgba(93, 212, 157, .1); border: 1px solid rgba(93, 212, 157, .25); color: var(--on-dark); }
.callout p { font-size: 18px; font-weight: 500; color: var(--white); }

/* ---------- Savings ---------- */
.savings-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--s8); align-items: start; }
.levers { list-style: none; display: grid; gap: var(--s1); }
.lever { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.lever:last-child { border-bottom: 1px solid var(--line); }
.lever h3 { font-size: 21px; margin-bottom: var(--s1); line-height: 1.2; }
.lever p { font-size: 16px; }
.estimator { position: sticky; top: calc(var(--header-h) + var(--s3)); border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.est-head { padding: var(--s4) var(--s4) var(--s3); }
.est-head h3 { font-size: 26px; margin-bottom: var(--s1); }
.est-head p { font-size: 15px; color: var(--muted); }
.est-form { padding: 0 var(--s4) var(--s3); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.est-form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: var(--s1) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.est-form legend { grid-column: 1 / -1; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: var(--s2); }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.input-wrap { position: relative; }
.input-wrap .affix { position: absolute; top: 50%; transform: translateY(-50%); left: 14px; color: var(--muted); font-weight: 500; pointer-events: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--paper); font-size: 16px; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.input-wrap.has-affix input { padding-left: 30px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #b9cbc3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-700); background: var(--white); box-shadow: 0 0 0 4px rgba(93, 212, 157, .25); }
.est-out { background: var(--night); color: var(--on-dark-muted); padding: var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.est-out .out-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s1); }
.est-out .out-value { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--display); color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.est-out .out-value.green { color: var(--green); }
.est-out .out-sub { font-size: 13px; margin-top: var(--s1); }
.est-disclaimer { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.5; border-top: 1px solid rgba(232, 248, 255, .12); padding-top: var(--s2); }

/* ---------- Product (dark) ---------- */
.explorer { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s6); align-items: center; }
.tabs { display: grid; gap: var(--s1); margin-bottom: var(--s4); }
.tab { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); text-align: left; padding: var(--s3); border-radius: var(--radius); border: 1px solid rgba(232, 248, 255, .1); background: transparent; color: var(--on-dark-muted); cursor: pointer; transition: background .25s, border-color .25s; }
.tab:hover { background: rgba(232, 248, 255, .04); }
.tab[aria-selected="true"] { background: rgba(93, 212, 157, .1); border-color: rgba(93, 212, 157, .4); }
.tab .tab-num { font: 700 13px/1.6 var(--mono); color: var(--green); }
.tab strong { display: block; color: var(--white); font: 600 20px/1.3 var(--display); margin-bottom: 4px; }
.tab small { font-size: 15px; line-height: 1.5; display: block; }
.screen-frame { border-radius: var(--radius-lg); padding: 10px; background: linear-gradient(160deg, rgba(232, 248, 255, .14), rgba(232, 248, 255, .03)); border: 1px solid rgba(232, 248, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.screen-btn { display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 16px; overflow: hidden; cursor: zoom-in; position: relative; }
.screen-btn img { width: 100%; aspect-ratio: 1728 / 896; object-fit: cover; object-position: top left; transition: transform .6s var(--ease), opacity .3s; }
.screen-btn:hover img { transform: scale(1.015); }
.screen-btn .zoom-chip { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 29, 24, .8); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.screen-caption { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(232, 248, 255, .08); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--s12); border: 1px solid rgba(232, 248, 255, .08); }
.feature { background: var(--night); padding: var(--s5) var(--s4); transition: background .3s; }
.feature:hover { background: var(--night-2); }
.feature .icon-badge { margin-bottom: var(--s3); }
.feature h3 { font-size: 21px; line-height: 1.25; margin-bottom: var(--s1); }
.feature p { font-size: 16px; }
.light .feature-grid { background: var(--line); border-color: var(--line); }
.light .feature { background: var(--white); }
.light .feature:hover { background: var(--paper); }

/* ---------- Demos ---------- */
.demo-layout { display: grid; grid-template-columns: 1.45fr .55fr; gap: var(--s4); align-items: start; }
#promo { scroll-margin-top: 6rem; padding-bottom: var(--s8); }
.promo-layout { grid-template-columns: .7fr 1.3fr; align-items: center; gap: var(--s8); }
.promo-layout .lede { margin-top: var(--s4); }
.promo-layout video { display: block; height: auto; }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.demo-list { display: grid; gap: var(--s1); }
.demo-choice { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: center; text-align: left; padding: var(--s2) var(--s3); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.demo-choice:hover { transform: translateX(4px); border-color: #b9cbc3; }
.demo-choice[aria-pressed="true"] { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(93, 212, 157, .25); }
.demo-choice .play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-50); color: var(--green-700); }
.demo-choice[aria-pressed="true"] .play { background: var(--green); color: var(--night); }
.demo-choice .play svg { width: 14px; height: 14px; }
.demo-choice strong { display: block; font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.3; }
.demo-choice small { color: var(--muted); font-size: 14px; }
.demo-summary { font-size: 15px; color: var(--muted); margin-top: var(--s2); }

/* ---------- POS ---------- */
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.pos-diagram { border-radius: var(--radius-xl); background: var(--ice-50); border: 1px solid #d5ecf6; padding: var(--s5); }
.pos-diagram svg { width: 100%; height: auto; }
.checklist { list-style: none; display: grid; gap: var(--s2); margin: var(--s4) 0 var(--s5); }
.checklist li { display: flex; gap: var(--s2); align-items: flex-start; font-size: 17px; color: var(--text); }
.checklist li .check { margin-top: 3px; }
.checklist strong { color: var(--ink); }

/* ---------- Testimonial placeholder space ---------- */

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s8); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.faq-aside .lede { margin: var(--s3) 0 var(--s4); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; font: 600 20px/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-list summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary .plus { background: var(--green); border-color: var(--green); }
.faq-list details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list summary:hover .plus { border-color: var(--ink); }
.faq-answer { padding: 0 var(--s6) var(--s3) 0; font-size: 17px; }
.faq-answer p + p { margin-top: var(--s2); }
.faq-answer a { color: var(--green-700); font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--night); padding: var(--s16) 0; }
.cta::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(closest-side, rgba(93, 212, 157, .22), transparent); pointer-events: none; }
.cta::after { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; background: radial-gradient(closest-side, rgba(143, 210, 237, .16), transparent); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.cta h2 { margin-bottom: var(--s3); }
.cta .lede { margin-bottom: var(--s5); }
.contact-lines { display: grid; gap: var(--s2); margin-top: var(--s5); }
.contact-lines a { display: inline-flex; align-items: center; gap: var(--s2); color: var(--white); text-decoration: none; font-size: 18px; font-weight: 600; }
.contact-lines a:hover { color: var(--green); }
.contact-lines .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.contact-lines .icon-badge svg { width: 20px; height: 20px; }
.form-card { background: var(--white); border-radius: var(--radius-xl); padding: var(--s5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: var(--text); }
.form-card h3 { font-size: 26px; margin-bottom: var(--s1); }
.form-card > p { font-size: 15px; color: var(--muted); margin-bottom: var(--s4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form-grid .full { grid-column: 1 / -1; }
.field textarea { min-height: 104px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: var(--s3); }
.form-note { font-size: 13px; color: var(--muted); margin-top: var(--s2); text-align: center; }
.form-status { margin-top: var(--s2); font-size: 14px; font-weight: 600; color: var(--green-700); min-height: 1em; }
.req { color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: var(--s10) 0 var(--s4); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s5); padding-bottom: var(--s6); }
.footer-grid .tagline { margin-top: var(--s2); color: var(--muted); max-width: 30ch; }
.footer-grid h4 { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { color: var(--green-700); text-decoration: underline; }
.footnotes { border-top: 1px solid var(--line); padding-top: var(--s3); font-size: 13px; line-height: 1.6; color: var(--muted); }
.footnotes p { max-width: 90ch; }
.footnotes p:target { background: #fff6d9; outline: 2px solid var(--warn); outline-offset: 4px; border-radius: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ---------- Product page ---------- */
.page-hero { padding: var(--s12) 0 var(--s10); background: linear-gradient(180deg, #fff, var(--paper)); position: relative; overflow: hidden; }
.breadcrumb { display: flex; gap: var(--s1); list-style: none; font-size: 14px; color: var(--muted); margin-bottom: var(--s4); }
.breadcrumb a { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s1); color: #a3b2ab; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: end; }
.page-hero .screen-frame { background: linear-gradient(160deg, #e1eee8, #f5faf7); border-color: var(--line); box-shadow: var(--shadow-lg); margin-top: var(--s10); }
.page-hero .screen-caption { color: var(--muted); }
.spec-rows { display: grid; gap: var(--s12); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.spec-row.flip > :first-child { order: 2; }
.spec-row h2 { margin-bottom: var(--s3); }
.spec-row .lede { margin-bottom: var(--s3); }
.spec-visual { border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); padding: var(--s5); min-height: 340px; display: grid; place-items: center; overflow: hidden; position: relative; }
.spec-visual.dark { background: var(--night); border-color: var(--night); }
.mini-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 460px; }
.mini-rail .ticket { font-size: 12px; }
.station-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); width: 100%; max-width: 480px; }
.station { border-radius: var(--radius); background: #16221e; padding: 10px; }
.station-label { font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #9fb3ab; padding: 4px 4px 10px; display: flex; justify-content: space-between; }
.station .ticket + .ticket { margin-top: 8px; }
.report-card { width: 100%; max-width: 460px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); }
.report-card h4 { font: 700 16px/1.2 var(--display); color: var(--ink); margin-bottom: var(--s2); display: flex; justify-content: space-between; }
.report-card h4 span { font: 500 12px/1.2 var(--body); color: var(--muted); }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--text); }
.bar { height: 12px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.report-foot { margin-top: var(--s2); font-size: 12px; color: var(--muted); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.pill-list li { font-size: 14px; font-weight: 600; color: var(--green-900); background: var(--mint-50); border: 1px solid #c9efdc; padding: 6px 12px; border-radius: 999px; }

/* ---------- Dialog ---------- */
dialog#screen-dialog { width: min(1280px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--night); color: var(--on-dark); box-shadow: var(--shadow-lg); }
dialog#screen-dialog::backdrop { background: rgba(5, 14, 11, .78); backdrop-filter: blur(4px); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-bottom: 1px solid rgba(232, 248, 255, .1); }
.dialog-bar h2 { font-size: 17px; color: var(--white); letter-spacing: 0; }
.dialog-bar div { display: flex; gap: var(--s1); }
.dialog-bar button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232, 248, 255, .2); background: transparent; color: var(--white); cursor: pointer; font-size: 14px; font-weight: 600; }
.dialog-bar button:hover { border-color: var(--white); }
.dialog-img { overflow: auto; max-height: calc(100dvh - 120px); }
.dialog-img img { width: 100%; }
.dialog-img.zoomed img { width: 1800px; max-width: none; }

/* ---------- Reveal motion ---------- */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal-d1 { transition-delay: .08s; }
.motion .reveal-d2 { transition-delay: .16s; }
.motion .reveal-d3 { transition-delay: .24s; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--s12) 0; }
.notfound .lede { margin: var(--s3) auto var(--s5); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .kds-float.f1 { left: -12px; }
  .kds-float.f2 { right: -8px; }
  .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid, .savings-grid, .explorer, .pos-grid, .faq-grid, .cta-grid, .page-hero-grid, .spec-row { grid-template-columns: 1fr; }
  .spec-row.flip > :first-child { order: 0; }
  .estimator, .faq-aside { position: static; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-list { grid-template-columns: 1fr 1fr; }
  .demo-summary { grid-column: 1 / -1; }
  .section-head { grid-template-columns: 1fr; gap: var(--s3); }
  .section-head p.lede { justify-self: start; }
  .proof-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-visual { max-width: 720px; }
  .page-hero .screen-frame { margin-top: var(--s6); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: var(--s12) 0; }
  .section-tight { padding: var(--s10) 0; }
  .section-head { margin-bottom: var(--s6); }
  .hero { padding: var(--s6) 0 var(--s10); }
  .page-hero { padding: var(--s5) 0 var(--s8); }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand img { width: 34px; height: 34px; }
  .wordmark { font-size: 24px; }
  .kds { padding: 8px; border-radius: 18px; }
  .kds-rail { grid-template-columns: repeat(2, 1fr); min-height: 0; padding: 8px; gap: 8px; }
  .kds-rail .ticket:nth-child(n+5) { display: none; }
  .kds-counts span:nth-child(3) { display: none; }
  .kds-float { display: none; }
  .cost-grid, .steps, .feature-grid { grid-template-columns: 1fr; }
  .proof-inner { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(3) { border-left: 0; padding: var(--s3) 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
  .est-form, .est-form fieldset, .est-out, .form-grid { grid-template-columns: 1fr; }
  .est-head, .est-form, .est-out { padding-inline: var(--s3); }
  .demo-list { grid-template-columns: 1fr; }
  .form-card { padding: var(--s4) var(--s3); }
  .faq-answer { padding-right: 0; }
  .faq-list summary { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .callout { padding: var(--s3); }
  .spec-visual { padding: var(--s3); min-height: 0; }
  .station-split { grid-template-columns: 1fr; }
  .mini-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-rail .ticket:nth-child(3) { display: none; }
  .bar-row { grid-template-columns: 90px 1fr; }
  .screen-caption { flex-direction: column; gap: 4px; }
  .cta { padding: var(--s12) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

.inline-link { background: none; border: 0; padding: 0; color: var(--green-700); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

.on-dark .form-card h3 { color: var(--ink); }

@media (max-width: 420px) { .header-inner > .btn { padding: 0 14px; font-size: 14px; } }

.hero-visual .kds-legend { margin-top: var(--s6); }
@media (max-width: 760px) { .hero-visual .kds-legend { margin-top: var(--s3); } }

