/* IcosaPOS marketing site — design framework
   Token-exact to the Icosa Figma / UX Pilot export:
   #FF5A1F / #FF8A50 orange · #0A0A0B / #111113 / #1A1A1D blacks
   Sora display · Space Grotesk body · glass cards · glow accents. */

:root {
  --bg: #0a0a0b;
  --bg-lift: #111113;
  --bg-gray: #1a1a1d;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.05);
  --line-glass: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-70: rgba(255, 255, 255, 0.7);
  --text-soft: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.4);
  --text-faint: rgba(255, 255, 255, 0.3);
  --orange: #ff5100;
  --orange-light: #ff8a50;
  --orange-dim: rgba(255, 81, 0, 0.1);
  --orange-line: rgba(255, 81, 0, 0.3);
  --orange-line-strong: rgba(255, 81, 0, 0.5);
  --green: #10b981;
  --red: #f87171;
  --grad-text: linear-gradient(135deg, #ffffff 0%, #ff8a50 60%, #ff5100 100%);
  --glow: 0 0 40px rgba(255, 81, 0, 0.35);
  --glow-sm: 0 0 20px rgba(255, 81, 0, 0.25);
  --card-glow: 0 20px 60px rgba(255, 81, 0, 0.15);
  --radius: 24px;
  --radius-sm: 16px;
  --font: 'Space Grotesk', -apple-system, sans-serif;
  --display: 'Sora', 'Space Grotesk', sans-serif;
  --mono: 'Space Grotesk', ui-monospace, monospace;
  --container: 1600px;
  --sec: 112px;
  --sec-sm: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 3vw, 40px); }
.container.narrow { max-width: 1000px; }

/* Orange grid-line texture (hero, ecosystem, modules, pricing) */
.grid-lines {
  background-image:
    linear-gradient(rgba(255, 81, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 81, 0, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Glass card */
.glass, .card, .feature-card, .hwc-card, .bento-cell, .tier, .cs-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.15; }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--text-soft); max-width: 620px; line-height: 1.6; }

/* Orange-dash eyebrow */
.op-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange-light);
  margin: 0 0 18px;
}
.op-label::before { content: ''; width: 32px; height: 1px; background: var(--orange); flex-shrink: 0; }

.gradient-text, .text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pacing: "light" = lifted panel #111113 */
.theme-light { background: var(--bg-lift); }
.theme-dark { background: var(--bg); }

/* Glow orb accent */
.glow-orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 81, 0, 0.4) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  font-family: var(--font);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--glow-sm); }
.btn-primary:hover { background: var(--orange-light); box-shadow: var(--glow); }
.btn-ghost, .btn-outline, .btn-outline-accent, .btn-ghost-dark {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-color: var(--line-glass);
  color: #fff;
}
.btn-ghost:hover, .btn-outline:hover, .btn-outline-accent:hover, .btn-ghost-dark:hover { background: var(--glass-hover); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 14.5px; }
.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.btn-row.center { justify-content: center; }

.text-link { color: var(--text-70); font-weight: 500; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.text-link:hover { color: var(--orange); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Utility top bar ---------- */
.topbar { background: var(--bg-lift); border-bottom: 1px solid var(--line); font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; color: var(--text-soft); }
.topbar-status { display: inline-flex; align-items: center; gap: 8px; }
.topbar-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.topbar-links a:hover { color: var(--orange); }

/* ---------- Header: floating glass nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 12px 0; }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px clamp(20px, 2vw, 32px);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}
.site-header.scrolled .header-inner { background: rgba(10, 10, 11, 0.75); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo-sm { height: 30px; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 0 10px rgba(255, 81, 0, 0.4)); }
.brand-mark svg { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.site-nav > a, .nav-drop-btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-70);
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.site-nav > a:hover, .site-nav > a.active, .nav-drop-btn:hover, .nav-drop-btn.active { color: #fff; }
.nav-drop { position: relative; }
.nav-drop .caret { font-size: 10px; opacity: 0.5; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 10px;
  min-width: 220px;
  display: grid;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { padding: 9px 14px; border-radius: 8px; font-size: 14px; color: var(--text-70); text-decoration: none; }
.nav-drop-menu a:hover, .nav-drop-menu a.active { background: rgba(255, 255, 255, 0.06); color: #fff; }
.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-login { font-size: 14px; font-weight: 500; color: var(--text-70); text-decoration: none; padding: 8px 16px; }
.header-login:hover { color: #fff; }
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--line-glass); border-radius: 10px; cursor: pointer; padding: 9px 10px; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- Hero — impact ---------- */
.hero-impact { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; margin-top: -73px; padding-top: 73px; }
.hero-impact::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 81, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 81, 0, 0.06) 1px, transparent 1px); background-size: 48px 48px; }
/* Dimming levels come from the renderer's inline overlay-strength styles on
   .hi-bg (opacity) and .hi-scrim (gradients); these are the default-70 fallbacks */
.hi-bg { position: absolute; inset: 0; opacity: 0.545; }
.hi-bg img { width: 100%; height: 100%; object-fit: cover; }
.hi-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, 0.6) 50%, rgba(10, 10, 11, 0.3) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 40%, var(--bg) 100%);
}
.hi-inner { position: relative; z-index: 2; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.hi-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange-light);
  margin-bottom: 26px;
}
.hi-chip-mark { width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.hero-impact h1 {
  max-width: 860px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-impact h1 .gradient-text { background: none; color: inherit; }
/* Rotating word paints its own gradient (opacity on a child of a
   background-clip:text parent is unreliable across engines) */
.hi-rotate {
  display: inline-block;
  background: linear-gradient(135deg, #ff8a50 0%, #ff5100 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.hi-rotate.out { opacity: 0; }
.hero-impact .lead { max-width: 580px; }
.hi-stats { display: flex; align-items: center; margin-top: clamp(40px, 4.5vw, 60px); flex-wrap: wrap; row-gap: 22px; }
.hi-stat { padding-right: clamp(26px, 3vw, 44px); }
.hi-stat + .hi-stat { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: clamp(26px, 3vw, 44px); }
.hi-stat-value { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; color: #fff; }
.hi-stat-label { font-size: 13.5px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Ticker band ---------- */
.ticker-band { background: var(--bg-lift); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.tk-track { display: flex; width: max-content; animation: tk-scroll 28s linear infinite; }
.ticker-band:hover .tk-track { animation-play-state: paused; }
@keyframes tk-scroll { to { transform: translateX(-50%); } }
.tk-group { display: flex; align-items: center; gap: 64px; padding: 0 32px; }
.tk-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; white-space: nowrap; color: var(--text-soft); }
.tk-dot { width: 7px; height: 7px; border-radius: 2px; }
.tk-orange .tk-dot { background: var(--orange); box-shadow: 0 0 8px rgba(255, 81, 0, 0.6); }
.tk-green .tk-dot { background: var(--green); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.tk-red .tk-dot { background: var(--red); box-shadow: 0 0 8px rgba(248, 113, 113, 0.6); }
.tk-value { color: #fff; font-weight: 600; }

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 4vw, 56px); }
.section-head .lead { margin-top: 8px; }

/* Card hover behavior (glass cards) */
.card, .feature-card, .hwc-card, .bento-cell, .tier {
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}
.card:hover, .feature-card:hover, .hwc-card:hover, a.bento-cell:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--card-glow);
  border-color: rgba(255, 81, 0, 0.4);
}

/* ---------- Hardware carousel cards ---------- */
.hardware-carousel { padding: var(--sec) 0; background: var(--bg-lift); }
.hwc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.hwc-card { overflow: hidden; }
.hwc-media { position: relative; height: 256px; overflow: hidden; }
.hwc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.hwc-card:hover .hwc-media img { transform: scale(1.1); }
.hwc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 55%); }
.hwc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
}
.hwc-body { padding: 24px; }
.hwc-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.hwc-title-row h3 { font-size: 18px; margin: 0; }
.hwc-price { color: var(--orange); font-weight: 600; font-size: 14px; }
.hwc-body p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }

/* ---------- Feature grid (module cards) ---------- */
.feature-grid-section { padding: var(--sec) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { padding: 28px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--text-soft); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-dim);
  border: 1px solid var(--orange-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 19px;
  color: var(--orange);
  transition: box-shadow 0.3s;
}
.feature-card:hover .feature-icon { box-shadow: var(--glow-sm); }
.feature-icon-img { width: 22px; height: 22px; }

/* ---------- Bento ---------- */
.bento-section { padding: var(--sec) 0; position: relative; }
.bento-section.theme-dark { background-image: linear-gradient(rgba(255, 81, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 81, 0, 0.06) 1px, transparent 1px); background-size: 48px 48px; }
.bento-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.bento-grid { display: grid; grid-template-columns: repeat(var(--bento-cols, 4), 1fr); grid-template-areas: var(--bento-areas); gap: 20px; }
.bento-cell { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; min-height: 230px; }
.bento-copy { padding: 30px 32px; }
.bento-copy .op-label { margin-bottom: 14px; font-size: 11px; }
.bento-copy .op-label::before { width: 0; }
.bento-copy h3 { font-size: clamp(19px, 1.8vw, 26px); margin-bottom: 10px; }
.bento-copy p { margin: 0; font-size: 14px; color: var(--text-soft); max-width: 420px; }
.bento-media { flex: 1; min-height: 180px; overflow: hidden; order: 2; margin: 0 20px 20px; border-radius: var(--radius-sm); }
.bento-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature story ---------- */
.feature-story { padding: var(--sec) 0; position: relative; overflow: hidden; }
.feature-story.theme-light::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; border-radius: 999px; background: radial-gradient(circle, rgba(255, 81, 0, 0.16) 0%, transparent 70%); filter: blur(60px); pointer-events: none; }
.feature-story .container { position: relative; z-index: 2; }
.fs-grid { display: grid; grid-template-columns: minmax(300px, 1fr) 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.fs-copy h2 { margin-bottom: 20px; }
.fs-copy > p { color: var(--text-soft); max-width: 520px; font-size: clamp(15px, 1.2vw, 18px); }
.fs-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  padding: 14px;
}
.fs-media img { width: 100%; border-radius: var(--radius-sm); }
.fs-full .fs-copy { max-width: 760px; margin-bottom: clamp(34px, 4vw, 52px); }
.fs-full .fs-media { margin: 0 auto; }
.fs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 30px; }
.fs-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  color: var(--text-70);
}
.fs-chips-note { font-size: 13.5px; color: var(--text-dim); margin-left: 6px; }

/* ---------- Pricing ---------- */
.pricing-section { padding: var(--sec) 0; position: relative; background-image: linear-gradient(rgba(255, 81, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 81, 0, 0.06) 1px, transparent 1px); background-size: 48px 48px; }
.pricing-section .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-section .section-head .lead { margin-left: auto; margin-right: auto; }
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; max-width: 1150px; margin: 0 auto; }
.tier { padding: 32px; position: relative; display: flex; flex-direction: column; }
.tier-highlight {
  background: linear-gradient(to bottom, rgba(255, 81, 0, 0.2), var(--bg-lift));
  border-color: var(--orange-line-strong);
  box-shadow: var(--glow);
  transform: scale(1.04);
}
.tier-highlight:hover { transform: scale(1.04); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-size: 20px; margin-bottom: 6px; }
.tier-blurb { color: var(--text-soft); font-size: 14px; margin-bottom: 22px; }
.tier-price { font-family: var(--display); font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 26px; }
.tier-price span { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--text-dim); margin-left: 4px; }
.tier .checklist { flex: 1; margin: 0 0 28px; }
.tier .btn { width: 100%; }

.checklist { list-style: none; padding: 0; margin: 18px 0; }
.checklist li { padding: 6px 0 6px 30px; position: relative; color: var(--text-soft); font-size: 14px; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- Final CTA (gradient card) ---------- */
.final-cta { padding: 96px 0; }
.final-cta .narrow {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 81, 0, 0.2), var(--bg-lift) 55%, var(--bg-lift));
  border: 1px solid var(--orange-line);
  border-radius: 40px;
  max-width: var(--container);
  text-align: center;
  padding: clamp(56px, 6vw, 90px) 28px;
  overflow: hidden;
}
.final-cta .narrow::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 81, 0, 0.4) 0%, transparent 70%);
  filter: blur(60px);
}
.final-cta h2, .final-cta .lead, .final-cta .btn-row, .final-cta .final-media { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(32px, 3.4vw, 50px); }
.final-cta .lead { margin: 0 auto 8px; }
.final-cta .btn-row { justify-content: center; }
.final-media { margin-top: clamp(40px, 5vw, 64px); }
.final-media img { margin: 0 auto; max-height: 360px; width: auto; }

/* ---------- Hero cascade (interactive platform section) ---------- */
.hero-cascade { padding: clamp(56px, 7vw, 96px) 0 var(--sec-sm); }
.hc-head { max-width: 880px; }
.hc-head h1 { margin-bottom: 24px; }
.hc-body { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-top: clamp(44px, 5vw, 72px); align-items: stretch; }
.hc-rail { display: flex; flex-direction: column; gap: 10px; }
.hc-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
  flex: 1;
  transition: flex 0.45s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.hc-panel:hover { border-color: var(--line-strong); color: #fff; }
.hc-panel.active { flex: 1.7; background: var(--orange-dim); border-color: var(--orange-line); color: #fff; }
.hc-panel-num { font-size: 12px; font-weight: 600; opacity: 0.55; }
.hc-panel.active .hc-panel-num { color: var(--orange); opacity: 1; }
.hc-stages { position: relative; min-height: clamp(360px, 38vw, 540px); }
.hc-stage {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.985) translateY(10px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hc-stage.active { opacity: 1; transform: none; pointer-events: auto; }
.hc-stage-media { flex: 1; border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--line-glass); }
.hc-stage-media img { width: 100%; height: 100%; object-fit: cover; }
.hc-stage-copy { display: flex; align-items: baseline; gap: 18px; padding: 18px 6px 0; }
.hc-stage-copy h3 { margin: 0; font-size: 17px; white-space: nowrap; }
.hc-stage-copy p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

/* ---------- Quiet statement ---------- */
.quiet-statement { padding: var(--sec) 0; text-align: center; }
.qs-statement { font-family: var(--display); font-size: clamp(30px, 3.8vw, 54px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 24px; color: #fff; }
.qs-sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--text-soft); max-width: 560px; margin: 0 auto; }

/* ---------- Order journey ---------- */
.order-journey { padding: var(--sec-sm) 0 var(--sec); background: var(--bg-lift); }
.oj-head { max-width: 760px; margin-bottom: clamp(40px, 4.5vw, 72px); }
.oj-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
.oj-steps { display: flex; flex-direction: column; }
.oj-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 0.45s var(--ease); }
.oj-step.active { opacity: 1; }
.oj-step-marker { margin-bottom: 14px; }
.oj-step-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange-light);
  border: 1px solid var(--orange-line);
  border-radius: 999px;
  padding: 5px 14px;
}
.oj-step h3 { font-size: clamp(22px, 2.1vw, 28px); }
.oj-step p { color: var(--text-soft); max-width: 380px; font-size: 15px; }
.oj-pin { position: sticky; top: 100px; height: calc(100vh - 140px); display: flex; align-items: center; }
.oj-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--line-glass); }
.oj-visual { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: scale(1.02); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.oj-visual.active { opacity: 1; pointer-events: auto; transform: none; }
.oj-visual img { width: 100%; height: 100%; object-fit: cover; }
.oj-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.oj-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); transition: background 0.3s, width 0.3s var(--ease); }
.oj-dot.active { background: var(--orange); width: 22px; }

/* ---------- Industry explorer ---------- */
.industry-explorer { padding: var(--sec) 0; }
.ie-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 60px); }
.ie-layout { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.ie-list { display: flex; flex-direction: column; align-items: flex-start; }
.ie-item { background: none; border: 0; padding: 7px 0; font-family: inherit; cursor: pointer; text-align: left; }
.ie-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.3s;
  line-height: 1.2;
}
.ie-item:hover .ie-name { color: rgba(255, 255, 255, 0.55); }
.ie-item.active .ie-name { color: #fff; }
.ie-panes { position: relative; aspect-ratio: 16 / 11; }
.ie-pane { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); display: flex; flex-direction: column; }
.ie-pane.active { opacity: 1; pointer-events: auto; }
.ie-media { flex: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-glass); }
.ie-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.8s var(--ease); }
.ie-pane.active .ie-media img { transform: scale(1); }
.ie-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 6px 0; }
.ie-caption p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ---------- Split-check story ---------- */
.splitcheck-story { padding: var(--sec) 0; overflow: hidden; background: var(--bg-lift); }
.sc-grid { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: clamp(40px, 5vw, 90px); align-items: center; }
.sc-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.sc-single { background: var(--glass); border: 1px solid var(--line-glass); border-radius: var(--radius-sm); padding: 22px; width: min(340px, 100%); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.sc-check-head {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
  margin-bottom: 12px;
}
.sc-line, .sc-line-final { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14.5px; color: var(--text-70); }
.sc-price { font-size: 13.5px; color: var(--text-dim); }
.sc-split { position: absolute; inset: 0; display: flex; gap: 16px; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease); }
.sc-check { background: rgba(20, 20, 22, 0.9); border: 1px solid var(--line-glass); border-radius: var(--radius-sm); padding: 18px; width: min(220px, 30%); transform: translateY(24px); transition: transform 0.6s var(--ease); }
.sc-check-total { display: flex; justify-content: space-between; font-weight: 700; color: #fff; border-top: 1px dashed var(--line-strong); margin-top: 10px; padding-top: 10px; font-size: 14px; }
.sc-paid {
  display: inline-block;
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  opacity: 0;
  transition: opacity 0.4s 0.5s;
}
.splitcheck-story.split .sc-single { opacity: 0; transform: scale(0.94); }
.splitcheck-story.split .sc-split { opacity: 1; pointer-events: auto; }
.splitcheck-story.split .sc-check { transform: none; }
.splitcheck-story.split .sc-check:nth-child(1) { transition-delay: 0.05s; }
.splitcheck-story.split .sc-check:nth-child(2) { transition-delay: 0.15s; }
.splitcheck-story.split .sc-check:nth-child(3) { transition-delay: 0.25s; }
.splitcheck-story.split .sc-paid { opacity: 1; }
.sc-footnote { position: absolute; bottom: -40px; left: 0; right: 0; text-align: center; font-size: 13.5px; color: var(--text-dim); }

/* ---------- KDS story ---------- */
.kds-story { padding: var(--sec) 0; }
.kds-head { max-width: 700px; margin-bottom: clamp(34px, 4vw, 52px); }
.kds-screen { background: var(--bg-lift); border: 1px solid var(--line-glass); border-radius: var(--radius); overflow: hidden; }
.kds-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.kds-bar-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.kds-bar-right { margin-left: auto; color: var(--text-dim); font-weight: 400; }
.kds-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; padding: 22px; min-height: 300px; }
.kds-ticket {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-glass);
  border-top: 3px solid var(--orange);
  border-radius: 12px;
  padding: 14px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 0.18s);
}
.kds-story.playing .kds-ticket { opacity: 1; transform: none; }
.kds-ticket.kds-cooking { border-top-color: var(--orange-light); }
.kds-ticket.kds-ready { border-top-color: var(--green); }
.kds-ticket-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.kds-ticket-name { font-weight: 700; color: #fff; font-size: 14.5px; }
.kds-timer { font-size: 12px; color: var(--text-dim); }
.kds-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.kds-item { font-size: 13.5px; color: var(--text-70); padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.kds-mod { font-size: 12px; color: var(--orange-light); padding: 2px 0 2px 12px; }
.kds-status { margin-top: 12px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); }
.kds-ready .kds-status { color: var(--green); }
.kds-cooking .kds-status { color: var(--orange-light); }

/* ---------- Channel story ---------- */
.channel-story { padding: var(--sec) 0; overflow: hidden; background: var(--bg-lift); }
.ch-head { max-width: 700px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.ch-composition { position: relative; height: clamp(420px, 44vw, 620px); }
.ch-pos { position: absolute; left: 0; top: 8%; width: 52%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-glass); opacity: 0.92; }
.ch-kiosk { position: absolute; left: 44%; top: 0; width: 30%; z-index: 2; }
.kiosk-frame { border-radius: 24px; border: 6px solid #232326; overflow: hidden; background: var(--bg-lift); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6); }
.ch-phone { position: absolute; right: 2%; bottom: 0; width: 19%; min-width: 150px; z-index: 3; }
.phone-frame { border-radius: 32px; border: 5px solid #232326; overflow: hidden; background: var(--bg-lift); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55); position: relative; aspect-ratio: 39 / 84; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.ch-orb { position: absolute; left: 50%; top: 55%; width: 10px; height: 10px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 24px 6px rgba(255, 81, 0, 0.55); opacity: 0; }
.channel-story.playing .ch-orb { animation: orb-converge 2.6s var(--ease) infinite; }
@keyframes orb-converge {
  0% { opacity: 0; transform: translate(-260px, -140px) scale(0.7); }
  12% { opacity: 1; }
  38% { opacity: 0; transform: translate(0, 0) scale(1); }
  42% { opacity: 0; transform: translate(230px, 130px) scale(0.7); }
  54% { opacity: 1; }
  80% { opacity: 0; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; }
}
.ch-caption { text-align: center; margin-top: 34px; font-size: 14.5px; color: var(--text-dim); }

/* ---------- Phone selector ---------- */
.phone-selector { padding: var(--sec) 0; }
.ps-grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: clamp(48px, 6vw, 100px); align-items: center; }
.ps-copy p { color: var(--text-soft); max-width: 480px; }
.ps-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 20px; }
.ps-tab, .hw-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.ps-tab:hover, .hw-tab:hover { border-color: var(--line-strong); color: #fff; }
.ps-tab.active, .hw-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--glow-sm); }
.ps-captions { position: relative; min-height: 30px; }
.ps-caption { position: absolute; inset: 0; margin: 0; font-size: 15px; color: var(--text-soft); opacity: 0; transition: opacity 0.35s; }
.ps-caption.active { opacity: 1; }
.ps-device { display: flex; justify-content: center; }
.phone-frame.lg { width: min(320px, 100%); }
.ps-screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.ps-screen.active { opacity: 1; pointer-events: auto; transform: none; }
.ps-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hardware showcase (selector) ---------- */
.hardware-showcase { padding: var(--sec) 0; background: var(--bg-lift); }
.hw-head { max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 42px); }
.hw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.hw-stages { position: relative; min-height: clamp(340px, 38vw, 540px); }
.hw-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hw-stage.active { opacity: 1; transform: none; pointer-events: auto; }
.hw-media { display: flex; justify-content: center; align-items: center; height: 100%; }
.hw-media img { max-height: clamp(300px, 34vw, 500px); width: auto; max-width: 100%; border-radius: var(--radius); }
.hw-caption h3 { font-size: clamp(20px, 1.9vw, 26px); }
.hw-caption p { color: var(--text-soft); font-size: 15px; }

/* ---------- Principles ---------- */
.principles { padding: var(--sec) 0; }
.principles h2 { max-width: 800px; margin-bottom: clamp(42px, 4.5vw, 70px); }
.pr-list { display: flex; flex-direction: column; }
.pr-item {
  display: grid;
  grid-template-columns: minmax(90px, 160px) 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  padding: clamp(32px, 3.8vw, 54px) 0;
  border-top: 1px solid var(--line-glass);
}
.pr-num {
  font-family: var(--display);
  font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange-line);
}
.pr-item h3 { font-size: clamp(22px, 2.2vw, 32px); }
.pr-item p { color: var(--text-soft); max-width: 520px; margin: 0; font-size: clamp(15px, 1.2vw, 17px); }

/* ---------- Sync story ---------- */
.sync-story { padding: var(--sec) 0; text-align: center; background: var(--bg-lift); }
.ss-lines { margin-bottom: clamp(34px, 4.5vw, 58px); }
.ss-line {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 6px;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 0.25s);
}
.sync-story.playing .ss-line { opacity: 1; transform: none; }
.sync-story.playing .ss-line:last-child { color: var(--orange); }
.ss-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 2.5vw, 30px); padding: 40px 0 30px; }
.ss-hub { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 20px 4px rgba(255, 81, 0, 0.5); }
.ss-term { width: clamp(70px, 10vw, 120px); }
.ss-term-screen { background: var(--glass); border: 1px solid var(--line-glass); border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.ss-term-row { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.ss-term-row.short { width: 60%; }
.ss-term-status { width: 8px; height: 8px; border-radius: 999px; background: var(--green); margin: 10px auto 0; }
.sync-story.playing .ss-blip .ss-term-screen { animation: term-blip 5s var(--ease) infinite; }
.sync-story.playing .ss-blip .ss-term-status { animation: status-blip 5s var(--ease) infinite; }
@keyframes term-blip { 0%, 34%, 62%, 100% { opacity: 1; } 40%, 56% { opacity: 0.3; } }
@keyframes status-blip { 0%, 34%, 62%, 100% { background: var(--green); } 40%, 56% { background: var(--orange); } }
.ss-body { max-width: 640px; margin: 0 auto; font-size: clamp(15px, 1.2vw, 17px); color: var(--text-soft); }

/* ---------- Customer stories ---------- */
.customer-stories { padding: var(--sec) 0; overflow: hidden; }
.cs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.cs-nav { display: flex; gap: 12px; }
.cs-prev, .cs-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}
.cs-prev:hover, .cs-next:hover { background: rgba(255, 81, 0, 0.2); border-color: var(--orange-line); }
.cs-track-wrap { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.cs-track-wrap::-webkit-scrollbar { display: none; }
.cs-track { display: flex; gap: 24px; padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 40px)); width: max-content; }
.cs-card { width: min(760px, 84vw); scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; }
.cs-media { min-height: 320px; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: clamp(26px, 3vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.cs-mark { color: var(--orange); font-size: 20px; margin-bottom: 16px; }
.cs-body blockquote { margin: 0 0 20px; font-family: var(--display); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.4; color: #fff; }
.cs-author { font-size: 14px; font-weight: 600; }
.cs-author span { color: var(--text-soft); font-weight: 400; }
.cs-result { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--orange); }

/* ---------- Classic sections (inner pages) ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 var(--sec-sm); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 3.8vw, 56px); }
.hero-media img { border-radius: var(--radius); border: 1px solid var(--line-glass); }

.feature-split { padding: var(--sec-sm) 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 90px); align-items: center; }
.feature-split.image-right .split-media { order: 2; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line-glass); }
.split-copy p { color: var(--text-soft); }

.cards-section, .steps-section { padding: var(--sec-sm) 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { font-size: 18px; }
.card-body p { color: var(--text-soft); font-size: 14.5px; }

.stats-band { padding: var(--sec-sm) 0; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat-value { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 700; color: #fff; }
.stat-label { color: var(--text-soft); font-size: 14.5px; margin-top: 4px; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--orange-dim);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17.5px; }
.step p { color: var(--text-soft); font-size: 14.5px; }

.testimonial-section { padding: var(--sec-sm) 0; }
.testimonial { text-align: center; max-width: 800px; }
.testimonial-photo img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; margin: 0 auto 22px; }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--display); font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; line-height: 1.4; color: #fff; }
.testimonial-author { font-weight: 600; }
.testimonial-author span { color: var(--text-soft); font-weight: 400; }

.faq-section { padding: var(--sec-sm) 0; }
.faq-item { border-bottom: 1px solid var(--line-glass); }
.faq-item summary { padding: 20px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; position: relative; padding-right: 36px; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--orange); transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-soft); padding-bottom: 20px; margin: 0; max-width: 680px; }

.cta-band { padding: var(--sec-sm) 0; background: var(--bg-lift); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { text-align: center; }
.cta-inner .lead { margin: 0 auto; }
.cta-inner .btn-row { justify-content: center; }

.richtext-section { padding: var(--sec-sm) 0; }
.richtext { color: var(--text-soft); }
.richtext a { color: var(--orange-light); }
.richtext h3 { color: #fff; margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-lift); border-top: 1px solid var(--line); color: var(--text-dim); padding: 56px 0 28px; }
.site-footer .brand { font-size: 18px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 0.9fr 1.3fr; gap: 48px; align-items: start; }
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-tagline { color: var(--text-dim); font-size: 14px; max-width: 300px; margin: 18px 0 22px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-70);
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255, 81, 0, 0.2); border-color: var(--orange-line); color: #fff; }
.footer-head { font-size: 14px; font-weight: 600; color: var(--text-70); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover, .footer-links a.active { color: var(--orange); }
.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 26px;
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-right { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal-right::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }

/* ---------- Hero cascade: capability chips ---------- */
.hc-stage-copy { flex-wrap: wrap; row-gap: 10px; }
.hc-stage-feats { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding-top: 2px; }
.hc-stage-feats .fs-chip { font-size: 11.5px; padding: 6px 12px; }

/* ---------- Daily Settlement ---------- */
.settlement-story { padding: var(--sec) 0; background: var(--bg-lift); }
.st-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 560px); gap: clamp(40px, 5vw, 90px); align-items: center; }
.st-sub { font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; color: var(--orange-light); margin: -6px 0 18px; }
.st-copy > p:last-child { color: var(--text-soft); max-width: 460px; }
.st-sheet {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 40px);
}
.st-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 0.35s);
}
.settlement-story.playing .st-line { opacity: 1; transform: none; }
.st-label { white-space: nowrap; }
.st-dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.st-amount { font-weight: 600; color: var(--text-70); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-start { font-size: 16.5px; }
.st-start .st-amount { color: #fff; font-family: var(--display); font-size: 20px; }
.st-result { border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 18px; font-size: 16px; }
.st-result .st-label { color: #fff; font-weight: 600; }
.st-result .st-amount { color: var(--orange-light); font-family: var(--display); font-size: 22px; }
.st-deposited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 0.35s);
}
.settlement-story.playing .st-deposited { opacity: 1; transform: none; }
.st-check { display: inline-flex; }
.st-payoff {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  color: #fff;
  margin-top: 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 0.35s);
}
.settlement-story.playing .st-payoff { opacity: 1; transform: none; }

/* ---------- Contingent modifier demo ---------- */
.modifier-demo { padding: var(--sec) 0; }
.md-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 560px); gap: clamp(40px, 5vw, 90px); align-items: center; }
.md-copy p { color: var(--text-soft); max-width: 480px; }
.md-panel { background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--line-glass); border-radius: var(--radius); padding: clamp(24px, 2.5vw, 36px); }
.md-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-dim); margin-bottom: 18px; }
.md-options, .md-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.md-option, .md-choice {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-glass);
  color: var(--text-70);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.md-option:hover, .md-choice:hover { border-color: var(--line-strong); color: #fff; }
.md-option.selected, .md-choice.selected { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--glow-sm); }
.md-followup { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-strong); animation: md-in 0.4s var(--ease); }
@keyframes md-in { from { opacity: 0; transform: translateY(10px); } }
.md-question { font-weight: 600; color: #fff; margin-bottom: 12px; font-size: 15px; }
.md-hint { margin-top: 20px; font-size: 13px; color: var(--text-dim); }

/* ---------- Pour-cost calculator ---------- */
.pour-calc { padding: var(--sec) 0; }
.pc-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 600px); gap: clamp(40px, 5vw, 90px); align-items: center; }
.pc-copy p { color: var(--text-soft); max-width: 480px; }
.pc-panel { background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--line-glass); border-radius: var(--radius); padding: clamp(24px, 2.5vw, 36px); }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.pc-item { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.pc-cost { font-size: 13.5px; color: var(--text-dim); }
.pc-sizes { display: flex; gap: 10px; margin-bottom: 20px; }
.pc-size {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-glass);
  color: var(--text-70);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pc-size:hover { border-color: var(--line-strong); color: #fff; }
.pc-size.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--glow-sm); }
.pc-price-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--text-soft); border-bottom: 1px solid var(--line-glass); padding-bottom: 16px; margin-bottom: 18px; }
.pc-price { font-family: var(--display); font-size: 26px; font-weight: 700; color: #fff; }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 14px; }
.pc-stat { display: flex; flex-direction: column; gap: 2px; }
.pc-stat-value { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--orange-light); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.pc-stat-value.pc-warn { color: var(--red); }
.pc-stat-label { font-size: 12px; color: var(--text-dim); }
.pc-foot { margin-top: 20px; font-size: 13px; color: var(--text-dim); }

/* ---------- Capability explorer ---------- */
.capability-explorer { padding: var(--sec) 0; background: var(--bg-lift); }
.ce-head { max-width: 700px; margin-bottom: clamp(26px, 3vw, 40px); }
.ce-controls { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.ce-search {
  width: min(520px, 100%);
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: var(--glass);
  border: 1px solid var(--line-glass);
  border-radius: 999px;
  padding: 14px 24px;
  outline: none;
  transition: border-color 0.2s;
}
.ce-search::placeholder { color: var(--text-dim); }
.ce-search:focus { border-color: var(--orange-line-strong); }
.ce-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-pill {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-glass);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.ce-pill:hover { color: #fff; border-color: var(--line-strong); }
.ce-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.ce-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 44px; align-items: start; }
.ce-cat { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--orange-light); margin-bottom: 14px; }
.ce-rows { display: flex; flex-direction: column; }
.ce-row { padding: 10px 0; border-top: 1px solid var(--line); }
.ce-row[hidden] { display: none; }
.ce-name { display: block; font-weight: 600; color: var(--text); font-size: 14.5px; }
.ce-desc { display: block; font-size: 13.5px; color: var(--text-dim); margin-top: 1px; }
.ce-empty { color: var(--text-dim); font-size: 15px; padding: 30px 0; }

/* ---------- Forms ---------- */
.form-section { padding: var(--sec) 0; }
.fm-wrap { max-width: 860px; }
.fm-head { margin-bottom: clamp(26px, 3vw, 40px); }
.fm-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fm-field { display: flex; flex-direction: column; gap: 8px; }
.fm-field[hidden] { display: none; }
.fm-label { font-size: 14px; font-weight: 600; color: var(--text-70); }
.fm-req { color: var(--orange); }
.fm-input {
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-glass);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.fm-input::placeholder { color: var(--text-dim); }
.fm-input:focus { border-color: var(--orange-line-strong); }
select.fm-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select.fm-input option { background: #1a1a1d; color: #fff; }
textarea.fm-input { resize: vertical; min-height: 110px; }
.fm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fm-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-70);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-glass);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.fm-choice:hover { border-color: var(--line-strong); color: #fff; }
.fm-choice input { accent-color: var(--orange); width: 16px; height: 16px; margin: 0; }
.fm-choice:has(input:checked) { background: var(--orange-dim); border-color: var(--orange-line); color: #fff; }
.fm-check { border-radius: 14px; align-self: flex-start; }
.fm-actions { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.fm-status { font-size: 14px; color: var(--text-soft); }
.fm-status.fm-error { color: var(--red); }
.fm-success {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  color: #fff;
  padding: 10px 0;
}
.fm-success::before { content: ''; display: inline-block; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg) translateY(-3px); margin-right: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hc-body { grid-template-columns: 1fr; }
  .hc-stages { min-height: 0; aspect-ratio: 4 / 3.4; }
  .oj-layout { grid-template-columns: 1fr; }
  .oj-pin { position: relative; top: 0; height: auto; margin-top: 10px; }
  .oj-step { min-height: 0; padding: 26px 0; opacity: 1; }
  .oj-steps { display: grid; gap: 0; }
  .ie-layout, .fs-grid, .sc-grid, .ps-grid { grid-template-columns: 1fr; }
  .ps-device { order: 2; }
  .hw-stage { grid-template-columns: 1fr; gap: 24px; }
  .hw-stages { min-height: 560px; }
  .cs-card { grid-template-columns: 1fr; width: min(480px, 86vw); }
  .hero-impact { min-height: 0; }
  .st-grid, .md-grid, .pc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar-links { display: none; }
  .site-nav, .header-right { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 84px 12px auto 12px;
    background: rgba(17, 17, 19, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-glass);
    border-radius: var(--radius-sm);
    padding: 18px 22px 26px;
    gap: 2px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 99;
  }
  body.nav-open .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 0 0 6px 16px;
  }
  .hero-grid, .split-grid { grid-template-columns: 1fr; }
  .feature-split.image-right .split-media { order: 0; }
  .bento-grid { grid-template-columns: 1fr !important; grid-template-areas: none !important; }
  .bento-cell { grid-area: auto !important; }
  .ch-composition { height: auto; display: grid; grid-template-columns: 1fr; gap: 20px; }
  .ch-pos, .ch-kiosk, .ch-phone { position: static; width: 100%; }
  .ch-kiosk { max-width: 340px; margin: 0 auto; }
  .ch-phone { max-width: 220px; margin: 0 auto; }
  .ch-orb { display: none; }
  .sc-split { position: static; flex-direction: column; }
  .sc-visual { min-height: 0; flex-direction: column; }
  .splitcheck-story.split .sc-single { display: none; }
  .sc-check { width: min(340px, 100%); }
  .sc-footnote { position: static; margin-top: 20px; }
  .pr-item { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .cs-track { padding: 0 22px; }
  .hi-stats { gap: 0; }
  .hi-stat { padding-right: 20px; }
  .hi-stat + .hi-stat { padding-left: 20px; }
  .final-cta .narrow { padding-left: 22px; padding-right: 22px; border-radius: 28px; }
  .tier-highlight { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .kds-ticket { opacity: 1; transform: none; }
  .ss-line { opacity: 1; transform: none; }
  .oj-step { opacity: 1; }
  .tk-track { animation: none; }
  .topbar-dot { animation: none; }
}
