/* FoodTech.Guru — Business Plan Generator landing
   Brand tokens match the main site (orange/navy/green/yellow, Oswald + Montserrat, hard black offsets).
   App-screen recreations inside the phone use the app's own tokens (INK/CORAL/MINT/CREAM/SUNFLOWER). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #ff672f;
  --navy: #01034f;
  --navy-2: #0a0e6e;
  --green: #00d865;
  --yellow: #f5f255;
  --teal: #16d2b4;
  --peach: #fff5f0;
  --paper: #fbf8f2;
  --ink: #12122a;
  --muted: #55556e;
  --shadow: 6px 6px 0 #000;
  --radius: 18px;
  --font-main: 'Montserrat', system-ui, sans-serif;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --gutter: max(20px, 5vw);

  /* in-app tokens */
  --a-ink: #181818;
  --a-coral: #f15a47;
  --a-mint: #a8dccf;
  --a-mint-bg: #ddf2eb;
  --a-cream: #fff8e9;
  --a-sun: #ffd865;
  --a-muted: #68615a;
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-main); background: var(--paper); color: var(--ink); line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 12px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------------- NAV ---------------- */
.nav { position: sticky; top: 0; z-index: 50; height: 68px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: rgba(1, 3, 79, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--orange); color: #fff !important; padding: 9px 20px; border-radius: 50px; font-weight: 800 !important; box-shadow: 3px 3px 0 #000; }
@media (max-width: 860px) { .nav-links li:not(:last-child) { display: none; } }

/* ---------------- SHARED ---------------- */
.eyebrow { display: inline-block; font-family: var(--font-main); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-title { font-size: clamp(2.2rem, 5.4vw, 4.6rem); font-weight: 700; color: var(--navy); max-width: 16ch; }
.section-title.center { text-align: center; margin: 0 auto 40px; max-width: none; }
.section-title.light { color: #fff; }
.section-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 56ch; margin-top: 18px; }
.hl { color: var(--orange); }
.hl-y { color: var(--yellow); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: 60px; font-weight: 800; font-size: 0.98rem; text-decoration: none; transition: transform .18s, box-shadow .18s, background .2s; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 5px 5px 0 #000; border: 2px solid #000; }
.btn-orange:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 5px 5px 0 #000; border: 2px solid #000; }
.btn-navy:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.07); }
.btn-line { color: var(--navy); border: 2px solid var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: calc(100svh - 68px); background: var(--navy); color: #fff; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
/* Static fallback behind the canvas: a spreadsheet grid on navy */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -3; background:
  linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 56px 28px,
  linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 56px 28px,
  radial-gradient(120% 90% at 80% 100%, #1a1f9a 0%, var(--navy) 60%); }
.hero-grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(1,3,79,0.92) 0%, rgba(1,3,79,0.55) 42%, rgba(1,3,79,0) 70%); }
.hero-inner { width: 100%; max-width: 1360px; margin: 0 auto; padding: 56px var(--gutter) 88px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 7px 16px 7px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 26px; }
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,216,101,0.25); }
.hero-title { font-size: clamp(3rem, 6.3vw, 6rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.02em; }
.hero-title .line { display: block; }
.hero-title .line-accent { color: var(--yellow); }
.hero-title .six { display: inline-grid; place-items: center; width: 1.02em; height: 1.02em; border-radius: 50%; background: var(--orange); color: #fff; border: 3px solid #000; box-shadow: 4px 4px 0 #000; font-size: 0.8em; line-height: 1; vertical-align: 0.06em; transform: rotate(-8deg); }
.hero-title .wd { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; }
.hero-lead { margin-top: 26px; font-size: clamp(1rem, 1.35vw, 1.18rem); color: rgba(255,255,255,0.78); max-width: 52ch; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { display: flex; gap: 28px; list-style: none; margin-top: 36px; flex-wrap: wrap; }
.hero-proof li { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 600; }
.hero-proof b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 64px; }
/* Short desktop screens: drop the proof row so the hero (and the robot's feet in the marquee) fit one screen. */
@media (min-width: 901px) and (max-height: 820px) { .hero-proof { display: none; } .hero-lead { margin-top: 18px; } .hero-actions { margin-top: 24px; } }
/* The robot stands on the hero floor: ~hero height, feet cut at the hero edge and tucked under the orange marquee. */
.hero-art { position: absolute; z-index: 0; top: 0; bottom: 0; right: max(0px, calc((100% - 1360px) / 2)); width: 50%; pointer-events: none; }
.robot-stage { position: absolute; left: 52%; bottom: 0; height: min(118%, calc((100svh - 68px) * 1.18)); aspect-ratio: 3 / 4; transform: translate(-50%, 16%); }
.hero-robot { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(14px 16px 0 rgba(0,0,0,0.32)); }
.sticker { position: absolute; background: #fff; color: var(--ink); border: 2px solid #000; box-shadow: 4px 4px 0 #000; border-radius: 16px; padding: 10px 14px; line-height: 1.15; text-align: center; }
.sticker small { display: block; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.sticker b { display: block; font-family: var(--font-head); font-size: 1.7rem; }
.sticker { will-change: translate; z-index: 2; }
.sticker.s1 { left: 15%; top: 19%; rotate: -6deg; background: var(--yellow); }
.sticker.s2 { right: 6%; top: 11%; rotate: 5deg; background: var(--green); }
.sticker.s3 { right: 0%; top: 44%; rotate: -3deg; }
.sticker.s4 { left: 12%; top: 49%; rotate: 4deg; background: var(--peach); }
.hero-hint { position: absolute; left: 44%; bottom: 30px; z-index: 1; font-size: 0.74rem; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.05em; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 64px; }
  .hero { flex-direction: column; }
  .hero-art { position: relative; order: -1; width: min(86vw, 420px); top: auto; right: auto; bottom: auto; margin: 16px auto -24px; }
  .robot-stage { position: relative; left: auto; height: auto; width: 100%; transform: none; }
  .sticker { padding: 6px 9px; border-radius: 12px; box-shadow: 3px 3px 0 #000; }
  .sticker small { font-size: 0.56rem; }
  .sticker b { font-size: 1.1rem; }
  .sticker.s1 { left: -4%; top: 44%; }
  .sticker.s2 { right: -4%; top: 4%; }
  .sticker.s3 { right: -6%; top: 62%; }
  .sticker.s4 { display: none; }
  .hero-grain { background: linear-gradient(180deg, rgba(1,3,79,0.2) 0%, rgba(1,3,79,0.85) 45%); }
  .hero-hint { display: none; }
  .sticker b { font-size: 1.3rem; }
}

/* ---------------- MARQUEE ---------------- */
.marquee-wrap { position: relative; z-index: 2; margin-top: -18px; overflow-x: clip; }
.marquee { background: var(--orange); border-block: 3px solid #000; transform: rotate(-1.6deg) scale(1.03); overflow: hidden; }
.marquee-track { display: flex; gap: 28px; align-items: center; width: max-content; padding: 14px 0; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; color: #fff; white-space: nowrap; -webkit-text-stroke: 1px #000; }
.marquee i { font-style: normal; color: var(--yellow); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ---------------- HOW / PHONE ---------------- */
.how { padding: 120px var(--gutter) 120px; max-width: 1360px; margin: 0 auto; }
.how-head { margin-bottom: 56px; }
.how-grid { display: grid; grid-template-columns: minmax(300px, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: start; }

.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.step { border: 2px solid transparent; border-radius: var(--radius); transition: background .3s, border-color .3s, box-shadow .3s; }
.step.is-active { background: #fff; border-color: #000; box-shadow: var(--shadow); }
.step-btn { position: relative; width: 100%; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; padding: 16px 20px; text-align: left; overflow: hidden; border-radius: var(--radius); }
.step:not(.is-active) .step-btn:hover { background: rgba(1,3,79,0.05); }
.step-n { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.step.is-active .step-n { color: var(--orange); }
.step-name { font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.7rem); text-transform: uppercase; font-weight: 600; color: var(--navy); line-height: 1.1; }
.step:not(.is-active) .step-name { color: #7a7a92; }
.step-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: rgba(1,3,79,0.08); border-radius: 3px; overflow: hidden; opacity: 0; }
.step.is-active .step-bar { opacity: 1; }
.step-bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step-copy { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .3s; opacity: 0; padding: 0 20px 0 78px; }
.step-copy-in { overflow: hidden; min-height: 0; }
.step.is-active .step-copy { grid-template-rows: 1fr; opacity: 1; padding-bottom: 20px; }
.step-copy p { color: var(--muted); font-size: 0.98rem; }
.feeds { margin-top: 10px; font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy) !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feeds span { background: var(--yellow); border: 1.5px solid #000; border-radius: 6px; padding: 2px 8px; letter-spacing: 0.02em; text-transform: none; font-size: 0.78rem; }
/* no-JS: every step description readable */
.no-js .step-copy { grid-template-rows: 1fr; opacity: 1; padding-bottom: 16px; }

.phone-wrap { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.phone { --pw: clamp(250px, min(27vw, 33svh), 360px); position: relative; width: var(--pw); aspect-ratio: 9 / 19.3; border-radius: calc(var(--pw) * 0.15); background: linear-gradient(145deg, #3a3a44, #0c0c10 40%, #2a2a32); padding: calc(var(--pw) * 0.035); box-shadow: 0 0 0 2px #000, 18px 22px 0 rgba(0,0,0,0.9), 0 40px 80px -20px rgba(1,3,79,0.5); transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); font-size: calc(var(--pw) / 25); }
.phone-btn { position: absolute; background: #1a1a20; border-radius: 3px; width: 4px; }
.phone-btn.b1 { left: -4px; top: 18%; height: 7%; } .phone-btn.b2 { left: -4px; top: 27%; height: 7%; } .phone-btn.b3 { right: -4px; top: 22%; height: 11%; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * 0.12); overflow: hidden; background: var(--a-cream); color: var(--a-ink); font-family: var(--font-main); isolation: isolate; }
.island { position: absolute; top: 0.7em; left: 50%; transform: translateX(-50%); width: 32%; height: 1.9em; background: #000; border-radius: 2em; z-index: 30; }
.scr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 20; display: none; background: #000; }
.phone-screen.has-video .scr-video { display: block; }
.phone-ctrl { display: flex; gap: 10px; margin-top: 26px; }
.ctrl-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #000; background: #fff; box-shadow: 3px 3px 0 #000; font-size: 1.1rem; font-weight: 800; display: grid; place-items: center; transition: transform .15s; }
.ctrl-btn:hover { transform: translate(-1px,-1px); }
.ctrl-btn .i-play { display: none; }
.ctrl-btn[aria-pressed="true"] .i-play { display: inline; }
.ctrl-btn[aria-pressed="true"] .i-pause { display: none; }
.i-pause { font-size: 0.7rem; letter-spacing: -2px; }
.phone-note { margin-top: 12px; font-size: 0.74rem; color: var(--muted); }

/* ---- app screens (em-based, scale with the phone) ---- */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.scr.is-on { opacity: 1; visibility: visible; transition: opacity .35s; }
.app-h { background: #fff; padding: 3.3em 1em 0.55em; display: flex; align-items: center; gap: 0.7em; border-bottom: 2px solid var(--a-ink); }
.app-back { font-size: 1.8em; line-height: 1; font-weight: 400; }
.app-h-t b { display: block; font-size: 1em; font-weight: 800; }
.app-h-t small { display: block; font-size: 0.72em; color: #5d5d5d; }
.app-prog { display: flex; gap: 0.3em; padding: 0.6em 1em; background: #fff; }
.app-prog i { flex: 1; height: 0.4em; border-radius: 0.3em; background: #ddd5c8; }
.app-prog[style*="--n:1"] i:nth-child(-n+1), .app-prog[style*="--n:2"] i:nth-child(-n+2), .app-prog[style*="--n:3"] i:nth-child(-n+3),
.app-prog[style*="--n:4"] i:nth-child(-n+4), .app-prog[style*="--n:5"] i:nth-child(-n+5), .app-prog[style*="--n:6"] i:nth-child(-n+6) { background: var(--a-coral); }
.scr-body { flex: 1; overflow: hidden; position: relative; }
.scr-scroll { padding: 1em 1em 1.4em; }
.app-eyebrow { font-size: 0.66em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a-coral); }
.app-title { font-size: 1.55em; font-weight: 900; line-height: 1.1; margin: 0.2em 0 0.7em; letter-spacing: -0.01em; }
.app-lead { font-size: 0.78em; color: #5b554f; margin: -0.5em 0 0.9em; line-height: 1.35; }
.app-sub { font-size: 0.72em; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--a-muted); margin: 0.9em 0 0.4em; }
.app-more { font-size: 0.72em; color: var(--a-muted); text-align: center; margin-top: 0.6em; font-weight: 700; }
.app-dock { display: flex; gap: 0.6em; padding: 0.7em 1em 1.6em; background: #fff; border-top: 2px solid var(--a-ink); }
.dock-ghost, .dock-main { flex: 1; text-align: center; padding: 0.75em; border-radius: 2em; border: 2px solid var(--a-ink); font-weight: 800; font-size: 0.82em; }
.dock-main { background: var(--a-ink); color: #fff; }
.dock-main.gen { background: var(--a-coral); border-color: var(--a-ink); box-shadow: 0.2em 0.2em 0 var(--a-ink); }
.app-dock.one { padding-bottom: 1.6em; }
.app-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 0.55em 1em; background: var(--a-mint-bg); border-top: 2px solid var(--a-ink); }
.app-sum small { font-size: 0.72em; font-weight: 700; color: #16735e; }
.app-sum b { font-size: 1.15em; font-weight: 900; }
.app-panel { border: 2px solid var(--a-ink); border-radius: 1em; padding: 0.8em; margin-top: 0.9em; }
.app-panel.mint { background: var(--a-mint-bg); }
.app-panel b { display: block; font-size: 0.9em; }
.app-panel small { display: block; font-size: 0.7em; color: var(--a-muted); }
.stepper { display: flex; align-items: center; gap: 0.6em; margin-top: 0.6em; background: #fff; border: 2px solid var(--a-ink); border-radius: 2em; padding: 0.3em; }
.st-btn { width: 1.9em; height: 1.9em; border-radius: 50%; border: 2px solid var(--a-ink); display: grid; place-items: center; font-weight: 800; }
.st-val { flex: 1; text-align: center; font-size: 0.72em; color: var(--a-muted); }
.st-val b { display: inline; font-size: 1.5em; color: var(--a-ink); margin-right: 0.2em; }

.fmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.fmt-card { position: relative; background: #fff; border: 2px solid var(--a-ink); border-radius: 1em; padding: 0.4em 0.45em 0.6em; box-shadow: 0.22em 0.22em 0 var(--a-ink); transition: background .25s, border-color .25s, box-shadow .25s; }
.fmt-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 0.6em; background: #fff; }
.fmt-card b { display: block; font-size: 0.78em; margin-top: 0.3em; }
.fmt-card small { display: block; font-size: 0.58em; color: #69635e; line-height: 1.25; }
.fmt-card .radio { position: absolute; top: 0.6em; right: 0.6em; width: 1.2em; height: 1.2em; border: 2px solid var(--a-ink); border-radius: 50%; background: #fff; }
.fmt-card.is-sel { border-color: var(--a-coral); background: #fff1ec; box-shadow: 0.22em 0.22em 0 var(--a-coral); }
.fmt-card.is-sel .radio { background: var(--a-coral); border-color: var(--a-coral); }
.fmt-card.is-sel .radio::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.7em; font-weight: 900; }

.crew-scene { position: relative; height: 9.5em; background: #fff; border: 2px solid var(--a-ink); border-radius: 1.2em; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; gap: 0; margin-bottom: 0.8em; background-image: linear-gradient(180deg, #fff 70%, #f0e7d9 70%); }
.crew-scene img { height: 88%; width: auto; margin: 0 -0.6em; }
.crew-row { display: flex; align-items: center; gap: 0.6em; background: #fff; border: 2px solid var(--a-ink); border-radius: 0.9em; padding: 0.4em 0.6em; margin-bottom: 0.45em; }
.crew-row.dim { opacity: 0.55; }
.crew-row img { width: 2.3em; height: 2.3em; object-fit: cover; object-position: top; border-radius: 50%; background: var(--a-cream); border: 1.5px solid var(--a-ink); }
.crew-row div { flex: 1; }
.crew-row b { display: block; font-size: 0.8em; }
.crew-row small { display: block; font-size: 0.62em; color: var(--a-muted); }
.mini-step { display: flex; align-items: center; gap: 0.45em; font-weight: 800; font-size: 0.8em; }
.mini-step i { font-style: normal; width: 1.6em; height: 1.6em; border: 2px solid var(--a-ink); border-radius: 50%; display: grid; place-items: center; font-size: 0.9em; }

.menu-pick { display: flex; align-items: center; gap: 0.6em; background: #fff; border: 2px solid var(--a-ink); border-radius: 1em; padding: 0.6em; box-shadow: 0.22em 0.22em 0 var(--a-ink); }
.menu-emoji { font-size: 1.6em; }
.menu-pick div { flex: 1; }
.menu-pick b { display: block; font-size: 0.85em; }
.menu-pick small { display: block; font-size: 0.64em; color: var(--a-muted); }
.menu-btn { font-size: 0.7em; font-weight: 800; border: 2px solid var(--a-ink); border-radius: 2em; padding: 0.4em 0.8em; white-space: nowrap; }
.menu-btn em { font-style: normal; }
.menu-pick .c1 { display: none; } .menu-pick:not(.is-chosen) .c1 { display: inline; } .menu-pick:not(.is-chosen) .c2 { display: none; }
.menu-pick.is-chosen { border-color: #16735e; box-shadow: 0.22em 0.22em 0 #16735e; }
.menu-pick.is-chosen .menu-btn { background: var(--a-mint-bg); border-color: #16735e; color: #16735e; }
.dish { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; column-gap: 0.6em; align-items: center; background: #fff; border: 2px solid var(--a-ink); border-radius: 0.9em; padding: 0.45em 0.7em; margin-bottom: 0.4em; }
.dish b { font-size: 0.8em; }
.dish small { grid-row: 2; font-size: 0.6em; color: var(--a-muted); }
.dish-p { grid-row: 1 / 3; grid-column: 2; font-weight: 800; font-size: 0.8em; background: #fff2a8; border: 1.5px solid var(--a-ink); border-radius: 0.4em; padding: 0.2em 0.4em; }
.dish-n { grid-row: 1 / 3; grid-column: 3; font-size: 0.62em; color: var(--a-muted); text-align: right; min-width: 3.8em; }
.dish-n b { display: block; font-size: 1.35em; color: var(--a-ink); }

.cost, .capex { display: flex; align-items: center; gap: 0.7em; background: #fff; border: 2px solid var(--a-ink); border-radius: 0.9em; padding: 0.55em 0.7em; margin-bottom: 0.42em; }
.cost img, .capex img { width: 1.7em; height: 1.7em; padding: 0.3em; background: var(--a-sun); border: 1.5px solid var(--a-ink); border-radius: 0.5em; }
.cost b { flex: 1; font-size: 0.78em; }
.cost span { font-weight: 800; font-size: 0.85em; background: #fff2a8; border: 1.5px solid var(--a-ink); border-radius: 0.4em; padding: 0.15em 0.5em; min-width: 4.2em; text-align: right; }
.cost em { font-style: normal; }
.capex div { flex: 1; }
.capex b { display: block; font-size: 0.76em; }
.capex small { display: block; font-size: 0.6em; color: var(--a-muted); }
.capex small em { font-style: normal; }
.capex > span { font-weight: 800; font-size: 0.8em; }

.be-card { background: var(--a-ink); color: #fff; border-radius: 1.2em; padding: 0.9em 1em 1em; box-shadow: 0.25em 0.25em 0 var(--a-coral); }
.be-card small { display: block; font-size: 0.62em; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a-sun); }
.be-card > b { display: block; font-size: 3.2em; font-weight: 900; line-height: 1; margin: 0.08em 0; }
.be-card > span { display: block; font-size: 0.72em; color: rgba(255,255,255,0.75); }
.be-pill { display: inline-block; margin-top: 0.6em; font-style: normal; font-size: 0.66em; font-weight: 800; background: var(--a-mint); color: var(--a-ink); padding: 0.3em 0.7em; border-radius: 2em; }
.slider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.25em 0.6em; margin-top: 0.8em; }
.slider small { font-size: 0.7em; font-weight: 700; color: var(--a-muted); }
.slider b { grid-row: 1; grid-column: 2; font-size: 0.75em; }
.sl-track { grid-column: 1 / 3; height: 0.45em; background: #ddd5c8; border-radius: 1em; position: relative; }
.sl-track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--a-coral); border-radius: 1em; }
.sl-track i::after { content: ''; position: absolute; right: -0.65em; top: 50%; width: 1.3em; height: 1.3em; transform: translateY(-50%); background: #fff; border: 2px solid var(--a-ink); border-radius: 50%; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; margin-top: 1em; }
.metrics div { background: #fff; border: 2px solid var(--a-ink); border-radius: 0.8em; padding: 0.45em 0.6em; }
.metrics small { display: block; font-size: 0.58em; color: var(--a-muted); font-weight: 700; }
.metrics b { font-size: 0.95em; font-weight: 900; }
.metrics .pos { background: var(--a-mint-bg); }

.scr-gen { background: #000; color: #fff; justify-content: flex-end; }
.gen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gen-copy { position: relative; padding: 1.2em 1.2em 2em; text-align: center; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85) 30%); }
.gen-msg { font-size: 1.05em; font-weight: 800; min-height: 2.6em; display: grid; place-items: center; }
.gen-note { font-size: 0.68em; color: rgba(255,255,255,0.7); margin: 0.4em 0 1em; }
.gen-leave { display: inline-block; font-size: 0.78em; font-weight: 800; border: 2px solid #fff; border-radius: 2em; padding: 0.6em 1.4em; }

.scr-sheet { background: #fff; font-family: Arial, Helvetica, sans-serif; }
.gs-top { display: flex; align-items: center; gap: 0.6em; padding: 3.2em 0.8em 0.5em; border-bottom: 1px solid #e0e0e0; }
.gs-logo { width: 1.5em; height: 1.9em; background: #0f9d58; border-radius: 0.2em; position: relative; }
.gs-logo::after { content: ''; position: absolute; inset: 0.55em 0.3em 0.35em; background: linear-gradient(#fff 0 0) 0 0 / 100% 0.12em no-repeat, linear-gradient(#fff 0 0) 0 50% / 100% 0.12em no-repeat, linear-gradient(#fff 0 0) 0 100% / 100% 0.12em no-repeat, linear-gradient(#fff 0 0) 50% 0 / 0.12em 100% no-repeat; }
.gs-top div { flex: 1; min-width: 0; }
.gs-top b { display: block; font-size: 0.85em; }
.gs-top small { display: block; font-size: 0.55em; color: #5f6368; white-space: nowrap; overflow: hidden; }
.gs-share { background: #c2e7ff; color: #001d35; font-size: 0.62em; font-weight: 700; border-radius: 2em; padding: 0.5em 0.9em; }
.gs-fx { display: flex; gap: 0.5em; align-items: center; font-size: 0.56em; padding: 0.5em 0.9em; border-bottom: 1px solid #e0e0e0; color: #3c4043; white-space: nowrap; overflow: hidden; }
.gs-fx em { color: #9aa0a6; font-style: italic; }
.gs-grid { flex: 1; position: relative; overflow: hidden; }
.gs-page { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.gs-page.is-on { opacity: 1; }
.gs-r { display: grid; grid-template-columns: 1.6em 1fr repeat(4, auto); border-bottom: 1px solid #e3e3e3; font-size: 0.6em; min-height: 2.25em; align-items: stretch; }
.gs-page[data-page="0"] .gs-r { grid-template-columns: 1.6em 1fr 5.4em 5em; }
.gs-page[data-page="2"] .gs-r { grid-template-columns: 1.6em 1fr 2.8em 3.2em 2.6em 5.2em; }
.gs-page[data-page="1"] .gs-r { grid-template-columns: 1.6em 1fr 3.4em 3.4em 3.4em 3.4em; }
.gs-r > span { padding: 0.45em 0.35em; border-right: 1px solid #e3e3e3; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.gs-r > span:first-child { background: #f8f9fa; color: #5f6368; justify-content: center; font-size: 0.9em; }
.gs-head > span { background: #f8f9fa; color: #5f6368; justify-content: center; }
.gs-r .f { background: #f4f4f7; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.gs-r .in { background: #fff2a8; justify-content: flex-end; font-weight: 700; }
.gs-r .neg { color: #c5221f; }
.gs-r .pct { justify-content: flex-end; color: #5f6368; }
.gs-r.band > span:nth-child(n+2) { background: var(--orange); color: #fff; font-weight: 700; border-right: 0; }
.gs-r.navy > span:nth-child(n+2) { background: var(--navy); color: #fff; font-weight: 700; }
.gs-r.ok > span:nth-child(n+2) { background: #eaf7ef; color: #137333; font-weight: 700; }
.gs-r .tag { justify-content: center; font-weight: 700; font-size: 0.92em; }
.tag.star { color: #b06000; background: #fef7e0; } .tag.horse { color: #1967d2; background: #e8f0fe; } .tag.puzzle { color: #8430ce; background: #f3e8fd; } .tag.dog { color: #c5221f; background: #fce8e6; }
.gs-spark { display: flex; align-items: flex-end; gap: 0.3em; height: 5em; padding: 0.8em 1em 0.4em 2em; }
.gs-spark i { flex: 1; height: calc(var(--h) * 100%); background: #0f9d58; border-radius: 0.15em 0.15em 0 0; transform-origin: bottom; }
.gs-tabs { display: flex; gap: 0.2em; overflow: hidden; padding: 0.4em 0.5em 1.4em; background: #f8f9fa; border-top: 1px solid #e0e0e0; }
.gs-tabs span { font-size: 0.56em; padding: 0.5em 0.8em; border-radius: 0.4em; white-space: nowrap; color: #3c4043; }
.gs-tabs span.is-on { background: #e1f3e8; color: #0d652d; font-weight: 700; }

.finger { position: absolute; z-index: 25; left: 0; top: 0; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: rgba(255,103,47,0.35); border: 2px solid rgba(255,255,255,0.95); box-shadow: 0 0.2em 0.8em rgba(0,0,0,0.25); opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .how { padding-top: 90px; padding-bottom: 80px; }
  .how-grid { grid-template-columns: 1fr; }
  .phone-wrap { position: relative; top: 0; order: -1; }
  .phone { --pw: min(68vw, 300px, 38svh); }
  .step-copy { padding-left: 20px; padding-right: 20px; }
}

/* ---------------- FORMATS (horizontal) ---------------- */
.formats { background: var(--navy); color: #fff; position: relative; }
.formats-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.formats-track { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; align-items: stretch; will-change: transform; }
.formats-intro { width: min(460px, 82vw); flex: none; display: flex; flex-direction: column; justify-content: center; }
.formats-intro .section-title { color: #fff; }
.formats-intro .section-lead { color: rgba(255,255,255,0.7); }
.formats-drag { margin-top: 26px; font-weight: 800; color: var(--yellow); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.fmt { flex: none; width: clamp(280px, 28vw, 380px); background: #fff; color: var(--ink); border: 3px solid #000; border-radius: 26px; padding: 16px 16px 20px; box-shadow: 8px 8px 0 var(--orange); display: flex; flex-direction: column; }
.fmt:nth-child(3n) { box-shadow: 8px 8px 0 var(--green); }
.fmt:nth-child(3n+1) { box-shadow: 8px 8px 0 var(--yellow); }
.fmt img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 16px; background: var(--a-cream); }
.fmt h3 { font-size: 1.7rem; margin-top: 14px; color: var(--navy); }
.fmt > p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.fmt dl { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fmt dl div { background: var(--paper); border-radius: 12px; padding: 8px 10px; }
.fmt dt { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fmt dd { font-weight: 800; font-size: 0.92rem; color: var(--navy); }
.formats-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 4px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden; }
.formats-progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }
/* No JS / reduced motion / small screens: native horizontal scroll */
.formats.native .formats-pin { height: auto; padding: 90px 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.formats.native .fmt, .formats.native .formats-intro { scroll-snap-align: start; }
.formats.native .formats-progress { display: none; }

/* ---------------- SHEET DECK ---------------- */
.sheet { padding: 130px var(--gutter) 120px; max-width: 1360px; margin: 0 auto; overflow-x: clip; }
.sheet-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-bottom: 64px; }
.sheet-head .section-title { max-width: 18ch; }
.count { color: var(--orange); font-variant-numeric: tabular-nums; }
.sheet-robot { width: clamp(200px, 26vw, 360px); }
.deck { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1600px; }
.card-tab { position: relative; border: 3px solid #000; border-radius: 22px; padding: 22px 20px 20px; box-shadow: 6px 6px 0 #000; min-height: 250px; display: flex; flex-direction: column; background: #fff; transform-origin: 50% 100%; }
.card-tab h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.card-tab p { font-size: 0.9rem; line-height: 1.5; flex: 1; }
.tab-n { position: absolute; top: -16px; left: 18px; font-family: var(--font-head); font-weight: 700; background: #000; color: #fff; border-radius: 10px; padding: 2px 12px; font-size: 1rem; }
.c-navy { background: var(--navy); color: #fff; } .c-navy p { color: rgba(255,255,255,0.8); }
.c-orange { background: var(--orange); color: #fff; }
.c-green { background: var(--green); }
.c-yellow { background: var(--yellow); }
.c-teal { background: var(--teal); }
.c-peach { background: var(--peach); }
.deck li:first-child { grid-column: span 2; }
.mini { margin-top: 16px; height: 44px; display: flex; align-items: flex-end; gap: 6px; }
.mini-in i { flex: 1; height: 16px; border: 2px solid currentColor; border-radius: 4px; background: rgba(255,242,168,0.9); align-self: center; }
.mini-bars i { flex: 1; height: calc(var(--h) * 100%); background: currentColor; border-radius: 4px 4px 0 0; opacity: 0.85; }
.mini-line svg { width: 100%; height: 100%; }
.mini-line path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mini-tags { align-items: center; flex-wrap: wrap; }
.mini-tags em { font-style: normal; font-weight: 800; font-size: 0.72rem; border: 2px solid #000; border-radius: 30px; padding: 3px 10px; background: #fff; }
@media (max-width: 1000px) { .deck { grid-template-columns: repeat(2, 1fr); } .sheet-head { grid-template-columns: 1fr; } .sheet-robot { justify-self: center; } }
@media (max-width: 560px) { .deck { grid-template-columns: 1fr; } .deck li:first-child { grid-column: auto; } }

/* ---------------- NUMBERS (3D cash flow) ---------------- */
.numbers { background: #07093a; color: #fff; position: relative; height: 260svh; }
.numbers-stage { position: sticky; top: 68px; height: calc(100svh - 68px); max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(320px, 0.8fr) 1.2fr; gap: 40px; align-items: center; }
.numbers-copy .section-title { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.beats { list-style: none; margin: 22px 0 18px; display: grid; }
.beat { grid-area: 1 / 1; color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 44ch; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s; }
.beat b { color: var(--yellow); }
.beat.on { opacity: 1; transform: none; }
.knobs { display: grid; gap: 14px; margin-top: 8px; }
.knob span { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.knob output { color: #fff; font-weight: 800; }
.knob input { width: 100%; accent-color: var(--orange); height: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpis div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 10px 12px; }
.kpis dt { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); }
.kpis dd { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 600; font-variant-numeric: tabular-nums; }
#kpi-profit.neg { color: #ff8c6b; }
.numbers-note { margin-top: 14px; font-size: 0.72rem; color: rgba(255,255,255,0.45); max-width: 60ch; }
.numbers-viz { position: relative; height: min(70svh, 640px); border-radius: 28px; overflow: hidden; background: radial-gradient(90% 80% at 50% 40%, #151a7c 0%, #07093a 80%); border: 1px solid rgba(255,255,255,0.1); }
.cash-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.payback-flag { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 12px)); background: var(--yellow); color: #000; font-weight: 800; font-size: 0.78rem; padding: 5px 12px; border-radius: 30px; border: 2px solid #000; box-shadow: 3px 3px 0 #000; opacity: 0; transition: opacity .3s; white-space: nowrap; pointer-events: none; }
.payback-flag.on { opacity: 1; }
.viz-legend { position: absolute; top: 16px; left: 18px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.75); }
.viz-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; }
.lg-bar::before { background: var(--green); } .lg-line::before { background: var(--yellow); height: 4px !important; vertical-align: 3px !important; } .lg-zero::before { background: rgba(255,255,255,0.4); height: 2px !important; vertical-align: 4px !important; }
.viz-months { position: absolute; left: 7%; right: 7%; bottom: 12px; display: flex; justify-content: space-between; font-size: 0.66rem; font-weight: 700; color: rgba(255,255,255,0.45); }
/* once the 3D chart projects month positions, labels are placed absolutely under each bar */
.viz-months span[style*="left"] { position: absolute; bottom: 0; transform: translateX(-50%); }
.viz-months:has(span[style*="left"]) { left: 0; right: 0; height: 1em; }
@media (max-width: 960px) {
  .numbers { height: auto; }
  .numbers-stage { position: relative; top: 0; height: auto; grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 90px; }
  .numbers-viz { height: 62svh; order: -1; }
  .beats { gap: 10px; } .beat { grid-area: auto; opacity: 1; transform: none; }
}

/* ---------------- DEMO ---------------- */
.demo { background: var(--yellow); border-block: 3px solid #000; }
.demo-inner { max-width: 1360px; margin: 0 auto; padding: 110px var(--gutter); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.demo-robot { width: clamp(180px, 20vw, 300px); margin-top: 20px; }
.demo-frame { border: 3px solid #000; border-radius: 26px; box-shadow: 10px 10px 0 #000; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; transform: rotate(1.2deg); }
.video-facade { position: relative; width: 100%; height: 100%; display: block; }
.vf-poster { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(1,3,79,0.2), rgba(1,3,79,0.85)), var(--vf-bg, url('../images/formats/food-crew.webp')) center / cover no-repeat, var(--navy); display: flex; align-items: flex-end; padding: 28px; }
.vf-title { font-family: var(--font-head); color: #fff; font-size: clamp(1.4rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; text-align: left; }
.vf-play { position: absolute; left: 50%; top: 50%; width: 96px; transform: translate(-50%, -50%); transition: transform .2s; }
.video-facade:hover .vf-play { transform: translate(-50%, -50%) scale(1.1); }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .demo-inner { grid-template-columns: 1fr; padding: 80px var(--gutter); } .demo-robot { display: none; } }

/* ---------------- COMPARE ---------------- */
.compare { padding: 120px var(--gutter) 60px; max-width: 1100px; margin: 0 auto; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cmp { border: 3px solid #000; border-radius: 24px; padding: 30px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cmp-hot { background: var(--navy); color: #fff; box-shadow: 8px 8px 0 var(--orange); }
.cmp-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.cmp h3 { font-size: 2rem; margin: 8px 0 10px; }
.cmp p { font-size: 0.95rem; opacity: 0.85; }
.cmp ul { list-style: none; margin: 16px 0 24px; flex: 1; }
.cmp li { padding: 6px 0 6px 26px; position: relative; font-size: 0.92rem; }
.cmp li::before { content: '→'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.cmp .btn { align-self: flex-start; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq { padding: 80px var(--gutter) 120px; max-width: 900px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 2px solid #000; border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 #000; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 1.02rem; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 700; color: var(--orange); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------------- FINAL ---------------- */
.final { background: var(--orange); border-top: 3px solid #000; overflow: hidden; }
.final-inner { max-width: 1200px; margin: 0 auto; padding: 90px var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; color: #fff; }
.final-robot { width: clamp(200px, 28vw, 400px); filter: drop-shadow(8px 10px 0 rgba(0,0,0,0.3)); }
.final-title { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.92; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 5px 5px 0 #000; }
.final p { font-size: 1.15rem; margin: 18px 0 28px; max-width: 40ch; }
@media (max-width: 760px) { .final-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

.foot { background: var(--navy); padding: 36px var(--gutter); text-align: center; }
.foot p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.foot a { color: var(--orange); text-decoration: none; }

/* ---------------- REDUCED MOTION ---------------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
        .numbers { height: auto; }
  .numbers-stage { position: relative; top: 0; height: auto; padding-block: 100px; }
  .beat { grid-area: auto; opacity: 1; transform: none; }
  .beats { gap: 8px; }
  .phone { transform: none; transition: none; }
  .scr, .gs-page { transition: none; }
}

/* ===================================================== 2026-10 update: free tools, lead popup, phone cursor */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Free tools (lead magnet) */
.tools { padding: 110px var(--gutter) 40px; max-width: 1360px; margin: 0 auto; }
.tools-head .section-title { max-width: 20ch; }
.tools-head .section-lead { max-width: 64ch; }
.tools-head .section-lead strong { color: var(--navy); }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.tool-card { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: 1fr auto; gap: 8px 22px; align-items: center; background: #fff; border: 3px solid #000; border-radius: 24px; padding: 24px 26px; box-shadow: var(--shadow); }
.tool-card img { grid-row: 1 / 3; width: 120px; height: auto; }
.tool-card h3 { font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.tool-card p { margin-top: 8px; font-size: 0.94rem; color: var(--muted); }
.tool-card .btn { justify-self: start; border: 2px solid #000; cursor: pointer; font-family: inherit; }
@media (max-width: 860px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { grid-template-columns: 84px 1fr; padding: 20px; }
  .tool-card img { width: 84px; grid-row: 1; }
  .tool-card .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
}

/* Example sheet button under the steps */
.steps-col { display: flex; flex-direction: column; gap: 28px; }
.btn-xl { padding: 22px 30px; font-size: clamp(1rem, 1.5vw, 1.2rem); border-radius: 22px; line-height: 1.25; justify-content: space-between; }
.btn-xl i { font-style: normal; font-size: 1.5em; line-height: 1; }
.example-btn { width: 100%; }

/* Phone: the play/pause control follows the cursor */
.phone-wrap { --c: 64px; }
@media (hover: hover) and (pointer: fine) { .phone { cursor: none; } }
.phone-cursor { position: absolute; left: 0; top: 0; width: var(--c); height: var(--c); margin: calc(var(--c) / -2) 0 0 calc(var(--c) / -2); border-radius: 50%; background: var(--yellow); color: #000; border: 2px solid #000; box-shadow: 3px 3px 0 #000; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; pointer-events: none; z-index: 20; opacity: 0; scale: 0.4; transition: opacity .18s, scale .22s cubic-bezier(.2,.9,.3,1.4); }
.phone-cursor.is-on { opacity: 1; scale: 1; }
.phone-cursor svg { fill: currentColor; display: block; }
.phone-cursor .i-play { display: none; margin-left: 3px; }
.phone-cursor.is-paused { background: var(--orange); color: #fff; }
.phone-cursor.is-paused .i-play { display: block; }
.phone-cursor.is-paused .i-pause { display: none; }

/* Compare: three columns */
.compare { max-width: 1360px; }
.compare-grid { grid-template-columns: repeat(3, 1fr); }
.compare .section-title.center { max-width: 22ch; }
.cmp h3 { font-size: 1.7rem; }
.cmp button.btn { cursor: pointer; font-family: inherit; background: none; }
@media (max-width: 1040px) { .compare-grid { grid-template-columns: 1fr; } }

/* Lead popup */
.lead { margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); border: 3px solid #000; border-radius: 28px; box-shadow: 10px 10px 0 #000; padding: 0; background: var(--peach); color: var(--ink); overflow: auto; }
.lead::backdrop { background: rgba(1,3,79,0.72); backdrop-filter: blur(4px); }
.lead[open] { animation: lead-in .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes lead-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.lead-body { padding: 38px 34px 30px; }
.lead-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #000; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lead-title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--navy); line-height: 1.05; }
.lead-text { margin-top: 14px; color: var(--muted); }
.lead-list { list-style: none; margin: 16px 0 6px; display: grid; gap: 6px; }
.lead-list li { padding-left: 26px; position: relative; font-weight: 700; color: var(--navy); }
.lead-list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.lead-form { display: grid; gap: 12px; margin-top: 18px; }
.lead-form input[type=email] { font: inherit; font-size: 1.02rem; padding: 15px 18px; border: 2px solid #000; border-radius: 16px; background: #fff; }
.lead-form input[type=email]:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.lead-form .btn { justify-content: center; cursor: pointer; font-family: inherit; }
.lead-form .btn:disabled { opacity: .7; cursor: progress; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-err { color: #c0281b; font-size: 0.88rem; font-weight: 700; }
.lead-fine { margin-top: 14px; font-size: 0.74rem; color: var(--muted); }
.lead-links { display: grid; gap: 12px; margin-top: 20px; }
.lead-link { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 2px solid #000; border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 #000; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.lead-link:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; }
.lead-link b { font-size: 1.05rem; }
.lead-link span { font-size: 0.84rem; color: var(--orange); font-weight: 700; }
