/* =====================================================================
   eServeBite — scroll-driven marketing site
   ---------------------------------------------------------------------
   Two animation systems work together:
   1. Native CSS scroll-driven animations (animation-timeline: view() /
      scroll()) for reveals, icon drawing and zooms — wrapped in
      @supports, with an IntersectionObserver fallback (.in class).
   2. A tiny JS engine that writes scroll progress into --p (0 → 1) on
      [data-scene] sections, used by the pinned "scrollytelling" scenes.
   ===================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Tokens ---------- */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --bs { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --ink: #0c0c0b;
  --ink-2: #151513;
  --ink-3: #1d1d1a;
  --paper: #f3f0e7;
  --paper-2: #e9e4d5;
  --card: #fbfaf5;
  --lime: #d4ff3f;
  --orange: #ff5a2c;
  --blue: #6f86ff;
  --mute-d: rgba(243, 240, 231, .62);
  --mute-l: #5d5a51;
  --line-d: rgba(243, 240, 231, .12);
  --line-l: rgba(12, 12, 11, .12);

  --f-display: "Bricolage", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.section { padding: clamp(96px, 14vh, 170px) 0; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.eyebrow--lime::before { background: var(--lime); }

.head { max-width: 780px; margin: 0 auto clamp(48px, 8vh, 80px); text-align: center; }
.head h2 { font-size: clamp(38px, 5.4vw, 80px); }
.head > p:not(.eyebrow) { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--mute-l); }
.head--left { text-align: left; margin: 0; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--orange); }

/* ---------- Freehand icons ---------- */
.fh-i, .mod__icon {
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.blob {
  fill: var(--blob, transparent); stroke: none;
  transform-box: fill-box; transform-origin: center;
  transform: scale(var(--bs, 1));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.1; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--btn-fill, var(--paper));
  translate: 0 102%; transition: translate .5s var(--ease-out);
}
.btn:hover::before { translate: 0 0; }
.btn .fh-i { width: 22px; height: 22px; stroke-width: 3; transition: translate .35s var(--ease); }
.btn:hover .fh-i { translate: 4px 0; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); --btn-fill: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); --btn-fill: var(--orange); }
.btn--ink:hover { color: var(--ink); }
.btn--line { border: 1px solid rgba(243, 240, 231, .3); color: var(--paper); --btn-fill: var(--paper); }
.btn--line:hover { color: var(--ink); }
.btn--line-ink { border: 1px solid var(--ink); color: var(--ink); --btn-fill: var(--ink); }
.btn--line-ink:hover { color: var(--paper); }

/* ---------- Chrome: progress, grain, cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; scale: var(--page-p, 0) 1; }
@supports (animation-timeline: scroll()) {
  .progress span { animation: grow-x linear both; animation-timeline: scroll(root); }
}
@keyframes grow-x { from { scale: 0 1; } to { scale: 1 1; } }

.grain {
  position: fixed; inset: 0; z-index: 110; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor { display: none; position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; mix-blend-mode: difference; }
.cursor span { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--lime); transition: scale .35s var(--ease); }
.has-cursor .cursor { display: block; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-on { opacity: 1; }
.cursor.is-link span { scale: 3.2; }
.cursor.is-down span { scale: .6; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; transition: translate .5s var(--ease); }
.nav.is-hidden { translate: 0 -140%; }
.nav__pill {
  width: min(100% - 32px, 1000px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 16px; border-radius: 999px;
  color: var(--paper);
  background: rgba(18, 18, 16, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo b { color: var(--lime); font-weight: 700; }
.logo__mark { width: 30px; height: 30px; transition: rotate .6s var(--ease); }
.logo:hover .logo__mark { rotate: -20deg; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(243, 240, 231, .72); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--paper); background: rgba(255, 255, 255, .08); }
.nav__menu-cta { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: translate .35s var(--ease), rotate .35s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { translate: 0 3.5px; rotate: 45deg; }
.nav__burger[aria-expanded="true"] span:last-child { translate: 0 -3.5px; rotate: -45deg; }

/* ---------- Load-in ---------- */
.load { animation: fade-up 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; translate: 0 24px; } }

/* =====================================================================
   HERO — pinned; dashboard rises & flattens with scroll (--p)
   ===================================================================== */
.hero { position: relative; overflow: clip; height: 240vh; background: var(--ink); color: var(--paper); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__glow {
  position: absolute; left: 50%; bottom: -55vh; width: 150vw; height: 110vh; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(212, 255, 63, .22), rgba(111, 134, 255, .08) 55%, transparent);
  scale: calc(1 + var(--p) * .4);
  pointer-events: none;
}
.hero__copy {
  position: relative; z-index: 2; text-align: center;
  padding: clamp(96px, 12.5vh, 140px) var(--gutter) 0;
  opacity: calc(1 - var(--p) * 2.2);
  translate: 0 calc(var(--p) * -16vh);
  scale: calc(1 - var(--p) * .08);
}
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; color: var(--mute-d); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(212, 255, 63, .6); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(212, 255, 63, 0); } }

.hero__title { margin-top: 22px; font-size: clamp(40px, 7.4vw, 110px); line-height: .96; letter-spacing: -.05em; font-weight: 700; }
.hero__title .line { display: block; }
.hero__title .line > span { display: inline-block; animation: rise 1.2s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; translate: 0 45%; rotate: 2deg; filter: blur(10px); } }
.hero__title .serif { color: var(--lime); font-size: 1.08em; padding-inline: .06em; }
.scribble-wrap { position: relative; display: inline-block; }
.scribble-circle {
  position: absolute; left: -14%; top: -4%; width: 128%; height: 112%;
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1;
  animation: draw-in 1.3s 1.1s var(--ease) forwards;
  pointer-events: none;
}
@keyframes draw-in { to { stroke-dashoffset: 0; } }

.hero__sub { max-width: 620px; margin: 26px auto 0; font-size: clamp(16px, 1.45vw, 19px); color: var(--mute-d); }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__stage {
  position: absolute; z-index: 1; left: 50%; top: 16vh;
  width: min(1100px, 90vw);
  translate: -50% calc((1 - var(--p)) * var(--stage-y, 70vh));
  perspective: 1800px;
}
.mock {
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - min(var(--p) * 1.25, 1)) * 44deg)) scale(calc(.86 + min(var(--p) * 1.25, 1) * .14));
  border-radius: 20px; overflow: hidden;
  background: #121210; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -30px 120px -30px rgba(212, 255, 63, .35), 0 60px 120px -40px rgba(0, 0, 0, .8);
  font-size: 13px; color: var(--paper);
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-d); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a35; }
.mock__bar span { margin-left: 10px; font-size: 12px; color: var(--mute-d); }
.mock__body { display: flex; }
.mock__side { width: 58px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; border-right: 1px solid var(--line-d); }
.mock__side b { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); margin-bottom: 6px; }
.mock__side i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.mock__side i.on { background: var(--lime); }
.mock__main { flex: 1; min-width: 0; padding: 18px; display: grid; gap: 14px; }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__head small { display: block; color: var(--mute-d); font-size: 11px; }
.mock__head strong { font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(212, 255, 63, .12); color: var(--lime); font-size: 11px; font-weight: 600; }
.live b { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: ping 1.8s infinite; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); min-width: 0; }
.kpi small { display: block; font-size: 11px; color: var(--mute-d); }
.kpi strong { display: block; margin: 4px 0 2px; font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--mute-d); }
.kpi .up { color: var(--lime); }
.kpi .down { color: var(--orange); }
.mock__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.mock__chart, .mock__list { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); min-width: 0; }
.mock__chart small, .mock__list small { display: block; font-size: 11px; color: var(--mute-d); margin-bottom: 8px; }
.mock__chart svg { width: 100%; height: 150px; }
.mock__chart .area { fill: rgba(212, 255, 63, .12); }
.mock__chart .line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: draw-in 2.2s .8s var(--ease) forwards; }
.mock__list { display: grid; gap: 6px; align-content: start; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); font-size: 12px; color: var(--mute-d); white-space: nowrap; }
.row span { margin-left: auto; color: var(--paper); font-weight: 600; }
.d { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.d--g { background: var(--lime); } .d--o { background: var(--orange); } .d--b { background: var(--blue); }

.tag {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  opacity: calc(var(--p) * 3 - 1.4);
}
.tag .fh-i { width: 30px; height: 30px; padding: 4px; border-radius: 9px; background: var(--lime); stroke-width: 3; }
.tag--1 { top: 12%; right: -3%; rotate: 3deg; translate: 0 calc((1 - var(--p)) * 60px); }
.tag--2 { bottom: 16%; left: -4%; rotate: -3deg; translate: 0 calc((1 - var(--p)) * 90px); }
.tag--2 .fh-i { background: var(--orange); }

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d);
  opacity: calc(1 - var(--p) * 6);
}
.scroll-hint span { width: 20px; height: 32px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: wheel 1.6s infinite; }
@keyframes wheel { to { translate: 0 10px; opacity: 0; } }

/* =====================================================================
   BAND — two crossing tapes, moved by scroll (not by time)
   ===================================================================== */
.band { position: relative; overflow: hidden; padding: clamp(70px, 11vh, 130px) 0; background: var(--paper); }
.band__row {
  display: flex; align-items: center; gap: .35em; width: max-content;
  padding: .12em .4em; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(52px, 8.5vw, 130px);
}
.band__row--a { background: var(--lime); rotate: -3deg; translate: calc(-4vw - var(--p) * 45%) 0; }
.band__row--a .fh-i { width: .55em; height: .55em; stroke-width: 2.4; color: var(--ink); }
.band__row--b {
  margin-top: .3em;
  background: var(--ink); color: var(--paper); rotate: 2deg;
  translate: calc(-38% + var(--p) * 36%) 0;
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.band__row--b em { color: var(--lime); font-style: normal; }

/* =====================================================================
   STATEMENT — words light up as you scroll (--p × word index)
   ===================================================================== */
.statement { height: 260vh; }
.statement__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.statement__text { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 70px); line-height: 1.08; letter-spacing: -.035em; }
.statement__text .serif { color: var(--orange); font-size: 1.06em; }
.statement__text .w { opacity: clamp(.13, calc(var(--p) * 1.3 * var(--n, 40) - var(--i, 0)), 1); transition: opacity .2s linear; }

/* =====================================================================
   FREE RESTAURANT TRIAL — the main offer
   ===================================================================== */
.trial { position: relative; overflow: clip; background: var(--ink); color: var(--paper); padding: clamp(96px, 14vh, 160px) 0; }
.trial__glow { position: absolute; right: -20vw; top: -10vh; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 255, 63, .18), transparent); pointer-events: none; }
.trial__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.trial__copy h2 { font-size: clamp(38px, 5vw, 76px); }
.trial__copy h2 .serif { color: var(--lime); }
.trial__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute-d); max-width: 38ch; }
.trial__list { margin-top: 30px; display: grid; gap: 4px; }
.trial__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line-d); font-size: 17px; }
.trial__list li:first-child { border-top: 0; }
.trial__list .fh-i { width: 26px; height: 26px; flex: none; color: var(--lime); stroke-width: 3.2; }
.trial__file { margin-top: 32px; display: inline-flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 20px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04); }
.trial__file b { display: block; font-size: 15px; font-weight: 600; }
.trial__file small { display: block; font-size: 13px; color: var(--mute-d); }
.trial__file-icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.trial__file-icon .fh-i { width: 30px; height: 30px; stroke-width: 2.6; }
.trial__file-dl { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--lime); font-weight: 700; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { translate: 0 4px; } }

.trial__card { position: relative; padding: clamp(28px, 3.4vw, 48px); border-radius: 36px; background: var(--lime); color: var(--ink); box-shadow: 0 50px 120px -40px rgba(212, 255, 63, .45); }
.trial__card h3 { font-size: clamp(28px, 2.8vw, 40px); padding-right: 110px; }
.trial__card-sub { margin: 10px 0 8px; color: rgba(12, 12, 11, .7); padding-right: 110px; }
.trial__badge { position: absolute; top: -34px; right: -26px; width: 148px; height: 148px; }
.trial__badge-bg { fill: var(--ink); }
.trial__badge text { font-family: var(--f-display); font-weight: 700; }
.trial__badge textPath { font-size: 16px; fill: var(--lime); }
.trial__badge-num { font-size: 64px; fill: var(--orange); letter-spacing: -2px; }
.trial__badge-spin { transform-origin: 100px 100px; animation: spin 16s linear infinite; }

/* light variant of the contact form, for the lime card */
.form--light .field input, .form--light .field textarea { color: var(--ink); border-bottom-color: rgba(12, 12, 11, .28); }
.form--light .field span { color: rgba(12, 12, 11, .62); }
.form--light .field input:focus, .form--light .field textarea:focus { border-color: var(--ink); }
.form--light .field input:focus + span, .form--light .field input:not(:placeholder-shown) + span { color: var(--ink); font-weight: 600; }
.form--light .field.is-invalid input { border-color: var(--orange); box-shadow: 0 2px 0 var(--orange); }
.form--light .choices legend { color: rgba(12, 12, 11, .62); }
.form--light .choices span { border-color: rgba(12, 12, 11, .3); min-width: 64px; text-align: center; }
.form--light .choices label:hover span { border-color: var(--ink); }
.form--light .choices input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.form--light .form__status { color: rgba(12, 12, 11, .7); }
.form--light .form__status.is-err { color: #b3260a; font-weight: 600; }
.form--light .btn--ink { --btn-fill: var(--orange); }

.trial__done { text-align: left; }
.trial__done-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 22px; }
.trial__done-icon .fh-i { width: 44px; height: 44px; stroke-width: 3.4; }
.trial__done h3 { padding-right: 110px; }
.trial__done > p { margin-top: 10px; }
.trial__steps { margin: 26px 0; display: grid; gap: 10px; }
.trial__steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(12, 12, 11, .07); font-weight: 500; }
.trial__steps b { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 14px; }
.trial__steps em { font-style: normal; font-weight: 700; word-break: break-all; }
.trial__help { font-size: 15px; color: rgba(12, 12, 11, .75); }

/* hero call-out chip + nav highlight + floating button */
.chip--cta { gap: 12px; padding: 6px 18px 6px 6px; color: var(--paper); border-color: rgba(212, 255, 63, .45); background: rgba(212, 255, 63, .08); transition: background .3s, border-color .3s; }
.chip--cta b { padding: 5px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; }
.chip--cta:hover { background: rgba(212, 255, 63, .16); border-color: var(--lime); }
.chip--cta span { transition: translate .3s var(--ease); }
.chip--cta:hover span { translate: 4px 0; }
.nav__links a.nav__trial { color: var(--lime); }
.float-trial {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px;
  border: 1px solid rgba(212, 255, 63, .4);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6);
  opacity: 0; translate: 0 30px; pointer-events: none;
  transition: opacity .4s var(--ease), translate .5s var(--ease-out);
}
.float-trial b { padding: 7px 13px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; }
.float-trial.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.float-trial:hover { border-color: var(--lime); }

/* =====================================================================
   CLIENTS — real client logos, shown in a consistent monochrome style
   ===================================================================== */
.clients { padding-top: 0; }
.clients__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.clients__copy h2 { font-size: clamp(34px, 4.4vw, 64px); }
.clients__copy h2 .serif { color: var(--orange); }
.clients__copy > p:not(.eyebrow) { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); color: var(--mute-l); max-width: 34ch; }
.clients__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.cstat { padding: 20px; border-radius: 24px; background: var(--ink); color: var(--paper); }
.cstat:nth-child(2) { background: var(--lime); color: var(--ink); }
.cstat:nth-child(3) { background: var(--orange); color: var(--ink); }
.cstat strong { display: block; font-family: var(--f-display); font-size: clamp(34px, 3.3vw, 50px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cstat:first-child strong { color: var(--lime); }
.cstat span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; opacity: .85; }
.client { position: relative; }
.clients__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.client {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--card); border: 1px solid var(--line-l);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.client:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 30px 60px -30px rgba(12, 12, 11, .35); }
.client__logo { aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 10px; padding: 28px; }
.client__logo img {
  max-width: 82%; max-height: 120px; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply;               /* drops the logo's white background onto our paper */
  filter: grayscale(1) contrast(1.15);    /* keeps client logos on-theme */
  transition: filter .5s var(--ease);
}
.client:hover .client__logo img { filter: none; }
.client__logo b { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: .14em; }
.client__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line-l); }
.client__meta strong { font-family: var(--f-display); font-size: 17px; letter-spacing: -.02em; }
.client__meta small { color: var(--mute-l); font-size: 13px; white-space: nowrap; }
.client--next { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.client--next .client__logo { border: 2px dashed var(--line-d); border-radius: 20px; margin: 12px 12px 0; }
.client--next .client__logo .fh-i { width: 64px; height: 64px; color: var(--lime); }
.client--next .client__logo em { font-size: 22px; color: var(--mute-d); }
.client--next .client__meta { border-color: var(--line-d); }
.client--next .client__meta small { color: var(--lime); }

/* =====================================================================
   COMPARE — hand-drawn strikes & ticks
   ===================================================================== */
.compare { padding-top: 0; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { padding: clamp(28px, 4vw, 48px); border-radius: 32px; }
.compare__col h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 26px; }
.compare__col h3 .fh-i { width: 34px; height: 34px; color: var(--lime); }
.compare__col li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--line-l); font-size: 17px; }
.compare__col--old { background: var(--paper-2); color: var(--mute-l); }
.compare__col--new { background: var(--ink); color: var(--paper); }
.compare__col--new li { border-color: var(--line-d); }
.compare__col--new li .fh-i { width: 26px; height: 26px; flex: none; color: var(--lime); stroke-width: 3.2; }
.strike { position: relative; }
.strike::after {
  content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 14px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c30-4 62-6 96-4s70 3 100-3' fill='none' stroke='%23ff5a2c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 0 0 0);
}

/* =====================================================================
   MODULES — pinned horizontal scroll
   ===================================================================== */
.hscroll { position: relative; height: 420vh; background: var(--ink); color: var(--paper); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 6vh, 56px); }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hscroll__head .eyebrow { margin-bottom: 16px; }
.hscroll__head h2 { font-size: clamp(32px, 4.4vw, 66px); max-width: 22ch; }
.hscroll__head h2 .serif { color: var(--lime); }
.hscroll__meta { display: grid; gap: 12px; justify-items: end; flex: none; }
.hscroll__count { font-family: var(--f-display); font-size: 15px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.hscroll__count b { color: var(--paper); font-size: 28px; font-weight: 700; }
.hscroll__bar { width: 160px; height: 2px; background: var(--line-d); overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; scale: var(--p) 1; }
.hscroll__track {
  display: flex; gap: 20px; width: max-content;
  --track-pad: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  padding-inline: var(--track-pad);
  translate: calc(var(--p) * var(--dist, 0) * -1px) 0;
  will-change: translate;
}
.mod {
  position: relative; flex: none;
  width: clamp(280px, 29vw, 400px); min-height: clamp(340px, 52vh, 470px);
  display: flex; flex-direction: column;
  padding: 28px; border-radius: 28px;
  background: var(--ink-3); border: 1px solid var(--line-d);
  --blob: rgba(212, 255, 63, .22);
  transition: translate .5s var(--ease), rotate .5s var(--ease);
}
.mod:hover { translate: 0 -8px; rotate: -1deg; }
.mod__num { position: absolute; top: 26px; right: 28px; font-family: var(--f-display); font-size: 14px; font-weight: 600; opacity: .55; }
.mod__icon { width: 96px; height: 96px; stroke-width: 1.7; }
.mod h3 { margin-top: auto; font-size: clamp(24px, 2.2vw, 32px); }
.mod p { margin-top: 12px; color: var(--mute-d); font-size: 15px; }
.mod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.mod__tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; font-size: 12.5px; font-weight: 500; opacity: .7; }
.mod .btn { margin-top: 20px; align-self: flex-start; }
.mod--lime { background: var(--lime); color: var(--ink); border-color: transparent; --blob: rgba(12, 12, 11, .1); }
.mod--orange { background: var(--orange); color: var(--ink); border-color: transparent; --blob: rgba(255, 255, 255, .3); }
.mod--paper { background: var(--paper); color: var(--ink); border-color: transparent; --blob: rgba(255, 90, 44, .25); }
.mod--lime p, .mod--orange p, .mod--paper p { color: rgba(12, 12, 11, .72); }

/* =====================================================================
   PLATFORMS — scrollytelling: steps switch as you scroll
   ===================================================================== */
.platforms { position: relative; overflow: clip; height: 330vh; background: var(--paper); }
.platforms__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 6vw; }
.platforms__copy h2 { font-size: clamp(34px, 4.2vw, 62px); }
.platforms__copy h2 .serif { color: var(--orange); }
.steps { margin-top: clamp(24px, 5vh, 48px); }
.step button { width: 100%; text-align: left; display: grid; gap: 14px; padding: 18px 0 10px; }
.step__bar { display: block; height: 2px; background: var(--line-l); overflow: hidden; }
.step__bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; scale: clamp(0, calc(var(--p) * 3 - var(--i)), 1) 1; }
.step__title { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; opacity: .38; transition: opacity .4s; }
.step__title .fh-i { width: 30px; height: 30px; }
.step p { max-height: 0; opacity: 0; overflow: hidden; color: var(--mute-l); font-size: 16px; padding-left: 44px; transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease); }
.platforms[data-step="0"] .step:nth-child(1) .step__title,
.platforms[data-step="1"] .step:nth-child(2) .step__title,
.platforms[data-step="2"] .step:nth-child(3) .step__title { opacity: 1; }
.platforms[data-step="0"] .step:nth-child(1) p,
.platforms[data-step="1"] .step:nth-child(2) p,
.platforms[data-step="2"] .step:nth-child(3) p { max-height: 140px; opacity: 1; margin-bottom: 8px; }

.platforms__stage { position: relative; height: min(72vh, 600px); display: grid; place-items: center; }
.platforms__stage::before {
  content: ""; position: absolute; width: min(88%, 540px); aspect-ratio: 1;
  border-radius: 43% 57% 62% 38% / 46% 42% 58% 54%;
  background: var(--lime);
  rotate: calc(var(--p) * 240deg);
}
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; scale: .85; filter: blur(14px); transition: opacity .7s var(--ease), scale .9s var(--ease-out), filter .7s; pointer-events: none; }
.platforms[data-step="0"] .scene--0, .platforms[data-step="1"] .scene--1, .platforms[data-step="2"] .scene--2 { opacity: 1; scale: 1; filter: none; }

.monitor__screen { width: min(460px, 76vw); aspect-ratio: 16 / 10; padding: 18px; border-radius: 16px; background: var(--ink); border: 10px solid #26261f; color: var(--paper); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.monitor__stand { width: 130px; height: 50px; margin: 0 auto; background: #26261f; clip-path: polygon(34% 0, 66% 0, 82% 100%, 18% 100%); }
.scr-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.scr-head span { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--mute-d); }
.scr-body { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; min-height: 0; }
.scr-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scr-items i { border-radius: 10px; background: rgba(255, 255, 255, .07); }
.scr-items i:nth-child(1), .scr-items i:nth-child(5) { background: rgba(212, 255, 63, .3); }
.scr-sum { border-radius: 12px; background: rgba(255, 255, 255, .05); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.scr-sum small { color: var(--mute-d); font-size: 11px; }
.scr-sum strong { font-family: var(--f-display); font-size: 26px; color: var(--lime); letter-spacing: -.03em; }
.scr-sum span { font-size: 10px; padding: 6px; border-radius: 8px; text-align: center; background: var(--lime); color: var(--ink); font-weight: 600; }
.phone__screen { width: 240px; height: min(460px, 60vh); padding: 36px 20px 20px; border-radius: 40px; background: var(--ink); border: 9px solid #26261f; color: var(--paper); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.phone__screen small { color: var(--mute-d); font-size: 12px; }
.phone__screen strong { font-family: var(--f-display); font-size: 34px; letter-spacing: -.03em; }
.bars { height: 90px; display: flex; align-items: flex-end; gap: 6px; margin: 12px 0; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--lime); }
.bars i:nth-child(odd) { background: rgba(212, 255, 63, .45); }
.phone__rows { display: grid; gap: 8px; }
.phone__rows i { height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.orbit { position: relative; width: min(360px, 70vw); aspect-ratio: 1; }
.orbit__ring { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed var(--ink); animation: spin 28s linear infinite; }
.orbit__core { position: absolute; inset: 36%; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.orbit__core .fh-i { width: 50%; height: 50%; animation: spin 7s linear infinite; }
.orbit__node { position: absolute; width: 74px; height: 74px; border-radius: 22px; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--ink); }
.orbit__node .fh-i { width: 40px; height: 40px; --blob: rgba(255, 90, 44, .35); }
.o1 { top: 0; left: 50%; margin-left: -37px; }
.o2 { bottom: 6%; left: 0; }
.o3 { bottom: 6%; right: 0; }
@keyframes spin { to { rotate: 360deg; } }

/* =====================================================================
   PROCESS — wayfinding route drawn with scroll
   ===================================================================== */
.route { background: var(--paper); }
.route__map { position: relative; }
.route__svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.route__plan { fill: none; stroke: rgba(12, 12, 11, .28); stroke-width: 2; stroke-dasharray: 3 10; stroke-linecap: round; }
.route__done { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: calc(1 - var(--p)); }
.stops { position: relative; display: grid; gap: clamp(48px, 10vh, 110px); padding-block: 20px; }
.stop { display: flex; align-items: flex-start; gap: 22px; width: min(46%, 520px); }
.stop:nth-child(odd) { margin-left: 4%; }
.stop:nth-child(even) { margin-left: auto; margin-right: 4%; }
.stop__sign {
  position: relative; z-index: 1; flex: none;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: background .5s;
}
.stop.is-passed .stop__sign { background: var(--lime); }
.stop__sign .fh-i { width: 40px; height: 40px; stroke-width: 2.4; }
.stop__card { flex: 1; padding: 26px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-l); }
.stop__num { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.stop__card h3 { margin: 8px 0 10px; font-size: clamp(24px, 2.4vw, 32px); }
.stop__card p { color: var(--mute-l); }

/* =====================================================================
   FAQ — animated <details> (::details-content where supported)
   ===================================================================== */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .head h2 { font-size: clamp(38px, 4.6vw, 68px); }
.faq .head h2 .serif, .route .head h2 .serif { color: var(--orange); }
.faq__list details { border-bottom: 1px solid var(--line-l); }
.faq__list details:first-child { border-top: 1px solid var(--line-l); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .3s, rotate .5s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; }
.faq__list summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq__list details[open] summary i { background: var(--lime); rotate: 180deg; }
.faq__list details[open] summary i::after { rotate: 0deg; }
.faq__list summary:hover { color: var(--orange); }
.faq__a p { padding: 0 60px 28px 0; color: var(--mute-l); font-size: 16.5px; }
.faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--ink); color: var(--paper); padding: clamp(100px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); overflow: hidden; }
.contact__big { font-size: clamp(64px, 14vw, 230px); line-height: .88; letter-spacing: -.06em; margin-bottom: clamp(56px, 10vh, 110px); }
.zoom { display: block; transform-origin: 0 100%; }
.zoom--2 { position: relative; width: max-content; margin-left: auto; }
.zoom--2 .serif { color: var(--lime); letter-spacing: -.03em; }
.scribble-under { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .18em; fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; overflow: visible; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); }
.contact__info > p { font-size: clamp(18px, 1.6vw, 22px); color: var(--mute-d); max-width: 30ch; }
.contact__info ul { margin-top: 40px; display: grid; }
.contact__info li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-d); font-size: 17px; }
.contact__info li span { width: 70px; flex: none; color: var(--mute-d); font-size: 14px; padding-top: 2px; }
.contact__info a:hover { color: var(--lime); }

.form { display: grid; gap: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1.5px solid var(--line-d); border-radius: 0;
  background: transparent; color: var(--paper); font: inherit; font-size: 17px; resize: vertical;
  transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 24px; color: var(--mute-d); pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 0; font-size: 12px; color: var(--lime); }
.field.is-invalid input { border-color: var(--orange); }
.choices { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { padding: 0; margin-bottom: 12px; font-size: 13px; color: var(--mute-d); }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.choices label:hover span { border-color: var(--paper); }
.choices input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.choices input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form .btn { margin-top: 10px; }
.form__status { min-height: 1.5em; font-size: 14px; color: var(--mute-d); }
.form__status.is-ok { color: var(--lime); }
.form__status.is-err { color: var(--orange); }

/* =====================================================================
   FOOTER — giant wordmark rises letter by letter
   ===================================================================== */
.footer { background: var(--ink); color: var(--paper); padding-top: 40px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.footer__top p { max-width: 34ch; color: var(--mute-d); }
.footer__logo { flex: none; }
.footer__top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer__top nav a { color: var(--mute-d); transition: color .2s; }
.footer__top nav a:hover { color: var(--lime); }
.footer__mark { display: flex; justify-content: center; padding-top: 3vw; font-family: var(--f-display); font-weight: 800; font-size: 18.5vw; line-height: .78; letter-spacing: -.065em; overflow: hidden; }
.footer__mark span { display: inline-block; }
.footer__mark .b { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 28px; font-size: 14px; color: var(--mute-d); }
.footer__bottom a:hover { color: var(--lime); }

/* =====================================================================
   SCROLL REVEALS
   Default (no JS): everything visible.
   .js + unsupported browser: IntersectionObserver adds .in (transitions).
   Supported browser: native view() timelines take over (no JS needed).
   Individual `translate`/`scale` props are used so hover `transform`s
   still work after the animation fills.
   ===================================================================== */
.js .sr { opacity: 0; translate: 0 60px; transition: opacity 1s var(--ease-out), translate 1s var(--ease-out); }
.js .sr.in { opacity: 1; translate: 0 0; }
.js .draw, .js .draw-js { stroke-dasharray: 1 2; stroke-dashoffset: 1; --bs: 0; transition: stroke-dashoffset 1.6s var(--ease), --bs .9s .5s var(--ease-out); }
.js .draw.in, .js .draw-js.in { stroke-dashoffset: 0; --bs: 1; }
.js .strike::after { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); }
.js .strike.in::after { clip-path: inset(0 0 0 0); }
.js .zoom { opacity: 0; scale: .7; transition: opacity 1s var(--ease-out), scale 1.2s var(--ease-out); }
.js .zoom.in { opacity: 1; scale: 1; }
.js .footer__mark span { translate: 0 100%; transition: translate 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js .footer__mark.in span { translate: 0 0; }

@supports (animation-timeline: view()) {
  .js .sr { opacity: 1; translate: 0 0; transition: none; animation: sr-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .js .draw { transition: none; animation: draw-on linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
  .js .strike::after { transition: none; animation: strike-on linear both; animation-timeline: view(); animation-range: cover 30% cover 50%; }
  .js .zoom { opacity: 1; scale: 1; transition: none; animation: zoom-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .js .footer__mark span { translate: 0 0; transition: none; animation: letter-up linear both; animation-timeline: view(); animation-range: entry calc(var(--i) * 4%) entry calc(60% + var(--i) * 4%); }
}
@keyframes sr-in { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw-on { from { stroke-dashoffset: 1; --bs: 0; } to { stroke-dashoffset: 0; --bs: 1; } }
@keyframes strike-on { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoom-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes letter-up { from { translate: 0 100%; } to { translate: 0 0; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 10px; }
}

@media (max-width: 900px) {
  /* nav → full-screen menu */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 0;
    padding: 100px 28px 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a { font-family: var(--f-display); font-size: clamp(36px, 10vw, 56px); font-weight: 700; letter-spacing: -.04em; color: var(--paper); padding: 6px 0; border-radius: 0; opacity: 0; translate: 0 30px; transition: opacity .5s var(--ease-out), translate .6s var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
  .nav__links a:hover { background: none; color: var(--lime); }
  .nav__links .nav__menu-cta { display: block; margin-top: 24px; font-size: 22px; color: var(--lime); }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links.is-open a { opacity: 1; translate: 0 0; }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter would trap the fixed menu inside the pill */
  body.menu-open .nav__pill { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }

  /* hero: no pin, tilt settles as it scrolls into view */
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; padding-bottom: 90px; overflow: visible; }
  .hero__copy { opacity: 1; translate: none; scale: none; }
  .hero__stage { position: relative; left: auto; top: auto; translate: none; width: auto; margin: 56px var(--gutter) 0; }
  .mock { transform: rotateX(calc(clamp(0, 1 - var(--p) * 3, 1) * 28deg)); }
  .tag { opacity: 1; translate: none; }
  .tag--1 { top: -22px; right: 4px; }
  .tag--2 { bottom: -22px; left: 4px; }
  .scroll-hint { display: none; }
  .hero__glow { bottom: -20vh; }

  .compare__grid, .trial__grid, .faq__grid, .contact__grid, .clients__grid { grid-template-columns: 1fr; }

  .platforms { height: 300vh; }
  .platforms__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 12px; padding-top: 80px; }
  .platforms__copy h2 { font-size: clamp(28px, 7vw, 44px); }
  .steps { margin-top: 12px; }
  .step button { padding: 12px 0 6px; gap: 10px; }
  .step__title { font-size: 17px; }
  .step__title .fh-i { width: 24px; height: 24px; }
  .step p { font-size: 14.5px; padding-left: 38px; }
  .platforms__stage { height: 100%; max-height: 38vh; min-height: 240px; }
  .platforms__stage::before { width: min(70%, 300px); }
  .monitor__screen { width: min(320px, 72vw); border-width: 7px; padding: 12px; gap: 8px; }
  .monitor__stand { width: 90px; height: 30px; }
  .scr-sum strong { font-size: 18px; }
  .phone__screen { width: 150px; height: 34vh; min-height: 230px; padding: 24px 12px 12px; border-radius: 28px; border-width: 6px; }
  .phone__screen strong { font-size: 22px; }
  .bars { height: 50px; margin: 6px 0; }
  .phone__rows i { height: 24px; }
  .orbit { width: min(240px, 60vw); }
  .orbit__node { width: 54px; height: 54px; border-radius: 16px; margin-left: 0; }
  .o1 { margin-left: -27px; }
  .orbit__node .fh-i { width: 30px; height: 30px; }

  .stop, .stop:nth-child(odd), .stop:nth-child(even) { width: 100%; margin: 0; }
  .contact__big { margin-bottom: 56px; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .hero__ctas .btn { width: 100%; }
  .mock__kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi--hide-sm { display: none; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: 14px; }
  .mock__side { display: none; }
  .mock__main { padding: 12px; gap: 10px; }
  .mock__grid { grid-template-columns: 1fr; }
  .mock__chart svg { height: 90px; }
  .mock__list .row:nth-child(n + 4) { display: none; }
  .tag { font-size: 12px; padding: 8px 12px 8px 8px; }
  .tag .fh-i { width: 24px; height: 24px; }

  .hscroll__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hscroll__meta { justify-items: start; }
  .mod { width: 80vw; min-height: 50vh; padding: 24px; }


  .stop { gap: 16px; }
  .stop__sign { width: 56px; height: 56px; box-shadow: 4px 4px 0 var(--ink); }
  .stop__sign .fh-i { width: 30px; height: 30px; }
  .stop__card { padding: 20px; }

  .form__row { grid-template-columns: 1fr; }
  .clients__logos { gap: 10px; }
  .clients__stats { gap: 8px; margin-top: 28px; }
  .cstat strong { font-size: 34px; }
  .cstat span { font-size: 12.5px; }
  .trial__card h3, .trial__card-sub, .trial__done h3 { padding-right: 84px; }
  .trial__badge { width: 112px; height: 112px; top: -30px; right: -8px; }
  .trial__file { width: 100%; }
  .float-trial { right: 12px; bottom: 12px; font-size: 13.5px; padding: 6px 14px 6px 6px; }
  .cstat { padding: 14px 12px; border-radius: 18px; }
  .cstat span { font-size: 14px; }
    .client { border-radius: 20px; }
  .client__logo { padding: 16px; }
  .client__meta { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; }
  .client--next .client__logo em { font-size: 17px; }
  .client--next .client__logo .fh-i { width: 44px; height: 44px; }
  .faq__a p { padding-right: 0; }
  .zoom--2 { margin-left: 0; }
  .footer__bottom { justify-content: center; text-align: center; }
}


/* =====================================================================
   HERO PATHS — restaurants download, other businesses book a demo
   ===================================================================== */
.paths__label { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.paths { margin: 14px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 14px; text-align: left; }
.path {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 22px;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s;
}
.path--lime { background: var(--lime); color: var(--ink); box-shadow: 0 20px 50px -24px rgba(212, 255, 63, .6); }
.path--line { color: var(--paper); border: 1px solid rgba(243, 240, 231, .25); background: rgba(255, 255, 255, .04); }
.path:hover { transform: translateY(-3px); }
.path--line:hover { border-color: var(--lime); background: rgba(212, 255, 63, .06); }
.path__icon { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.path--line .path__icon { background: rgba(212, 255, 63, .12); }
.path__icon .fh-i { width: 30px; height: 30px; stroke-width: 2.4; }
.path__txt { flex: 1; min-width: 0; display: grid; }
.path__txt small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.path__txt b { margin-top: 3px; font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.path__txt em { margin-top: 3px; font-style: normal; font-size: 13px; opacity: .75; }
.path__go { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-weight: 700; transition: translate .3s var(--ease); }
.path:hover .path__go { translate: 4px 0; }

/* trial: terms pills + 3-step guide */
.trial__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trial__pills li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(212, 255, 63, .45); color: var(--lime); font-size: 14px; font-weight: 600; }
.trial__pills li::before { content: "✓ "; }
.trial__flow { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 6px; padding-right: 110px; font-size: 13.5px; font-weight: 600; color: rgba(12, 12, 11, .55); }
.trial__flow li { display: inline-flex; align-items: center; gap: 8px; }
.trial__flow li + li::before { content: ""; width: 14px; height: 1.5px; background: currentColor; opacity: .5; margin-right: 2px; }
.trial__flow b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: 12px; }
.trial__flow .is-on { color: var(--ink); }
.trial__flow .is-on b { background: var(--ink); color: var(--lime); border-color: var(--ink); }

/* modules: arrows + hint */
.hscroll__meta { grid-template-columns: auto auto; align-items: center; column-gap: 14px; }
.hscroll__count, .hscroll__bar { grid-column: 1 / -1; justify-self: end; }
.hscroll__nav { grid-column: 1 / -1; justify-self: end; display: flex; gap: 8px; }
.hnav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--paper); font-size: 18px; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.hnav:hover:not(:disabled) { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.hnav:disabled { opacity: .3; cursor: default; }
.hscroll__hint { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute-d); opacity: calc(1 - var(--p) * 12); transition: opacity .3s; }
.hscroll__hint i { font-style: normal; color: var(--lime); animation: hint-x 1.4s var(--ease) infinite; }
@keyframes hint-x { 50% { translate: 6px 0; } }
.hint--touch { display: none; }

/* contact: aimed at non-restaurant businesses */
.contact__info .eyebrow { margin-bottom: 14px; font-size: 12px; align-items: flex-start; }
.contact__info .eyebrow::before { margin-top: .3em; flex: none; }
.contact__info > p b { color: var(--paper); }
.contact__rest { margin-top: 22px; display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; border: 1px dashed rgba(212, 255, 63, .45); transition: background .25s, border-color .25s; }
.contact__rest span { font-size: 14px; color: var(--mute-d); }
.contact__rest b { color: var(--lime); font-weight: 600; }
.contact__rest:hover { background: rgba(212, 255, 63, .06); border-color: var(--lime); }

/* Touch devices & small screens: modules become a native swipe carousel */
@media (max-width: 900px), (pointer: coarse) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding: clamp(80px, 12vh, 120px) 0; }
  .hscroll__track {
    translate: none; width: auto; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--track-pad);
    scrollbar-width: none; padding-bottom: 6px;
  }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .mod { scroll-snap-align: start; }
  .hint--touch { display: inline; }
  .hint--desk { display: none; }
}
@media (max-width: 640px) {
  .paths { grid-template-columns: 1fr; }
  .path__txt b { font-size: 18px; }
  .hscroll__meta { width: 100%; grid-template-columns: auto 1fr auto; }
  .hscroll__count { grid-column: 1; justify-self: start; }
  .hscroll__bar { grid-column: 2; justify-self: stretch; width: auto; }
  .hscroll__nav { grid-column: 3; }
  .hscroll__hint { grid-column: 1 / -1; justify-self: start; }
  .hnav { width: 40px; height: 40px; }
  .band__row--b { margin-top: .55em; }
  .trial__flow { padding-right: 84px; }
}

/* =====================================================================
   REDUCED MOTION — unpin everything, show final states
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .sr, .js .zoom { opacity: 1; translate: none; scale: none; }
  .js .draw, .js .draw-js, .scribble-circle, .mock__chart .line { stroke-dashoffset: 0; --bs: 1; }
  .js .strike::after { clip-path: none; }
  .js .footer__mark span { translate: none; }
  .hero, .statement, .platforms { height: auto; }
  .hscroll { height: auto !important; }
  .hero__sticky, .statement__sticky, .hscroll__sticky, .platforms__sticky { position: relative; height: auto; }
  .hero__sticky { padding-bottom: 100px; }
  .hero__copy { opacity: 1; translate: none; scale: none; }
  .hero__stage { position: relative; left: auto; top: auto; translate: none; margin: 56px auto 0; }
  .mock { transform: none; }
  .tag { opacity: 1; translate: none; }
  .statement__sticky, .hscroll__sticky { padding-block: 16vh; }
  .statement__text .w { opacity: 1; }
  .hscroll__track { translate: none; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--track-pad); padding-bottom: 12px; }
  .mod { scroll-snap-align: start; }

  .platforms__sticky { padding-block: 16vh; }
  .step__bar i { scale: 0 1; }
  .platforms[data-step="0"] .step:nth-child(1) .step__bar i,
  .platforms[data-step="1"] .step:nth-child(2) .step__bar i,
  .platforms[data-step="2"] .step:nth-child(3) .step__bar i { scale: 1 1; }
  .route__done { stroke-dashoffset: 0; }
}
