/* Layout: terracotta splash-style hero → cream body bands → terracotta launch card. Tokens mirror lib/core/constants/app_colors.dart */
:root {
  --primary: #A33811;
  --primary-deep: #7E2A0C;
  --secondary: #376847;
  --on-primary: #FFF8F5;
  --surface: #FFF8F5;
  --surface-low: #FFF1E8;
  --surface-mid: #FBEBE0;
  --surface-high: #F0E0D4;
  --card: #FFFFFF;
  --text: #221A13;
  --text-2: #5A3E2B;
  --border: rgba(223, 192, 183, .55);
  --ok: #1D9E75; --ok-bg: #E1F5EE;
  --wait: #BA7517; --wait-bg: #FAEEDA;
  --off: #888780; --off-bg: #F1EFE8;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1); /* soft overshoot, like SplashAnimation */
  --radius: 22px;
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* paints the phone status-bar band */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--primary);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.eyebrow--light { color: rgba(255, 248, 245, .78); }
.lead { color: var(--text-2); font-size: 1.08rem; max-width: 58ch; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; inset: env(safe-area-inset-top, 0px) 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #F2A57E, var(--on-primary)); transform-origin: 0 50%; transform: scaleX(0); }
html.is-scrolled .progress span { background: var(--primary); }

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--nav-h); margin-bottom: calc(var(--nav-h) * -1);
  color: var(--on-primary);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 248, 245, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: 100%; max-width: 1160px; margin-inline: auto; display: flex; align-items: center; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1.5px rgba(255, 248, 245, .35); }
.nav__links { display: none; gap: 28px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav__links a { text-decoration: none; position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 820px) { .nav__links { display: flex; } }

.lang { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 248, 245, .16); position: relative; }
@media (min-width: 820px) { .lang { margin-left: 8px; } }
.nav.is-scrolled .lang { background: var(--surface-mid); }
.lang button { border: 0; background: none; min-width: 44px; min-height: 36px; border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .06em; cursor: pointer; position: relative; z-index: 1; transition: color .3s; }
.lang::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: 44px; border-radius: 999px; background: var(--on-primary); transition: transform .4s var(--ease-pop); }
.lang[data-active="en"]::before { transform: translateX(44px); }
.lang button[aria-pressed="true"] { color: var(--primary); }
.nav.is-scrolled .lang::before { background: var(--primary); }
.nav.is-scrolled .lang button[aria-pressed="true"] { color: var(--on-primary); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 80% 20%, #C2491B 0%, var(--primary) 45%, var(--primary-deep) 100%);
  color: var(--on-primary);
  padding-top: calc(var(--nav-h) + 24px);
}
.hero__glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 35% at 15% 85%, rgba(55, 104, 71, .35), transparent 70%),
  radial-gradient(30% 30% at 90% 10%, rgba(255, 200, 160, .22), transparent 70%); }
.hero__grid { display: grid; gap: 8px; align-items: center; padding-bottom: 72px; }
.hero__copy { display: grid; gap: 16px; justify-items: start; position: relative; z-index: 2; }
.wordmark { font-size: clamp(3.6rem, 15vw, 7.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.hero__subtitle { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 4.6vw, 1.9rem); line-height: 1.2; max-width: 22ch; text-wrap: balance; }
.hero__body { color: rgba(255, 248, 245, .82); max-width: 46ch; }

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--wait-bg); color: #6B4309; font-weight: 700; font-size: .9rem; }
.badge__dot, .status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wait); position: relative; flex: none; }
.badge__dot::after, .status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px;
  border-radius: 14px; border: 1.5px dashed rgba(255, 248, 245, .45); color: rgba(255, 248, 245, .62); cursor: not-allowed;
  background: rgba(34, 26, 19, .14); user-select: none;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store svg [fill]:not([fill="currentColor"]) { opacity: .8; }
.store__text { display: grid; line-height: 1.15; }
.store__text small { font-size: .7rem; letter-spacing: .04em; }
.store__text b { font-size: 1.02rem; }
.store__tag { position: absolute; top: -9px; right: -8px; padding: 2px 8px; border-radius: 999px; background: var(--on-primary); color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(6deg); }

.hero__art { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 2 / 2.4; margin-top: 8px; }
.hero__halo { position: absolute; inset: 14% 4% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 160, .35), transparent 65%); animation: breathe 6s ease-in-out infinite; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  animation: float 7s ease-in-out infinite;
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease-out);
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-12px) rotate(.5deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }

.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--card); color: var(--text); font-size: .8rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(60, 20, 5, .45);
  translate: var(--cx, 0) var(--cy, 0); transition: translate .6s var(--ease-out);
}
.chip--a { top: 16%; left: -2%; animation: bob 5s ease-in-out infinite; }
.chip--b { top: 50%; right: -4%; animation: bob 6s ease-in-out -2s infinite; }
.chip--c { bottom: 12%; left: 6%; animation: bob 5.5s ease-in-out -1s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; }
.chip__dot--ok { background: var(--ok); }
.chip__dot--wait { background: var(--wait); }
.chip__dot--brand { background: var(--primary); }

.hero__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--surface); z-index: 3; }

/* entrance sequence (logo pop + staged copy) */
.seq { animation: rise .8s var(--ease-out) both; animation-delay: var(--d, 0s); }
.wordmark.seq { animation: pop .9s var(--ease-pop) both; animation-delay: var(--d, 0s); }
.hero__art { animation: fadeIn 1.1s var(--ease-out) .35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.94); } }

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 32px; padding-bottom: 110px; }
  .hero__art { width: min(100%, 470px); margin-top: 0; }
  .chip { font-size: .86rem; }
  .chip--a { left: -10%; }
}

/* ---------- species marquee ---------- */
.species { padding-block: 40px 56px; display: grid; gap: 14px; overflow: hidden; }
.species__title { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); text-align: center; font-family: var(--font-body); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 44s; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -.03em; color: var(--surface-high); white-space: nowrap; transition: color .3s; }
.marquee--reverse span { color: transparent; -webkit-text-stroke: 1.5px rgba(163, 56, 17, .35); }
.marquee span:hover { color: var(--primary); }
.marquee i { width: 12px; height: 12px; flex: none; border-radius: 50% 50% 50% 0; background: var(--secondary); opacity: .55; transform: rotate(-45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
.section__head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 40px; }
.section__head--left { justify-items: start; text-align: left; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 800; max-width: 20ch; }
@media (min-width: 900px) { .section { padding-block: 112px; } }

/* reveal on scroll — only hidden once JS confirms it can reveal */
.can-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
.can-reveal .reveal.is-in { animation: rise .8s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* ---------- features ---------- */
.features {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px));
  scrollbar-width: none;
}
.features::-webkit-scrollbar { display: none; }
.feature {
  scroll-snap-align: start; min-width: 0; display: grid; gap: 8px; align-content: start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px 22px;
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .8s var(--ease-out);
  transform-style: preserve-3d;
}
.feature__art { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 14px; background: var(--surface-low); overflow: hidden; margin-bottom: 8px; }
.feature__art img { width: 82%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-pop); }
.feature h3 { font-size: 1.3rem; font-weight: 800; }
.feature p { color: var(--text-2); font-size: .96rem; }
.feature:hover { box-shadow: 0 24px 48px -24px rgba(122, 42, 12, .35); }
.feature:hover .feature__art img { transform: scale(1.08) rotate(-2deg); }
.swipe-hint { margin-top: 4px; font-size: .85rem; color: var(--text-2); font-weight: 600; text-align: right; }
@media (min-width: 900px) {
  .features { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; max-width: 1160px; margin-inline: auto; padding-inline: max(32px, env(safe-area-inset-left, 0px)) max(32px, env(safe-area-inset-right, 0px)); gap: 20px; }
  .swipe-hint { display: none; }
}

/* ---------- record showcase ---------- */
.record { background: var(--surface-low); border-radius: 36px 36px 0 0; }
.record__grid { display: grid; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step {
  width: 100%; display: flex; gap: 14px; text-align: left; align-items: flex-start; padding: 16px; border-radius: 18px;
  border: 1px solid transparent; background: transparent; cursor: pointer; transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.step > span:last-child { display: grid; gap: 4px; min-width: 0; }
.step b { font-family: var(--font-display); font-size: 1.15rem; }
.step > span:last-child > span { color: var(--text-2); font-size: .95rem; }
.step__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-high); color: var(--text-2); transition: background-color .35s, color .35s, transform .35s var(--ease-pop); }
.step:hover { background: rgba(255, 255, 255, .6); }
.step.is-active { background: var(--card); border-color: var(--border); box-shadow: 0 16px 36px -24px rgba(122, 42, 12, .4); }
.step.is-active .step__n { background: var(--primary); color: var(--on-primary); transform: scale(1.08); }

.phone-wrap { display: grid; justify-items: center; }
.phone {
  position: relative; width: min(100%, 300px); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 44px 16px 18px;
  background: var(--surface); border: 9px solid var(--text); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(80, 30, 10, .5), inset 0 0 0 1px var(--border);
}
.phone__notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 22px; border-radius: 999px; background: var(--text); transform: translateX(-50%); }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 8px 4px 14px; border-bottom: 1px solid var(--border); }
.phone__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-mid); }
.phone__head div { display: grid; line-height: 1.2; }
.phone__head small { color: var(--text-2); font-size: .75rem; }
.screen { position: absolute; inset: 120px 16px 18px; opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.phone[data-screen="0"] .screen[data-screen="0"],
.phone[data-screen="1"] .screen[data-screen="1"],
.phone[data-screen="2"] .screen[data-screen="2"] { opacity: 1; transform: none; }

.tl { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 12px; border-left: 2px dashed var(--surface-high); }
.tl li { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); font-size: .82rem; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 90ms + .1s); }
.tl li::before { content: ""; position: absolute; left: -21px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--surface); }
.tl__date { font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: var(--text-2); }
.tl li div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone[data-screen="0"] .tl li { opacity: 1; transform: none; }
.pill { font-size: .66rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: var(--ok-bg); color: #126247; }
.pill--wait { background: var(--wait-bg); color: #7A4B0C; }
.pill--off { background: var(--off-bg); color: #55554F; }

.w__label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--text-2); }
.w__value { font-size: .9rem; color: var(--text-2); font-weight: 700; }
.w__value .num { font-size: 2.6rem; color: var(--text); font-weight: 800; letter-spacing: -.03em; }
.w__delta { display: inline-block; margin-top: 2px; font-size: .75rem; font-weight: 700; color: #126247; background: var(--ok-bg); padding: 2px 8px; border-radius: 999px; }
.chart { width: 100%; margin-top: 14px; overflow: visible; }
.chart__grid line { stroke: var(--surface-high); stroke-width: 1; }
.chart__axis text { fill: var(--text-2); font-size: 9px; font-family: var(--font-body); font-weight: 700; text-anchor: end; }
.chart__axis text:nth-child(n+4) { text-anchor: middle; }
.chart__area { fill: rgba(163, 56, 17, .1); opacity: 0; transition: opacity .6s .9s; }
.chart__line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) .2s; }
.chart__pts circle { fill: var(--card); stroke: var(--primary); stroke-width: 2; opacity: 0; transition: opacity .3s 1.2s; }
.chart__pts .chart__end { fill: var(--primary); stroke: var(--card); stroke-width: 2.5; }
.phone[data-screen="1"] .chart__line { stroke-dashoffset: 0; }
.phone[data-screen="1"] .chart__area, .phone[data-screen="1"] .chart__pts circle { opacity: 1; }

.doc { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 24px -16px rgba(80, 30, 10, .35); }
.doc__band { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; background: var(--primary); color: var(--on-primary); font-size: .8rem; }
.doc__band span { font-size: .62rem; letter-spacing: .12em; font-weight: 800; opacity: .8; }
.doc__sec { display: grid; gap: 5px; padding: 10px 12px; border-top: 1px solid var(--border); font-size: .74rem; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); transition-delay: calc(var(--i) * 260ms + .2s); }
.doc__sec i { display: block; height: 6px; border-radius: 3px; background: var(--surface-mid); }
.doc__sec i.short { width: 60%; }
.doc__sec svg { width: 100%; height: 24px; }
.doc__sec polyline { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone[data-screen="2"] .doc__sec { opacity: 1; transform: none; }
.export { position: relative; margin-top: 14px; height: 44px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: .85rem; overflow: hidden; }
.export > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .45s var(--ease-pop), opacity .3s; }
.export svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.export__done { background: var(--secondary); transform: translateY(100%); }
.phone[data-screen="2"] .export__idle { transition-delay: 1.3s; transform: translateY(-100%); }
.phone[data-screen="2"] .export__done { transition-delay: 1.3s; transform: none; }

@media (min-width: 900px) {
  .record__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .phone { width: 320px; }
}

/* ---------- trust ---------- */
.trust__grid { display: grid; gap: 16px; }
.value { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface-low); }
.value h3 { font-size: 1.3rem; font-weight: 800; }
.value p { color: var(--text-2); }
.value__icon { width: 52px; height: 52px; fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.value__icon .cut { stroke: var(--secondary); stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease-out) .5s; }
.value__icon .check { stroke: var(--secondary); stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .7s var(--ease-out) .6s; }
.value.is-in .cut, .value.is-in .check, .no-reveal .value .cut, .no-reveal .value .check { stroke-dashoffset: 0; }
.value:nth-child(3) .value__icon { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 40px 0 0; padding: 24px 8px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.stats dd { margin: 0; font-size: clamp(2.4rem, 9vw, 3.6rem); font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.03em; }
.stats dt { font-size: .82rem; color: var(--text-2); font-weight: 600; }
@media (min-width: 820px) { .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- coming soon ---------- */
.soon { padding-block: 24px 88px; }
.soon__card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 48px 20px; border-radius: 32px; color: var(--on-primary);
  background: radial-gradient(90% 120% at 50% 0%, #C2491B, var(--primary) 50%, var(--primary-deep));
}
.soon__card::before, .soon__card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255, 248, 245, .14); animation: ripple 6s var(--ease-out) infinite; }
.soon__card::before { width: 380px; height: 380px; top: -80px; left: 50%; margin-left: -190px; }
.soon__card::after { width: 380px; height: 380px; top: -80px; left: 50%; margin-left: -190px; animation-delay: -3s; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.soon__logo { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 0 0 2px rgba(255, 248, 245, .3), 0 18px 40px -12px rgba(40, 10, 0, .6); animation: float 6s ease-in-out infinite; }
.soon__card h2 { font-size: clamp(1.9rem, 6.5vw, 3.2rem); font-weight: 800; max-width: 16ch; }
.soon__card > p:not(.eyebrow) { color: rgba(255, 248, 245, .85); max-width: 48ch; }
.platforms { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.platforms li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 248, 245, .1); border: 1px solid rgba(255, 248, 245, .2); }
.platforms svg { width: 22px; height: 22px; flex: none; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--wait-bg); color: #6B4309; font-size: .75rem; font-weight: 800; }
@media (min-width: 720px) { .soon__card { padding: 72px 40px; } }

/* ---------- footer ---------- */
.footer { background: var(--text); color: rgba(255, 248, 245, .72); padding-block: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: grid; gap: 10px; justify-items: start; }
.brand--dark { color: var(--on-primary); }
.brand--dark img { width: 32px; height: 32px; }
.footer__meta { font-size: .85rem; opacity: .7; }

/* ---------- reduced motion (mirrors the app's reduceMotion) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > :nth-child(n+13) { display: none; }
}

/* record showcase on phones: header → phone → steps */
@media (max-width: 899px) {
  .record__copy { display: contents; }
  .record__copy .section__head { order: 0; margin-bottom: 0; }
  .phone-wrap { order: 1; }
  .steps { order: 2; }
  .record__grid { gap: 28px; }
}
