/* Easykeeps landing page
   Palette, type and radius rules: see docs/landing-references.md
   Radius system: buttons, chips and toggles are full pills; cards and photos 20px; inputs 12px. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibstedgrotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #0E1C2B;
  --ink-2: #16293D;
  --paper: #F5F7F6;
  --card: #FDFEFE;
  --line: #DDE3E1;
  --slate: #4A5A68;
  --green: #087A56;
  --green-hover: #066247;
  --mint: #2FD08F;
  --mint-soft: #E3F8EE;
  --blue: #2457F5;
  --blue-soft: #E7EDFE;
  --amber: #F2A516;
  --amber-t: #9A5B00;
  --amber-soft: #FDF1D8;
  --coral: #EF5A3C;
  --coral-t: #C2391C;
  --coral-soft: #FDE7E2;
  --on-dark: #EAF2EE;
  --on-dark-2: #A9BBC0;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --r-card: 20px;
  --r-input: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 28, 43, .06), 0 2px 8px rgba(14, 28, 43, .05);
  --shadow-md: 0 2px 4px rgba(14, 28, 43, .05), 0 12px 32px rgba(14, 28, 43, .09);
  --shadow-lg: 0 4px 10px rgba(14, 28, 43, .08), 0 28px 60px rgba(14, 28, 43, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
a, button, summary, label { touch-action: manipulation; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.t-green { color: var(--green); }
.t-amber { color: var(--amber-t); }
.t-coral { color: var(--coral-t); }
.t-blue { color: var(--blue); }
.ph { background: linear-gradient(transparent 62%, rgba(242, 165, 22, .28) 0); }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .final :focus-visible, .plan--established :focus-visible, .sheet :focus-visible { outline-color: var(--mint); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { --bg: var(--green); box-shadow: 0 6px 18px -8px rgba(8, 122, 86, .7); }
.btn--primary:hover { --bg: var(--green-hover); box-shadow: 0 12px 26px -10px rgba(8, 122, 86, .75); }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.btn--outline-light { --bg: rgba(14, 28, 43, .28); --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { --bg: rgba(127, 127, 127, .14); }
.btn--mint { --bg: var(--mint); --fg: var(--ink); }
.btn--mint:hover { --bg: #fff; box-shadow: 0 10px 30px -8px rgba(47, 208, 143, .6); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-solid {
  color: var(--ink); background: rgba(245, 247, 246, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__mark .bar { transition: width .5s var(--ease), x .5s var(--ease); }
.brand:hover .bar--top { width: 16px; }
.brand__word { font: 800 1.3rem/1 var(--font-display); letter-spacing: -.03em; }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center; transition: background-color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__links a:active { background: rgba(127, 127, 127, .14); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__menu { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav__menu:active { transform: scale(.94); }

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(14, 28, 43, .45); overscroll-behavior: contain; }
.sheet__panel {
  position: absolute; inset: 0 0 auto; background: var(--ink); color: var(--on-dark);
  padding: 12px var(--gutter) 28px; border-radius: 0 0 24px 24px;
  animation: sheet-in .35s var(--ease);
}
@keyframes sheet-in { from { transform: translateY(-16px); opacity: 0; } }
.sheet__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.sheet__close { width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sheet__links { display: grid; margin: 8px 0 20px; }
.sheet__links a { padding: 14px 4px; font: 700 1.5rem/1.2 var(--font-display); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sheet__cta { display: grid; gap: 12px; }
.sheet .btn--outline { --fg: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow { font-weight: 700; font-size: .95rem; letter-spacing: .01em; color: var(--green); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: var(--mint); }

/* ---------- 1. Hero ---------- */
/* Phone browsers grow and shrink their address bar while scrolling. Heights use the
   stable small (svh) or large (lvh) viewport, never dvh, so nothing jumps when it does. */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(95deg, rgba(14, 28, 43, .96) 0%, rgba(14, 28, 43, .88) 34%, rgba(14, 28, 43, .35) 60%, rgba(14, 28, 43, .1) 100%), linear-gradient(0deg, rgba(14, 28, 43, .7), transparent 28%), linear-gradient(180deg, rgba(14, 28, 43, .78), transparent 20%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 48px; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
.hero__copy { max-width: 680px; }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .05s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .2s; }
.hero__copy > :nth-child(5) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__title { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__title span { display: block; color: var(--mint); }
.hero__sub { margin-top: 22px; font-size: clamp(1.0625rem, .95rem + .45vw, 1.3rem); line-height: 1.55; color: #D5E2DD; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #D5E2DD; font-weight: 600; text-decoration: none; min-height: 44px; }
.hero__rating[hidden] { display: none; }
.hero__rating .stars { color: var(--amber); letter-spacing: 2px; }
.hero__rating:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }

.hero-chip { display: none; }
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 72px; pointer-events: none; }

/* Hero floating card (desktop) */
.hero-card { position: relative; width: 360px; animation: rise .9s .25s var(--ease) both; }
.hero-card__front {
  position: relative; z-index: 2; background: var(--card); color: var(--ink); border-radius: var(--r-card); padding: 20px 20px 18px;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -8px; } }
.hero-card__back {
  position: absolute; z-index: 1; left: 24px; right: -18px; bottom: -34px; display: flex; align-items: center; gap: 10px;
  background: var(--blue-soft); color: var(--ink); border-radius: 16px; padding: 14px 16px; font-size: .95rem;
  box-shadow: var(--shadow-md); transform: rotate(3deg) translateY(-26px); opacity: .0; transition: transform .6s var(--ease), opacity .4s;
}
.hero-card:hover .hero-card__front { transform: rotate(0deg) translateY(-6px) scale(1.02); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.hero-card:hover .hero-card__back { opacity: 1; transform: rotate(1deg) translateY(10px); }
.hero-card__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.hero-card__head strong { display: block; font-size: 1rem; }
.hero-card__head small { display: block; font-size: .8rem; color: var(--slate); }
.hero-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--mint-soft); color: var(--green); display: grid; place-items: center; }
.hero-card__amt { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.02em; }
.hero-card__vendor { margin: 14px 0 12px; padding: 10px 12px; background: var(--paper); border-radius: 12px; font-weight: 600; font-size: .95rem; }
.hero-card__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-card__steps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--slate); transform: translateX(-4px); transition: color .5s var(--ease), transform .5s var(--ease); }
.hero-card__steps li:not(.is-done) b { color: inherit; font-weight: 500; }
.hero-card__steps li:not(.is-done) .tick { background: #E3E8E6; color: transparent; }
.hero-card__steps .tick { transition: background-color .4s, color .4s, transform .4s var(--ease); }
.hero-card__steps li.is-done { color: var(--ink); transform: none; }
.hero-card__steps li.is-done .tick { animation: chip-pop .45s var(--ease); }
.hero-card__bar { margin-top: 16px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hero-card__bar span { display: block; height: 100%; width: 25%; background: var(--mint); border-radius: 4px; transition: width .6s var(--ease); }

.tick { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.tick--green { background: var(--green); }
.tick--amber { background: var(--amber); color: var(--ink); }
.tick--coral { background: var(--coral-t); }
.dot-square { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.dot-square--blue { background: var(--blue); }

/* ---------- 2. Trust bar ---------- */
.trust { position: relative; z-index: 2; padding: 8px 0 0; }
.trust__list {
  list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-md);
}
.trust__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; transition: background-color .25s; }
.trust__item:hover { background: var(--paper); }
.trust__item strong { display: block; font-size: 1rem; line-height: 1.3; }
.trust__item span:last-child { font-size: .95rem; color: var(--slate); line-height: 1.4; }
.icon-tile { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.icon-tile--green { background: var(--mint-soft); color: var(--green); }
.icon-tile--coral { background: var(--coral-soft); color: var(--coral-t); }
.icon-tile--blue { background: var(--blue-soft); color: var(--blue); }
.icon-tile--amber { background: var(--amber-soft); color: var(--amber-t); }
.trust__item:hover .icon-tile { transform: rotate(-6deg) scale(1.06); }
/* SVG hover animation: the icon redraws itself */
.icon-tile .draw, .talk__icon .draw { stroke-dasharray: 60; stroke-dashoffset: 0; }
.trust__item:hover .draw, .talk__item:hover .draw { animation: redraw .9s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 60; } }
.trust__item:hover .pop { animation: pop .5s var(--ease); transform-origin: 12px 10px; transform-box: view-box; }
@keyframes pop { 40% { transform: scale(1.5); } }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .people__copy h2, .faq__side h2, .final h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--slate); max-width: 56ch; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.ph-note { font-size: .95rem !important; padding: 8px 14px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-t) !important; font-weight: 600; margin: 0 !important; white-space: nowrap; }

/* ---------- 4. How it works: pinned scroll ---------- */
.how { position: relative; padding-top: clamp(72px, 8vw, 112px); }
.how__intro { margin-bottom: 8px; }
.how__intro h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); font-weight: 800; max-width: 18ch; }
.how__track { position: relative; height: 260vh; --step: 53.33vh; }
.how__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.how__side { position: relative; padding-left: 26px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how__rail { position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.how__rail span { display: block; width: 100%; height: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--mint), var(--green)); transform-origin: top; transform: scaleY(var(--p, .33)); transition: transform .6s var(--ease); }
.how__step {
  position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; text-align: left;
  padding: 20px 22px; border: 0; border-radius: var(--r-card); background: transparent; cursor: pointer; opacity: .55;
  transition: background-color .35s, box-shadow .35s, transform .35s var(--ease), opacity .35s;
}
.how__step:hover { background: rgba(255, 255, 255, .7); opacity: .85; }
.how__step:active { transform: scale(.985); }
.how__step.is-active { background: var(--card); box-shadow: var(--shadow-md); opacity: 1; transform: translateX(6px); }
.how__num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 1.15rem/1 var(--font-display); background: #E8EDEB; color: var(--slate); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.how__step.is-active .how__num { background: var(--ink); color: var(--mint); transform: rotate(-8deg); }
.how__txt { display: grid; gap: 4px; color: var(--slate); font-size: 1rem; }
.how__txt strong { font: 700 1.25rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -.015em; }
.who { font-style: normal; font-weight: 700; font-size: .875rem; color: var(--green); margin-top: 6px; }
.who--you { color: var(--ink); }
.how__tabs { display: none; }
.how__marker { position: absolute; left: 0; width: 1px; pointer-events: none; visibility: hidden; }
.how__marker[data-marker="0"] { top: 0; height: calc(50vh + var(--step)); }
.how__marker[data-marker="1"] { top: calc(50vh + var(--step)); height: var(--step); }
.how__marker[data-marker="2"] { top: calc(50vh + 2 * var(--step)); bottom: 0; }
.scene__cap { display: none; }

.stage {
  position: relative; min-height: 540px; border-radius: 28px; padding: 76px 28px 32px; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #1C3A4F 0%, var(--ink) 55%);
  box-shadow: var(--shadow-lg); display: grid; place-items: center; isolation: isolate;
}
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.stage__tag { position: absolute; left: 20px; top: 18px; font-size: .8rem; font-weight: 700; color: var(--on-dark-2); letter-spacing: .04em; }
.scene { grid-area: 1 / 1; width: 100%; display: grid; place-items: center; }
.scene:not(.is-active) { opacity: 0; visibility: hidden; }
.scene { transition: opacity .45s var(--ease), visibility .45s; }
.scene.is-active { animation: scene-in .7s var(--ease) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* Scene 1: phone and receipt */
.scene--snap { position: relative; }
.phone { position: relative; width: 250px; padding: 12px; border-radius: 40px; background: #0A1520; box-shadow: 0 0 0 2px #2A3B4C, 0 30px 60px rgba(0, 0, 0, .45); }
.phone__screen { position: relative; height: 420px; border-radius: 30px; overflow: hidden; background: #3B4A41; display: grid; place-items: center; }
.phone__screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, #6F7A62, #2C3428); }
.receipt {
  position: relative; width: 176px; padding: 14px 12px 10px; background: #FBFAF6; color: #2A2A2A; transform: rotate(-4deg);
  font: 500 10.5px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 94% 100%, 88% 96%, 82% 100%, 76% 96%, 70% 100%, 64% 96%, 58% 100%, 52% 96%, 46% 100%, 40% 96%, 34% 100%, 28% 96%, 22% 100%, 16% 96%, 10% 100%, 4% 96%, 0 100%);
}
.receipt__store { font-weight: 800; text-align: center; letter-spacing: .06em; }
.receipt__meta { text-align: center; color: #666; margin-bottom: 8px; }
.receipt__row { display: flex; justify-content: space-between; }
.receipt__row--rule { border-top: 1px dashed #999; margin-top: 4px; padding-top: 4px; }
.receipt__row--total { font-weight: 800; font-size: 12px; }
.receipt__barcode { height: 22px; margin: 8px 6px 6px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 3px, #222 3px 4px, transparent 4px 7px); }
.scanline { position: absolute; left: 8%; right: 8%; top: 12%; height: 3px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 18px 4px rgba(47, 208, 143, .55); opacity: 0; }
.scene--snap.is-active .scanline { animation: scan 2.2s .5s var(--ease) both; }
@keyframes scan { 0% { opacity: 0; top: 14%; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 84%; } }
.frame-corners i { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: .9; }
.frame-corners i:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.frame-corners i:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.frame-corners i:nth-child(3) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.frame-corners i:nth-child(4) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.phone__shutter { position: absolute; inset: 12px; border-radius: 30px; background: #fff; opacity: 0; pointer-events: none; }
.scene--snap.is-active .phone__shutter { animation: flash .5s 2.7s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: .85; } 100% { opacity: 0; } }
.toast {
  position: absolute; bottom: 30px; left: 50%; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--card); color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 999px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px); opacity: 0;
}
.scene--snap.is-active .toast { animation: toast-in .6s 3.1s var(--ease) both; }
@keyframes toast-in { to { transform: translate(-50%, 0); opacity: 1; } }

/* Scene 2: ledger */
.ledger { width: min(560px, 100%); background: var(--card); color: var(--ink); border-radius: var(--r-card); padding: 8px 8px 10px; box-shadow: var(--shadow-lg); }
.ledger__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; font: 700 1.05rem/1 var(--font-display); }
.ledger__count { font: 700 .8rem/1 var(--font-body); color: var(--green); background: var(--mint-soft); padding: 6px 10px; border-radius: 999px; }
.ledger__row {
  display: grid; grid-template-columns: 1.1fr auto .8fr; grid-template-areas: "what cat amt" "flags flags flags"; gap: 6px 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; font-size: .95rem;
}
.ledger__row + .ledger__row { border-top: 1px solid var(--line); }
.ledger__what { grid-area: what; display: grid; line-height: 1.25; }
.ledger__what small { color: var(--slate); font-size: .8rem; }
.ledger__row .chip { grid-area: cat; justify-self: start; }
.ledger__amt { grid-area: amt; text-align: right; font: 700 1.05rem/1 var(--font-display); }
.ledger__flags { grid-area: flags; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; line-height: 1.2; white-space: nowrap; }
.chip--green { background: var(--mint-soft); color: var(--green); }
.chip--amber { background: var(--amber-soft); color: var(--amber-t); }
.chip--coral { background: var(--coral-soft); color: var(--coral-t); }
.ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; font-size: .78rem; }
.review-stamp { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--coral-t); color: var(--coral-t); font-weight: 700; font-size: .78rem; }
.scene--ledger.is-active .ledger__row { animation: row-in .6s var(--ease) both; }
.scene--ledger.is-active .ledger__row:nth-child(3) { animation-delay: .12s; }
.scene--ledger.is-active .ledger__row:nth-child(4) { animation-delay: .2s; }
.scene--ledger.is-active .ledger__row:nth-child(5) { animation-delay: .28s; }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } }
.ledger__row--new { background: var(--mint-soft); }
.ledger__row--new .chip--green { background: var(--card); }
.scene--ledger.is-active .ledger__row--new { animation: row-new 1.1s var(--ease) both; }
@keyframes row-new { 0% { opacity: 0; transform: translateX(-40px) rotate(-2deg); } 60% { opacity: 1; } 100% { transform: none; } }
.scene--ledger.is-active .ledger__row--new .chip, .scene--ledger.is-active .ledger__row--new .ok { animation: chip-pop .5s var(--ease) both; animation-delay: .9s; }
.scene--ledger.is-active .ledger__row--new .ok { animation-delay: 1.2s; }
@keyframes chip-pop { from { opacity: 0; transform: scale(.6); } }
.scene--ledger.is-active .review-stamp { animation: stamp .6s 1.8s var(--ease) both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.6) rotate(-8deg); } }

/* Scene 3: report */
.report { width: min(540px, 100%); background: var(--card); color: var(--ink); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow-lg); }
.report__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.report__head strong { display: block; font: 800 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
.report__head small { color: var(--slate); font-size: .85rem; }
.approved { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--mint); font-weight: 700; font-size: .8rem; }
.scene--report.is-active .approved { animation: stamp .6s 1.6s var(--ease) both; }
.report__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 16px; }
.report__kpis div { background: var(--paper); border-radius: 14px; padding: 12px; display: grid; gap: 4px; }
.report__kpis small { font-size: .78rem; color: var(--slate); font-weight: 600; }
.report__kpis b { font: 800 1.2rem/1 var(--font-display); letter-spacing: -.02em; }
.kpi--profit { background: var(--mint-soft) !important; }
.kpi--profit b { color: var(--green); }
.kpi--tax { background: var(--amber-soft) !important; }
.kpi--tax b { color: var(--amber-t); }
.report__chart { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 14px; height: 130px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars { position: relative; height: 100%; display: flex; align-items: end; justify-content: center; gap: 6px; padding-bottom: 22px; }
.bars span { width: 26px; height: calc(var(--h) * 100%); border-radius: 7px 7px 3px 3px; background: var(--blue); transform-origin: bottom; }
.bars span.out { background: #C9D5F9; }
.bars em { position: absolute; bottom: 2px; font-style: normal; font-size: .78rem; color: var(--slate); font-weight: 600; }
.scene--report.is-active .bars span { animation: grow .9s var(--ease) both; }
.scene--report.is-active .bars:nth-child(2) span { animation-delay: .1s; }
.scene--report.is-active .bars:nth-child(3) span { animation-delay: .2s; }
@keyframes grow { from { transform: scaleY(0); } }
.legend { align-self: start; font-size: .78rem; color: var(--slate); display: grid; gap: 6px; font-weight: 600; }
.legend span { display: inline-flex; align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--blue); }
.legend i.out { background: #C9D5F9; }
.report__note { margin-top: 14px; font-size: .95rem; color: var(--slate); }
.report__note b { color: var(--ink); }

/* ---------- 4. People ---------- */
.people { background: var(--card); }
.people__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.people__photo { position: relative; margin: 0; padding: 0 0 28px; }
.people__photo > img { width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-card); }
.name-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease);
}
.name-chip:hover { transform: translateY(-4px) rotate(-1deg); }
.name-chip img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.name-chip b { display: block; font-size: 1rem; }
.name-chip small { display: block; color: var(--slate); font-size: .9rem; }
.name-chip--a { top: 24px; left: -20px; }
.name-chip--b { bottom: 0; right: 24px; }
.people__copy .lead { margin-top: 20px; font-size: 1.15rem; color: var(--slate); }
.checks { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: baseline; font-size: 1.05rem; }
.mark { width: 12px; height: 12px; flex: none; border-radius: 4px; transform: translateY(1px); }
.mark--green { background: var(--green); }
.mark--mint { background: var(--mint); }
.mark--amber { background: var(--amber); }
.mark--coral { background: var(--coral); }
.mark--blue { background: var(--blue); }
.disclaimer { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--slate); font-size: .98rem; }
.disclaimer svg { flex: none; color: var(--ink); margin-top: 2px; }

/* ---------- 5. Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.review {
  position: relative; margin: 0; padding: 30px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: transform .35s var(--ease), box-shadow .35s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review--feature { grid-row: span 2; background: var(--ink); color: var(--on-dark); border-color: transparent; }
.review--feature blockquote p { font: 700 clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem)/1.25 var(--font-display); letter-spacing: -.02em; color: #fff; }
.review--blue { background: var(--blue-soft); border-color: transparent; }
.review--amber { background: var(--amber-soft); border-color: transparent; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.2rem; font-weight: 600; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review figcaption b { display: block; }
.review figcaption small { display: block; font-size: .92rem; opacity: .8; }
.review__tag { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(242, 165, 22, .22); color: var(--amber-t); }
.review--feature .review__tag { color: var(--amber); background: rgba(242, 165, 22, .16); }

/* ---------- 6. Pricing ---------- */
.provisional { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-t); font-weight: 700; font-size: .9rem; }
.pricing__controls { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 48px; }
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: #E6EBE9; }
.toggle__btn { position: relative; z-index: 1; min-height: 44px; padding: 10px 26px; border: 0; background: transparent; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--slate); transition: color .25s; }
.toggle__btn.is-active { color: var(--ink); }
.toggle__btn:active { transform: scale(.97); }
.toggle__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.toggle[data-period="annual"] .toggle__thumb { transform: translateX(100%); }
.legend-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 600; font-size: .95rem; color: var(--slate); }
.legend-key li { display: inline-flex; align-items: center; gap: 8px; }
.plan-tabs { display: none; }

.plans { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; align-items: center; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 30px 28px 32px; border-radius: 24px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__tag { margin-top: 6px; color: var(--slate); font-size: 1rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price b { font: 800 3.1rem/1 var(--font-display); letter-spacing: -.04em; transition: opacity .2s; }
.plan__price.is-swapping b { opacity: 0; }
.plan__price span, .plan__price small { color: var(--slate); font-weight: 600; }
.plan__price.is-annual b, .plan--established .plan__price.is-annual b { font-size: 1.6rem; letter-spacing: -.01em; }
.plan__annual-note { margin-top: -10px; font-size: .9rem; color: var(--amber-t); font-weight: 600; }
.feats { list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.feats li { display: flex; gap: 12px; align-items: baseline; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-size: 1rem; transition: background-color .2s, transform .25s var(--ease); }
.feats li:hover { transform: translateX(3px); }
.feats li.f--green:hover { background: var(--mint-soft); }
.feats li.f--amber:hover { background: var(--amber-soft); }
.feats li.f--coral:hover { background: var(--coral-soft); }
.feats li.f--blue:hover { background: var(--blue-soft); }
.f--green b { color: var(--green); }
.f--amber b { color: var(--amber-t); }
.f--coral b { color: var(--coral-t); }
.f--blue b { color: var(--blue); }

/* Tier identities */
.plan--essentials::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--blue); }
.plan--standard { background: linear-gradient(180deg, #EAF7F0 0%, var(--card) 42%); border-color: #C5E7D6; }
.plan--standard::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--green); }

.plan--established {
  padding: 40px 34px 40px; color: var(--on-dark); border: 0;
  background: radial-gradient(120% 70% at 100% 0%, rgba(47, 208, 143, .22), transparent 55%), radial-gradient(90% 60% at 0% 100%, rgba(36, 87, 245, .22), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink));
  box-shadow: 0 30px 70px -20px rgba(14, 28, 43, .55), inset 0 0 0 1px rgba(47, 208, 143, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.plan--established:hover { transform: translateY(-8px); box-shadow: 0 40px 90px -24px rgba(14, 28, 43, .6), inset 0 0 0 1px rgba(47, 208, 143, .6), inset 0 1px 0 rgba(255, 255, 255, .14); }
.plan--established h3 { color: #fff; font-size: 1.9rem; }
.plan--established .plan__tag, .plan--established .plan__price span, .plan--established .plan__price small { color: var(--on-dark-2); }
.plan--established .plan__price b { color: #fff; font-size: 3.6rem; }
.plan--established .plan__annual-note { color: var(--amber); }
.plan__chip { font: 700 .8rem/1 var(--font-body); letter-spacing: 0; padding: 7px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); white-space: nowrap; }
.plan__soon { margin-top: -6px; font-size: .95rem; color: var(--on-dark-2); }
.plan__shine { position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .1), transparent); transform: rotate(12deg) translateX(0); transition: transform 1.1s var(--ease); pointer-events: none; }
.plan--established:hover .plan__shine { transform: rotate(12deg) translateX(520%); }
.feats--dark { border-top-color: rgba(255, 255, 255, .12); }
.feats--dark li { color: var(--on-dark); }
.feats--dark .f--green b { color: var(--mint); }
.feats--dark .f--amber b { color: var(--amber); }
.feats--dark .f--coral b { color: #FF8B73; }
.feats--dark .f--blue b { color: #8FAEFF; }
.feats--dark li:hover { background: rgba(255, 255, 255, .06) !important; }
.feats__all { font-weight: 700; color: #fff !important; }

.fine { margin: 40px auto 0; max-width: 820px; text-align: center; color: var(--slate); font-size: .95rem; }

/* ---------- 7. FAQ ---------- */
.faq { background: var(--card); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__side p { margin: 16px 0 24px; color: var(--slate); font-size: 1.1rem; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: var(--paper); transition: background-color .25s, box-shadow .25s; }
.qa[open] { background: var(--card); box-shadow: var(--shadow-md); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 22px; font: 700 1.15rem/1.3 var(--font-display); letter-spacing: -.01em; border-radius: 18px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__icon { background: var(--ink); color: #fff; }
.qa summary:active { transform: scale(.995); }
.qa__icon { width: 36px; height: 36px; flex: none; border-radius: 999px; display: grid; place-items: center; background: #E6EBE9; transition: transform .4s var(--ease), background-color .2s, color .2s; }
.qa__icon .v { transition: transform .4s var(--ease); transform-origin: center; transform-box: fill-box; }
.qa[open] .qa__icon { background: var(--green); color: #fff; transform: rotate(180deg); }
.qa[open] .qa__icon .v { transform: scaleY(0); }
.qa__a { padding: 0 22px 22px; color: var(--slate); font-size: 1.05rem; max-width: 62ch; }
.qa[open] .qa__a { animation: rise .45s var(--ease); }

/* ---------- 8. Final CTA + footer ---------- */
.final { background: var(--ink); color: var(--on-dark); padding-top: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -400px; background: radial-gradient(closest-side, rgba(47, 208, 143, .16), transparent); }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-rows: auto 1fr; gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
.final__copy { grid-column: 1; grid-row: 1; }
.final .form { grid-column: 2; grid-row: 1 / span 2; }
.final .talk { grid-column: 1; grid-row: 2; }
.final h2 { color: #fff; max-width: 14ch; }
.final__copy > p { margin-top: 18px; font-size: 1.15rem; color: var(--on-dark-2); max-width: 42ch; }
.talk { margin-top: 44px; }
.talk h3 { font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.talk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 420px; }
.talk__item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); text-decoration: none; color: #fff; font-weight: 600; transition: background-color .25s, transform .25s var(--ease); }
a.talk__item:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
a.talk__item:active { transform: scale(.98); }
.talk__item small { display: block; color: var(--on-dark-2); font-weight: 500; font-size: .9rem; }
.talk__item--ph { color: var(--amber); }
.talk__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 208, 143, .14); color: var(--mint); }
/* Email row: a Copy button for visitors who have no email app set up */
.talk__row { position: relative; }
.talk__row .talk__item { padding-right: 104px; }
.talk__copy {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); min-height: 44px; min-width: 80px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); color: #fff; font: 700 .95rem/1 var(--font-body);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.talk__copy:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.talk__copy:active { transform: translateY(-50%) scale(.95); }
.talk__copy.is-copied { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.talk__copy.is-copied .talk__copy-label { animation: chip-pop .35s var(--ease); }

.form { background: var(--card); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); display: grid; gap: 18px; }
.form h3 { font-size: 1.6rem; font-weight: 800; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1rem; padding: 0; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-input); border: 1.5px solid #B9C5C2; background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230E1C2B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:hover, .field select:hover { border-color: var(--slate); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(8, 122, 86, .2); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--coral-t); }
.field__help { font-size: .9rem; color: var(--slate); }
.field__err { font-size: .9rem; color: var(--coral-t); font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #B9C5C2; font-weight: 600; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chips label:hover span { border-color: var(--ink); }
.chips label:active span { transform: scale(.96); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn__loading { display: none; gap: 6px; }
.btn__loading i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: dots 1s infinite ease-in-out; }
.btn__loading i:nth-child(2) { animation-delay: .15s; }
.btn__loading i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .3; transform: scale(.7); } 40% { opacity: 1; transform: none; } }
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__loading { display: inline-flex; }
.form__done:empty { display: none; }
.form__done { padding: 14px 16px; border-radius: 14px; background: var(--mint-soft); color: var(--green); font-weight: 600; font-size: .98rem; }

.footer { margin-top: clamp(72px, 9vw, 120px); padding: 48px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.brand--light { color: #fff; }
.footer__motto { margin-top: 10px; color: var(--mint); font-weight: 600; }
.footer__nav { display: grid; gap: 2px; align-content: start; }
.footer__nav a, .footer__contact a { text-decoration: none; color: var(--on-dark); min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 4px; }
.footer__contact { font-style: normal; display: grid; gap: 6px; align-content: start; color: var(--on-dark-2); }
.footer__contact span { min-height: 32px; display: flex; align-items: center; }
.footer__legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark-2); font-size: .9rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.trust__item.reveal:nth-child(2) { transition-delay: .06s; }
.trust__item.reveal:nth-child(3) { transition-delay: .12s; }
.trust__item.reveal:nth-child(4) { transition-delay: .18s; }
.plan.reveal:nth-child(2) { transition-delay: .08s; }
.plan.reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Laptop and below ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .hero-card { width: 320px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--established { grid-column: 1 / -1; }
  .report__kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav__links, .nav__talk { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__inner { justify-content: space-between; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .people__grid, .faq__grid, .final__grid { grid-template-columns: 1fr; }

  /* How it works: separate phone and tablet version. Tabs on top, the stage fills the rest of the screen, caption inside. */
  .how__track { height: 300vh; --step: 66.67vh; }
  .how__pin { align-items: stretch; padding: calc(var(--nav-h) + 12px) 0 16px; }
  .how__grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; height: 100%; }
  .how__side { display: none; }
  .how__tabs { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: #E6EBE9; }
  .how__tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 1rem; color: var(--slate); cursor: pointer; transition: background-color .3s, color .3s, transform .2s var(--ease); padding: 0 6px; }
  .how__tabs button.is-active { background: var(--ink); color: #fff; }
  .how__tabs button:active { transform: scale(.96); }
  .stage { min-height: 0; height: 100%; align-content: center; }
  .scene { gap: 14px; align-content: center; }
  .scene__cap { display: block; order: 2; max-width: 34ch; text-align: center; color: var(--on-dark); font-size: 1rem; line-height: 1.45; }
  .scene__cap strong { color: var(--mint); }
  .scene--snap .toast { bottom: auto; top: 40%; }
  .final__grid { row-gap: 32px; }
  .final__copy, .final .form, .final .talk { grid-column: 1; grid-row: auto; }
  .final .talk { margin-top: 8px; }
  .faq__side { position: static; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--feature { grid-column: 1 / -1; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  body { font-size: 1rem; }
  .nav .btn--sm { padding: 10px 16px; font-size: 1rem; }
  .review__tag, .provisional, .chips span { font-size: 1rem; }
  .brand__word { font-size: 1.2rem; }

  /* Hero: separate mobile layout, text anchored low over a portrait photo */
  .hero { align-items: flex-end; }
  .hero__scrim { background: linear-gradient(0deg, rgba(14, 28, 43, .98) 0%, rgba(14, 28, 43, .92) 48%, rgba(14, 28, 43, .3) 72%, rgba(14, 28, 43, .5) 88%, rgba(14, 28, 43, .85) 100%); }
  .hero__inner { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
  .hero__title { font-size: clamp(2.35rem, 9.5vw, 2.9rem); }
  .hero__sub { font-size: 1.0625rem; margin-top: 16px; }
  .hero__ctas { flex-direction: column; margin-top: 26px; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .eyebrow { font-size: 1rem; }
  .hero-chip {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 16px 10px 12px; border-radius: 999px;
    background: rgba(253, 254, 254, .94); color: var(--ink); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-md);
  }
  .hero-chip svg { color: var(--green); flex: none; }
  .hero-chip__text { transition: opacity .3s; }
  .hero-chip.is-swapping .hero-chip__text { opacity: 0; }

  .trust__list { grid-template-columns: 1fr; margin-top: 8px; padding: 12px; }
  .trust__item span:last-child { font-size: 1rem; }

  .section-head p, .people__copy .lead, .final__copy > p { font-size: 1.0625rem; }
  .section-head--row { flex-direction: column; align-items: start; }
  .ph-note { white-space: normal; font-size: 1rem !important; }

  .stage { padding: 48px 12px 16px; border-radius: 24px; }
  .phone { width: 210px; padding: 10px; border-radius: 34px; }
  .phone__screen { height: min(340px, calc(100vh - 400px)); height: min(340px, calc(100svh - 400px)); min-height: 250px; border-radius: 26px; }
  .phone__shutter { inset: 10px; border-radius: 26px; }
  .ledger__row { grid-template-columns: auto 1fr auto; grid-template-areas: "what what amt" "cat flags flags"; padding: 10px 12px; }
  .ledger__flags { flex-wrap: nowrap; }
  .ledger__row--extra { display: none; }
  .report { padding: 16px; }
  .report__kpis { margin: 12px 0; gap: 8px; }
  .report__kpis div { padding: 10px; }
  .report__chart { height: 90px; }
  .report__note { font-size: 1rem; }

  .people__photo { padding-bottom: 40px; }
  .name-chip { padding: 8px 14px 8px 8px; }
  .name-chip--a { top: 12px; left: 12px; }
  .name-chip--b { right: 12px; bottom: 0; }
  .name-chip small, .disclaimer, .checks li { font-size: 1rem; }

  .reviews__grid { grid-template-columns: 1fr; }
  .review { padding: 24px; }
  .review figcaption small { font-size: 1rem; }

  /* Pricing: separate mobile plan picker, one plan at a time */
  .plan-tabs { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 4px; padding: 5px; margin: -24px 0 20px; border-radius: 999px; background: #E6EBE9; }
  .plan-tabs button { min-height: 48px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 1rem; color: var(--slate); cursor: pointer; padding: 0 4px; transition: background-color .25s, color .25s; }
  .plan-tabs button.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
  .plan-tabs .plan-tabs__premium.is-active { background: var(--ink); color: var(--mint); }
  .plans { grid-template-columns: 1fr; }
  .plan { display: none; padding: 26px 22px; }
  .plan.is-shown { display: flex; animation: scene-in .5s var(--ease) both; }
  .plan--established { grid-column: auto; }
  .plan__price b { font-size: 2.8rem; }
  .plan--established .plan__price b { font-size: 3rem; }
  .legend-key, .fine, .plan__annual-note, .plan__soon { font-size: 1rem; }
  .plan__chip { font-size: .85rem; }

  .qa summary { font-size: 1.08rem; padding: 16px 18px; }
  .qa__a { padding: 0 18px 18px; font-size: 1rem; }

  .talk__item small, .field__help, .field__err, .footer__legal { font-size: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

/* ---------- Large desktop ---------- */
@media (min-width: 1600px) {
  .wrap { max-width: 1400px; }
  .hero-card { width: 400px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 520px; }
  .hero__copy { max-width: 900px; }
  .hero__title { font-size: clamp(4.6rem, 1.6rem + 3.4vw, 5.6rem); }
  .hero__sub { font-size: 1.45rem; }
}

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-card__steps li { transform: none; }
  .hero-card__bar span { width: 100% !important; }
  .scanline { display: none; }
  .toast { opacity: 1; transform: translate(-50%, 0); }
  .how__rail span { transition: none; }
}

/* =====================================================================
   Additions: livelier motion, pinned scenes, charts, accessibility
   ===================================================================== */

/* Reading progress bar along the top (browsers with scroll timelines only) */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none;
    background: linear-gradient(90deg, var(--mint), var(--green) 60%, var(--blue));
    transform-origin: left; transform: scaleX(0);
    animation: progress-grow linear both; animation-timeline: scroll(root);
  }
  @keyframes progress-grow { to { transform: scaleX(1); } }
}

/* ---------- Hero visual: receipt card with money chips ---------- */
/* Money chips sit in a band above the card so nothing overlaps, including the "September report" pill that slides out under the card on hover */
.hero-visual { position: relative; justify-self: end; padding: 140px 16px 56px 44px; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(253, 254, 254, .96); color: var(--ink); border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.float-chip:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 28px 60px rgba(0, 0, 0, .35); }
.float-chip__label { display: block; font-size: .8rem; font-weight: 600; color: var(--slate); }
.float-chip__value { display: block; font: 800 1.6rem/1.1 var(--font-display); letter-spacing: -.02em; }
.float-chip__value--sm { font-size: 1.15rem; color: var(--amber-t); }
.float-chip--balance { top: 0; left: 0; display: grid; gap: 2px; padding: 14px 18px 10px; width: 210px; animation: rise .9s .45s var(--ease) both, bob 6s 1.4s ease-in-out infinite; }
.float-chip--gst { top: 30px; right: 0; animation: rise .9s .6s var(--ease) both, bob 7s 2s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -10px; } }
.float-chip__coin { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-t); }
.float-chip__coin svg { animation: coin-spin 4s 2s ease-in-out infinite; }
@keyframes coin-spin { 0%, 70% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.spark { width: 100%; height: 30px; margin-top: 4px; overflow: visible; }
.spark__line { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; animation: spark-draw 4.5s 1s var(--ease) infinite; }
.spark__area { fill: var(--mint-soft); animation: spark-fade 4.5s 1s var(--ease) infinite; }
.spark__dot { fill: var(--green); stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: dot-pulse 1.6s ease-in-out infinite; }
@keyframes spark-draw { 0% { stroke-dashoffset: 160; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes spark-fade { 0%, 20% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes dot-pulse { 50% { transform: scale(1.45); } }
.hero-card__front { animation: float 6s ease-in-out infinite; }

/* ---------- Works with: moving name strip ---------- */
.works { padding: clamp(36px, 4vw, 56px) 0 8px; overflow: hidden; }
.works__head { display: flex; justify-content: center; }
.works__title { font: 700 1rem/1.3 var(--font-body); letter-spacing: 0; color: var(--slate); text-align: center; }
.marquee { position: relative; margin-top: 18px; display: flex; 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); }
.marquee__track { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 14px; flex: none; padding-right: 14px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.wm {
  flex: none; display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 22px 10px 12px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.wm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.wm__icon { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; }
.wm__icon--bank { background: var(--mint-soft); color: var(--green); }
.wm__icon--soft { background: var(--blue-soft); color: var(--blue); }
/* Official marks: shown as supplied, in their own colour, never animated or recoloured */
.wm__icon--logo { background: none; }
.wm__icon--qb { color: #2CA01C; }
.wm__icon--xero { color: #13B5EA; }
.wm:hover .wm__icon--logo svg { animation: none; }
.wm:hover .wm__icon svg { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(6deg); } }
.wm__name { white-space: nowrap; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.01em; }
.wm__name--a { font-weight: 800; }
.wm__name--b { font-weight: 900; letter-spacing: .08em; }
.wm__name--c { font-weight: 600; }
.wm__name--d { font-weight: 700; font-family: var(--font-body); }
.wm__name--e { font-weight: 800; letter-spacing: .02em; }
.works__note { margin-top: 14px; text-align: center; font-size: .85rem; color: var(--slate); }

/* ---------- Split headings: words rise one after another ---------- */
.split .w { display: inline-block; }
.js .split.is-ready .w { opacity: 0; transform: translateY(.6em) rotate(2deg); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split.is-ready.is-in .w { opacity: 1; transform: none; }

/* Faster, livelier scroll reveals */
.js .reveal { transform: translateY(28px) scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.trust__item.is-in .draw { animation: redraw 1s .3s var(--ease) both; }
.trust__item.is-in .icon-tile { animation: tile-pop .6s var(--ease) both; }
.trust__item.is-in:nth-child(2) .icon-tile { animation-delay: .08s; }
.trust__item.is-in:nth-child(3) .icon-tile { animation-delay: .16s; }
.trust__item.is-in:nth-child(4) .icon-tile { animation-delay: .24s; }
@keyframes tile-pop { from { transform: scale(.5) rotate(-12deg); } }

/* ---------- Story: pinned photo, words scroll over it ---------- */
.story { position: relative; background: var(--ink); color: #fff; }
.story__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 6s ease-out; }
.story__bg.is-on { opacity: 1; transform: scale(1.02); }
.story__bg[data-bg="0"] { object-position: 62% 30%; }
.story__bg[data-bg="1"] { object-position: 58% 30%; }
.story__bg[data-bg="2"] { object-position: 50% 25%; }
.story__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 28, 43, .82) 0%, rgba(14, 28, 43, .35) 55%, rgba(14, 28, 43, .1) 100%), linear-gradient(0deg, rgba(14, 28, 43, .55), transparent 40%); }
.story__dots { position: absolute; right: var(--gutter); top: 50%; display: grid; gap: 10px; transform: translateY(-50%); }
.story__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: height .5s var(--ease), background-color .3s; }
.story__dots i.is-on { height: 32px; background: var(--mint); }
.story__panels { position: relative; margin-top: -100vh; margin-top: -100lvh; }
.story__panel { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: var(--nav-h) var(--gutter) 0; max-width: 1240px; margin: 0 auto; }
.story__panel--right { justify-content: flex-end; }
.story__card {
  max-width: 500px; padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: rgba(14, 28, 43, .55); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .25);
  opacity: .25; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.story__panel.is-in .story__card { opacity: 1; transform: none; }
.story__card h2, .story__card h3 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; color: #fff; }
.story__card p { margin-top: 14px; font-size: 1.15rem; color: #D5E2DD; }
.story__card .btn { margin-top: 24px; }
@media (prefers-reduced-transparency: reduce) { .story__card { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Your report: interactive charts ---------- */
.insight { background: var(--paper); position: relative; overflow: hidden; }
.sample-tag { display: inline-flex; align-items: center; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-t); font-weight: 700; font-size: .9rem; }
.insight__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; }
.chart-card { margin: 0; background: var(--card); border-radius: 24px; padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.chart-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.chart-card__title { display: block; font: 700 1.1rem/1.3 var(--font-display); color: var(--ink); }
.chart-card__big { display: block; margin-top: 6px; font: 800 clamp(2rem, 1.4rem + 1.8vw, 2.8rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.chart-card__sub { display: block; margin-top: 4px; color: var(--slate); font-size: .95rem; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: #E6EBE9; }
.seg__btn { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .95rem; color: var(--slate); cursor: pointer; transition: background-color .25s, color .25s, transform .15s var(--ease), box-shadow .25s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn:active { transform: scale(.95); }
.seg__btn.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.chart-card__legend { display: flex; gap: 8px; flex-wrap: wrap; }
.key { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; font-size: .95rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, opacity .2s, transform .15s var(--ease); }
.key:hover { border-color: var(--ink); }
.key:active { transform: scale(.95); }
.key i { width: 14px; height: 14px; border-radius: 5px; }
.key--in i { background: var(--green); }
.key--out i { background: var(--blue); }
.key:not(.is-on) { opacity: .5; }
.key:not(.is-on) i { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.area { position: relative; height: clamp(260px, 28vw, 340px); outline: none; border-radius: 12px; touch-action: pan-y; }
.area:focus-visible { box-shadow: 0 0 0 3px var(--ink); }
.area__svg { width: 100%; height: 100%; overflow: visible; display: block; }
.area__grid line { stroke: var(--line); stroke-width: 1; }
.area__axis text { fill: var(--slate); font: 600 12px var(--font-body); }
.area__fill { transition: opacity .3s; }
.area__line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.area__line--in { stroke: var(--green); }
.area__line--out { stroke: var(--blue); }
.area__series.is-off { opacity: 0; }
.area__draw { transition: none; }
.area__cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; transition: opacity .2s; }
.area__pt { stroke: #fff; stroke-width: 2.5; opacity: 0; transition: opacity .2s, transform .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.area.is-hover .area__cross, .area.is-hover .area__pt { opacity: 1; }
.area__live { fill: var(--green); transform-box: fill-box; transform-origin: center; animation: live-ring 2s ease-out infinite; }
@keyframes live-ring { from { opacity: .5; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.area__tip {
  position: absolute; top: 0; left: 0; pointer-events: none; min-width: 168px; padding: 12px 14px; border-radius: 14px;
  background: var(--ink); color: var(--on-dark); font-size: .92rem; box-shadow: var(--shadow-lg); transition: transform .18s var(--ease);
}
.area__tip b { display: block; color: #fff; font: 700 1rem/1.3 var(--font-display); margin-bottom: 6px; }
.area__tip div { display: flex; justify-content: space-between; gap: 18px; align-items: center; font-variant-numeric: tabular-nums; }
.area__tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.area__tip .tip-profit { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--mint); font-weight: 700; }

.donut { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin: 6px auto 0; }
.donut__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut__seg { fill: none; stroke-width: 26; cursor: pointer; transition: stroke-width .3s var(--ease), opacity .3s, stroke-dashoffset 1.1s var(--ease); }
.donut.has-focus .donut__seg { opacity: .35; }
.donut.has-focus .donut__seg.is-focus { opacity: 1; stroke-width: 34; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut__label { font-size: .9rem; font-weight: 600; color: var(--slate); }
.donut__value { font: 800 1.9rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.donut__keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.donut__keys button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; font-size: 1rem; color: var(--ink); transition: background-color .2s, transform .25s var(--ease); }
.donut__keys button:hover, .donut__keys button.is-focus { background: var(--paper); transform: translateX(4px); }
.donut__keys i { width: 14px; height: 14px; border-radius: 5px; }
.donut__keys span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.data-table { margin-top: 20px; }
.data-table summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.data-table summary:hover { color: var(--green-hover); }
.data-table__wrap { overflow-x: auto; margin-top: 10px; background: var(--card); border-radius: 16px; padding: 8px 16px; }
.data-table table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 10px; text-align: right; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--slate); font-size: .9rem; border-bottom: 1px solid var(--line); }

/* Section 7 photo drifts gently as it scrolls past */
@supports (animation-timeline: view()) {
  .people__photo > img { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { transform: translateY(24px) scale(1.04); } to { transform: translateY(-24px) scale(1); } }
}
.plan--established .plan__shine { animation: shine 5s 1s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: rotate(12deg) translateX(0); } 100% { transform: rotate(12deg) translateX(520%); } }

/* ---------- Accessibility button and panel ---------- */
.a11y { position: fixed; left: 12px; bottom: 12px; z-index: 80; }
.a11y__btn {
  width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: 0 10px 28px -8px rgba(36, 87, 245, .7), inset 0 0 0 2px rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.a11y__btn:hover { transform: scale(1.08); }
.a11y__btn:hover .a11y__arms { animation: arms .6s var(--ease); transform-origin: 12px 9px; transform-box: view-box; }
@keyframes arms { 40% { transform: translateY(-2px) scaleX(1.12); } }
.a11y__btn:active { transform: scale(.94); }
.a11y__btn[aria-expanded="true"] { background: var(--ink); }
.a11y__panel {
  position: absolute; left: 0; bottom: 60px; width: min(340px, calc(100vw - 32px)); padding: 16px; border-radius: 20px;
  background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgba(14, 28, 43, .3); animation: rise .35s var(--ease);
}
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.a11y__head h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.a11y__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.a11y__close:active { transform: scale(.94); }
.a11y__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.a11y__opt { width: 100%; min-height: 52px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 6px 10px; border: 0; border-radius: 14px; background: transparent; font-weight: 600; font-size: 1rem; text-align: left; cursor: pointer; transition: background-color .2s; }
.a11y__opt:hover { background: var(--paper); }
.a11y__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 800 1rem/1 var(--font-display); }
.a11y__ico small { font-size: .7em; }
.a11y__sw { width: 40px; height: 24px; border-radius: 99px; background: #CBD4D1; position: relative; transition: background-color .25s; }
.a11y__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.a11y__opt[aria-pressed="true"] .a11y__sw { background: var(--green); }
.a11y__opt[aria-pressed="true"] .a11y__sw::after { transform: translateX(16px); }
.a11y__reset { margin-top: 8px; width: 100%; min-height: 44px; border: 0; border-radius: 999px; background: var(--paper); font-weight: 700; cursor: pointer; }
.a11y__reset:hover { background: #E6EBE9; }

/* Accessibility modes */
html.a11y-text { font-size: 118%; }
html.a11y-contrast { --slate: #22303C; --line: #8C9A97; --on-dark-2: #E2ECE8; --amber-t: #6E4100; --coral-t: #9E2A10; }
html.a11y-contrast .hero__scrim, html.a11y-contrast .story__scrim { background: rgba(14, 28, 43, .88); }
html.a11y-contrast .how__step { opacity: 1; }
html.a11y-links a:not(.btn):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-spacing body { line-height: 1.9; letter-spacing: .02em; word-spacing: .08em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.a11y-still .marquee__track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; }
html.a11y-still .marquee { -webkit-mask-image: none; mask-image: none; }
html.a11y-still .marquee__track[aria-hidden="true"] { display: none; }
html.a11y-still .scroll-progress { display: none; }

/* ---------- Additions: laptop, tablet, phone ---------- */
@media (max-width: 1100px) {
  .float-chip--balance { width: 190px; }
  .insight__grid { grid-template-columns: 1fr 1fr; }
  .chart-card--area { grid-column: 1 / -1; }
  .chart-card--donut { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
  .chart-card--donut figcaption { grid-column: 1 / -1; }
  .donut { width: 240px; }
}
@media (max-width: 767px) {
  .works__title { font-size: 1rem; }
  .wm { min-height: 56px; }
  .wm__name { font-size: 1.05rem; }
  .works__note { font-size: 1rem; }
  .story__panel, .story__panel--right { justify-content: center; align-items: flex-end; padding-bottom: 40px; }
  .story__scrim { background: linear-gradient(0deg, rgba(14, 28, 43, .9) 0%, rgba(14, 28, 43, .4) 55%, rgba(14, 28, 43, .2) 100%); }
  .story__card { max-width: none; }
  .story__card p { font-size: 1.0625rem; }
  .story__dots { top: auto; bottom: auto; top: calc(var(--nav-h) + 16px); right: 16px; transform: none; grid-auto-flow: column; }
  .story__dots i.is-on { height: 8px; width: 28px; }
  .insight__grid { grid-template-columns: 1fr; }
  .chart-card--donut { display: flex; }
  .donut { width: min(100%, 240px); }
  .seg__btn, .key, .sample-tag, .chart-card__sub { font-size: 1rem; }
  .area { height: 240px; }
  .area__tip { min-width: 150px; font-size: 1rem; }
  .a11y { left: 12px; bottom: 12px; }
  .a11y__btn { width: 48px; height: 48px; }
  .hero__inner { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .scroll-progress { display: none; }
  .js .split.is-ready .w { opacity: 1; transform: none; }
  .story__card { opacity: 1; transform: none; }
}

/* ---------- Hero background: a moving wall of money UI (no photo) ---------- */
.hero__bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 70% at 82% 28%, rgba(47, 208, 143, .16), transparent 70%),
    radial-gradient(50% 60% at 60% 100%, rgba(36, 87, 245, .16), transparent 70%),
    linear-gradient(160deg, #10263A 0%, var(--ink) 55%, #0B1824 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; }
.hero__wall {
  position: absolute; top: -18%; right: -6%; width: 78%; height: 150%;
  display: flex; gap: 22px; justify-content: flex-end;
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -12px), 0) perspective(1800px) rotateX(24deg) rotateY(-14deg) rotateZ(10deg);
  transform-origin: 70% 40%; transition: transform .6s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(0deg, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(0deg, transparent 0%, #000 18%); mask-composite: intersect;
}
.wcol { flex: none; width: 236px; height: 100%; overflow: hidden; }
.wcol--2 { margin-top: -120px; }
.wcol--3 { margin-top: -40px; }
.wcol--4 { margin-top: -180px; }
.wcol__inner { display: flex; flex-direction: column; will-change: transform; }
.hero.is-off .hero__wall *, .hero.is-off .hero__wall *::before, .hero.is-off .hero__wall *::after { animation-play-state: paused; }
.wcol__inner > * { margin-bottom: 22px; }
.wcol--up .wcol__inner { animation: wall-up 70s linear infinite; }
.wcol--down .wcol__inner { animation: wall-down 84s linear infinite; }
.wcol--3 .wcol__inner { animation-duration: 62s; }
.wcol--4 .wcol__inner { animation-duration: 92s; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* Panels: dark glass so they sit behind the white foreground card */
.wp {
  border-radius: 18px; padding: 14px 16px 16px; color: var(--on-dark);
  background: linear-gradient(180deg, rgba(34, 58, 82, .72), rgba(20, 38, 56, .72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .25);
}
.wp__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; font-size: 11px; font-weight: 600; color: var(--on-dark-2); }
.wp__head b { font: 800 17px/1 var(--font-display); color: #fff; letter-spacing: -.01em; }
.wbars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.wbars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--mint), #13A673); transform-origin: bottom; animation: wbar 3.6s var(--d) ease-in-out infinite alternate; }
.wbars--blue i { background: linear-gradient(180deg, #7C9BFF, var(--blue)); }
@keyframes wbar { from { transform: scaleY(.62); } to { transform: scaleY(1); } }
.wbars__axis { display: flex; justify-content: space-between; margin-top: 8px; }
.wbars__axis span { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.wpie__row { display: flex; align-items: center; gap: 16px; }
.wpie { width: 96px; height: 96px; flex: none; border-radius: 50%; background: conic-gradient(var(--stops)); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); animation: wspin 26s linear infinite; }
@keyframes wspin { to { transform: rotate(360deg); } }
.wlegend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.wlegend li { display: flex; align-items: center; gap: 8px; }
.wlegend i { width: 9px; height: 9px; border-radius: 3px; }
.wlegend span { height: 5px; flex: 1; border-radius: 5px; background: rgba(255, 255, 255, .16); }
.k-green { background: var(--mint); }
.k-amber { background: var(--amber); }
.k-blue { background: #5B83FF; }
.k-coral { background: var(--coral); }
.wdonut { display: block; width: 120px; height: 120px; margin: 0 auto; transform: rotate(-90deg); animation: wspin-d 30s linear infinite; }
@keyframes wspin-d { to { transform: rotate(270deg); } }
.wdonut circle { fill: none; stroke-width: 14; }
.wline { display: block; width: 100%; height: 64px; overflow: visible; }
.wline__area { fill: rgba(47, 208, 143, .16); }
.wline__path { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 260; animation: wline 6s ease-in-out infinite; }
@keyframes wline { 0% { stroke-dashoffset: 260; } 50%, 100% { stroke-dashoffset: 0; } }
.wp--list p, .wp--match p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12px; }
.wp--list p:first-of-type, .wp--match p:first-of-type { border-top: 0; }
.wl { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); margin-right: auto; }
.wp--list b, .wp--match b { font-weight: 700; color: #fff; }
.wp--list em { font-style: normal; font-weight: 700; font-size: 11px; padding: 3px 8px; border-radius: 99px; }
.wp--list em.ok { background: rgba(47, 208, 143, .18); color: var(--mint); }
.wp--list em.due { background: rgba(242, 165, 22, .18); color: var(--amber); }
.wtick { width: 18px; height: 18px; flex: none; border-radius: 6px; display: grid; place-items: center; background: var(--green); color: #fff; }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; }
.wchip { padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; color: var(--ink); }
.wreceipt {
  position: relative; padding: 16px 16px 12px; background: #F4F2EC; color: #2A2A2A; transform: rotate(-3deg); margin-left: 6px; margin-right: 6px;
  font: 500 10.5px/1.55 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; box-shadow: 0 16px 36px rgba(0, 0, 0, .35); opacity: .92;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 94% 100%, 88% 96%, 82% 100%, 76% 96%, 70% 100%, 64% 96%, 58% 100%, 52% 96%, 46% 100%, 40% 96%, 34% 100%, 28% 96%, 22% 100%, 16% 96%, 10% 100%, 4% 96%, 0 100%);
}
.wcol--2 .wreceipt, .wcol--4 .wreceipt { transform: rotate(2.5deg); }
.wreceipt b { display: block; text-align: center; letter-spacing: .06em; }
.wreceipt small { display: block; text-align: center; color: #777; font-size: 9.5px; margin-bottom: 8px; }
.wreceipt p { display: flex; justify-content: space-between; margin: 0; }
.wreceipt__rule { border-top: 1px dashed #999; margin-top: 4px !important; padding-top: 4px; }
.wreceipt__total { font-weight: 800; font-size: 12px; }
.wreceipt__code { display: block; height: 18px; margin: 8px 8px 6px; background: repeating-linear-gradient(90deg, #333 0 2px, transparent 2px 3px, #333 3px 4px, transparent 4px 7px); }

@media (max-width: 1100px) {
  .hero__wall { width: 92%; right: -14%; }
}
/* Phones: the wall fills the top of the screen, the words sit underneath */
@media (max-width: 767px) {
  .hero__wall {
    top: -2%; right: -42%; width: 150%; height: 84%; gap: 14px; justify-content: center;
    transform: perspective(1400px) rotateX(22deg) rotateY(-10deg) rotateZ(10deg);
    -webkit-mask-image: linear-gradient(0deg, transparent 8%, #000 42%, #000 74%, rgba(0, 0, 0, .25) 92%); mask-image: linear-gradient(0deg, transparent 8%, #000 42%, #000 74%, rgba(0, 0, 0, .25) 92%);
  }
  .wcol { width: 184px; }
  .wcol__inner > * { margin-bottom: 14px; }
  .wcol--4 { display: none; }
  .wbars { height: 72px; }
  .wpie { width: 74px; height: 74px; }
  .wdonut { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__wall { transition: none; }
}
html.a11y-still .hero__wall { transition: none; }

/* ---------- Phones get the motion too: looping scenes, living backdrops ---------- */
/* How it works, scene 1: focus, scan, flash, screenshot thumbnail, sent. Loops while on screen. */
.frame-corners { position: absolute; inset: 0; }
.phone__shot {
  position: absolute; inset: 12px; border-radius: 30px; overflow: hidden; opacity: 0; pointer-events: none; transform-origin: 0 100%;
  background: radial-gradient(80% 60% at 50% 40%, #6F7A62, #2C3428); box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(0, 0, 0, .45);
}
.phone__shot i {
  position: absolute; left: 50%; top: 50%; width: 60%; height: 64%; transform: translate(-50%, -50%) rotate(-4deg); background-color: #FBFAF6;
  background-image: linear-gradient(#2A2A2A, #2A2A2A), repeating-linear-gradient(180deg, transparent 0 9%, rgba(0, 0, 0, .28) 9% 12%);
  background-size: 50% 5%, 78% 66%; background-position: 50% 10%, 50% 70%; background-repeat: no-repeat;
}
.scene--snap.is-active .frame-corners { animation: focus-lock 7.2s var(--ease) infinite; }
.scene--snap.is-active .scanline { animation: scan-loop 7.2s var(--ease) infinite; }
.scene--snap.is-active .phone__shutter { animation: flash-loop 7.2s ease-out infinite; }
.scene--snap.is-active .phone__shot { animation: shot-loop 7.2s var(--ease) infinite; }
.scene--snap.is-active .toast { animation: toast-loop 7.2s var(--ease) infinite; }
.scene--snap.is-active .receipt { animation: handheld 7.2s ease-in-out infinite; }
@keyframes focus-lock { 0% { opacity: 0; transform: scale(1.14); } 9%, 40% { opacity: .9; transform: none; } 43% { transform: scale(.95); } 48%, 100% { opacity: .9; transform: none; } }
@keyframes scan-loop { 0%, 8% { opacity: 0; top: 14%; } 12% { opacity: 1; } 36% { opacity: 1; top: 84%; } 39%, 100% { opacity: 0; top: 84%; } }
@keyframes flash-loop { 0%, 40% { opacity: 0; } 42% { opacity: .9; } 50%, 100% { opacity: 0; } }
@keyframes shot-loop {
  0%, 41% { opacity: 0; transform: none; }
  42%, 46% { opacity: 1; transform: none; }
  54%, 70% { opacity: 1; transform: translate(7%, -5%) scale(.34); }
  77%, 100% { opacity: 0; transform: translate(7%, -40%) scale(.2); }
}
@keyframes toast-loop { 0%, 70% { opacity: 0; transform: translate(-50%, 20px); } 76%, 94% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }
@keyframes handheld { 0%, 100% { transform: rotate(-4deg); } 20% { transform: translate(2px, -3px) rotate(-3.2deg); } 38%, 50% { transform: rotate(-4deg); } 72% { transform: translate(-2px, 2px) rotate(-4.7deg); } }

/* Scene 2: a new receipt keeps arriving in the ledger */
.scene--ledger.is-active .ledger__row--new { animation: row-new-loop 6s var(--ease) infinite; }
.scene--ledger.is-active .ledger__row--new .chip { animation: pop-loop 6s var(--ease) infinite; }
.scene--ledger.is-active .ledger__row--new .ok { animation: pop-loop-late 6s var(--ease) infinite; }
.scene--ledger.is-active .ledger__count { animation: count-bump 6s var(--ease) infinite; }
@keyframes row-new-loop { 0% { opacity: 0; transform: translateX(-40px) rotate(-2deg); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes pop-loop { 0%, 12% { opacity: 0; transform: scale(.6); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes pop-loop-late { 0%, 17% { opacity: 0; transform: scale(.6); } 25%, 100% { opacity: 1; transform: none; } }
@keyframes count-bump { 0%, 11% { transform: none; } 15% { transform: scale(1.14); } 21%, 100% { transform: none; } }

/* Scene 3: the report's bars keep breathing and the Approved badge catches the light */
.scene--report.is-active .bars span { animation: grow .9s var(--ease) both, bar-breathe 2.6s 1.2s ease-in-out infinite alternate; }
.scene--report.is-active .bars:nth-child(2) span { animation-delay: .1s, 1.5s; }
.scene--report.is-active .bars:nth-child(3) span { animation-delay: .2s, 1.8s; }
@keyframes bar-breathe { to { transform: scaleY(.86); } }
.approved { position: relative; overflow: hidden; }
.scene--report.is-active .approved::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%); animation: badge-shine 3.4s 2.4s ease-in-out infinite;
}
@keyframes badge-shine { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }

/* The stage behind the scenes: two soft lights drift slowly */
.stage::after {
  content: ""; position: absolute; inset: -40%; z-index: -2; pointer-events: none;
  background: radial-gradient(20% 20% at 36% 40%, rgba(47, 208, 143, .24), transparent 70%), radial-gradient(18% 18% at 64% 62%, rgba(36, 87, 245, .26), transparent 70%);
  animation: stage-glow 14s ease-in-out infinite alternate;
}
@keyframes stage-glow { from { transform: translate(-7%, 5%) rotate(0deg); } to { transform: translate(7%, -6%) rotate(45deg); } }
.how.is-off .stage *, .how.is-off .stage::after, .how.is-off .stage *::after { animation-play-state: paused; }

/* Photo story: the photo behind slowly pushes in while it is showing */
.story__bg.is-on { animation: push-in 16s ease-in-out infinite alternate; }
@keyframes push-in { from { scale: 1; translate: 0 0; } to { scale: 1.07; translate: -1.2% -1%; } }

@media (max-width: 767px) {
  .phone__shot { inset: 10px; border-radius: 26px; }
  /* No pointer to lean the hero wall on phones, so its columns travel faster */
  .wcol--up .wcol__inner { animation-duration: 40s; }
  .wcol--down .wcol__inner { animation-duration: 48s; }
  .wcol--3 .wcol__inner { animation-duration: 34s; }
}

/* Still mode: every loop above settles on a calm, complete frame */
@media (prefers-reduced-motion: reduce) {
  .scene--snap .phone__shot, .scene--snap .phone__shutter, .scene--snap .scanline, .stage::after, .scene--report .approved::after { animation: none !important; opacity: 0; }
  .scene--snap .toast { animation: none !important; opacity: 1; transform: translate(-50%, 0); }
  .scene--snap .frame-corners, .scene--snap .receipt, .ledger__count { animation: none !important; }
  .scene--ledger .ledger__row--new, .scene--ledger .ledger__row--new .chip, .scene--ledger .ledger__row--new .ok { animation: none !important; opacity: 1; transform: none; }
  .story__bg.is-on { animation: none; }
}
html.a11y-still .scene--snap .phone__shot, html.a11y-still .scene--snap .phone__shutter, html.a11y-still .scene--snap .scanline, html.a11y-still .stage::after, html.a11y-still .scene--report .approved::after { animation: none !important; opacity: 0; }
html.a11y-still .scene--snap .toast { animation: none !important; opacity: 1; transform: translate(-50%, 0); }
html.a11y-still .scene--snap .frame-corners, html.a11y-still .scene--snap .receipt, html.a11y-still .ledger__count { animation: none !important; }
html.a11y-still .scene--ledger .ledger__row--new, html.a11y-still .scene--ledger .ledger__row--new .chip, html.a11y-still .scene--ledger .ledger__row--new .ok { animation: none !important; opacity: 1; transform: none; }
html.a11y-still .story__bg.is-on { animation: none; }
