/* ═══════════════════════════════════════════
   MARKET MACHINES — Neutral, Apple-like
   ═══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #1d1d1f;
  --white: #ffffff;
  --g50: #fafafa;
  --g100: #f5f5f7;
  --g200: #e8e8ed;
  --g300: #d2d2d7;
  --g400: #86868b;
  --g500: #6e6e73;
  --g600: #424245;
  --g700: #2c2c2e;
  --g800: #1c1c1e;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1200px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); border: none; cursor: pointer; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; padding: 14px 32px;
  border-radius: 980px; border: none; cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #000; }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--g300); }
.btn-outline:hover { background: var(--g100); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--g100); }
.btn-outline-light { background: transparent; color: rgba(255,255,255,0.7); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2); }
.btn-outline-light:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-lg { font-size: 17px; padding: 16px 36px; }
.btn-block { width: 100%; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04); transition: all 0.3s;
}
.nav.scrolled { background: rgba(255,255,255,0.92); border-bottom-color: rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px);
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.logo-icon {
  width: 28px; height: 28px; background: var(--black); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon-sm { width: 22px; height: 22px; border-radius: 6px; }
.logo-icon-sm svg { width: 14px; height: 14px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--g500); transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-hamburger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-hamburger span { width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.nav-hamburger.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

.mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-links { display: flex; flex-direction: column; padding: 40px 24px; }
.mobile-menu-links a { font-size: 28px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--g200); }
.mobile-menu-links .btn { margin-top: 24px; font-size: 18px; }

/* ═══════════════════
   HERO
   ═══════════════════ */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow-x: clip;
}

/* Silhouette backgrounds */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-silhouette {
  position: absolute; top: 0; bottom: 0; width: 400px; color: var(--black);
}
.silhouette-left { left: 0; }
.silhouette-right { right: 0; }

.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  position: relative; z-index: 1;
}

/* Hero text */
.hero-text { max-width: 440px; }
.hero-title {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.04em; margin-bottom: 16px;
}
.hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--g500); margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── HERO TABLET ─── */
.hero-tablet-wrapper {
  display: flex; justify-content: center; align-items: center;
  padding-bottom: 120px; /* room for receipt to slide out */
}
.hero-tablet {
  animation: tabletFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1200px;
  position: relative;
}
@keyframes tabletFloat {
  0%, 100% { transform: translateY(0) rotateY(-3deg) rotateX(1deg); }
  50% { transform: translateY(-14px) rotateY(2deg) rotateX(-1deg); }
}
.tablet-frame {
  background: var(--g700); border-radius: 22px; padding: 8px;
  box-shadow: 0 60px 120px -20px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.05);
  width: 340px;
}
.tablet-screen {
  background: var(--g800); border-radius: 16px; overflow: hidden; color: #fff;
}
.tablet-status {
  display: flex; justify-content: space-between; padding: 8px 14px;
  font-size: 10px; color: var(--g400);
}
.tablet-signal { font-size: 7px; letter-spacing: 1px; }
.tablet-battery { font-weight: 600; }
.tablet-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 14px 10px;
}
.tablet-logo-row { display: flex; align-items: center; gap: 6px; }
.tablet-logo-icon {
  width: 22px; height: 22px; background: rgba(255,255,255,0.1);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
}
.tablet-logo-row span { font-size: 13px; font-weight: 700; }
.tablet-live-badge {
  font-size: 9px; font-weight: 800; background: rgba(255,255,255,0.12);
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.08em; color: var(--g400);
}

/* Markets container — fixed height, no size glitch */
.tablet-markets-container {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}
/* Markets on tablet */
.tablet-market {
  position: absolute; top: 0; left: 0; right: 0;
  margin: 0 12px; padding: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.tablet-market.active {
  opacity: 1; transform: translateY(0);
  pointer-events: all;
  position: relative;
}
.tablet-market-cat {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--g400); margin-bottom: 6px;
}
.tablet-market-q {
  font-size: 16px; font-weight: 800; line-height: 1.25; margin-bottom: 12px;
}
.tablet-market-btns { display: flex; gap: 8px; margin-bottom: 10px; }
.tablet-btn {
  flex: 1; padding: 12px 8px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  transition: all 0.2s;
}
.tablet-btn-yes { background: #fff; color: var(--black); }
.tablet-btn-no { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.08); }
.btn-label { font-size: 11px; font-weight: 600; }
.btn-price { font-size: 22px; font-weight: 900; }
.tablet-market-meta {
  display: flex; justify-content: space-between; font-size: 10px; color: var(--g500);
}
.tablet-parlay-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--g400);
  background: rgba(255,255,255,0.06); padding: 4px 10px; border-radius: 6px;
  margin-bottom: 8px;
}
.tablet-parlay-tag svg { stroke: var(--g400); }

.tablet-nav-dots {
  display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); transition: background 0.3s; }
.dot.active { background: rgba(255,255,255,0.5); }
.tablet-footer {
  text-align: center; padding: 8px; font-size: 11px; color: var(--g500);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ─── TABLET BUTTON CLICK FEEDBACK ─── */
.tablet-btn {
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.tablet-btn:hover { transform: scale(1.03); }
.tablet-btn:active { transform: scale(0.95); }
.tablet-btn-yes:active { background: var(--g200); }
.tablet-btn-no:active { background: rgba(255,255,255,0.12); }
.tablet-btn.clicked {
  animation: btnPulse 0.4s var(--ease);
}
.tablet-btn-yes.clicked { background: #e0e0e0; }
.tablet-btn-no.clicked { background: rgba(255,255,255,0.15); }
@keyframes btnPulse {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ─── RECEIPT SLIP ─── */
.tablet-receipt {
  position: absolute;
  bottom: -10px; left: 50%; transform: translateX(-50%) translateY(0);
  width: 160px; z-index: -1;
  opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.tablet-receipt.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(90%);
  z-index: 1;
}
.receipt-paper {
  background: #faf9f5;
  padding: 14px 12px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  font-family: 'Courier New', monospace;
  color: var(--black);
  border-top: 2px dashed var(--g300);
}
.receipt-brand {
  text-align: center; font-size: 16px; font-weight: 900;
  letter-spacing: 0.1em; margin-bottom: 0;
}
.receipt-name {
  text-align: center; font-size: 7px; font-weight: 600;
  color: var(--g400); margin-bottom: 6px; letter-spacing: 0.05em;
}
.receipt-divider {
  text-align: center; font-size: 8px; color: var(--g300);
  margin: 4px 0; letter-spacing: -1px;
}
.receipt-line {
  display: flex; justify-content: space-between;
  font-size: 8px; line-height: 1.8;
}
.receipt-bold { font-weight: 900; }
.receipt-scan {
  text-align: center; font-size: 7px; color: var(--g500);
  margin: 4px 0 6px;
}
.receipt-qr { display: flex; justify-content: center; margin-bottom: 4px; }
.receipt-id {
  text-align: center; font-size: 6px; color: var(--g400);
  letter-spacing: 0.05em;
}

/* Deployed at */
.hero-deployed {
  text-align: center; padding: 20px clamp(20px, 4vw, 60px) 0;
  position: relative; z-index: 1;
}
.deployed-label {
  font-size: 11px; font-weight: 700; color: var(--g400);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.deployed-strip { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; }
.deployed-item { font-size: 14px; font-weight: 600; color: var(--g300); }
.deployed-dot { color: var(--g300); }

/* ═══════════════════
   SECTIONS COMMON
   ═══════════════════ */
.section { padding: var(--section-pad) 0; }
.section-eyebrow {
  font-size: 12px; font-weight: 800; color: var(--g400);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px;
}
.section-title-lg {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--g500); line-height: 1.5; max-width: 480px;
}
.section-description {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--g500); line-height: 1.6; max-width: 520px;
}
.section-header { margin-bottom: 48px; }

/* ═══════════════════
   PILLARS
   ═══════════════════ */
.section-product { background: var(--g50); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.pillar-card {
  background: var(--white); border-radius: var(--radius-md); padding: 32px;
  border: 1px solid var(--g200); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.05); }
.pillar-featured { grid-column: span 2; }
.pillar-dark { background: var(--black); color: #fff; border-color: transparent; }
.pillar-dark .pillar-tagline, .pillar-dark p { color: var(--g400); }
.pillar-dark .pillar-num { color: var(--g500); }
.pillar-num { font-size: 11px; font-weight: 800; color: var(--g300); letter-spacing: 0.05em; margin-bottom: 10px; }
.pillar-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 3px; }
.pillar-tagline { font-size: 14px; color: var(--g400); font-weight: 500; margin-bottom: 8px; }
.pillar-card > p:last-of-type { font-size: 14px; color: var(--g500); line-height: 1.6; }

/* Mini markets in pillar */
.pillar-mini-markets { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.pmm-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--g50); border-radius: 10px; border: 1px solid var(--g200);
}
.pmm-cat {
  font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--g400); background: var(--g100); padding: 2px 6px; border-radius: 3px; flex-shrink: 0;
}
.pmm-q { font-size: 13px; font-weight: 600; flex: 1; }
.pmm-odds { font-size: 11px; font-weight: 700; color: var(--g400); flex-shrink: 0; }
.pmm-odds em { font-style: normal; font-weight: 800; color: var(--black); }

/* Browse mini (pillar 02) */
.pillar-browse-mini { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.pbm-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--g200); font-size: 13px; }
.pbm-row:last-child { border-bottom: none; }

/* Cashout flow */
.pillar-flow { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.pf-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.pf-icon { font-size: 20px; }
.pf-step span { font-size: 11px; font-weight: 600; color: var(--g500); }
.pf-arrow { color: var(--g300); font-size: 16px; flex-shrink: 0; }

/* Operator mini */
.pillar-operator-mini { margin-top: 20px; display: flex; flex-direction: column; }
.pom-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid var(--g200); font-size: 13px;
}
.pom-row:first-child { border-top: 1px solid var(--g200); }
.pom-k { color: var(--g400); font-weight: 500; }
.pom-v { font-weight: 700; }
.pom-highlight .pom-v { font-weight: 800; }

/* ═══════════════════
   HOW IT WORKS
   ═══════════════════ */
.how-header { margin-bottom: 48px; }
.how-steps { display: flex; flex-direction: column; }
.how-step {
  display: flex; align-items: baseline; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--g200);
}
.how-step:last-child { border-bottom: 1px solid var(--g200); }
.step-num { font-size: 32px; font-weight: 900; color: var(--g300); line-height: 1; flex-shrink: 0; width: 40px; transition: color 0.3s, transform 0.3s var(--ease); }
.step-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.step-body p { font-size: 15px; color: var(--g500); line-height: 1.5; max-width: 440px; }

/* How It Works hover */
.how-step {
  transition: background 0.3s, padding-left 0.3s var(--ease);
  border-radius: 8px; margin: 0 -12px; padding-left: 12px; padding-right: 12px;
}
.how-step:hover { background: var(--g50); padding-left: 20px; }
.how-step:hover .step-num { color: var(--black); transform: scale(1.1); }

/* ═══════════════════
   WHERE WE DEPLOY
   ═══════════════════ */
.section-deploy { background: var(--g50); }
.deploy-header { margin-bottom: 32px; }

/* Tabs */
.deploy-tabs {
  display: flex; gap: 12px; margin-bottom: 40px;
}
.deploy-tab {
  flex: 1; padding: 20px 24px; border-radius: var(--radius-md);
  background: var(--white); border: 2px solid var(--g200);
  text-align: left; transition: all 0.3s;
}
.deploy-tab:hover { border-color: var(--g300); }
.deploy-tab.active { border-color: var(--black); background: var(--black); color: #fff; }
.tab-label { display: block; font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.tab-sub { display: block; font-size: 12px; color: var(--g400); font-weight: 500; }
.deploy-tab.active .tab-sub { color: var(--g400); }

/* Scenes */
.deploy-scene { display: none; }
.deploy-scene.active { display: block; }
.scene-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.scene-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.scene-text > p { font-size: 15px; color: var(--g500); line-height: 1.6; margin-bottom: 24px; }
.scene-specs { display: flex; flex-direction: column; }
.spec { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--g200); }
.spec:first-child { border-top: 1px solid var(--g200); }
.spec-k { font-size: 13px; font-weight: 600; color: var(--g400); }
.spec-v { font-size: 13px; font-weight: 600; }

/* Counter scene mockup */
.scene-mockup { display: flex; justify-content: center; }
.scene-bg-counter {
  width: 360px; height: 300px; position: relative;
  background: var(--g100); border-radius: var(--radius-md); overflow: hidden;
}
.counter-bg { position: absolute; inset: 0; }
.counter-surface {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: var(--g200);
}
.counter-register {
  position: absolute; bottom: 100px; right: 30px;
  width: 60px; height: 50px; background: var(--g300); border-radius: 4px;
}
.counter-items {
  position: absolute; bottom: 100px; left: 20px;
  display: flex; gap: 6px; align-items: flex-end;
}
.counter-item { width: 18px; height: 30px; background: var(--g300); border-radius: 2px; opacity: 0.5; }
.counter-item.tall { height: 45px; }

/* iPad kiosk on counter */
.kiosk-counter {
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.kiosk-ipad {
  width: 140px; background: var(--g700); border-radius: 10px; padding: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.kiosk-ipad-screen {
  background: var(--g800); border-radius: 7px; padding: 8px; color: #fff;
}
.kis-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.kis-logo { font-size: 9px; font-weight: 900; }
.kis-live { font-size: 7px; font-weight: 800; color: var(--g400); letter-spacing: 0.1em; }
.kis-market {}
.kis-cat { font-size: 7px; font-weight: 800; color: var(--g400); letter-spacing: 0.1em; margin-bottom: 3px; }
.kis-q { font-size: 10px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.kis-btns { display: flex; gap: 4px; }
.kis-yes, .kis-no {
  flex: 1; text-align: center; padding: 4px; border-radius: 4px;
  font-size: 8px; font-weight: 800;
}
.kis-yes { background: #fff; color: var(--black); }
.kis-no { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }
.kiosk-ipad-stand {
  width: 50px; height: 20px; background: var(--g400);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
}

/* Standalone kiosk scene */
.scene-bg-standalone {
  width: 360px; height: 380px; position: relative;
  background: var(--g100); border-radius: var(--radius-md); overflow: hidden;
}
.standalone-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--g200);
}
.kiosk-standalone {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  width: 120px; display: flex; flex-direction: column; align-items: center;
}
.ks-header-strip {
  width: 120px; height: 16px; background: var(--black); border-radius: 6px 6px 0 0;
  display: flex; align-items: center; justify-content: center;
}
.ks-screen-area {
  width: 120px; background: var(--g700); padding: 3px;
}
.ks-screen {
  background: var(--g800); padding: 6px; color: #fff; border-radius: 2px;
}
.ks-screen-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.ks-logo { font-size: 7px; font-weight: 800; }
.ks-live { font-size: 6px; font-weight: 800; color: var(--g500); letter-spacing: 0.1em; }
.ks-markets-list { display: flex; flex-direction: column; gap: 4px; }
.ks-mkt {
  padding: 4px 5px; background: rgba(255,255,255,0.03);
  border-radius: 3px; border: 1px solid rgba(255,255,255,0.04);
}
.ks-mkt-q { font-size: 7px; font-weight: 700; display: block; margin-bottom: 2px; }
.ks-mkt-btns { display: flex; gap: 3px; }
.ks-mkt-btns span {
  flex: 1; text-align: center; font-size: 6px; font-weight: 800;
  padding: 2px; border-radius: 2px;
}
.ks-mkt-btns span:first-child { background: #fff; color: var(--black); }
.ks-mkt-btns span:last-child { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); }

.ks-payment-area {
  width: 120px; background: var(--g600); padding: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ks-nfc { color: var(--g400); }
.ks-cash-slot { width: 50px; height: 3px; background: var(--g800); border-radius: 2px; }
.ks-receipt-slot { width: 40px; height: 3px; background: var(--g800); border-radius: 2px; }
.ks-base {
  width: 80px; height: 10px; background: var(--g400);
  border-radius: 0 0 4px 4px;
}

/* ═══════════════════
   STATS
   ═══════════════════ */
.section-stats { background: var(--black); color: #fff; text-align: center; }
.stats-eyebrow {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-bottom: 48px;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat-number {
  font-size: clamp(48px, 8vw, 76px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 10px;
}
.stat-label { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.stat-sublabel { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; max-width: 260px; margin: 0 auto; }

/* ═══════════════════
   HARDWARE (minimal)
   ═══════════════════ */
.hardware-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hardware-text { max-width: 520px; }
.hardware-text .section-title { margin-bottom: 12px; }
.hardware-illustration {
  display: flex; justify-content: center; align-items: center;
  color: var(--black);
}
.hardware-illustration svg { width: 100%; max-width: 240px; height: auto; }

/* ═══════════════════
   HOST A MACHINE
   ═══════════════════ */
.section-host { background: var(--g50); }
.host-inner { max-width: 720px; margin: 0 auto; }
.host-title {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
}
.host-desc {
  font-size: 17px; color: var(--g500); line-height: 1.7; margin-bottom: 48px;
}
.host-points { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }
.host-point {
  display: flex; gap: 20px; align-items: flex-start;
}
.host-point-icon {
  font-size: 28px; flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.host-point-body h4 {
  font-size: 17px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em;
}
.host-point-body p {
  font-size: 15px; color: var(--g500); line-height: 1.6; margin: 0;
}
.host-cta { padding-top: 8px; }

/* ═══════════════════
   CTA
   ═══════════════════ */
.section-cta { background: var(--black); color: #fff; }
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-title {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px;
}
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 440px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.cta-details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px;
}
.cta-detail { text-align: center; }
.cta-val { display: block; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.cta-label { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.4; }

/* ═══════════════════
   FOOTER (stripped)
   ═══════════════════ */
.footer { padding: 28px 0; border-top: 1px solid var(--g200); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-logo { color: var(--g400); }
.footer-copy { font-size: 12px; color: var(--g400); }
.footer-right { display: flex; gap: 20px; }
.footer-right a { font-size: 12px; color: var(--g400); transition: color 0.2s; }
.footer-right a:hover { color: var(--black); }

/* ═══════════════════
   ANIMATIONS
   ═══════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.pillars-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pillars-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.pillars-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.pillars-grid .reveal:nth-child(4) { transition-delay: 0.16s; }
.pillars-grid .reveal:nth-child(5) { transition-delay: 0.20s; }
.stats-grid .reveal:nth-child(1) { transition-delay: 0s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.how-steps .reveal:nth-child(2) { transition-delay: 0.06s; }
.how-steps .reveal:nth-child(3) { transition-delay: 0.12s; }
.how-steps .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */

/* ─── ≤ 1024px: tighten up ─── */
@media (max-width: 1024px) {
  .hero-inner { gap: clamp(24px, 4vw, 60px); }
  .hardware-layout { gap: clamp(24px, 4vw, 60px); }
}

/* ─── ≤ 900px: single-column layouts ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tablet-wrapper { order: -1; padding-bottom: 80px; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-silhouette { display: none; }
  .tablet-frame { width: min(300px, 85vw); }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-featured { grid-column: span 1; }
  .scene-layout { grid-template-columns: 1fr; }
  .scene-mockup { order: -1; }
  .scene-bg-counter, .scene-bg-standalone { width: min(360px, 90vw); }

  .hardware-layout { grid-template-columns: 1fr; text-align: center; }
  .hardware-text { max-width: 100%; margin: 0 auto; }
  .hardware-illustration { order: -1; }
  .hardware-illustration svg { max-width: 180px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stat-sublabel { display: none; }

  .deploy-tabs { flex-direction: column; }
  .cta-details { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ─── ≤ 768px: mobile nav, stacked stats ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; padding-top: 80px; padding-bottom: 40px; }
  .hero-title { font-size: clamp(42px, 10vw, 64px); }
  .hero-tablet-wrapper { padding-bottom: 60px; }
  .tablet-frame { width: min(280px, 80vw); }
  .tablet-market-q { font-size: 14px; }
  .btn-price { font-size: 20px; }
  .tablet-receipt { width: 140px; }

  .deployed-strip { gap: 8px; }
  .deployed-item { font-size: 12px; }
  .deployed-dot { font-size: 10px; }

  .section { padding: clamp(48px, 8vw, 100px) 0; }
  .section-header { margin-bottom: 32px; }

  .pillar-card { padding: 24px; }
  .pillar-card h3 { font-size: 18px; }
  .pillar-mini-markets { overflow-x: auto; }
  .pmm-row { flex-wrap: nowrap; min-width: 0; }
  .pmm-q { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .how-step { gap: 16px; padding: 24px 12px; }
  .step-num { font-size: 26px; width: 32px; }
  .step-body h3 { font-size: 16px; }
  .step-body p { font-size: 14px; }

  .scene-text h3 { font-size: 20px; }
  .scene-text > p { font-size: 14px; }

  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-sublabel { display: block; }
  .stat-number { font-size: clamp(42px, 12vw, 64px); }

  .cta-title { font-size: clamp(32px, 8vw, 48px); }
  .cta-desc { font-size: 15px; }
  .cta-details { grid-template-columns: 1fr; gap: 16px; }
  .cta-actions .btn { width: 100%; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

/* ─── ≤ 480px: small phones ─── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: clamp(36px, 11vw, 52px); }
  .hero-subtitle { font-size: 16px; margin-bottom: 24px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-tablet-wrapper { padding-bottom: 50px; }
  .tablet-frame { width: min(260px, 78vw); padding: 6px; border-radius: 18px; }
  .tablet-screen { border-radius: 13px; }
  .tablet-market { padding: 12px; margin: 0 8px; }
  .tablet-market-q { font-size: 13px; }
  .tablet-btn { padding: 10px 6px; border-radius: 8px; }
  .btn-price { font-size: 18px; }
  .tablet-receipt { width: 120px; }
  .receipt-paper { padding: 10px 8px; }
  .receipt-brand { font-size: 14px; }

  .deployed-strip { flex-direction: column; gap: 4px; }
  .deployed-dot { display: none; }

  .section-title { font-size: clamp(26px, 6vw, 36px); }
  .section-title-lg { font-size: clamp(28px, 7vw, 42px); }
  .section-subtitle { font-size: 15px; }

  .pillar-card { padding: 20px; }
  .pillar-card h3 { font-size: 17px; }
  .pillar-tagline { font-size: 13px; }

  .deploy-tab { padding: 16px 18px; }
  .tab-label { font-size: 15px; }

  .scene-bg-counter { height: 240px; }
  .scene-bg-standalone { height: 320px; }

  .btn-lg { font-size: 15px; padding: 14px 28px; }
  .btn-sm { font-size: 13px; padding: 9px 18px; }

  .how-step { padding: 20px 8px; }
  .how-step:hover { padding-left: 14px; }

  .hardware-illustration svg { max-width: 150px; }

  .host-point { gap: 14px; }
  .host-point-icon { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  .host-point-body h4 { font-size: 15px; }
  .host-point-body p { font-size: 14px; }
}
