/* FoodTechGuru homepage. Brand colours come from the Tilda original; layout is mobile first.
   Motion lives in /assets/home/js/home.js and only runs when <html> has the .motion class. */
:root {
  --navy: #01034f;
  --cream: #fff5f0;
  --orange: #ff643a;
  --green: #00d865;
  --yellow: #f4ef5b;
  --amber: #ffc845;
  --teal: #14b8a6;
  --purple: #c86cf0;
  --card: #0c1530;
  --beige: #f6efd5;
  --paper: #f8f8f8;
  --ink: #0b0b12;
  --muted: #4a4a58;
  --radius: 40px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font: 500 16px/1.55 var(--body); overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { fill: currentColor; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border: 2px solid #000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }

/* Type */
.h-display, .h-mega, .h1-line, .h-act {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: .98; letter-spacing: -.005em;
}
.h-display { font-size: clamp(34px, 5.4vw, 64px); }
.h-mega { font-size: clamp(40px, 7.4vw, 96px); }
.sub { margin: 18px auto 0; max-width: 640px; color: var(--muted); font-size: 17px; }

/* Buttons: the original's yellow, black outline, hard offset shadow */
.btn {
  --sh: 6px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: 600 19px/1 var(--display); color: #000; text-decoration: none; letter-spacing: .01em;
  background: var(--yellow); border: 2.5px solid #000; border-radius: 16px;
  padding: 15px 26px; box-shadow: var(--sh) var(--sh) 0 #000;
  transition: transform .18s ease, box-shadow .18s ease; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--sh) + 2px) calc(var(--sh) + 2px) 0 #000; }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.btn-sm { --sh: 4px; font-size: 16px; padding: 11px 18px; border-radius: 12px; }
.btn-lg { font-size: 24px; padding: 18px 34px; }
.btn-ghost { background: #fff; cursor: default; }
.btn-ghost:hover { transform: none; box-shadow: var(--sh) var(--sh) 0 #000; }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: none; border-radius: 999px; font: 600 15px/1 var(--body); padding: 16px 30px; }
.btn-orange:hover { box-shadow: 0 10px 24px rgba(255, 100, 58, .35); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.nav-in { display: flex; align-items: center; gap: 28px; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; height: 76px; }
.nav.is-scrolled { background: rgba(1, 3, 79, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.nav-logo img { width: 190px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; opacity: .92; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; display: none; }
.nav-burger { margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-burger svg { width: 30px; height: 30px; }
.nav-sheet { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: var(--navy); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a:not(.btn) { color: #fff; text-decoration: none; font: 600 22px/1 var(--display); text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-sheet .btn { margin-top: 16px; justify-self: start; }
@media (min-width: 980px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-burger, .nav-sheet { display: none !important; }
}

/* Frame: the navy border around the cream and white cards */
.frame { padding-inline: clamp(8px, 2vw, 28px); }

/* HERO */
.hero { position: relative; z-index: 2; padding-top: 4px; overflow-x: clip; }
.hero-card {
  position: relative; background: var(--cream); border-radius: var(--radius) var(--radius) 0 0;
  padding: 44px var(--gutter) 0; display: grid; gap: 28px;
}
.h1-line { display: block; overflow: hidden; font-size: clamp(50px, 11.5vw, 124px); padding-bottom: .04em; }
.h1-line > span { display: inline-block; }
.hero-lede { margin-top: 22px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: #1c1c28; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); font-weight: 600; }
/* The copy box spans the art on desktop; let the pointer reach the recipe note underneath */
.hero-copy { pointer-events: none; }
.hero-copy > * { pointer-events: auto; }

.hero-art { position: relative; height: 480px; margin-inline: calc(-1 * var(--gutter)); }
.hero-note-img { position: absolute; width: 300px; left: -40px; top: 40px; transform: rotate(-14deg); filter: drop-shadow(0 14px 22px rgba(80, 40, 0, .22)); }
.hero-phone { position: absolute; right: 5%; top: 10px; width: 210px; transform: rotate(14deg); }
.hero-path { position: absolute; overflow: visible; pointer-events: none; }
.hero-path .dash { fill: none; stroke: #111; stroke-width: 3; stroke-dasharray: 12 10; stroke-linecap: round; }
.hero-path .draw { fill: none; stroke: #fff; stroke-width: 10; }
.hero-path .arrowhead { fill: none; stroke: #111; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-path-a { left: 12%; top: 0; width: 60%; height: 130px; }
.hero-path-b { display: none; }
.chip {
  position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  border: 2.5px solid #000; box-shadow: 4px 4px 0 #000; color: #000;
}
.chip svg { width: 28px; height: 28px; }
.chip-camera { background: var(--orange); left: 40%; top: 6px; transform: rotate(-8deg); }
.chip-mic { background: var(--purple); left: 56%; top: 110px; transform: rotate(10deg); }
.chip-link { background: var(--green); left: 6%; top: 380px; transform: rotate(-6deg); }
.chip-text { background: var(--yellow); left: 34%; top: 300px; transform: rotate(8deg); }
/* Paper plane flies down into the cost card sheet: Phosphor's plane points north-east, so 135deg points it south */
.hero-send { position: absolute; z-index: 3; left: 50%; bottom: 6px; }
.hero-send .plane { display: block; width: 58px; height: 58px; color: #111; transform: rotate(135deg); }

.hero-sheet { position: relative; z-index: 2; margin: -30px calc(-1 * var(--gutter) + 6px) -90px auto; width: min(100%, 760px); }
.hero-sheet-frame { position: relative; display: block; background: #fff; border: 3px solid #000; border-radius: 26px; padding: 10px; box-shadow: -10px 12px 0 #000; }
.hero-sheet-frame img { border-radius: 14px; }
.hero-sheet-frame { transition: transform .25s ease, box-shadow .25s ease; }
.hero-sheet-frame:hover { transform: translate(2px, -3px); box-shadow: -13px 16px 0 #000; }
.sheet-badge {
  position: absolute; top: -22px; left: -22px; width: 54px; height: 54px; padding: 9px; color: #0f9d58;
  background: #fff; border: 2.5px solid #000; border-radius: 15px; box-shadow: 3px 3px 0 #000;
}
.hero-output-badge { display: none; }
.hero-sheet figcaption { margin-top: 22px; padding-right: 28px; text-align: right; }
.hero-sheet figcaption a { color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hero-sheet figcaption svg { width: 18px; height: 18px; vertical-align: -3px; margin-left: 4px; }

@media (min-width: 980px) {
  .hero-card { grid-template-columns: 1fr; padding: 155px 0 250px; min-height: 780px; }
  .hero-copy { position: relative; z-index: 2; padding-left: clamp(250px, 23vw, 340px); padding-right: 26%; }
  .h1-line { font-size: clamp(64px, 6.6vw, 104px); white-space: nowrap; }
  .hero-art {
    --output-top: 405px;
    --output-left: calc(55% + 80px);
    position: absolute; inset: 0; height: auto; margin: 0;
  }
  .hero-note-img { width: clamp(330px, 28vw, 440px); left: -96px; top: 175px; }
  .hero-phone { width: clamp(253px, 21vw, 308px); right: -34px; top: 28px; transform: rotate(-32deg); }
  .hero-path-a { left: 12%; top: 20px; width: 60%; height: 200px; }
  .hero-path-b { display: block; left: var(--output-left); top: var(--output-top); width: 17%; height: 200px; }
  /* Cluster the input icons above the recipe note, beside the top dashed line. */
  .chip-text { left: 10.5%; top: 123px; transform: rotate(-5deg); }
  .chip-camera { left: 14.4%; top: 68px; transform: rotate(-5deg); }
  .chip-mic { left: 20.4%; top: 13px; transform: rotate(-5deg); }
  .chip-link { left: auto; right: 22%; top: 363px; }
  /* sits on the end of .hero-path-b (x 60/220, y 410/420 of its box) */
  .hero-send { left: calc(var(--output-left) + 17% * 60 / 220 - 29px); top: calc(var(--output-top) + 192px); bottom: auto; }
  /* Keep the desktop Sheets icon beside the plane, independent of the sheet's scroll animation. */
  .hero-output-badge { display: block; left: calc(var(--output-left) + 17% * 60 / 220 - 91px); top: calc(var(--output-top) + 168px); }
  .hero-sheet .sheet-badge { display: none; }
  .hero-sheet { position: absolute; right: 6px; bottom: calc(-1 * min(.15 * (100vw - 56px), 230px) - 185px); margin: 0; width: 54%; max-width: 820px; }
}

/* TIRED + UNLOCK (white card) */
.tired { position: relative; overflow-x: clip; }
/* The orange band starts here, over the white card's rounded bottom, with a soft curve like the original */
.tired::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 44px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0 Q50 13 100 0 V10 H0Z' fill='%23ff643a'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
@media (min-width: 980px) { .tired::after { height: 72px; } }
.tired-card, .unlock-card { position: relative; background: #fff; }
.tired-card { border-radius: 0; padding: 130px var(--gutter) 40px; display: grid; gap: 40px; }
.tired-art { position: relative; min-height: 440px; }
.tired-squiggle { position: absolute; width: 92%; left: -12%; top: -20px; }
.tired-phone { position: relative; width: min(80%, 396px); margin: 20px auto 0; transform: rotate(-5deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.tired-copy { display: grid; gap: 34px; align-content: center; }
.tired-item { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.tired-item h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.05 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.tired-item p { color: #2a2a35; }
.star { position: absolute; pointer-events: none; }
.star-sunset { width: 130px; right: -34px; top: 40px; }
.unlock-card { padding: 60px var(--gutter) 0; display: grid; gap: 30px; border-radius: 0 0 var(--radius) var(--radius); }
.unlock-copy p { margin-top: 22px; max-width: 460px; font-size: 18px; color: #2a2a35; }
.unlock-art { position: relative; }
.unlock-phone { position: relative; z-index: 3; width: min(66%, 320px); margin: 0 auto -150px; transform: rotate(4deg); }
.star-pink { z-index: 2; width: 190px; left: -20px; bottom: -110px; }
.star-green { z-index: 4; width: 110px; right: 0; top: 18%; }
@media (min-width: 980px) {
  .tired-card { grid-template-columns: 1.05fr 1fr; padding: 80px 6% 60px; }
  .tired-copy { padding-top: 400px; }
  .tired-art { min-height: 720px; }
  .tired-squiggle { width: 100%; left: -18%; top: 0; }
  .tired-phone { width: 81%; margin: 60px 0 0 4%; }
  .star-sunset { width: clamp(220px, 21vw, 330px); right: -50px; top: 110px; bottom: auto; }
  .unlock-card { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px 8% 0; }
  .unlock-copy { padding-bottom: 120px; }
  .unlock-phone { width: clamp(300px, 28vw, 425px); margin: 0 0 -250px 16%; }
  .star-pink { width: clamp(240px, 24vw, 380px); left: -150px; bottom: -150px; }
  .star-green { width: clamp(130px, 13vw, 210px); right: -40px; top: 30%; }
}

/* Coloured bands */
.band { position: relative; padding: 140px 0 110px; overflow-x: clip; }
.band-orange { background: var(--orange); }
.band-green { background: var(--green); }
.band + .band { padding-top: 110px; }
.tired + .band { padding-top: 220px; }
@media (min-width: 980px) { .tired + .band { padding-top: 320px; } }
.band-lede { margin: 22px auto 0; max-width: 780px; color: #fff; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.4; }
.band .btn-lg { margin-top: 50px; }
.menu-block { margin-top: 150px; }

/* What it does: app-style action buttons switch the heading, copy and video */
.acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.act {
  appearance: none; display: grid; place-content: center; gap: 2px; min-height: 104px; padding: 16px 12px;
  background: var(--bg); border: 3px solid #000; border-radius: 22px; box-shadow: 3px 3px 0 #000; transform: translate(3px, 3px);
  font: 900 clamp(19px, 2.3vw, 32px)/1.02 var(--body); letter-spacing: -.02em; text-align: center; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.act-1 { color: #fff; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 2px 3px 0 #000; }
.act-2 { color: #000; }
.act:hover { transform: translate(1px, 1px); box-shadow: 5px 5px 0 #000; }
.act.is-on { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 #000; }
.act-panel { display: grid; gap: 30px; margin-top: 44px; align-items: center; }
.act-panel[hidden] { display: none; }
.h-act { font-size: clamp(32px, 3.8vw, 56px); color: #000; }
.h-act .arrow { color: #fff; }
.act-copy p { margin: 18px 0 30px; color: #fff; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; max-width: 520px; }
.act-panel .video { margin: 0; max-width: none; }
@media (min-width: 980px) {
  .acts { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .act { min-height: 128px; }
  .act-panel { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; }
}

.video { margin: 50px auto 0; max-width: 980px; }
.video-facade, .video iframe {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 3px solid #000;
  border-radius: 22px; overflow: hidden; background: #000; box-shadow: 14px 14px 0 #000; cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video-facade:hover img { transform: scale(1.03); }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; border-radius: 50%;
  background: var(--yellow); border: 3px solid #000; box-shadow: 5px 5px 0 #000; display: grid; place-items: center;
  transition: transform .2s ease;
}
.video-play svg { width: 40px; height: 40px; margin-left: 6px; color: #000; }
.video-facade:hover .video-play { transform: scale(1.08); }
.video-time { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.75); color: #fff; font: 600 14px/1 var(--body); padding: 6px 9px; border-radius: 8px; }

.sheet-frame { position: relative; margin: 50px auto 0; max-width: 1040px; }
.sheet-frame > img:first-child { border: 3px solid #000; border-radius: 6px; background: #fff; box-shadow: 18px 18px 0 #000; }
.sheet-frame figcaption { margin-top: 30px; }
.sheet-frame figcaption a, .text-link {
  display: inline-block; color: #fff; font-weight: 700; font-size: 17px;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.sheet-frame figcaption svg, .text-link svg { width: 18px; height: 18px; vertical-align: -3px; margin-left: 4px; }
.robot { position: absolute; pointer-events: none; }
.robot-waiter { width: clamp(244px, 37.5vw, 470px); left: clamp(-190px, -11vw, -40px); bottom: -110px; }
.sheet-link { display: block; }
@media (max-width: 699px) {
  .robot-waiter { left: auto; right: -18px; bottom: 50px; width: 160px; }
  .menu-block .h-mega { padding-right: 0; }
}

.script-line { color: #fff; font: 500 clamp(30px, 4.2vw, 56px)/1.1 var(--body); margin-bottom: 70px; }
.underline { position: relative; display: inline-block; }
.underline svg { position: absolute; left: -4%; bottom: -26px; width: 108%; height: 34px; overflow: visible; }
.underline path { fill: none; stroke: var(--amber); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.vendor-art { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 4vw, 60px); margin-top: 60px; }
.vendor-robot { width: clamp(190px, 42vw, 540px); }
.vendor-phone { width: clamp(160px, 25vw, 330px); flex: none; }
.pill-note { display: inline-block; margin-top: 46px; background: var(--navy); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; font-size: 15px; }
.band-green .text-link { color: #000; margin-top: 24px; }

/* BUSINESS PLAN */
.bp { display: grid; gap: 50px; align-items: center; }
.bp .h-mega { font-size: clamp(40px, 4.4vw, 64px); }
.bp .band-lede { margin-left: 0; }
.bp-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 38px; padding: 0; }
.bp-facts li { background: #fff; border: 2.5px solid #000; border-radius: 16px; padding: 14px 16px; box-shadow: 4px 4px 0 #000; }
.bp-facts b { display: block; font: 700 34px/1 var(--display); text-transform: uppercase; }
.bp-facts span { font-size: 13px; font-weight: 600; color: var(--muted); }
.bp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.bp-ctas .btn-lg { margin-top: 0; }
.bp-art { position: relative; min-height: 470px; }
.bp-sheet { position: absolute; right: 0; top: 0; width: 84%; background: #fff; border: 3px solid #000; border-radius: 10px; box-shadow: 14px 14px 0 #000; transform: rotate(3deg); }
.bp-phone { position: relative; z-index: 2; width: 190px; margin: 90px 0 0 2%; transform: rotate(-6deg); }
.bp-robot { position: absolute; z-index: 3; width: 150px; right: 0; bottom: -30px; pointer-events: none; }
.bp-formats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 80px; padding: 0; }
.bp-formats li { background: #fff; border: 2.5px solid #000; border-radius: 22px; padding: 10px 10px 14px; box-shadow: 5px 5px 0 #000; text-align: center; font: 600 16px/1.1 var(--display); text-transform: uppercase; }
.bp-formats img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; }
@media (min-width: 980px) {
  .bp { grid-template-columns: 1fr 1fr; gap: 60px; }
  .bp-facts { grid-template-columns: repeat(4, 1fr); }
  .bp-art { min-height: 620px; }
  .bp-phone { width: clamp(220px, 18vw, 260px); margin-top: 140px; }
  .bp-robot { width: clamp(170px, 15vw, 230px); right: -40px; bottom: -40px; }
  .bp-formats { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}

/* Phone frame for clips and screenshots */
.phone {
  position: relative; aspect-ratio: 368 / 800; border-radius: 17% / 7.8%; background: #0b0b0f; padding: 4.2%;
  box-shadow: 0 0 0 2px #2a2a33 inset, 0 40px 60px -20px rgba(0,0,0,.45);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 3.6%; left: 50%; translate: -50% 0; width: 30%; height: 3.6%; background: #0b0b0f; border-radius: 999px; }
.phone > video, .phone > img { width: 100%; height: 100%; object-fit: cover; border-radius: 13% / 6%; background: #fff; }

/* FEATURE STACK */
.stack { margin-top: 150px; display: grid; gap: 40px; }
.fcard {
  display: grid; background: var(--card); color: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transform-origin: center top;
}
.fcard-copy { padding: 34px 28px; border-bottom: 10px solid var(--stripe); display: grid; align-content: center; gap: 18px; justify-items: start; }
.fcard h3 { font: 700 clamp(26px, 2.6vw, 36px)/1.02 var(--display); text-transform: uppercase; }
.fcard p { color: #d9dbe6; font-size: 15.5px; }
.fcard img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 980px) {
  .stack { gap: 0; }
  .fcard { position: sticky; top: calc(110px + var(--i, 0) * 22px); grid-template-columns: 0.9fr 1.25fr; min-height: 440px; margin-bottom: 70px; }
  .fcard-copy { border-bottom: 0; border-right: 34px solid var(--stripe); padding: 46px 40px; }
}

/* STATEMENT */
.statement-sec { background: var(--paper); padding: 140px 0 120px; }
.statement { font: 500 clamp(30px, 5vw, 66px)/1.32 var(--body); text-align: center; color: #1c1c28; text-wrap: balance; }
.statement .av, .statement .emo { display: inline-block; vertical-align: middle; width: 1.05em; height: 1.05em; margin: -.15em .06em 0; border-radius: 50%; object-fit: cover; }
.statement .av { background: var(--orange); }
.statement .av-green { background: var(--green); }
.statement .av-amber { background: var(--amber); }
.statement .nw { white-space: nowrap; }

/* PROOF */
.proof { background: var(--paper); padding: 0 0 130px; }
.proof-grid { display: grid; gap: 22px; margin-top: 44px; }
.proof-card {
  position: relative; display: grid; gap: 8px; padding: 28px; border-radius: 26px; text-decoration: none; background: #fff;
  border: 2.5px solid #000; box-shadow: 8px 8px 0 var(--c); transition: transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--c); }
.proof-ico { width: 44px; height: 44px; color: var(--c); margin-bottom: 8px; }
.proof-kind { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proof-name { font: 700 26px/1.08 var(--display); text-transform: uppercase; }
.proof-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.proof-go svg { width: 16px; height: 16px; }
@media (min-width: 820px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }

/* STEPS */
.steps { background: var(--beige); overflow: hidden; }
.steps-pin { display: grid; gap: 40px; padding: 110px 0; }
.steps-intro { padding-inline: var(--gutter); max-width: 520px; }
.steps-intro p { margin: 18px 0 30px; font-size: 17px; color: #22222c; }
.steps-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; scrollbar-width: none; }
.steps-viewport::-webkit-scrollbar { display: none; }
.steps-track { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; width: max-content; }
.step {
  scroll-snap-align: start; width: min(82vw, 340px); min-height: 440px; background: #fff; border-radius: 30px; padding: 34px 32px;
  box-shadow: 0 24px 50px -24px rgba(90, 70, 20, .35); display: flex; flex-direction: column; gap: 16px;
}
.step-num { width: auto; height: 74px; object-fit: contain; object-position: left; }
.step h3 { font: 500 30px/1.12 var(--body); letter-spacing: -.01em; }
.step p { font-size: 14.5px; color: #3a3a46; }
.step-gif { width: 90px; margin-top: auto; }
.step-ico { width: 64px; height: 64px; margin-top: auto; color: var(--orange); }
.step:nth-child(2) .step-ico { color: #0f9d58; }
.step:nth-child(4) .step-ico { color: var(--green); }
@media (min-width: 980px) {
  .steps-pin { grid-template-columns: minmax(420px, 38%) 1fr; align-items: center; min-height: 100svh; padding: 0; }
  .steps-intro { padding-left: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-right: 40px; max-width: none; }
  .steps-intro h2 { white-space: nowrap; }
  .steps-viewport { overflow: hidden; padding: 60px 0 130px 40px; }
  html:not(.motion) .steps-viewport { overflow-x: auto; scrollbar-width: thin; }
  .step { width: 360px; min-height: 480px; }
  /* Deck: with motion on desktop the cards share one grid cell and land on top of each other */
  .steps-track.is-deck { display: grid; }
  .steps-track.is-deck .step { grid-area: 1 / 1; box-shadow: 0 30px 60px -26px rgba(90, 70, 20, .45); }
}

/* FREE TOOLS */
.tools { background: #fff; padding: 120px 0; }
.tools-grid { display: grid; gap: 22px; margin-top: 46px; }
.tool { border-radius: 28px; padding: 32px; background: var(--paper); border-top: 10px solid var(--c); }
.tool h3 { font: 700 30px/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.tool h3 a { text-decoration: none; }
.tool ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.tool li a { text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.tool li a:hover { border-color: var(--c); }
.tool-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-underline-offset: 4px; }
.tool-all svg { width: 16px; height: 16px; }
@media (min-width: 820px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }

/* PRICING */
.pricing { background: var(--paper); padding: 120px 0 110px; overflow-x: clip; }
.pricing-head, .final-head { position: relative; max-width: 880px; margin-inline: auto; padding: 40px 0; }
.bolt-side { position: absolute; pointer-events: none; display: none; }
@media (min-width: 900px) {
  .bolt-side { display: block; }
  .bolt-l { width: 118px; left: -110px; top: -30px; }
  .bolt-r { width: 136px; right: -120px; top: -10px; }
}
.pricing-head h2, .final-head h2 { position: relative; z-index: 1; }
.mark { position: relative; z-index: 0; }
.mark::after { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: .06em; height: .28em; background: var(--amber); transform: skew(-12deg) scaleX(var(--mark, 1)); transform-origin: left; }
.billing { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 40px auto 0; flex-wrap: wrap; }
.billing-lbl { font: 600 15px/1 var(--body); color: var(--muted); cursor: pointer; transition: color .2s ease; }
.billing-lbl.is-on { color: #000; }
.billing-switch { position: relative; width: 66px; height: 36px; margin: 0 8px; padding: 0; border: 2.5px solid #000; border-radius: 999px; background: #fff; cursor: pointer; box-shadow: 3px 3px 0 #000; transition: background .25s ease; }
.billing-switch[aria-checked="true"] { background: var(--green); }
.billing-knob { position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: #000; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.billing-switch[aria-checked="true"] .billing-knob { transform: translateX(30px); }
.billing-save { font: 600 15px/1 var(--display); color: var(--orange); margin-left: 8px; transform: rotate(-4deg); }
.plans { display: grid; gap: 26px; margin-top: 40px; align-items: center; }
.plan { background: #fff; border-radius: 6px; padding: 34px 34px 36px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.25); }
.plan img { width: 92px; margin-bottom: 18px; }
.plan h3 { font: 700 26px/1 var(--display); text-transform: uppercase; }
.plan-for { margin-top: 8px; font-size: 14px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price-note { min-height: 1.5em; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--muted); }
.price-note s { opacity: .7; }
.plan-hot .price-note { color: rgba(255,255,255,.9); }
.price .cur { font-size: 22px; font-weight: 600; align-self: flex-start; margin-top: 8px; }
.price .amt { font: 700 58px/1 var(--body); letter-spacing: -.03em; display: inline-block; }
.price .per { color: var(--muted); font-size: 17px; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; font-size: 14.5px; }
.plan li { padding-left: 18px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.plan-btn { display: block; text-align: center; text-decoration: none; font-weight: 600; background: var(--green); color: #fff; padding: 14px; border-radius: 999px; transition: filter .2s ease, transform .2s ease; }
.plan-btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
.plan-hot { background: var(--green); color: #fff; padding-block: 48px; box-shadow: 0 34px 70px -24px rgba(0, 150, 70, .5); }
.plan-hot .per, .plan-hot .plan-for { color: rgba(255,255,255,.88); }
.plan-hot li::before { background: #fff; }
.plan-hot .plan-btn { background: var(--orange); }
.fine { margin-top: 34px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* RIBBONS */
/* grey of the pricing section above the ribbons, white of the FAQ below them */
.ribbons { background: linear-gradient(var(--paper) 50%, #fff 50%); padding: 40px 0 90px; overflow: hidden; }
.ribbon { white-space: nowrap; font: 500 clamp(34px, 5vw, 72px)/1.25 var(--body); padding: 6px 0; width: 110%; margin-left: -5%; }
.ribbon-green { background: var(--green); transform: rotate(-3deg); }
.ribbon-orange { background: var(--orange); transform: rotate(2.5deg); margin-top: -8px; }
.ribbon-track { display: inline-flex; will-change: transform; }
.ribbon-track span { padding-right: .4em; }

/* FAQ */
.faq { background: #fff; padding: 120px 0; }
.faq h2 { margin-bottom: 40px; }
.faq details { border-bottom: 2px solid #e8e8ee; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 700 clamp(20px, 2vw, 24px)/1.2 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 30px/1 var(--body); transition: transform .25s ease; color: var(--orange); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: #33333f; max-width: 700px; }
.faq details a { font-weight: 700; text-underline-offset: 3px; }

/* FINAL */
.final { position: relative; background: var(--paper); padding: 130px 0 0; overflow: hidden; }
.final-head { max-width: 980px; padding: 60px 0; }
.final-head .bolt-l { top: 30px; }
.final-head .bolt-r { top: 60px; }
.h-mega.ink { color: #000; line-height: 1.12; }
.final-1 { display: block; }
.circled { position: relative; display: inline-block; margin-top: .26em; }
.circled svg { position: absolute; left: -9%; top: -26%; width: 118%; height: 152%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; }
.final-lede { margin: 40px auto 0; max-width: 620px; font-size: 19px; line-height: 1.7; }
.store-badge { display: inline-block; margin-top: 36px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge img { width: 190px; }
.final-phone { width: min(78vw, 420px); height: min(150vw, 760px); margin: 80px auto 0; overflow: hidden; }
.final-phone img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.2)); }

/* FOOTER */
.foot { position: relative; background: #000; color: #fff; padding: 90px 0 30px; }
.foot-top { display: grid; gap: 40px; }
.foot-brand img { width: 230px; }
.foot-brand p { margin: 18px 0 24px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; max-width: 420px; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; margin-top: 56px; padding-top: 44px; border-top: 1px solid #222; }
.foot-links h3, .foot-company h3 { font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.foot-links h3 a { display: inline; padding: 0; color: inherit; font-size: inherit; }
.foot-links a, .foot-company a { display: block; color: #d6d6de; text-decoration: none; padding: 5px 0; font-size: 15px; }
.foot-links a:hover, .foot-company a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid #222; font-size: 13px; color: #9a9aa6; flex-wrap: wrap; }
.bz-credit { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #9a9aa6; font-size: 12px; }
.bz-credit img { width: 76px; }
@media (min-width: 980px) { .foot-top { grid-template-columns: 1fr auto; align-items: start; } }

/* Motion start states (only with .motion; GSAP animates them in) */
.motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.motion [data-hero] { opacity: 0; }
.motion .underline path, .motion .circled path { stroke-dasharray: 1700; stroke-dashoffset: 1700; }
