/* ==========================================================================
   Grocify — Website stylesheet
   Brand source: GROCIFY - BRAND GUIDELINES.pdf (© 2025)
   Fonts: Syne (display) · Anuphan (heading) · Work Sans (body)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette (guideline p.8) */
  --teal: #1C4752;          /* Dark Teal */
  --kiwi: #B4DE46;          /* Kiwi Green */
  --eggshell: #EFE9D8;      /* Eggshell */
  --paris: #56BC86;         /* Paris Green */
  --white: #FFFFFF;

  /* Logo-file values (used for brand gradient, matches app icon) */
  --logo-teal: #004853;
  --logo-kiwi: #A8DF03;
  --grad-brand: linear-gradient(160deg, #004853 0%, #00605C 30%, #029F74 75%, #03BE80 100%);

  /* Derived tones */
  --teal-950: #0B242B;
  --teal-900: #102F37;
  --teal-800: #163C46;
  --teal-600: #2A5D6B;
  --teal-400: #5E8792;
  --kiwi-600: #9CC52F;
  --kiwi-200: #E3F3B5;
  --paper: #F7F4EC;
  --line-dark: rgba(28, 71, 82, .14);
  --line-light: rgba(255, 255, 255, .14);
  --danger: #C2412D;
  --paris-ink: #23784C;      /* Paris Green darkened for text/icons on light (4.9:1) */

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--teal);
  --fg-muted: #4D6C74;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, .74);

  /* Type */
  --f-display: "Syne", "Anuphan", system-ui, sans-serif;
  --f-head: "Anuphan", "Work Sans", system-ui, sans-serif;
  --f-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.6rem, 1.4rem + 4.2vw, 5.1rem);
  --fs-h2: clamp(2rem, 1.1rem + 3.6vw, 4.2rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --container: 1240px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, .22);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .42);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 76px;

  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--kiwi); color: var(--teal); }
:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .section--dark :focus-visible { outline-color: var(--kiwi); }
.section--light :focus-visible { outline-color: var(--teal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 18px;
  background: var(--kiwi); color: var(--teal); border-radius: 999px; font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); }
.section--dark { background: var(--teal); color: var(--on-dark); }
.section--deep { background: var(--teal-900); color: var(--on-dark); }
.section--egg { background: var(--eggshell); }
.section--paper { background: var(--paper); }
.section--kiwi { background: var(--kiwi); color: var(--teal); }
.section--grad { background: var(--grad-brand); color: var(--on-dark); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); opacity: .09; mix-blend-mode: overlay;
}
.section > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-600);
}
.section--dark .eyebrow, .section--deep .eyebrow, .section--grad .eyebrow, .hero .eyebrow { color: var(--kiwi); }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.eyebrow--pill {
  padding: 8px 14px 8px 12px; border-radius: 999px; letter-spacing: .01em; text-transform: none;
  font-size: .85rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); color: var(--on-dark);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow--pill::before { display: none; }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--kiwi); flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--kiwi);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.h-display {
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-hero);
  line-height: .98; letter-spacing: -.035em;
}
.h2 {
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h2);
  line-height: 1.02; letter-spacing: -.03em; text-wrap: balance;
}
.h3 { font-family: var(--f-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-muted); max-width: 60ch; text-wrap: pretty; }
.section--dark .lead, .section--deep .lead, .section--grad .lead, .hero .lead { color: var(--on-dark-muted); }
.muted { color: var(--fg-muted); }
.accent { color: var(--kiwi); }
.section--egg .accent, .section--paper .accent { color: var(--teal); background: linear-gradient(transparent 62%, var(--kiwi) 62%, var(--kiwi) 92%, transparent 92%); padding-inline: .06em; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}

/* Line mask for headline reveals */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-inner { display: inline-block; will-change: transform; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--kiwi); --btn-fg: var(--teal); --btn-fill: var(--white); --btn-fill-fg: var(--teal);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: color .45s var(--ease-out), border-color .3s, transform .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-fill); transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .55s var(--ease-out), border-radius .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn:active { transform: scale(.97); }
.btn .arrow { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-fill: var(--white); --btn-fill-fg: var(--teal); border-color: rgba(255, 255, 255, .4); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--teal); --btn-fill: var(--teal); --btn-fill-fg: var(--white); border-color: rgba(28, 71, 82, .35); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--white); --btn-fill: var(--kiwi); --btn-fill-fg: var(--teal); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform .5s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100% - var(--gutter) * 2 + 24px, var(--container) + 24px); margin-inline: auto;
  padding: 10px 12px 10px 20px; border-radius: 999px; color: var(--white);
  transition: background-color .4s, color .4s, box-shadow .4s, border-color .4s;
  border: 1px solid transparent;
}
.nav.is-scrolled .nav__bar {
  background: rgba(247, 244, 236, .82); color: var(--teal); border-color: var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-md);
}
.brand { position: relative; display: block; width: 128px; height: 28px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.brand .logo-dark { opacity: 0; }
.nav.is-scrolled .brand .logo-light { opacity: 0; }
.nav.is-scrolled .brand .logo-dark { opacity: 1; }
.nav__links { display: none; align-items: center; gap: 4px; font-family: var(--f-head); font-weight: 500; font-size: .95rem; }
.nav__links a {
  position: relative; padding: 10px 14px; border-radius: 999px; transition: background-color .3s;
}
.nav__links a:hover { background: rgba(255, 255, 255, .12); }
.nav.is-scrolled .nav__links a:hover { background: rgba(28, 71, 82, .07); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--kiwi);
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }

.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px;
  border-radius: 999px; border: 1px solid currentColor; border-color: rgba(255, 255, 255, .3);
  font-family: var(--f-head); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.nav.is-scrolled .lang, .on-light .lang { border-color: rgba(28, 71, 82, .25); }
.lang button {
  position: relative; z-index: 1; min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 999px;
  transition: color .35s;
}
.lang__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: var(--kiwi); transition: transform .45s var(--ease-out);
}
.lang[data-active="en"] .lang__thumb { transform: translateX(100%); }
.lang button[aria-pressed="true"] { color: var(--teal); }

.burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--kiwi); color: var(--teal);
  display: grid; place-items: center;
}
.burger span { position: absolute; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--teal-900); color: var(--white);
  clip-path: circle(0 at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  overflow-y: auto;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.menu-open .nav .nav__bar { background: transparent; border-color: transparent; box-shadow: none; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav .brand .logo-light { opacity: 1; }
.menu-open .nav .brand .logo-dark { opacity: 0; }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease-out), color .3s;
}
.menu__links a small { font-family: var(--f-body); font-size: .85rem; font-weight: 500; color: var(--kiwi); letter-spacing: 0; }
.menu__links a:hover { color: var(--kiwi); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu__foot { display: grid; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line-light); color: var(--on-dark-muted); font-size: .95rem; }
.menu__foot .btn { justify-self: start; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 110; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--kiwi); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 6. Preloader & page transition ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; display: none; place-items: center; background: var(--teal-900); color: var(--white);
}
.js .loader.is-active, .js.is-first .loader { display: grid; }
.is-first .loader { animation: loaderFailsafe .4s 6s forwards; } /* if scripts never load */
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__cart { width: 96px; height: 96px; overflow: visible; }
.loader__cart path { fill: transparent; stroke: var(--logo-kiwi); stroke-width: 3; }
.loader__count { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.loader__tag { font-family: var(--f-head); font-size: .85rem; letter-spacing: .12em; color: var(--kiwi); }

.curtain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; background: var(--teal-900);
  transform: translateY(100%); display: grid; place-items: center;
}
.curtain img { width: 64px; height: 64px; opacity: 0; }
html.is-entering .curtain { transform: none; }
html.is-entering .curtain img { opacity: 1; }

/* ---------- 7. Custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: grid; place-items: center; position: fixed; top: 0; left: 0; z-index: 600; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--kiwi); mix-blend-mode: normal;
    transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s, background-color .3s;
    font-family: var(--f-head); font-size: .72rem; font-weight: 600; color: var(--teal); letter-spacing: .04em;
  }
  .has-cursor .cursor span { opacity: 0; transition: opacity .2s; }
  .has-cursor .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(180, 222, 70, .35); }
  .has-cursor .cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--kiwi); }
  .has-cursor .cursor.is-label span { opacity: 1; }
  .has-cursor .cursor.is-hidden { opacity: 0; }
}

/* ---------- 8. Reveal states (only when JS + motion) ---------- */
.js.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.motion [data-reveal="fade"] { transform: none; }
.js.motion [data-reveal="scale"] { transform: scale(.94); }
.js.motion [data-lines] .line-inner { transform: translateY(110%); }
.js.motion [data-stagger] > * { opacity: 0; transform: translateY(30px); }
.no-gsap [data-reveal], .no-gsap [data-stagger] > *, .no-gsap [data-lines] .line-inner { opacity: 1 !important; transform: none !important; }

/* ---------- 9. Hero (shared) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(48px, 7vw, 96px);
  background: var(--teal); color: var(--white);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tile-bg { position: absolute; aspect-ratio: 1; border-radius: 25.4%; will-change: transform; }
.tile-bg--1 { width: 64vmax; right: -30vmax; top: -24vmax; background: linear-gradient(200deg, #03BE80 0%, #029F74 30%, rgba(0, 96, 92, 0) 72%); opacity: .5; animation: drift1 20s ease-in-out infinite alternate; }
.tile-bg--2 { width: 40vmax; left: -22vmax; bottom: -26vmax; background: linear-gradient(20deg, rgba(3, 190, 128, .5), rgba(0, 72, 83, 0) 70%); opacity: .55; animation: drift2 24s ease-in-out infinite alternate; }
.tile-bg--3 { width: 9vmax; right: 34%; top: 14%; border: 1.5px solid rgba(180, 222, 70, .35); animation: drift3 14s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-4vmax, 5vmax); } }
@keyframes drift2 { to { transform: translate(5vmax, -4vmax); } }
@keyframes drift3 { to { transform: translate(-3vmax, 4vmax); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.hero__inner { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.12fr .88fr; } }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__copy .lead { max-width: 52ch; }
.hero .h-display .accent { position: relative; display: inline-block; }
.swoosh { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--kiwi); stroke-width: 6; stroke-linecap: round; }
.trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .92rem; color: var(--on-dark-muted); }
.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--f-head); font-weight: 600; font-size: .78rem; color: var(--teal);
  border: 2px solid var(--teal); margin-left: -10px;
}
.avatars .avatar:first-child { margin-left: 0; }
.stars { display: flex; gap: 2px; color: var(--kiwi); }
.stars svg { width: 15px; height: 15px; }
.trust strong { color: var(--white); font-weight: 600; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; justify-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.scroll-cue i { display: block; width: 1.5px; height: 44px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--kiwi); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 1000px) and (min-height: 760px) { .scroll-cue { display: grid; } }

/* ---------- 10. Phone mockup (home hero) ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1200px; }
.phone {
  position: relative; width: min(300px, 76vw); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2b3d42, #0b1a1e 60%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #050c0e; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); color: var(--teal); display: flex; flex-direction: column; }
.app-top { background: var(--teal); color: var(--white); padding: 50px 18px 18px; display: grid; gap: 14px; }
.app-top__row { display: flex; align-items: center; justify-content: space-between; }
.app-top__row img { width: 82px; height: auto; }
.app-top__bell { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; position: relative; }
.app-top__bell svg { width: 15px; height: 15px; }
.app-top__bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--kiwi); }
.app-label { font-size: .68rem; color: var(--on-dark-muted); letter-spacing: .02em; }
.app-sales { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.app-delta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(180, 222, 70, .18); color: var(--kiwi); font-size: .66rem; font-weight: 600; }
.app-chart { display: flex; align-items: flex-end; gap: 6px; height: 58px; }
.app-chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .18); transform-origin: bottom; height: var(--h); }
.app-chart span.is-today { background: var(--kiwi); }
.app-body { padding: 14px 14px 0; display: grid; gap: 8px; flex: 1; overflow: hidden; align-content: start; }
.trx { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); font-size: .7rem; }
.trx__ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--kiwi-200); color: var(--teal); flex: none; }
.trx__ic svg { width: 14px; height: 14px; }
.trx__meta { flex: 1; min-width: 0; line-height: 1.3; }
.trx__meta b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trx__meta small { color: var(--fg-muted); font-size: .62rem; }
.trx__amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.app-nav { display: flex; justify-content: space-around; padding: 10px 8px 16px; background: var(--white); border-top: 1px solid var(--line-dark); }
.app-nav span { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: var(--teal-600); }
.app-nav span.on { background: var(--teal); color: var(--kiwi); }
.app-nav svg { width: 16px; height: 16px; }

.float {
  position: absolute; z-index: 4; background: rgba(255, 255, 255, .96); color: var(--teal); border-radius: 18px;
  padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .78rem; line-height: 1.35;
  display: flex; align-items: center; gap: 10px; will-change: transform;
}
.float b { font-weight: 600; display: block; }
.float small { color: var(--fg-muted); font-size: .7rem; }
.float__ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float__ic svg { width: 17px; height: 17px; }
.float--stock { top: 50%; left: max(-8%, -48px); width: max-content; max-width: 300px; }
.float--stock .float__ic { background: #FCE7E2; color: var(--danger); }
.float--stock button { margin-left: 4px; padding: 6px 10px; border-radius: 999px; background: var(--teal); color: var(--white); font-size: .68rem; font-weight: 600; }
.float--pay { bottom: 18%; right: max(-6%, -36px); }
.float--pay .float__ic { background: var(--kiwi); color: var(--teal); }
.float--ring { top: 6%; right: 0; flex-direction: column; gap: 4px; padding: 14px; text-align: center; }
.ring { width: 64px; height: 64px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .ring__bg { stroke: var(--eggshell); }
.ring .ring__fg { stroke: var(--paris); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: .95rem; }
.float--ring small { font-size: .66rem; }
.sparkle { position: absolute; color: var(--white); width: 26px; height: 26px; z-index: 2; animation: twinkle 3s ease-in-out infinite; }
.sparkle--a { left: 6%; bottom: 26%; }
.sparkle--b { right: 10%; top: 44%; width: 18px; height: 18px; animation-delay: 1.2s; color: var(--kiwi); }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@media (max-width: 520px) {
  .stage { min-height: 480px; }
  .float { font-size: .72rem; padding: 10px 12px; }
  .float--stock { left: -2px; top: 31%; max-width: 190px; }
  .float--stock button { display: none; }
  .float--pay { right: -2px; bottom: 14%; }
  .float--ring { display: none; }
}

/* ---------- 11. Marquee ---------- */
.belt { --scan-w: clamp(150px, 18vw, 230px); --gap: clamp(12px, 1.6vw, 20px); position: relative; background: var(--paper); padding-block: clamp(40px, 6vw, 72px); overflow: hidden; }
.belt__scanner { display: flex; justify-content: center; position: relative; z-index: 3; }
.belt__head {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 14px;
  background: var(--teal); color: var(--kiwi); font-family: var(--f-head); font-size: .75rem; font-weight: 600; letter-spacing: .18em;
}
.belt__head::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; margin-left: -1px; background: var(--teal); }
.belt__head img { width: 20px; height: 20px; }
.belt__frame {
  position: relative; margin-top: 14px; height: clamp(76px, 8vw, 104px);
  background: var(--teal-900); border-block: 6px solid var(--teal-600);
}
.belt__lane { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.belt__lane--scanned { clip-path: inset(0 calc(50% - var(--scan-w) / 2)); }
.belt__track { display: flex; flex: none; align-items: center; gap: var(--gap); padding-right: var(--gap); min-width: 100%; animation: marquee 40s linear infinite; will-change: transform; }
.belt__item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: clamp(10px, 1.1vw, 14px) clamp(16px, 1.8vw, 24px) clamp(10px, 1.1vw, 14px) clamp(12px, 1.4vw, 18px);
  border-radius: clamp(12px, 1.4vw, 18px); background: var(--eggshell); color: var(--teal);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, .75rem + 1vw, 1.55rem); letter-spacing: -.01em; line-height: 1.1;
}
.belt__lane--scanned .belt__item { background: var(--kiwi); }
.belt__ic { display: grid; place-items: center; width: 1.25em; height: 1.25em; flex: none; }
.belt__ic svg { width: 100%; height: auto; }
.belt__window {
  position: absolute; top: -6px; bottom: -6px; left: 50%; width: var(--scan-w); transform: translateX(-50%); pointer-events: none; z-index: 2;
  border-inline: 2px solid var(--kiwi); background: rgba(180, 222, 70, .07);
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 12. Statement + stats ---------- */
.statement { font-family: var(--f-head); font-weight: 500; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem); line-height: 1.3; letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
.statement .w { opacity: .18; transition: opacity .2s; }
.no-gsap .statement .w, .reduce .statement .w { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.stat { padding: 28px 12px 0 0; display: grid; gap: 6px; }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--paris-ink); vertical-align: top; position: relative; top: .2em; margin-left: 2px; }
.stat p { color: var(--fg-muted); font-size: .95rem; max-width: 22ch; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 32px 28px 0 0; }
  .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 899px) { .stat:nth-child(n+3) { padding-top: 36px; } }

/* ---------- 13. Two paths ---------- */
.paths { display: grid; gap: 18px; }
@media (min-width: 900px) { .paths { display: flex; gap: 20px; min-height: 560px; } }
.path {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 22px; min-height: 480px;
  transition: flex .8s var(--ease-out), transform .5s var(--ease-out);
}
@media (min-width: 900px) { .path { flex: 1; } .paths:hover .path { flex: .8; } .paths .path:hover { flex: 1.25; } }
.path::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .16), transparent 60%);
}
.path:hover::before { opacity: 1; }
.path--owner { background: var(--teal); color: var(--white); }
.path--partner { background: var(--kiwi); color: var(--teal); }
.path--partner::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .45), transparent 60%); }
.path__tag { font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.path h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
.path ul { display: grid; gap: 10px; padding: 0; list-style: none; max-width: 40ch; }
.path li { display: flex; gap: 10px; align-items: flex-start; }
.path li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.path--owner li svg { color: var(--kiwi); }
.path .btn { margin-top: auto; align-self: flex-start; }
.path__art { position: absolute; right: -20px; bottom: -20px; width: min(52%, 280px); z-index: -1; opacity: .95; transition: transform .8s var(--ease-out); pointer-events: none; }
.path:hover .path__art { transform: translate(-10px, -10px) scale(1.04); }
@media (max-width: 899px) { .path__art { width: 46%; opacity: .5; } }
@media (max-width: 899px) and (min-width: 600px) { .path__art { opacity: .9; } }

/* ---------- 14. Horizontal features ---------- */
.hfeat { overflow: hidden; }
.hfeat__wrap { display: grid; gap: 40px; }
.hfeat__intro { display: grid; gap: 20px; align-content: start; }
.hfeat__count { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--kiwi); letter-spacing: .08em; font-variant-numeric: tabular-nums; display: none; }
.hfeat__track { display: grid; gap: 18px; }
.fcard {
  position: relative; border-radius: var(--r-lg); background: var(--paper); color: var(--teal); padding: 28px;
  display: grid; gap: 14px; align-content: start; overflow: hidden;
}
.fcard__num { font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: var(--teal-600); }
.fcard h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.02em; line-height: 1.05; }
.fcard p { color: var(--fg-muted); max-width: 42ch; }
.fcard__viz { margin-top: 10px; border-radius: var(--r-md); background: var(--white); padding: 18px; min-height: 210px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 1000px) {
  .hfeat.is-pinned { height: 100vh; padding-block: 0; display: flex; align-items: center; }
  .hfeat__wrap { grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
  .hfeat .h2 { font-size: clamp(2.4rem, 1.2rem + 2.2vw, 3.5rem); }
  .hfeat__count { display: block; }
  .hfeat__viewport { overflow: visible; }
  .hfeat__track { display: flex; gap: 22px; width: max-content; }
  .fcard { width: 440px; min-height: min(560px, 74vh); padding: 34px; }
  .fcard__viz { min-height: 250px; }
}

/* Feature mini-visuals */
.viz-scan { display: grid; gap: 12px; }
.barcode { height: 72px; border-radius: 10px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--teal) 0 3px, transparent 3px 5px, var(--teal) 5px 6px, transparent 6px 9px, var(--teal) 9px 13px, transparent 13px 15px, var(--teal) 15px 16px, transparent 16px 19px); }
.barcode::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; top: 0; background: #E2483D; box-shadow: 0 0 12px 3px rgba(226, 72, 61, .55); animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 3px); } }
.receipt-lines { display: grid; gap: 6px; font-size: .78rem; }
.receipt-lines div { display: flex; justify-content: space-between; padding-bottom: 6px; border-bottom: 1px dashed var(--line-dark); }
.receipt-lines div:last-child { border: 0; font-weight: 700; }
.viz-stock { display: grid; gap: 12px; font-size: .78rem; }
.sbar { display: grid; gap: 5px; }
.sbar__top { display: flex; justify-content: space-between; }
.sbar__track { height: 8px; border-radius: 99px; background: var(--eggshell); overflow: hidden; }
.sbar__fill { height: 100%; border-radius: inherit; background: var(--paris); width: var(--w); transform-origin: left; }
.sbar.is-low .sbar__fill { background: var(--danger); }
.sbar.is-low .sbar__top b { color: var(--danger); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: var(--kiwi-200); color: var(--teal); }
.tag--red { background: #FCE7E2; color: #A3301D; }
.viz-chart svg { width: 100%; height: auto; overflow: visible; }
.viz-chart .grid-l { stroke: var(--line-dark); stroke-dasharray: 3 5; }
.viz-chart .area { fill: url(#gArea); }
.viz-chart .ln { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.viz-kpi { display: flex; justify-content: space-between; align-items: end; margin-bottom: 10px; }
.viz-kpi b { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.02em; }
.viz-net svg { width: 100%; height: auto; }
.viz-net .edge { stroke: var(--line-dark); stroke-width: 2; stroke-dasharray: 4 6; fill: none; }
.viz-net .pulse { fill: var(--kiwi-600); }
.viz-flow { display: grid; gap: 10px; font-size: .8rem; }
.flow-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.flow-step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--eggshell); color: var(--teal-400); flex: none; font-style: normal; transition: background-color .4s, color .4s; }
.flow-step i svg { width: 14px; height: 14px; }
.flow-step.is-done i { background: var(--kiwi); color: var(--teal); }
.flow-step small { margin-left: auto; color: var(--fg-muted); }

/* ---------- 15. Steps ---------- */
.steps { position: relative; display: grid; gap: 22px; counter-reset: step; }
.steps__line { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 44px; }
  .steps__line { display: block; position: absolute; top: 14px; left: 4%; right: 4%; height: 2px; background: var(--line-dark); }
  .steps__line span { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(0); }
  .no-gsap .steps__line span, .reduce .steps__line span { transform: none; }
}
.step { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); display: grid; gap: 14px; align-content: start; }
.step__dot { display: none; }
@media (min-width: 900px) {
  .step__dot { display: block; position: absolute; top: -38px; left: 32px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); }
  .step__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--kiwi); transform: scale(0); transition: transform .5s var(--ease-out); }
  .step.is-on .step__dot::after, .no-gsap .step__dot::after { transform: scale(1); }
}
.step__n { font-family: var(--f-display); font-weight: 800; font-size: 4.2rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--teal); letter-spacing: -.04em; }
.step p { color: var(--fg-muted); }
.step__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 16. Franchise teaser / storefront ---------- */
.teaser { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .teaser { grid-template-columns: 1fr 1fr; gap: 72px; } }
.teaser__copy { display: grid; gap: 24px; justify-items: start; }
.big-price { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.2rem, 2rem + 6vw, 7rem); letter-spacing: -.05em; line-height: .9; color: var(--kiwi); font-variant-numeric: tabular-nums; }
.big-price small { display: block; font-family: var(--f-head); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); margin-bottom: 10px; }
.checks { display: grid; gap: 12px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--kiwi); flex: none; margin-top: 1px; }
.section--egg .checks svg, .section--paper .checks svg, .card .checks svg { color: var(--paris-ink); }

.store { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.store .lamp { animation: flicker 4s infinite; }
@keyframes flicker { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .55; } }
.store .float-y { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }

/* ---------- 17. Testimonials ---------- */
.tm { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tm__line { display: flex; overflow: hidden; }
.tm__row { display: flex; flex: none; gap: 18px; padding-right: 18px; animation: marquee 60s linear infinite; }
.tm__row--rev { animation-direction: reverse; animation-duration: 70s; }
.tm:hover .tm__row, .tm:focus-within .tm__row { animation-play-state: paused; }
.tcard { width: min(400px, 82vw); padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); display: grid; gap: 18px; align-content: space-between; }
.tcard blockquote { font-size: 1.02rem; line-height: 1.6; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.tcard figcaption .avatar { margin: 0; border: 0; width: 44px; height: 44px; font-size: .9rem; }
.tcard figcaption b { display: block; font-family: var(--f-head); font-weight: 600; }
.tcard figcaption small { color: var(--fg-muted); }

/* ---------- 18. FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-wrap > :first-child { position: sticky; top: 120px; align-self: start; } }
.faq { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 24px 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); min-height: 44px;
}
.faq__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-dark); flex: none; transition: background-color .35s, border-color .35s, transform .5s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--kiwi); border-color: var(--kiwi); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--fg-muted); max-width: 62ch; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* ---------- 19. Final CTA ---------- */
.cta-final { overflow: hidden; text-align: center; }
.cta-final__inner { display: grid; justify-items: center; gap: 28px; }
.cta-final .h-display { font-size: clamp(2.8rem, 1rem + 8vw, 8.4rem); }
.cta-final__mark { width: clamp(72px, 10vw, 112px); }
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-final__bg img { position: absolute; width: 60vmax; max-width: none; right: -18vmax; bottom: -22vmax; opacity: .07; }
.hashtag { font-family: var(--f-head); font-weight: 600; letter-spacing: .02em; color: var(--kiwi); }

/* ---------- 20. Footer ---------- */
.footer { background: var(--teal-950); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; position: relative; }
.footer a:hover { color: var(--kiwi); }
.footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 2fr; } }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 380px; }
.footer__brand img { width: 150px; height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 700px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer h4 { font-family: var(--f-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer li a { display: inline-block; padding: 6px 0; }
.news { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 14px; color: var(--white); min-height: 44px; }
.news input::placeholder { color: rgba(255, 255, 255, .5); }
.news input:focus { outline: none; }
.news:focus-within { border-color: var(--kiwi); }
.news-msg { font-size: .85rem; color: var(--kiwi); min-height: 1.4em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); transition: background-color .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--kiwi); color: var(--teal); border-color: var(--kiwi); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: .85rem; }

/* ---------- 21. Cards & generic components ---------- */
.card { position: relative; border-radius: var(--r-lg); background: var(--white); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.card--dark { background: var(--teal-800); color: var(--white); box-shadow: none; border: 1px solid var(--line-light); }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: var(--kiwi); flex: none; transition: transform .5s var(--ease-out); }
.icon-tile svg { width: 24px; height: 24px; }
.card:hover .icon-tile { transform: rotate(-8deg) scale(1.06); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--white); font-family: var(--f-head); font-weight: 500; font-size: .92rem; }
.chip svg { width: 18px; height: 18px; color: var(--paris-ink); }
.section--dark .chip { background: rgba(255, 255, 255, .06); border-color: var(--line-light); }
.section--dark .chip svg { color: var(--kiwi); }

.benefits { display: grid; gap: 16px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits--3 { grid-template-columns: repeat(3, 1fr); } }
.benefit { display: grid; gap: 16px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit p { color: var(--fg-muted); }

/* ---------- 22. Dashboard mockup (aplikasi hero) ---------- */
.dash-stage { perspective: 1600px; position: relative; }
.dash {
  position: relative; border-radius: 22px; background: var(--paper); color: var(--teal); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1); transform-origin: 50% 0; font-size: .78rem;
}
.dash__chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--white); border-bottom: 1px solid var(--line-dark); }
.dash__chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--eggshell); }
.dash__chrome span { margin-left: 12px; padding: 4px 12px; border-radius: 99px; background: var(--paper); color: var(--fg-muted); font-size: .7rem; }
.dash__body { display: grid; grid-template-columns: 56px 1fr; min-height: 380px; }
.dash__side { background: var(--teal); display: grid; align-content: start; justify-items: center; gap: 12px; padding: 16px 0; }
.dash__side img { width: 30px; }
.dash__side span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); }
.dash__side span.on { background: rgba(180, 222, 70, .16); color: var(--kiwi); }
.dash__side svg { width: 16px; height: 16px; }
.dash__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__head b { font-family: var(--f-head); font-size: 1rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--white); border-radius: 14px; padding: 12px; display: grid; gap: 4px; box-shadow: var(--shadow-sm); }
.kpi small { color: var(--fg-muted); font-size: .66rem; }
.kpi b { font-family: var(--f-display); font-size: clamp(.85rem, .7rem + .5vw, 1.15rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; color: var(--paris-ink); font-size: .66rem; font-weight: 600; }
.dash__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.panel { background: var(--white); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); }
.panel h5 { margin: 0 0 8px; font-family: var(--f-head); font-size: .72rem; font-weight: 600; }
.panel svg { width: 100%; height: auto; overflow: visible; }
.toplist { display: grid; gap: 7px; }
.toplist div { display: grid; grid-template-columns: 1fr auto; gap: 4px; font-size: .66rem; }
.toplist i { grid-column: 1 / -1; height: 5px; border-radius: 9px; background: var(--eggshell); overflow: hidden; }
.toplist i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--teal); border-radius: inherit; }
.dash-phone { position: absolute; right: -4%; bottom: -12%; width: 26%; min-width: 120px; aspect-ratio: 9/18; border-radius: 26px; padding: 6px; background: #0b1a1e; box-shadow: var(--shadow-lg); }
.dash-phone > div { height: 100%; border-radius: 21px; background: var(--teal); padding: 26px 10px 10px; display: grid; align-content: start; gap: 8px; color: var(--white); font-size: .6rem; }
.dash-phone b { font-family: var(--f-display); font-size: .95rem; }
.dash-phone .mini { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px; display: flex; justify-content: space-between; }
@media (max-width: 640px) {
  .dash__body { grid-template-columns: 1fr; min-height: 0; }
  .dash__side { display: none; }
  .dash__grid { grid-template-columns: 1fr; }
  .dash__grid .panel:last-child { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis .kpi:last-child { display: none; }
  .dash-phone { display: none; }
}

/* ---------- 23. Bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); }
  .bento > :nth-child(1) { grid-column: span 4; }
  .bento > :nth-child(2) { grid-column: span 2; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 2; }
  .bento > :nth-child(5) { grid-column: span 2; }
  .bento > :nth-child(6) { grid-column: span 6; }
}
.tile { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--white); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-sm); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(180, 222, 70, .22), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile--teal { background: var(--teal); color: var(--white); }
.tile.tile--teal p { color: var(--on-dark-muted); }
.tile--kiwi { background: var(--kiwi); }
.tile h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.tile p { color: var(--fg-muted); max-width: 46ch; }
.tile.tile--kiwi p { color: var(--teal-800); }
.tile__viz { margin-top: auto; padding-top: 10px; }
.offline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wifi { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; position: relative; }
.wifi svg { width: 26px; height: 26px; color: var(--kiwi); }
.wifi::after { content: ""; position: absolute; width: 34px; height: 2.5px; background: #FF8A73; border-radius: 2px; transform: rotate(-45deg) scaleX(0); animation: cut 4s var(--ease-out) infinite; }
@keyframes cut { 0%, 30% { transform: rotate(-45deg) scaleX(0); } 40%, 80% { transform: rotate(-45deg) scaleX(1); } 90%, 100% { transform: rotate(-45deg) scaleX(0); } }
.offline__log { display: grid; gap: 6px; font-size: .78rem; flex: 1; min-width: 200px; }
.offline__log div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.offline__log em { font-style: normal; color: var(--kiwi); }
.donut { width: 120px; height: 120px; }
.donut circle { fill: none; stroke-width: 14; }
.wa { display: grid; gap: 8px; max-width: 260px; }
.wa__b { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--paper); font-size: .78rem; box-shadow: var(--shadow-sm); }
.wa__b--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #DCF5C8; }
.shifts { display: grid; gap: 8px; font-size: .8rem; }
.shifts div { display: flex; align-items: center; gap: 10px; }
.shifts .avatar { margin: 0; border: 0; width: 30px; height: 30px; font-size: .7rem; }
.shifts span:last-child { margin-left: auto; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 24. POS demo ---------- */
.pos { display: grid; gap: 18px; }
@media (min-width: 1000px) { .pos { grid-template-columns: 1.5fr 1fr; gap: 22px; } }
.pos__products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
@media (min-width: 560px) { .pos__products { grid-template-columns: repeat(4, 1fr); } }
.prod {
  position: relative; display: grid; gap: 8px; justify-items: start; text-align: left; padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); color: var(--white); min-height: 140px;
  transition: background-color .3s, transform .3s var(--ease-out), border-color .3s;
}
.prod:hover { background: rgba(255, 255, 255, .1); border-color: rgba(180, 222, 70, .5); }
.prod:active { transform: scale(.96); }
.prod__ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--kiwi); color: var(--teal); }
.prod__ic svg { width: 22px; height: 22px; }
.prod b { font-family: var(--f-head); font-weight: 600; font-size: .9rem; line-height: 1.25; }
.prod small { color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.prod__add { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; }
.prod__add svg { width: 12px; height: 12px; }
.pos__cart { background: var(--paper); color: var(--teal); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: start; position: relative; }
.pos__cart header { display: flex; justify-content: space-between; align-items: center; }
.pos__cart header b { font-family: var(--f-head); font-size: 1.1rem; }
.pos__count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--teal); color: var(--kiwi); font-weight: 700; font-size: .8rem; }
.pos__count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.pos__items { display: grid; gap: 8px; min-height: 150px; max-height: 260px; overflow-y: auto; align-content: start; overscroll-behavior: contain; }
.pos__empty { display: grid; place-items: center; text-align: center; color: var(--fg-muted); font-size: .9rem; padding: 30px 10px; border: 1.5px dashed var(--line-dark); border-radius: 16px; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; background: var(--white); border-radius: 14px; font-size: .88rem; }
.cart-row b { font-weight: 600; display: block; line-height: 1.25; }
.cart-row small { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--paper); border-radius: 99px; padding: 2px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--eggshell); }
.qty svg { width: 12px; height: 12px; }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-row__sum { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }
.pos__totals { display: grid; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line-dark); font-size: .92rem; }
.pos__totals div { display: flex; justify-content: space-between; }
.pos__totals .grand { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--eggshell); position: relative; }
.seg button { position: relative; z-index: 1; min-height: 40px; border-radius: 999px; font-family: var(--f-head); font-weight: 600; font-size: .88rem; transition: color .3s; }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { color: var(--white); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--teal); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.receipt {
  position: absolute; inset: 0; z-index: 5; border-radius: var(--r-lg); background: rgba(16, 47, 55, .55); display: grid; place-items: center; padding: 18px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.receipt.is-open { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }
.receipt__paper {
  width: min(300px, 100%); background: var(--white); padding: 22px 20px 26px; display: grid; gap: 10px; font-size: .8rem; color: var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px));
  transform: translateY(-30px); opacity: 0; transition: transform .7s var(--ease-out), opacity .4s;
  max-height: 100%; overflow: auto;
}
.receipt.is-open .receipt__paper { transform: none; opacity: 1; }
.receipt__paper img { width: 96px; justify-self: center; }
.receipt__ok { justify-self: center; width: 46px; height: 46px; border-radius: 50%; background: var(--kiwi); display: grid; place-items: center; }
.receipt__ok svg { width: 22px; height: 22px; }
.receipt__paper h3 { text-align: center; font-family: var(--f-head); font-size: 1rem; }
.receipt__lines { display: grid; gap: 4px; padding-block: 8px; border-block: 1px dashed var(--line-dark); font-variant-numeric: tabular-nums; }
.receipt__lines div { display: flex; justify-content: space-between; gap: 10px; }
.receipt__meta { text-align: center; color: var(--fg-muted); font-size: .72rem; }
.fly-dot { position: fixed; z-index: 300; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--kiwi); pointer-events: none; border: 3px solid var(--teal); }

/* ---------- 25. Pricing ---------- */
.billing { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.billing .seg { min-width: 260px; background: var(--white); box-shadow: var(--shadow-sm); }
.save { padding: 6px 12px; border-radius: 999px; background: var(--kiwi); font-size: .8rem; font-weight: 600; }
.plans { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 34px 30px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--hot { background: var(--teal); color: var(--white); }
.plan--hot .muted { color: var(--on-dark-muted); }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--kiwi); color: var(--teal); font-size: .75rem; font-weight: 700; }
.plan__name { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--fg-muted); font-size: .9rem; }
.plan--hot .plan__price span { color: var(--on-dark-muted); }
.plan .checks { font-size: .95rem; }
.plan--hot .checks svg { color: var(--kiwi); }
.plan .btn { margin-top: auto; }
.plan__divider { height: 1px; background: var(--line-dark); }
.plan--hot .plan__divider { background: var(--line-light); }

/* ---------- 26. Franchise pages ---------- */
.hero--franchise .stage { min-height: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); padding-top: 12px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats b { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -.03em; line-height: 1; }
.hero-stats small { color: var(--on-dark-muted); font-size: .85rem; }

.pkgs { display: grid; gap: 18px; }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.pkg {
  --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r-xl);
  background: var(--teal-800); border: 1px solid var(--line-light); color: var(--white);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out), border-color .4s; transform-style: preserve-3d;
}
.pkg:hover { border-color: rgba(180, 222, 70, .5); }
.pkg--hot { background: var(--kiwi); color: var(--teal); border-color: transparent; }
.pkg__size { display: flex; justify-content: space-between; align-items: center; }
.pkg__size span { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .8; }
.pkg h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1; }
.pkg__inv small { display: block; font-size: .85rem; opacity: .75; }
.pkg__inv b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); letter-spacing: -.04em; line-height: 1.05; }
.pkg .checks svg { color: var(--kiwi); }
.pkg--hot .checks svg { color: var(--teal); }
.pkg .btn { margin-top: auto; }
.pkg__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 16px; border-block: 1px solid var(--line-light); text-align: center; }
.pkg--hot .pkg__specs { border-color: rgba(28, 71, 82, .2); }
.pkg__specs b { display: block; font-family: var(--f-display); font-size: 1.15rem; }
.pkg__specs small { font-size: .72rem; opacity: .75; }

/* ROI calculator */
.roi { display: grid; gap: 20px; }
@media (min-width: 1000px) { .roi { grid-template-columns: 1fr 1.05fr; gap: 24px; } }
.roi__controls { display: grid; gap: 26px; align-content: start; }
.field-range { display: grid; gap: 12px; }
.field-range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-range label { font-family: var(--f-head); font-weight: 600; }
.field-range output { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.field-range small { color: var(--fg-muted); font-size: .82rem; }
input[type="range"] {
  --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; touch-action: pan-y;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--p), var(--eggshell) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--eggshell); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--teal); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--kiwi); border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--kiwi); border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--teal); }
.roi__result { background: var(--teal); color: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; }
.roi__nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.roi__num { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); display: grid; gap: 4px; }
.roi__num small { color: var(--on-dark-muted); font-size: .8rem; }
.roi__num b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.roi__num--hero { grid-column: 1 / -1; background: var(--kiwi); color: var(--teal); }
.roi__num--hero small { color: var(--teal-800); }
.roi__num--hero b { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.roi__chart svg { width: 100%; height: auto; overflow: visible; }
.roi__chart .axis { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.roi__chart .zero { stroke: rgba(255, 255, 255, .45); stroke-dasharray: 4 5; }
.roi__chart .cf { fill: none; stroke: var(--kiwi); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.roi__chart .cf-area { fill: url(#gRoi); }
.roi__chart text { fill: rgba(255, 255, 255, .7); font-size: 11px; font-family: var(--f-body); }
.roi__chart .bep circle { fill: var(--kiwi); stroke: var(--teal); stroke-width: 3; }
.roi__chart .bep text { fill: var(--kiwi); font-weight: 600; }
.disclaimer { font-size: .78rem; color: var(--on-dark-muted); }

/* Timeline */
.timeline { position: relative; padding-left: 44px; max-width: 820px; }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline__rail { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line-light); }
.timeline__rail span { position: absolute; inset: 0; background: var(--kiwi); transform-origin: top; transform: scaleY(0); }
.no-gsap .timeline__rail span, .reduce .timeline__rail span { transform: none; }
.tl { position: relative; padding-bottom: 44px; display: grid; gap: 8px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: -44px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); border: 2px solid var(--line-light); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: .8rem; transition: background-color .4s, color .4s, border-color .4s; }
.tl.is-on .tl__dot, .no-gsap .tl__dot { background: var(--kiwi); color: var(--teal); border-color: var(--kiwi); }
.tl__when { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--kiwi); font-weight: 600; }
.tl h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; }
.tl p { color: var(--on-dark-muted); max-width: 56ch; }

/* Form */
.apply { display: grid; gap: 32px; }
@media (min-width: 1000px) { .apply { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.apply__aside { display: grid; gap: 24px; align-content: start; }
.contact-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out); }
.contact-list a:hover { transform: translateX(4px); }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.contact-list small { display: block; color: var(--fg-muted); font-size: .78rem; }
.form { position: relative; display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-md); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--f-head); font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-dark); background: var(--paper);
  transition: border-color .25s, background-color .25s, box-shadow .25s; font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231C4752' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(180, 222, 70, .45); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); background: #FFF7F5; }
.field__err { display: none; align-items: center; gap: 6px; color: var(--danger); font-size: .84rem; }
.field__err svg { width: 15px; height: 15px; flex: none; }
.field.is-invalid .field__err { display: flex; }
.field__hint { font-size: .8rem; color: var(--fg-muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-dark); background: var(--paper); cursor: pointer; transition: border-color .25s, background-color .25s; font-size: .95rem; }
.radio span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--teal-400); flex: none; transition: border-width .2s, border-color .2s; }
.radio input:checked + span { border-color: var(--teal); background: var(--kiwi-200); }
.radio input:checked + span::before { border: 6px solid var(--teal); }
.radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(180, 222, 70, .6); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--fg-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal); flex: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { position: absolute; inset: 0; border-radius: inherit; background: var(--teal); color: var(--white); display: grid; place-items: center; text-align: center; padding: 32px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; overflow: hidden; }
.form-success.is-on { opacity: 1; visibility: visible; transition: opacity .5s, visibility 0s; }
.form-success__in { display: grid; justify-items: center; gap: 16px; max-width: 380px; }
.form-success__ok { width: 72px; height: 72px; border-radius: 50%; background: var(--kiwi); color: var(--teal); display: grid; place-items: center; }
.form-success__ok svg { width: 34px; height: 34px; }
.form-success__ok path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.form-success.is-on .form-success__ok path { animation: draw .7s .3s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success p { color: var(--on-dark-muted); }
.confetti { position: absolute; width: 10px; height: 10px; border-radius: 2px; pointer-events: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 450; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 14px 20px; border-radius: 999px; background: var(--teal); color: var(--white); box-shadow: var(--shadow-lg); font-size: .92rem; transition: transform .6s var(--ease-out), visibility 0s .6s; max-width: calc(100% - 32px); display: flex; gap: 10px; align-items: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.toast svg { width: 18px; height: 18px; color: var(--kiwi); flex: none; }

/* Sticky mobile CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(16, 47, 55, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform .6s var(--ease-out); padding-bottom: calc(8px + env(safe-area-inset-bottom) * .5); }
.mcta.is-on { transform: none; }
.mcta .btn { min-height: 46px; padding: 10px 14px; font-size: .9rem; }
@media (min-width: 1000px) { .mcta { display: none; } }

/* ---------- 27. Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.placeholder-note { font-size: .75rem; opacity: .7; }

/* ---------- 28. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .belt__track, .tm__row { animation: none !important; }
  .tm__line { overflow-x: auto; }
  .tm__row[aria-hidden] { display: none; }
  .tile-bg { animation: none !important; }
}

/* Storefront overlays */
.store-wrap { position: relative; width: 100%; max-width: 580px; margin-inline: auto; }
.store-float--a { top: 2%; left: -2%; }
.store-float--b { bottom: 8%; right: -2%; }
.store-spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.store-spark g:nth-child(2) path { animation-delay: 1s; }
.store-spark g:nth-child(3) path { animation-delay: 2s; }
@media (max-width: 520px) { .store-float--a { left: 0; top: -4%; } .store-float--b { right: 0; bottom: 0; } }
.app-body__h { font-family: var(--f-head); font-size: .72rem; font-weight: 600; color: var(--fg-muted); display: flex; justify-content: space-between; }

/* ---------- 29. Additions ---------- */
.gsap-marquee .belt__track { animation: none; }
.lang-in { animation: langIn .55s var(--ease-out); }
@keyframes langIn { from { opacity: 0; filter: blur(4px); } }
@media (min-width: 1000px) {
  .hero--app .hero__inner { grid-template-columns: 1fr 1.05fr; }
  .hero--app .h-display, .hero--franchise .h-display { font-size: clamp(2.6rem, 1.2rem + 3.4vw, 4.4rem); }
  .hero--franchise .hero__inner { grid-template-columns: 1fr 1fr; }
}
.hero--app .dash-stage { padding-bottom: 8%; }
.form-wrap { position: relative; }
.form-success { border-radius: var(--r-xl); }
.form-success h3:focus { outline: none; }
.roi__controls .seg { background: var(--paper); }
.pos__cart .seg { background: var(--eggshell); }
.tile[style*="display:grid"] { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .bento > :nth-child(6) { grid-template-columns: 1fr 1fr !important; } }
.pkg__size h3 { font-size: 1.6rem; }
@media (max-width: 999px) { .tile-bg--3 { display: none; } }
@media (min-width: 1000px) {
  .hfeat.is-pinned .hfeat__intro { position: relative; z-index: 2; }
  .hfeat.is-pinned .hfeat__intro::before {
    content: ""; position: absolute; z-index: -1; top: -100vh; bottom: -100vh; left: -100vw; right: -20px; background: var(--teal);
  }
  .hfeat.is-pinned .hfeat__intro::after {
    content: ""; position: absolute; z-index: -1; top: -100vh; bottom: -100vh; right: -76px; width: 56px;
    background: linear-gradient(90deg, var(--teal), rgba(28, 71, 82, 0));
  }
}

.hero--app .tile-bg--3, .hero--franchise .tile-bg--3 { display: none; }

.section--grad .eyebrow { color: var(--white); }
.pkg--hot .pkg__size span, .pkg--hot .pkg__inv small, .pkg--hot .pkg__specs small { opacity: 1; }
.panel__title { margin: 0 0 8px; font-family: var(--f-head); font-size: .72rem; font-weight: 600; }
/* Benefits: icon beside text instead of stacked */
.benefit { grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 8px; }
.benefit .icon-tile { grid-row: span 2; }

/* Form delivery failure alert */
.form-alert { display: grid; gap: 12px; justify-items: start; padding: 16px 18px; border-radius: 16px; background: #FFF4F1; border: 1.5px solid rgba(163, 48, 29, .25); color: #7A2515; font-size: .92rem; }
.form-alert[hidden] { display: none; }


/* ==========================================================================
   30. Responsive refinements — phone & tablet
   ========================================================================== */

/* Touch targets */
.brand::after { content: ""; position: absolute; inset: -10px -8px; }
.lang button { min-height: 40px; min-width: 44px; }
.lang { padding: 2px; }
.lang__thumb { top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); }

/* Sticky mobile CTA: hides on scroll down, returns on scroll up */
.mcta { transition: transform .5s var(--ease-out), opacity .3s; }
.mcta.is-on { transform: none; opacity: 1; }
.mcta:not(.is-on) { opacity: 0; pointer-events: none; }

/* ---------- Phones (< 600px) ---------- */
@media (max-width: 599px) {
  /* Equal-width stacked CTAs */
  .hero .btn-row, .teaser .btn-row, .cta-final .btn-row, .section-head .btn-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero .btn-row .btn, .teaser .btn-row .btn, .cta-final .btn-row .btn { width: 100%; }
  .hero__copy { gap: 22px; }
  .hero .eyebrow--pill { font-size: .8rem; }
  .trust { gap: 10px; }

  /* Path cards: content-height, art tucked into the top-right corner */
  .path { min-height: 0; padding: 28px 24px 26px; gap: 18px; }
  .path__art { top: 16px; right: 14px; bottom: auto; width: 74px; opacity: .9; }
  .path__tag { padding-right: 84px; min-height: 40px; display: flex; align-items: center; }
  .path h3 { padding-right: 24px; font-size: 1.85rem; }
  .path .btn { width: 100%; margin-top: 6px; }

  /* Section rhythm */
  .section { padding-block: clamp(64px, 16vw, 88px); }
  .section-head { margin-bottom: 36px; }
  .statement { font-size: 1.55rem; }
  .stat__num { font-size: 2.3rem; }

  /* Storefront labels readable */
  .store-float { font-size: .8rem; }
  .store-float small { font-size: .75rem; }

  /* Steps & cards tighter */
  .step { padding: 26px 24px; }
  .step__n { font-size: 3.2rem; }

  /* Footer */
  .footer__cols { gap: 28px 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* ---------- Feature carousel (< 1000px) ---------- */
@media (max-width: 999px) {
  .hfeat__wrap > * { min-width: 0; }
  .hfeat__viewport { margin-inline: calc(-1 * var(--gutter)); }
  .hfeat__track {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding: 4px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hfeat__track::-webkit-scrollbar { display: none; }
  .hfeat__track .fcard { flex: 0 0 min(84%, 400px); scroll-snap-align: start; padding: 26px 22px; }
  .hfeat__track .fcard__viz { min-height: 0; }
  .hfeat__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .hfeat__dots { gap: 2px; }
  .hfeat__dots button { position: relative; width: 36px; height: 44px; display: grid; place-items: center; }
  .hfeat__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease-out), background-color .3s; }
  .hfeat__dots button[aria-current="true"]::before { width: 24px; background: var(--kiwi); }
  .hfeat__hint { display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: .85rem; }
  .hfeat__hint svg { width: 18px; height: 18px; color: var(--kiwi); animation: nudge 1.8s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateX(5px); } }
}
@media (min-width: 1000px) { .hfeat__dots, .hfeat__hint { display: none; } }

/* ---------- Tablet (600–999px) ---------- */
@media (min-width: 600px) and (max-width: 999px) {
  .hero__inner { gap: 48px; }
  .stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .path { min-height: 460px; padding: 30px 26px; }
  .path h3 { font-size: 1.75rem; }
  .path__art { width: 42%; opacity: .9; }
  .plans, .pkgs { max-width: 560px; margin-inline: auto; }
  .apply { max-width: 640px; margin-inline: auto; }
  .faq-wrap { max-width: 680px; margin-inline: auto; }
}
@media (min-width: 768px) and (max-width: 999px) {
  /* Steps in one row with the connecting line */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 44px; }
  .steps__line { display: block; position: absolute; top: 14px; left: 4%; right: 4%; height: 2px; background: var(--line-dark); }
  .steps__line span { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(0); }
  .step { padding: 24px 20px; }
  .step__dot { display: block; position: absolute; top: -38px; left: 20px; width: 18px; height: 18px; border-radius: 50%; background: var(--eggshell); border: 2px solid var(--teal); }
  .step__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--kiwi); transform: scale(0); transition: transform .5s var(--ease-out); }
  .step.is-on .step__dot::after { transform: scale(1); }
  .step__n { font-size: 3rem; }

  /* Franchise teaser side by side */
  .teaser { grid-template-columns: 1.05fr .95fr; gap: 36px; }
  .teaser .big-price { font-size: 3.6rem; }
  .teaser .h2 { font-size: 2.35rem; }
  .teaser .btn-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .teaser .btn-row .btn { width: 100%; }

  /* Stats 4-up */
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 28px 14px 0 0; }
  .stat + .stat { padding-left: 14px; border-left: 1px solid var(--line-dark); }
  .stat:nth-child(n+3) { padding-top: 28px; }
  .stat__num { font-size: 2.2rem; }

  /* POS demo: products | cart */
  .pos { grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
  .pos__products { grid-template-columns: repeat(2, 1fr); }
  .pos__cart { position: sticky; top: 96px; padding: 20px 18px; }
  .cart-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .cart-row > span:first-child { grid-column: 1 / -1; }
  .cart-row__sum { min-width: 0; }
  .cart-row .qty { justify-self: start; }

  /* Dashboard hero mockup width */
  .dash-stage { max-width: 640px; margin-inline: auto; width: 100%; }
}

/* ---------- POS floating cart bar (phones) ---------- */
.pos__bar { display: none; }
@media (max-width: 767px) {
  .pos__bar {
    position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 6;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    min-height: 56px; padding: 10px 12px 10px 18px; border-radius: 18px; background: var(--kiwi); color: var(--teal);
    font-family: var(--f-head); font-weight: 600; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55);
    transition: transform .4s var(--ease-out), opacity .3s;
  }
  .pos__bar[hidden] { display: flex; transform: translateY(20px); opacity: 0; pointer-events: none; }
  .pos__bar > span { white-space: nowrap; }
  .pos__bar b { font-family: var(--f-display); font-size: 1rem; font-variant-numeric: tabular-nums; }
  .pos__bar span:last-child { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--teal); color: var(--white); font-size: .85rem; }
  .pos__bar svg { width: 16px; height: 16px; }
}

/* Short landscape phones: don't force full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
}

/* ROI sticky summary (single-column) */
.roi__peek { display: none; }
@media (max-width: 999px) {
  .roi__peek {
    position: sticky; top: calc(var(--nav-h) + 4px); z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: -6px -6px 0; padding: 12px 14px; border-radius: 16px; background: var(--teal); color: var(--white);
    box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5);
  }
  .roi__peek span { display: grid; gap: 2px; }
  .roi__peek span + span { padding-left: 12px; border-left: 1px solid var(--line-light); }
  .roi__peek small { font-size: .75rem; color: var(--on-dark-muted); }
  .roi__peek b { font-family: var(--f-display); font-size: 1.15rem; color: var(--kiwi); font-variant-numeric: tabular-nums; white-space: nowrap; }
}

/* Swipeable pricing & package cards on phones */
@media (max-width: 599px) {
  .plans, .pkgs {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .plans::-webkit-scrollbar, .pkgs::-webkit-scrollbar { display: none; }
  .plans > *, .pkgs > * { flex: 0 0 86%; scroll-snap-align: start; }
  .plans { margin-top: 32px; }
  .plan { padding: 28px 22px; }
  .pkg { padding: 26px 22px; transform: none; }
  .swipe-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; font-size: .85rem; color: var(--fg-muted); }
  .section--dark .swipe-note { color: var(--on-dark-muted); }
  .swipe-note svg { width: 16px; height: 16px; animation: nudge 1.8s ease-in-out infinite; }
}
@media (min-width: 600px) { .swipe-note { display: none; } }
.pkg__size { flex-wrap: wrap; gap: 8px 12px; }
