/* Ruvvy marketing site. Colors mirror mobile/src/theme.ts (light + dark palettes). */
:root {
  --canvas: #F2F1EA;
  --surface: #FFFFFF;
  --surface-alt: #ECEEE4;
  --ink: #13231C;
  --muted: #4A5750;
  --line: #E4E6DC;
  --line-strong: #CED3C6;
  --forest: #22503E;
  --forest-fill: #22503E;
  --forest-dark: #16352A;
  --forest-soft: #E1EDE4;
  --hero: #1C5240;
  --hero-muted: #CFE0D3;
  --on-accent: #FFFFFF;
  --lime: #D5F478;
  --lime-edge: #A9C44E;
  --lime-soft: #EAF3CE;
  --on-lime: #18372B;
  --amber: #87490F;
  --amber-soft: #FBE9CF;
  --wash-lime: #D5F478;
  --wash-mint: #7FC9A2;
  --wash-pool: #8EC3D6;
  --bezel: #13231C;
  --shadow: 0 24px 60px -24px rgba(28, 51, 40, .35);
  --radius: 22px;
  --gutter: 16px;
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #07090A;
    --surface: #121614;
    --surface-alt: #1D2420;
    --ink: #E8EEE9;
    --muted: #AAB6AF;
    --line: #26302B;
    --line-strong: #3A4842;
    --forest: #8FD1AE;
    --forest-fill: #2F6B53;
    --forest-dark: #CFE9DA;
    --forest-soft: #1F3329;
    --hero: #1E5443;
    --hero-muted: #CFE2D6;
    --lime: #CDEB6E;
    --lime-edge: #8FB04A;
    --lime-soft: #232F18;
    --on-lime: #13261D;
    --amber: #E3A866;
    --amber-soft: #2E2416;
    --wash-lime: #4A6A1C;
    --wash-mint: #2F6B53;
    --wash-pool: #2B6470;
    --bezel: #2A332E;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section > .wrap > h2, .section-title { margin-bottom: 44px; max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--forest-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--forest-dark); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #3A7D62; } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime-edge); }
.btn-lime:hover { filter: brightness(.96); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn[aria-disabled="true"] { background: var(--surface-alt); color: var(--muted); border-color: var(--line-strong); cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-signin { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; }
.nav-links a:hover, .nav-signin:hover { color: var(--forest); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--forest); transform: scaleX(0); transform-origin: right; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--forest); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0 -10%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
  background:
    radial-gradient(40% 45% at 85% 20%, color-mix(in srgb, var(--wash-lime) 70%, transparent), transparent 70%),
    radial-gradient(35% 40% at 10% 30%, color-mix(in srgb, var(--wash-mint) 35%, transparent), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, color-mix(in srgb, var(--wash-pool) 35%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { padding-bottom: 64px; }
.hero-copy h1 { margin-bottom: 36px; max-width: 12ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-art { position: relative; height: 640px; }

.phone {
  --pad: 10px; position: absolute; width: 300px; padding: var(--pad); border-radius: 46px; background: var(--bezel);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 552 / 1000; object-fit: cover; object-position: top; background: var(--surface); }
.hero-art .phone.front { left: 50%; top: 40px; transform: translateX(-62%); z-index: 2; }
.hero-art .phone.back { left: 50%; top: 110px; width: 270px; transform: translateX(8%) rotate(6deg); z-index: 1; opacity: .98; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest-soft); color: var(--forest); }
.icon svg { width: 24px; height: 24px; }
.card .tag { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 3px 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 28px; border-radius: var(--radius); background: var(--hero); color: var(--on-accent); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--hero-muted); font-size: 16px; }

/* Pricing teaser */
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.teaser .card { display: flex; flex-direction: column; gap: 6px; }
.teaser .card .price { color: var(--ink); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.teaser .price small { font-size: 16px; font-weight: 500; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--forest); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Final CTA */
.cta-band { background: var(--hero); color: var(--on-accent); border-radius: 32px; padding: 72px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(213,244,120,.45), transparent 70%); pointer-events: none; }
.cta-band h2 { max-width: 16ch; }

/* Feature rows (features page) */
.page-head { padding: 72px 0 24px; }
.page-head h1 { max-width: 16ch; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row.flip .row-art { order: -1; }
.row h2 { margin-bottom: 24px; font-size: clamp(28px, 3.4vw, 40px); }
.row-art { display: flex; justify-content: center; }
.row-art .phone { position: relative; width: 290px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318372B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.wide-shot { border-radius: 28px; border: 10px solid var(--bezel); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }

/* Pricing page */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--line); margin-bottom: 36px; }
.toggle button { border: 0; background: transparent; color: var(--muted); font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; min-height: 42px; padding: 0 20px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.toggle .save { color: var(--forest); font-weight: 700; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.plan .price { color: var(--ink); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 14px; min-height: 21px; }
.plan .btn { width: 100%; }
.plan .ticks { font-size: 16px; }
.plan .blurb { color: var(--muted); font-size: 16px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { font-size: 18px; font-weight: 700; background: var(--surface-alt); }
.compare thead th:first-child { text-align: left; }
.yes { color: var(--forest); font-weight: 800; font-size: 20px; }
.no { color: var(--muted); }

/* Download */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.store .soon { font-size: 13px; font-weight: 600; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 4px 12px; }
.store.web { background: var(--hero); color: var(--on-accent); border-color: transparent; }
.store.web p { color: var(--hero-muted); }
.store p { color: var(--muted); font-size: 16px; }
.store .btn { margin-top: auto; }

.store-badge { margin-top: auto; display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 20px; border-radius: 12px; background: #13231C; color: #FFFFFF; font-weight: 700; font-size: 19px; line-height: 1.15; cursor: default; }
.store-badge small { font-size: 11px; font-weight: 500; }
@media (prefers-color-scheme: dark) { .store-badge { background: #E8EEE9; color: #07090A; } }

/* Legal */
.draft { background: var(--amber-soft); color: var(--amber); font-weight: 700; text-align: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.legal { max-width: 760px; padding-bottom: 80px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0 0; }
.legal li + li { margin-top: 8px; }
.legal ul + p, .legal ol + p { margin-top: 12px; }
.updated { color: var(--muted); font-size: 15px; margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer .brand { color: var(--ink); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* iPad */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-art { height: 600px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { gap: 14px; }
  .plans .card { padding: 22px; }
  .row { gap: 40px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 var(--gutter); }
  .section { padding: 64px 0; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px var(--gutter) 24px; background: var(--canvas); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a, .nav-signin { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-actions { margin: 8px 0 0; flex-direction: column; align-items: stretch; gap: 8px; }
  .grid, .teaser, .plans, .steps, .stores { grid-template-columns: 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .row.flip .row-art { order: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
  .cta-band { padding: 48px 24px; border-radius: 24px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero-copy h1 { margin-bottom: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-art { height: 500px; }
  .phone { width: 230px; border-radius: 38px; --pad: 8px; }
  .phone img { border-radius: 30px; }
  .hero-art .phone.front { top: 24px; transform: translateX(-70%); }
  .hero-art .phone.back { width: 200px; top: 80px; transform: translateX(-4%) rotate(6deg); }
  .row-art .phone { width: 250px; }
  .card { padding: 22px; }
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare th:first-child, .compare td:first-child { padding-left: 14px; }
  .compare thead th { font-size: 14px; }
  .wide-shot { border-width: 6px; border-radius: 18px; }
}
/* Hero graphics. Static by default: this is what reduced motion and no-JS visitors see. */
.phone .screen-alt { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); opacity: 0; }
.chip {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); color: var(--ink); font-size: 14px; line-height: 1.2;
}
.chip-label { font-size: .82em; font-weight: 600; color: var(--muted); }
.chip-num { font-size: 1.75em; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chip-in { left: 0; top: 70px; width: 12.5em; }
.chip-in .chip-num { color: var(--forest); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 2.6em; margin-top: 6px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: var(--forest-soft); transform-origin: bottom; }
.bars i:last-child { background: var(--lime); }
.coin { position: absolute; left: -7px; top: 42%; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--lime-edge); opacity: 0; }
.chip-sort { left: 2%; bottom: 36px; width: 15em; }
.chip-sort ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.chip-sort li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: .95em; }
.chip-sort .t { display: grid; }
.chip-sort .t b { grid-area: 1 / 1; font-size: .8em; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-align: center; }
.chip-sort .q { background: var(--amber-soft); color: var(--amber); opacity: 0; }
.chip-sort .c { background: var(--lime); color: var(--on-lime); }
.chip-sort .c.p { background: var(--surface-alt); color: var(--muted); }
.chip-ring { right: 0; top: 330px; flex-direction: row; align-items: center; gap: 12px; }
.chip-ring svg { width: 3.4em; height: 3.4em; flex: none; transform: rotate(-90deg); }
.chip-ring circle { fill: none; stroke-width: 6; }
.chip-ring .track { stroke: var(--forest-soft); }
.chip-ring .fill { stroke: var(--forest); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; }
.ring-text { display: grid; gap: 2px; }
.ring-text .chip-num { font-size: 1.45em; }
.site-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: 0 12px 30px -20px rgba(0,0,0,.45); opacity: 0; }
.site-header.scrolled::after { opacity: 1; }
.plan .amount { display: inline-block; }
@media (max-width: 1100px) {
  .chip-in { left: max(0px, calc(50% - 330px)); }
  .chip-sort { left: max(0px, calc(50% - 350px)); }
  .chip-ring { right: max(0px, calc(50% - 330px)); }
}
@media (max-width: 480px) {
  .chip { font-size: 11px; padding: 10px 12px; border-radius: 14px; }
  .chip-in { top: 4px; }
  .chip-sort { bottom: 8px; }
  .chip-ring { top: 236px; }
}

/* Motion. Everything below only runs when the visitor hasn't asked for reduced motion,
   and only animates transform and opacity (plus the ring's stroke, which is paint-only). */
:root { --ease: cubic-bezier(.2, .75, .2, 1); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Page to page: cross-document fade where supported; the entrance below covers other browsers. */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .18s ease both; }
  ::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }

  /* Entrance */
  .hero-copy h1, .page-head .wrap > * { animation: rise .8s var(--ease) both; }
  .page-head .updated { animation-delay: .08s; }
  .hero-cta, .page-head + * { animation: rise .8s var(--ease) .14s both; }
  .hero::before { animation: wash 18s ease-in-out infinite alternate; }
  .hero-art .phone { animation: pop-in 1s var(--ease) .1s both, float 7s ease-in-out 1.2s infinite; }
  .hero-art .phone.back { animation-delay: .25s, 1.8s; animation-duration: 1s, 8.5s; }
  .phone .screen-alt { animation: screen-swap 12s ease-in-out 3s infinite; }

  /* Hero graphics */
  .chip { animation: pop-in .8s var(--ease) both, float 6s ease-in-out infinite; }
  .chip-in { animation-delay: .5s, 1.4s; }
  .chip-ring { animation-delay: .65s, 2.1s; animation-duration: .8s, 6.8s; }
  .chip-sort { animation-delay: .8s, 1.7s; animation-duration: .8s, 7.4s; }
  .coin { animation: coin 2.4s ease-in 1s infinite; }
  .coin:nth-child(2) { animation-delay: 1.8s; }
  .coin:nth-child(3) { animation-delay: 2.6s; }
  .bars i { animation: grow .9s var(--ease) both; }
  .bars i:nth-child(1) { animation-delay: .7s; } .bars i:nth-child(2) { animation-delay: .78s; }
  .bars i:nth-child(3) { animation-delay: .86s; } .bars i:nth-child(4) { animation-delay: .94s; }
  .bars i:nth-child(5) { animation-delay: 1.02s; }
  .bars i:nth-child(6) { animation: grow .9s var(--ease) 1.1s both, bar-pulse 2.4s ease-in-out 2.4s infinite; }
  .chip-sort li, .chip-sort .q, .chip-sort .c { animation: 9s var(--ease) calc(var(--i) * .5s + 1s) infinite backwards; }
  .chip-sort li { animation-name: row-in; }
  .chip-sort .q { animation-name: tag-q; }
  .chip-sort .c { animation-name: tag-c; }
  .chip-ring .fill { animation: ring 1.8s var(--ease) .8s both; }

  /* Scroll reveal (classes added by site.js, so content stays visible without it) */
  .reveal { opacity: 0; transform: translateY(28px); }
  .reveal.zoom { transform: translateY(24px) scale(.95); }
  .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }

  /* Micro-interactions */
  .btn, .toggle button { transition: background-color .2s, filter .2s, transform .25s var(--ease); }
  .btn:not([aria-disabled="true"]):hover { transform: translateY(-2px); }
  .btn:not([aria-disabled="true"]):active { transform: translateY(0) scale(.97); transition-duration: .08s; }
  .nav-links a::after { transition: transform .35s var(--ease); }
  .site-header::after { transition: opacity .3s; }
  .grid > .card, .teaser > .card, .plans > .plan, .stores > .card { position: relative; transition: transform .4s var(--ease); }
  .grid > .card::after, .teaser > .card::after, .plans > .plan::after, .stores > .card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .grid > .card:hover, .teaser > .card:hover, .plans > .plan:hover, .stores > .card:hover { transform: translateY(-5px); }
  .grid > .card:hover::after, .teaser > .card:hover::after, .plans > .plan:hover::after, .stores > .card:hover::after { opacity: 1; }
  .icon { transition: transform .4s var(--ease); }
  .grid > .card:hover .icon { transform: rotate(-6deg) scale(1.08); }
  .steps li::before { transition: transform .4s var(--ease); }
  .steps li:hover::before { transform: scale(1.12); }
  .faq details[open] p { animation: drop .45s var(--ease) both; }
  .nav.open { animation: drop .3s var(--ease) both; }
  .plan .amount.flip { animation: flip .45s var(--ease) both; }
  .cta-band::after { animation: glow 9s ease-in-out infinite alternate; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes pop-in { from { opacity: 0; scale: .9; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes wash { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
@keyframes screen-swap { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes coin { 0% { opacity: 0; transform: translate(-34px, -42px) scale(.6); } 25%, 75% { opacity: 1; } 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(8px, 0) scale(.3); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes bar-pulse { 50% { transform: scaleY(.86); } }
@keyframes row-in { 0% { opacity: 0; transform: translateX(-14px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateX(10px); } }
@keyframes tag-q { 0%, 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes tag-c { 0%, 20% { opacity: 0; transform: scale(.6); } 26% { opacity: 1; transform: scale(1.08); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes ring { from { stroke-dashoffset: 100; } }
@keyframes flip { from { opacity: 0; transform: translateY(10px); } }
@keyframes glow { to { transform: translate(-60px, 40px) scale(1.15); } }
