/* ChefNet landing — immersive layer (hero, AI demo, scroll story, guest tiles,
   restaurant pipeline, investors, download). Built on DESIGN.md tokens from
   styles.css. Mobile-first; motion uses transform/opacity only; backdrop blur
   is desktop-only; everything degrades to static under reduced motion. */
:root {
  --ix-oven-0: #160c08;
  --ix-oven-1: #2a1610;
  --ix-oven-2: #6e2a18;
  --ix-ember: #ffb59e;
  --ix-success: #3fa76a;
  --ix-warning: #e8a53f;
  --ix-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ix-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ix-nav-h: 68px;
  /* small accent text on light surfaces: same red family, ≥5.3:1 on cream/soft */
  --ix-accent-ink: #a63a20;
}

.ix-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ix-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
main section[id] { scroll-margin-top: var(--ix-nav-h); }
.ix-hero, .ix-marquee, .ix-crm, .ix-invest { width: 100%; max-width: 100%; }

/* Keyboard focus is always visible; dark sections switch to the ember ring. */
:where(a, button, select, summary):focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 10px;
}
:where(.ix-hero, .ix-crm, .ix-invest, .ix-dl-card, .footer) :where(a, button):focus-visible {
  outline-color: var(--ix-ember);
}

/* The restaurant section's check bullets: drawn SVG instead of a text glyph. */
.ticks li::before {
  content: '';
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.btn { gap: 10px; }
.ix-btn-icon { width: 18px; height: 18px; flex: 0 0 auto; transition: transform 0.15s var(--ix-ease); }
.btn:hover .ix-btn-icon:not(.ix-btn-icon-lead) { transform: translateX(3px); }
.ix-light { color: var(--ix-ember); }
.ix-light-lead { color: rgba(255, 255, 255, 0.78); max-width: 640px; }
.ix-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ix-hero .ix-cta-row .btn { min-width: 0; max-width: 100%; white-space: normal; text-align: center; }
.ix-center { display: flex; justify-content: center; margin-top: 40px; }
.ix-dot-ok {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ix-success); box-shadow: 0 0 0 3px rgba(63, 167, 106, 0.22);
}
.ix-star { width: 12px; height: 12px; color: var(--ix-warning); flex: 0 0 auto; }

/* ── Phone mockup (shared) ─────────────────────────────────────────────── */
.ix-phone {
  position: relative; width: 240px; aspect-ratio: 9 / 19; padding: 9px;
  border-radius: 42px;
  background: linear-gradient(150deg, #3d2b22 0%, #140b07 46%, #2b1d17 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 30px 70px rgba(15, 8, 4, 0.45);
}
.ix-phone::before {
  content: ''; position: absolute; z-index: 4; top: 17px; left: 50%;
  width: 30%; height: 20px; transform: translateX(-50%);
  border-radius: 999px; background: #050302;
}
.ix-screen-wrap {
  position: relative; height: 100%; overflow: hidden; border-radius: 33px;
  background: var(--bg); color: var(--ink); font-size: 11px; line-height: 1.35;
}
.ix-app { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 40px 11px 10px; }
.ix-app-status {
  position: absolute; top: 15px; left: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 700; color: var(--ink);
}
.ix-app-status i { width: 22px; height: 9px; border-radius: 3px; border: 1.5px solid var(--ink); opacity: 0.7; }
.ix-app-hello small { display: block; color: var(--text-secondary); font-size: 10px; }
.ix-app-hello b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.ix-bubble { max-width: 90%; padding: 7px 9px; border-radius: 12px; font-size: 10.5px; }
.ix-bubble-user { align-self: flex-end; background: var(--primary-dark); color: #fff; border-bottom-right-radius: 4px; }
.ix-bubble-ai {
  display: flex; gap: 6px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px;
}
.ix-ai-mark {
  display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, var(--ix-oven-1), var(--primary)); color: #fff;
}
.ix-ai-mark svg { width: 12px; height: 12px; }
.ix-app-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
  padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
}
.ix-app-card img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.ix-app-card-body { min-width: 0; }
.ix-app-card-body b { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-app-card-body small { display: flex; align-items: center; gap: 3px; color: var(--text-secondary); font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.ix-app-card em {
  font-style: normal; font-weight: 700; font-size: 9.5px; color: #fff;
  background: var(--primary); padding: 4px 8px; border-radius: 999px;
}
.ix-app-tabs {
  margin-top: auto; display: flex; justify-content: space-around; padding: 8px 4px 2px;
  border-top: 1px solid var(--divider); color: var(--text-muted);
}
.ix-app-tabs svg { width: 17px; height: 17px; }
.ix-app-tabs svg.is-active { color: var(--primary); }

/* ── ImmersiveHero ─────────────────────────────────────────────────────── */
.ix-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: var(--ix-oven-1);
  min-height: calc(100vh - var(--ix-nav-h));
  min-height: calc(100svh - var(--ix-nav-h));
  display: flex; align-items: center;
}
.ix-hero-bg { position: absolute; inset: -6% 0 0; z-index: -3; animation: ix-settle 1.8s var(--ix-ease-out) backwards; }
.ix-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; will-change: transform; }
.ix-hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(232, 90, 63, 0.26), transparent 70%),
    linear-gradient(180deg, rgba(22, 12, 8, 0.7) 0%, rgba(22, 12, 8, 0.82) 55%, rgba(22, 12, 8, 0.96) 100%);
}
.ix-hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 150px 150px; opacity: 0.08; mix-blend-mode: overlay;
}
.ix-hero-inner {
  display: grid; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 96px;
}
.ix-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.ix-logo {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px;
  border-radius: 18px; color: var(--ix-ember);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 6px rgba(232, 90, 63, 0.08), 0 18px 40px rgba(0, 0, 0, 0.28);
}
.ix-logo svg { width: 34px; height: 34px; overflow: visible; }
.ix-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ix-draw 1.6s 0.2s var(--ix-ease-out) forwards; }
.ix-hero .overline { color: #ffd9cd; flex-wrap: wrap; }
.ix-h1 { margin: 0; font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600; }
.ix-wordmark {
  display: block; font-size: clamp(60px, 14vw, 116px); line-height: 0.9; letter-spacing: -0.035em;
  color: #fff;
}
.ix-wordmark span { color: var(--primary); }
.ix-h1-line {
  display: block; margin-top: 14px; max-width: 16ch;
  font-size: clamp(26px, 5.4vw, 44px); line-height: 1.08; letter-spacing: -0.022em;
  color: #fff4ec; text-wrap: balance;
}
.ix-hero-sub {
  margin: 22px 0 30px; max-width: 34em;
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, 0.84);
}
.ix-audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ix-pill-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.15s var(--ix-ease), border-color 0.15s var(--ix-ease);
}
.ix-pill-link:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.36); }
.ix-pill-link svg { width: 17px; height: 17px; color: var(--ix-ember); }
.ix-hero-note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.62); }

.ix-hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.ix-hero-visual > * { grid-area: 1 / 1; }
[data-depth] { transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 0.6s var(--ix-ease-out); }
.ix-ring { position: relative; width: min(470px, 100%); aspect-ratio: 1; pointer-events: none; }
.ix-ring > span { position: absolute; inset: 0; border-radius: 50%; }
.ix-ring-glow {
  inset: -14% !important;
  background: radial-gradient(circle, rgba(232, 90, 63, 0.5) 0%, rgba(232, 90, 63, 0.16) 38%, transparent 66%);
}
.ix-ring-arc {
  background: conic-gradient(from 0deg, transparent 0 14%, rgba(255, 181, 158, 0.9) 30%, #e85a3f 44%, transparent 58%, transparent 74%, rgba(255, 181, 158, 0.55) 88%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: ix-spin 16s linear infinite;
}
.ix-ring-dash { inset: 11% !important; border: 1px dashed rgba(255, 255, 255, 0.16); }
.ix-ring-orbit { animation: ix-spin 11s linear infinite; }
.ix-ring-orbit i {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 181, 158, 0.35), 0 0 22px 6px rgba(232, 90, 63, 0.7);
}
.ix-phone-slot { position: relative; z-index: 2; }
.ix-phone-hero { width: 222px; }

.ix-float { position: absolute; z-index: 3; }
.ix-float-in {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: #fff; border-radius: 14px;
  background: rgba(42, 22, 16, 0.78); border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  animation: ix-bob 6s ease-in-out infinite; animation-delay: var(--bob, 0s);
}
.ix-float-in svg { width: 15px; height: 15px; color: var(--ix-ember); }
.ix-float-a { top: 0; right: 4%; }
.ix-float-b { bottom: 0; left: 4%; --bob: -2s; }
.ix-float-c { display: none; top: 44%; --bob: -4s; }

.ix-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  animation: ix-nudge 2.6s ease-in-out infinite;
}
.ix-scroll svg { width: 18px; height: 18px; }

/* Load-in: staggered rise. Elements stay visible without CSS animation support. */
/* backwards, not both: once finished the animation must release transform so
   pointer depth and GSAP scroll parallax can take over. */
.ix-rise { animation: ix-rise 0.9s var(--ix-ease-out) backwards; animation-delay: var(--d, 0s); }

/* ── Cuisine marquee ───────────────────────────────────────────────────── */
.ix-marquee { overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.ix-marquee-track { display: flex; width: max-content; animation: ix-marquee 46s linear infinite; }
.ix-marquee:hover .ix-marquee-track { animation-play-state: paused; }
.ix-marquee-set { display: flex; flex: 0 0 auto; }
.ix-marquee-set span {
  display: inline-flex; align-items: center; gap: 26px; padding: 18px 26px 18px 0;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.ix-marquee-set span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* ── AiDemoSection ─────────────────────────────────────────────────────── */
.ix-demo { position: relative; overflow: hidden; }
.ix-demo-grid { display: grid; gap: 40px; }
.ix-demo-copy .title { margin-bottom: 16px; }
.ix-prompts { display: grid; gap: 10px; margin: 28px 0 18px; }
.ix-prompt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-size: 15.5px; font-weight: 600; text-align: left; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color 0.15s var(--ix-ease), box-shadow 0.2s var(--ix-ease), transform 0.1s var(--ix-ease);
}
.ix-prompt:hover { border-color: rgba(232, 90, 63, 0.5); }
.ix-prompt:active { transform: scale(0.99); }
.ix-prompt[aria-pressed='true'] { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.ix-prompt-icon {
  display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary-dark);
}
.ix-prompt-icon svg { width: 18px; height: 18px; }
.ix-demo-fine { font-size: 13px; color: var(--text-secondary); max-width: 34em; }

.ix-demo-stage { position: relative; }
.ix-demo-stage::before {
  content: ''; position: absolute; inset: -10% -14%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 46% at 72% 18%, rgba(232, 90, 63, 0.22), transparent 70%),
    radial-gradient(40% 40% at 18% 86%, rgba(255, 181, 158, 0.4), transparent 70%);
}
.ix-console {
  position: relative; z-index: 1; padding: 18px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(31, 27, 22, 0.05), 0 30px 70px rgba(110, 42, 24, 0.16);
}
.ix-console-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ix-console-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--ix-oven-1), var(--primary));
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.ix-console-avatar svg { width: 22px; height: 22px; }
.ix-console-name { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.ix-console-badge {
  margin-left: auto; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--text-secondary); background: var(--surface-muted); border: 1px solid var(--border);
}
.ix-input {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 8px 8px 16px;
  border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary);
}
.ix-input > svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ix-input-text { flex: 1; min-width: 0; font-size: 15px; color: var(--ink); line-height: 1.35; }
.ix-typed-idle { color: var(--text-secondary); }
.ix-console:not([data-prompt='none']) .ix-typed-idle { display: none; }
.ix-caret {
  display: none; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px;
  background: var(--primary); animation: ix-blink 1s steps(1) infinite;
}
.ix-console.is-typing .ix-caret { display: inline-block; }
.ix-input-send {
  display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
}
.ix-input-send svg { width: 17px; height: 17px; }

.ix-flow { display: grid; gap: 10px; margin-top: 14px; }
.ix-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0;
  font-size: 13.5px; color: var(--text-secondary);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ix-ease), transform 0.4s var(--ix-ease-out);
}
.ix-line > svg { width: 16px; height: 16px; color: var(--primary); flex: 0 0 auto; }
.ix-console.is-located .ix-line-loc,
.ix-console.is-searching .ix-line-search { opacity: 1; transform: none; }
.ix-loc-live, .ix-found-label, .ix-line-done { display: none; }
.ix-demo[data-source='live'] .ix-loc-sim { display: none; }
.ix-demo[data-source='live'] .ix-loc-live { display: inline; }
.ix-console.is-results .ix-search-label, .ix-console.is-results .ix-spinner { display: none; }
.ix-console.is-results .ix-found-label { display: inline; color: var(--ink); font-weight: 600; }
.ix-console.is-results .ix-line-done { display: block; color: var(--ix-success); }
.ix-spinner {
  width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--primary-soft); border-top-color: var(--primary); animation: ix-spin 0.8s linear infinite;
}
.ix-progress { flex: 1 0 100%; height: 3px; border-radius: 3px; overflow: hidden; background: var(--divider); }
.ix-progress i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--ix-ember));
  transition: transform 1s var(--ix-ease-out);
}
.ix-console.is-searching .ix-progress i { transform: scaleX(0.82); }
.ix-console.is-results .ix-progress i { transform: scaleX(1); }

.ix-results { display: none; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.ix-console[data-prompt='p1'] .ix-results[data-group='p1'],
.ix-console[data-prompt='p2'] .ix-results[data-group='p2'],
.ix-console[data-prompt='p3'] .ix-results[data-group='p3'],
.ix-console[data-prompt='live'] .ix-results[data-group='live'] { display: grid; }
.ix-result {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s var(--ix-ease), transform 0.5s var(--ix-ease-out), border-color 0.2s;
}
.ix-result:nth-child(2) { transition-delay: 0.09s; }
.ix-result:nth-child(3) { transition-delay: 0.18s; }
.ix-console.is-results .ix-result { opacity: 1; transform: none; }
.ix-console.is-suggest .ix-result:first-child { border-color: rgba(232, 90, 63, 0.55); box-shadow: 0 0 0 3px var(--primary-soft); }
.ix-result img, .ix-result-photo {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--surface-muted);
}
.ix-result-body { min-width: 0; }
.ix-result-body b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-result-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); }
.ix-result-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.ix-result-tag {
  display: inline-block; margin-top: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--ix-accent-ink); background: var(--primary-soft);
}
.ix-live-note { display: none; margin: 0; font-size: 12.5px; color: var(--text-secondary); }
.ix-console.has-live-note .ix-live-note { display: block; }

.ix-suggest {
  display: grid; gap: 12px; margin-top: 4px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.35s var(--ix-ease), transform 0.5s var(--ix-ease-out);
}
.ix-console.is-suggest .ix-suggest { opacity: 1; transform: none; pointer-events: auto; }
.ix-suggest-bubble {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px;
  border-radius: 18px 18px 18px 6px; font-size: 14.5px; line-height: 1.5; color: #fff;
  background: linear-gradient(135deg, var(--ix-oven-1) 0%, var(--ix-oven-2) 100%);
}
.ix-suggest-bubble .ix-ai-mark { width: 24px; height: 24px; border-radius: 8px; background: var(--primary); }
.ix-suggest-bubble .ix-ai-mark svg { width: 15px; height: 15px; }
.ix-suggest-text { display: none; }
.ix-console[data-prompt='p1'] .ix-suggest-text[data-group='p1'],
.ix-console[data-prompt='p2'] .ix-suggest-text[data-group='p2'],
.ix-console[data-prompt='p3'] .ix-suggest-text[data-group='p3'],
.ix-console[data-prompt='live'] .ix-suggest-text[data-group='live'] { display: inline; }
.ix-demo[data-source='live'] .ix-console-badge,
.ix-demo[data-source='live'] .ix-demo-fine { display: none; }
.ix-suggest-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ix-suggest-actions .btn { padding: 11px 18px; font-size: 14.5px; }
.ix-suggest-actions .ix-btn-icon { width: 17px; height: 17px; }

/* ── ScrollStorySection ────────────────────────────────────────────────── */
.ix-story-grid { position: relative; display: grid; gap: 8px; }
.ix-story-media {
  position: sticky; top: var(--ix-nav-h); z-index: 2; display: grid; place-items: center;
  height: 330px; padding: 8px 0 22px; perspective: 1100px;
  background: linear-gradient(180deg, var(--surface-muted) 84%, rgba(245, 237, 223, 0));
}
.ix-story-phone { width: 146px; padding: 6px; border-radius: 28px; }
.ix-story-phone::before { top: 11px; height: 13px; }
.ix-story-phone .ix-screen-wrap { border-radius: 23px; font-size: 7.5px; }
.ix-orb {
  position: absolute; overflow: hidden; border-radius: 50%; border: 4px solid #fff;
  box-shadow: var(--shadow-lift); background: var(--surface);
}
.ix-orb img { width: 100%; height: 100%; object-fit: cover; }
.ix-orb-a { width: 72px; height: 72px; top: 30px; left: 6%; }
.ix-orb-b { width: 58px; height: 58px; bottom: 44px; right: 7%; }

.ix-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 8px 8px; opacity: 0; transform: translateY(12px) scale(0.985);
  transition: opacity 0.45s var(--ix-ease), transform 0.6s var(--ix-ease-out);
}
.ix-story[data-active='1'] .ix-screen[data-screen='1'],
.ix-story[data-active='2'] .ix-screen[data-screen='2'],
.ix-story[data-active='3'] .ix-screen[data-screen='3'],
.ix-story[data-active='4'] .ix-screen[data-screen='4'],
.ix-story[data-active='5'] .ix-screen[data-screen='5'] { opacity: 1; transform: none; }
.ix-story-phone .ix-app-status { top: 9px; left: 15px; right: 15px; font-size: 7px; }
.ix-story-phone .ix-app-status i { width: 14px; height: 6px; border-width: 1px; }
.ix-story-phone .ix-bubble { font-size: inherit; padding: 6px 7px; border-radius: 9px; }
.ix-story-phone .ix-ai-mark { width: 13px; height: 13px; border-radius: 4px; }
.ix-story-phone .ix-ai-mark svg { width: 9px; height: 9px; }
.ix-story-phone .ix-app-card { padding: 4px; gap: 5px; border-radius: 9px; }
.ix-story-phone .ix-app-card img { width: 26px; height: 26px; border-radius: 6px; }
.ix-story-phone .ix-app-card-body b { font-size: 8px; }
.ix-story-phone .ix-app-card-body small { font-size: 7px; }
.ix-story-phone .ix-star { width: 8px; height: 8px; }
.ix-screen-head { margin: 0 0 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.45em; }
.ix-typing { display: flex; gap: 3px; padding: 6px 8px; align-self: flex-start; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); }
.ix-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); animation: ix-typing 1.2s ease-in-out infinite; }
.ix-typing i:nth-child(2) { animation-delay: 0.15s; }
.ix-typing i:nth-child(3) { animation-delay: 0.3s; }
.ix-screen-venue { padding: 0; gap: 0; }
.ix-venue-cover { height: 38%; overflow: hidden; }
.ix-venue-cover img { width: 100%; height: 100%; object-fit: cover; }
.ix-venue-body { padding: 8px; display: grid; gap: 3px; }
.ix-venue-body p { margin: 0; }
.ix-venue-name { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.35em; }
.ix-open { font-family: var(--font-body); font-size: 0.62em; font-weight: 700; color: #fff; background: var(--ix-success); padding: 2px 5px; border-radius: 999px; }
.ix-venue-meta { display: flex; align-items: center; gap: 3px; color: var(--text-secondary); }
.ix-venue-label { margin-top: 4px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8em; color: var(--primary-dark); }
.ix-menu-row { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--divider); }
.ix-screen-done { align-items: center; justify-content: center; text-align: center; }
.ix-done-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--ix-success); box-shadow: 0 0 0 7px rgba(63, 167, 106, 0.16); }
.ix-done-mark svg { width: 22px; height: 22px; }
.ix-done-title { margin: 8px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.6em; }
.ix-done-sub { margin: 0; color: var(--text-secondary); }
.ix-ticket { display: grid; gap: 4px; width: 100%; margin-top: 8px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--border); }
.ix-ticket span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--text-secondary); }
.ix-ticket svg { width: 10px; height: 10px; color: var(--primary); }
.ix-screen-crm { background: var(--ix-oven-0); color: #fff; }
.ix-screen-crm .ix-app-status { color: #fff; }
.ix-screen-crm .ix-app-status i { border-color: #fff; }
.ix-crm-row { display: flex; align-items: center; gap: 6px; margin: 0; padding: 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.ix-crm-row span { flex: 1; min-width: 0; }
.ix-crm-row b { color: var(--ix-ember); }
.ix-crm-row i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.ix-crm-row i.is-new { background: var(--primary); }
.ix-crm-row i.is-pre { background: var(--ix-warning); }
.ix-crm-row i.is-note { background: var(--ix-success); }

.ix-story-steps { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.ix-rail { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--border); }
.ix-rail-fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: top;
  transform: scaleY(var(--story-progress, 0));
  background: linear-gradient(180deg, var(--primary), var(--ix-ember));
  transition: transform 0.5s var(--ix-ease-out);
}
.ix-gsap .ix-rail-fill { transition: none; }
.ix-step {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 62vh; padding: 28px 0;
}
.ix-step::before {
  content: ''; position: absolute; left: -32px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--surface-muted); border: 2px solid var(--border);
  transition: border-color 0.3s var(--ix-ease), box-shadow 0.3s var(--ix-ease), background-color 0.3s var(--ix-ease);
}
.ix-step h3, .ix-step-num { transition: color 0.35s var(--ix-ease); }
.ix-step:not(.is-active) h3 { color: var(--text-secondary); }
.ix-step:not(.is-active) .ix-step-num { color: var(--text-secondary); }
.ix-step.is-active::before { background: var(--surface); border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.ix-step-num { margin-bottom: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.04em; color: var(--ix-accent-ink); }
.ix-step h3 {
  margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(25px, 3vw, 36px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance;
}
.ix-step p { margin: 0; max-width: 30em; font-size: 17px; line-height: 1.65; color: var(--text-secondary); }

/* ── GuestExperienceSection (bento) ────────────────────────────────────── */
.ix-guest .title { max-width: 820px; margin-bottom: 40px; }
.ix-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ix-tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 22px;
  overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.ix-tile h3 { margin: 6px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ix-tile p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.ix-tile-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary-dark);
}
.ix-tile-icon svg { width: 22px; height: 22px; }
.ix-viz { margin-top: auto; padding-top: 14px; font-size: 13px; }
.ix-viz svg { width: 14px; height: 14px; }

.ix-viz-search { display: grid; gap: 10px; }
.ix-viz-query {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 14px;
  border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-weight: 600;
}
.ix-viz-query svg { color: var(--primary); }
.ix-viz-bars { display: grid; gap: 6px; }
.ix-viz-bars i {
  display: block; height: 8px; border-radius: 4px; transform-origin: left; transform: scaleX(0.08);
  background: linear-gradient(90deg, var(--primary-soft), var(--surface-muted));
  transition: transform 0.9s var(--ix-ease-out);
}
.ix-viz-bars i:nth-child(1) { width: 92%; transition-delay: 0.1s; background: linear-gradient(90deg, rgba(232, 90, 63, 0.4), var(--primary-soft)); }
.ix-viz-bars i:nth-child(2) { width: 74%; transition-delay: 0.22s; }
.ix-viz-bars i:nth-child(3) { width: 58%; transition-delay: 0.34s; }
.ix-tile.in .ix-viz-bars i { transform: none; }

.ix-viz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ix-viz-chips > span {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px;
  font-weight: 600; color: var(--text-secondary); background: var(--surface-muted); border: 1px solid var(--border);
}
.ix-viz-chips > span.is-on { color: var(--ix-accent-ink); background: var(--primary-soft); border-color: rgba(232, 90, 63, 0.35); }

.ix-viz-menu { display: grid; gap: 6px; }
.ix-viz-menu p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--divider); color: var(--ink); }
.ix-viz-menu img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ix-viz-menu span { flex: 1; min-width: 0; }

.ix-viz-slots { display: flex; gap: 6px; }
.ix-viz-slots span {
  flex: 1; padding: 9px 0; text-align: center; font-weight: 700; border-radius: 12px;
  color: var(--text-secondary); background: var(--surface-muted); border: 1px solid var(--border);
  transition: background-color 0.35s var(--ix-ease) 0.4s, color 0.35s var(--ix-ease) 0.4s, border-color 0.35s var(--ix-ease) 0.4s;
}
.ix-tile.in .ix-viz-slots .is-pick { color: #fff; background: var(--primary); border-color: var(--primary); }

.ix-viz-pre { display: grid; gap: 8px; }
.ix-pre-dish { font-weight: 700; color: var(--ink); }
.ix-pre-ready { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ix-success); }

.ix-viz-deposit { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 16px; }
.ix-deposit-amount { grid-row: span 2; font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.ix-deposit-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-secondary); }
.ix-deposit-state svg { color: var(--ix-success); }
.ix-deposit-bar { height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-muted); }
.ix-deposit-bar i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ix-success), #7fd0a0); transition: transform 1.1s var(--ix-ease-out) 0.2s;
}
.ix-tile.in .ix-deposit-bar i { transform: none; }

.ix-viz-route { display: grid; gap: 8px; }
.ix-viz-route > svg { width: 100%; height: 64px; overflow: visible; }
.ix-route-base { fill: none; stroke: var(--divider); stroke-width: 4; stroke-linecap: round; }
.ix-route-line {
  fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ix-ease-out) 0.15s;
}
.ix-tile.in .ix-route-line { stroke-dashoffset: 0; }
.ix-viz-route circle { fill: var(--ink); }
.ix-viz-route .ix-route-end { fill: var(--primary); }
.ix-route-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.ix-route-time svg { color: var(--primary); }

.ix-viz-chef { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 14px; }
.ix-chef-count { grid-row: span 2; font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--primary); }
.ix-chef-label { font-weight: 600; color: var(--text-secondary); }
.ix-chef-bar { height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-muted); }
.ix-chef-bar i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--ix-ember)); transition: transform 1.2s var(--ix-ease-out) 0.2s;
}
.ix-tile.in .ix-chef-bar i { transform: scaleX(0.64); }

/* ── RestaurantCrmSection (pipeline) ───────────────────────────────────── */
.ix-crm {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(80px, 10vw, 128px) 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ix-oven-0) 100%);
}
.ix-crm-glow {
  position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232, 90, 63, 0.24), transparent 62%); pointer-events: none;
}
.ix-crm .title-light { max-width: 760px; margin-bottom: 14px; }
.ix-pipeline { display: grid; gap: 16px; margin-top: 44px; }
.ix-lane { padding: 20px; border-radius: 24px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); }
.ix-lane-label { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.ix-lane-nodes { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ix-node { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
/* connector to the next node: ::before is the track, ::after the lit segment */
.ix-node:not(:last-child)::before,
.ix-node:not(:last-child)::after {
  content: ''; position: absolute; left: 21px; top: 50px; bottom: -18px; width: 2px; border-radius: 2px;
}
.ix-node:not(:last-child)::before { background: rgba(255, 255, 255, 0.1); }
.ix-node:not(:last-child)::after {
  background: linear-gradient(180deg, var(--primary), var(--ix-ember));
  transform-origin: top; transform: scaleY(0); transition: transform 0.7s var(--ix-ease-out);
}
.ix-node.is-linked::after { transform: none; }
.ix-node-dot {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 0.35s var(--ix-ease), color 0.35s var(--ix-ease), border-color 0.35s var(--ix-ease), box-shadow 0.35s var(--ix-ease);
}
.ix-node-dot svg { width: 20px; height: 20px; }
.ix-node.is-on .ix-node-dot { color: var(--ix-ember); background: rgba(232, 90, 63, 0.16); border-color: rgba(232, 90, 63, 0.5); }
.ix-node.is-current .ix-node-dot {
  color: #fff; background: var(--primary); border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(232, 90, 63, 0.18), 0 0 30px rgba(232, 90, 63, 0.6);
}
.ix-node-text { padding-top: 2px; }
.ix-node-text b { display: block; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.7); transition: color 0.35s var(--ix-ease); }
.ix-node.is-on .ix-node-text b { color: #fff; }
.ix-node-text small { display: block; margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.ix-crm-cta { margin-top: 36px; }

/* ── InvestorImmersiveSection ──────────────────────────────────────────── */
.ix-invest {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(80px, 10vw, 128px) 0;
  background:
    radial-gradient(70% 60% at 100% 100%, rgba(232, 90, 63, 0.5), transparent 70%),
    linear-gradient(140deg, var(--ix-oven-0) 0%, var(--ix-oven-1) 38%, var(--ix-oven-2) 78%, #8f3520 100%);
}
.ix-invest-grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 150px 150px; opacity: 0.08; mix-blend-mode: overlay; }
.ix-inv-title { max-width: 860px; text-wrap: balance; }
.ix-inv-cards { display: grid; gap: 14px; margin-top: 40px; }
.ix-glass {
  padding: 24px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.ix-glass h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ix-glass p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.76); }
.ix-inv-num { display: block; margin-bottom: 16px; font-family: var(--font-display); font-size: 38px; font-weight: 600; line-height: 1; color: var(--ix-ember); }
.ix-inv-split { display: grid; gap: 14px; margin-top: 14px; }

.ix-orbit { position: relative; margin-top: 18px; }
.ix-orbit-ring, .ix-orbit-core { display: none; }
.ix-orbit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ix-orbit-list span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 12px;
  text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.25; border-radius: 14px;
  background: rgba(22, 12, 8, 0.45); border: 1px solid rgba(255, 255, 255, 0.16);
}

.ix-status-label { margin: 16px 0 8px !important; font-size: 12px !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72) !important; }
.ix-status-label.is-live { color: #8fe0b0 !important; }
.ix-status-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ix-status-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.ix-status-list li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.ix-status-list li.is-live::before { border-color: var(--ix-success); background: var(--ix-success); box-shadow: 0 0 0 3px rgba(63, 167, 106, 0.25); }

.ix-road { position: relative; margin-top: 44px; }
.ix-road-title { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.ix-road-steps { position: relative; z-index: 1; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ix-road-step { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.ix-road-dot { grid-row: span 2; position: relative; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--ix-oven-1); border: 2px solid rgba(255, 255, 255, 0.4); }
.ix-road-step small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.ix-road-step b { font-size: 16px; }
.ix-road-step.is-done .ix-road-dot { background: var(--ix-ember); border-color: var(--ix-ember); }
.ix-road-step.is-now .ix-road-dot { background: var(--primary); border-color: #fff; }
.ix-road-step.is-now .ix-road-dot::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 181, 158, 0.7);
  animation: ix-ping 2.2s var(--ix-ease-out) infinite;
}
.ix-road-step.is-now small { color: var(--ix-ember); }
.ix-road-track { display: none; }
.ix-inv-cta { margin-top: 40px; }

/* ── DownloadCtaSection ────────────────────────────────────────────────── */
.ix-dl-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px;
  padding: 36px 24px 0; border-radius: 30px; color: #fff;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(232, 90, 63, 0.55), transparent 62%),
    linear-gradient(135deg, var(--ix-oven-1), var(--ix-oven-0));
  box-shadow: var(--shadow-lift);
}
.ix-dl-copy { padding-bottom: 4px; }
.ix-dl-copy p { margin: 14px 0 26px; max-width: 30em; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.ix-dl-visual { display: flex; justify-content: center; height: 300px; overflow: hidden; }
.ix-phone-dl { width: 230px; height: max-content; transform: rotate(-6deg) translateY(24px); }

/* ── Breakpoints ───────────────────────────────────────────────────────── */
@media (min-width: 560px) {
  .ix-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ix-tile.is-wide { grid-column: span 2; }
  .ix-viz-search { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .ix-orbit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 761px) {
  .ix-lane { padding: 24px; }
  .ix-lane-nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ix-node { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ix-node:not(:last-child)::before,
  .ix-node:not(:last-child)::after { left: 54px; right: -6px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .ix-node:not(:last-child)::after { transform-origin: left; transform: scaleX(0); }
  .ix-node.is-linked::after { transform: none; }
  .ix-road-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ix-road-step { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .ix-road-dot { grid-row: auto; margin: 0 0 8px; }
  .ix-road-track {
    display: block; position: absolute; z-index: 0; left: 9px; right: calc(25% - 9px); top: calc(12px + 18px + 18px + 9px);
    height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.18);
  }
  .ix-road-track i {
    display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--ix-ember), var(--primary)); transition: transform 1.4s var(--ix-ease-out) 0.2s;
  }
  .ix-road.in .ix-road-track i { transform: scaleX(0.3333); }
}

@media (min-width: 961px) {
  .ix-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px;
    padding-top: 72px; padding-bottom: 112px;
  }
  .ix-hero-visual { min-height: 620px; justify-items: end; }
  .ix-phone-hero { width: 248px; }
  .ix-phone-slot { margin-right: 5%; }
  /* ring centred on the phone: 5% + phone/2 − ring/2 */
  .ix-ring { width: 400px; margin-right: calc(5% - 76px); }
  .ix-float { right: auto; bottom: auto; }
  .ix-float-a { top: 17%; left: 0; }
  .ix-float-c { display: block; top: 43%; left: -7%; }
  .ix-float-b { top: 69%; left: 1%; }
  .ix-float-in {
    max-width: 230px; white-space: normal;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)), rgba(42, 22, 16, 0.72);
  }
  .ix-demo-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
  .ix-console { padding: 22px; }

  .ix-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .ix-story-media {
    top: calc(var(--ix-nav-h) + 4vh); height: calc(100vh - var(--ix-nav-h) - 8vh);
    padding: 0; background: none;
  }
  .ix-story-phone { width: 262px; padding: 9px; border-radius: 42px; }
  .ix-story-phone::before { top: 17px; height: 20px; }
  .ix-story-phone .ix-screen-wrap { border-radius: 33px; font-size: 11px; }
  .ix-story-phone .ix-app-status { top: 15px; left: 22px; right: 22px; font-size: 10px; }
  .ix-story-phone .ix-app-status i { width: 22px; height: 9px; border-width: 1.5px; }
  .ix-story-phone .ix-bubble { padding: 7px 9px; border-radius: 12px; }
  .ix-story-phone .ix-ai-mark { width: 18px; height: 18px; border-radius: 6px; }
  .ix-story-phone .ix-ai-mark svg { width: 12px; height: 12px; }
  .ix-story-phone .ix-app-card { padding: 6px; gap: 8px; border-radius: 12px; }
  .ix-story-phone .ix-app-card img { width: 40px; height: 40px; border-radius: 9px; }
  .ix-story-phone .ix-app-card-body b { font-size: 11px; }
  .ix-story-phone .ix-app-card-body small { font-size: 9.5px; }
  .ix-story-phone .ix-star { width: 11px; height: 11px; }
  .ix-screen { padding: 42px 12px 12px; gap: 8px; }
  .ix-screen-venue { padding: 0; }
  .ix-venue-body { padding: 12px; gap: 5px; }
  .ix-done-mark { width: 64px; height: 64px; }
  .ix-done-mark svg { width: 30px; height: 30px; }
  .ix-ticket { padding: 12px; }
  .ix-ticket svg { width: 13px; height: 13px; }
  .ix-crm-row { padding: 10px; gap: 8px; }
  .ix-crm-row i { width: 8px; height: 8px; }
  .ix-typing { padding: 8px 10px; }
  .ix-typing i { width: 6px; height: 6px; }
  .ix-orb-a { width: 132px; height: 132px; top: 9%; left: 0; }
  .ix-orb-b { width: 100px; height: 100px; bottom: 11%; right: 2%; }
  .ix-story-steps { padding-left: 44px; }
  .ix-rail { left: 11px; }
  .ix-step { min-height: 78vh; }
  .ix-step::before { left: -40px; width: 18px; height: 18px; margin-top: -9px; }

  .ix-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ix-tile { min-height: 260px; padding: 26px; }

  .ix-glass {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  }
  .ix-inv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .ix-inv-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; }
  .ix-orbit { container-type: inline-size; aspect-ratio: 1; max-width: 440px; margin: 10px auto 0; }
  .ix-orbit-ring { display: block; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); }
  .ix-orbit-ring-2 { inset: 33%; border-style: dashed; animation: ix-spin 70s linear infinite; }
  .ix-orbit-core {
    display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px;
    margin: -42px 0 0 -42px; border-radius: 26px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--ix-oven-2));
    box-shadow: 0 0 0 10px rgba(232, 90, 63, 0.14), 0 0 60px rgba(232, 90, 63, 0.55);
  }
  .ix-orbit-core svg { width: 46px; height: 46px; }
  .ix-orbit-list { display: block; position: absolute; inset: 0; }
  .ix-orbit-list li {
    position: absolute; left: 50%; top: 50%;
    transform: rotate(var(--a)) translate(35cqw) rotate(calc(-1 * var(--a))) translate(-50%, -50%);
  }
  .ix-orbit-list span { width: 128px; min-height: 52px; background: rgba(22, 12, 8, 0.6); }

  .ix-dl-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 24px; padding: 56px 56px 0; }
  .ix-dl-copy { padding-bottom: 56px; }
  .ix-dl-visual { height: 380px; align-self: end; }
  .ix-phone-dl { width: 250px; transform: rotate(-7deg) translateY(36px); }
}

@media (min-width: 1200px) {
  .ix-hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .ix-phone-hero { width: 262px; }
  .ix-ring { width: 440px; margin-right: calc(5% - 89px); }
}

@media (max-width: 400px) {
  .ix-float-c { display: none; }
  .ix-float-in { font-size: 11.5px; padding: 8px 11px; }
  .ix-console { padding: 14px; border-radius: 22px; }
  .ix-console-badge { display: none; }
}

/* ── Accessible accent text on light surfaces ──────────────────────────── */
.overline, .insight-feature-kicker, .ix-venue-label { color: var(--ix-accent-ink); }
.ix-hero .overline { color: #ffd9cd; }
.overline.ix-light { color: var(--ix-ember); }

/* ── Rendering budget ──────────────────────────────────────────────────────
   Sections below the first screen skip style, layout and paint until they
   approach the viewport; "auto" remembers the real height once rendered so
   anchors and scroll position stay stable. The sticky story is excluded. */
.ix-demo { content-visibility: auto; contain-intrinsic-size: auto 980px; }
/* Containment does not create a scroll container, so the sticky phone keeps working. */
.ix-story { content-visibility: auto; contain-intrinsic-size: auto 3400px; }
.ix-guest { content-visibility: auto; contain-intrinsic-size: auto 1250px; }
#restaurants { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.ix-crm { content-visibility: auto; contain-intrinsic-size: auto 980px; }
.ix-invest { content-visibility: auto; contain-intrinsic-size: auto 1500px; }
.insights-preview { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.faq { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.ix-dl { content-visibility: auto; contain-intrinsic-size: auto 720px; }
.footer { content-visibility: auto; contain-intrinsic-size: auto 320px; }

.ix-cv-off :is(.ix-demo, .ix-story, .ix-guest, #restaurants, .ix-crm, .ix-invest, .insights-preview, .faq, .ix-dl, .footer) {
  content-visibility: visible;
}

/* Decorative loops wait for the load event (immersive.js adds .ix-loaded), so
   the first paint is not competing with animation frames, and pause while their
   section is off screen. */
.ix-ring-arc, .ix-ring-orbit, .ix-float-in, .ix-scroll, .ix-marquee-track { animation-play-state: paused; }
.ix-loaded .ix-ring-arc, .ix-loaded .ix-ring-orbit, .ix-loaded .ix-float-in,
.ix-loaded .ix-scroll, .ix-loaded .ix-marquee-track { animation-play-state: running; }
@media (max-width: 960px) { .ix-hero-grain { display: none; } }

/* Infinite loops pause while their section is off screen (immersive.js). */
.ix-offscreen .ix-ring-arc, .ix-offscreen .ix-ring-orbit, .ix-offscreen .ix-float-in,
.ix-offscreen .ix-scroll, .ix-offscreen.ix-marquee .ix-marquee-track, .ix-offscreen .ix-orbit-ring-2,
.ix-offscreen .ix-typing i, .ix-offscreen .ix-road-dot::after { animation-play-state: paused; }

/* ── Keyframes ─────────────────────────────────────────────────────────── */
@keyframes ix-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ix-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ix-draw { to { stroke-dashoffset: 0; } }
@keyframes ix-spin { to { transform: rotate(360deg); } }
@keyframes ix-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ix-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes ix-marquee { to { transform: translateX(-50%); } }
@keyframes ix-blink { 50% { opacity: 0; } }
@keyframes ix-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes ix-ping { from { transform: scale(0.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ── Reduced motion: no loops, no parallax, final states shown at once ─── */
@media (prefers-reduced-motion: reduce) {
  .ix-rise, .ix-hero-bg, .ix-ring > span, .ix-float-in, .ix-scroll, .ix-caret, .ix-typing i,
  .ix-orbit-ring-2, .ix-road-step.is-now .ix-road-dot::after { animation: none !important; }
  .ix-draw { animation: none; stroke-dashoffset: 0; }
  .ix-spinner { animation-duration: 2.4s; }
  [data-depth] { transform: none !important; transition: none; }
  .ix-marquee-track { animation: none; width: 100%; }
  .ix-marquee-set { flex-wrap: wrap; justify-content: center; width: 100%; padding: 4px 16px; }
  .ix-marquee-set span { padding: 10px 13px; }
  .ix-marquee-set span::after { display: none; }
  .ix-marquee .ix-dup { display: none; }
  .ix-line, .ix-result, .ix-suggest, .ix-screen, .ix-step, .ix-step::before, .ix-node-dot,
  .ix-node::after, .ix-progress i, .ix-rail-fill, .ix-viz-bars i, .ix-viz-slots span,
  .ix-deposit-bar i, .ix-chef-bar i, .ix-route-line, .ix-road-track i { transition: none !important; }
}
