/* Mapping Bills — serene ledger aesthetic. Tokens from the Android app's theme. */
:root {
  --bg: #F2F7F4;
  --surface: #FFFFFF;
  --surface-variant: #E5F2E9;
  --primary: #166534;
  --primary-dark: #0F5132;
  --primary-bright: #22C55E;
  --on-surface: #111827;
  --on-surface-variant: #4B5563;
  --border: #DFE9E2;
  --laser-glow: #FF2D55;
  --laser-core: #FF0033;
  --badge-bg: #FFECEB;
  --badge-fg: #AA483C;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 24px rgba(17, 24, 39, .06);
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.container.narrow { width: min(760px, 92vw); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 .9em;
}
.eyebrow.light { color: #DCFCE7; }
.lede, .section-lede { color: var(--on-surface-variant); font-size: 1.1rem; max-width: 44rem; }
.section-lede { margin-bottom: 2.5rem; }
.mono { font-family: var(--font-mono); font-size: .92em; background: var(--surface-variant); padding: .1em .4em; border-radius: 6px; }
.fineprint { font-size: .8rem; color: var(--on-surface-variant); }
.fineprint.center { text-align: center; }
.fineprint.light { color: #DCFCE7; opacity: .85; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: .6em 1em; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .8em 1.6em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22, 101, 52, .28); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.btn-sm { padding: .55em 1.2em; font-size: .92rem; }
.btn-lg { padding: .9em 2.2em; font-size: 1.08rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(242, 247, 244, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 18px rgba(17,24,39,.06); }
.nav-inner { width: min(1120px, 92vw); margin: 0 auto; display: flex; align-items: center; gap: 2rem; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--on-surface); font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.brand-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--on-surface-variant); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-inner .btn { margin-left: auto; } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy h1 { margin-bottom: .35em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 2.4rem; }
.hero-stats { display: flex; gap: 2.2rem; margin: 0 0 .4rem; }
.stat dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-surface-variant); }
.stat dd { margin: .2em 0 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.1); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .cards-2 { grid-template-columns: 1fr; } .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-variant); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: var(--surface-variant); border-radius: 999px; padding: .35em 1em; margin: 0 0 1em; }
.tick-list { list-style: none; padding: 0; margin: 1.2em 0 0; }
.tick-list li { position: relative; padding-left: 1.7em; margin-bottom: .6em; color: var(--on-surface-variant); font-size: .95rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: .9em; height: .9em; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4L9.5 3.4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/60% no-repeat; }
.card-h { font-size: 1.05rem; margin-bottom: .2em; }
.card-sub { color: var(--on-surface-variant); font-size: .9rem; margin-bottom: 1.2em; }

/* ---------- walkthrough (scripted demo) ---------- */
.walk-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); padding: 1.6rem; }
.walk-head { margin-bottom: 1.1rem; }
.walk-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.walk-sub { color: var(--on-surface-variant); font-size: .92rem; margin: .2em 0 0; }

.receipt-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.pick {
  font-family: var(--font-body); text-align: left; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; padding: .7rem .8rem;
  display: flex; flex-direction: column; gap: .15em; transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.pick:hover { transform: translateY(-2px); }
.pick-store { font-weight: 600; font-size: .85rem; line-height: 1.3; }
.pick-total { font-family: var(--font-mono); font-size: .78rem; color: var(--on-surface-variant); }
.pick.is-active { border-color: var(--primary); background: var(--surface-variant); }
@media (max-width: 560px) { .receipt-picker { grid-template-columns: 1fr; } }

.walk-stage { position: relative; min-height: 430px; }
.stage { animation: stageIn .35s ease; }
@keyframes stageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* paper receipt */
.receipt-paper {
  position: relative; background: #fff; color: #2b2b2b;
  font-family: var(--font-mono); font-size: .78rem; line-height: 1.55;
  padding: 1.6rem 1.4rem 2rem; margin: 0 auto; max-width: 300px;
  transform: rotate(-1.4deg); box-shadow: 0 10px 30px rgba(17,24,39,.14);
  white-space: pre-wrap;
}
.receipt-paper::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 9px;
  background:
    linear-gradient(45deg, #fff 5.5px, transparent 0) 0 0 / 12px 12px repeat-x,
    linear-gradient(-45deg, #fff 5.5px, transparent 0) 6px 0 / 12px 12px repeat-x;
}
.receipt-paper.small { max-width: 250px; font-size: .68rem; transform: rotate(0deg); }
.rp-center { text-align: center; }
.rp-store { font-weight: 700; font-size: 1.05em; letter-spacing: .04em; }
.rp-dash { border: none; border-top: 1px dashed #999; margin: .5em 0; }
.rp-row { display: flex; justify-content: space-between; gap: 1em; }
.rp-row .dots { flex: 1; border-bottom: 1px dotted #aaa; transform: translateY(-4px); min-width: 1em; }

.btn-scan { margin: 1.4rem auto 0; display: flex; }

/* laser scanning stage */
.scan-viewport {
  position: relative; background: #1E1E1E; border-radius: 16px; overflow: hidden;
  padding: 1.4rem 1rem; max-width: 340px; margin: 0 auto; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.scan-badge {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: var(--badge-bg); color: var(--badge-fg);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em 1.1em; border-radius: 999px; white-space: nowrap;
  display: flex; align-items: center; gap: .5em;
}
.scan-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laser-core); animation: blink 1.1s ease infinite; }
@keyframes blink { 50% { opacity: .25; } }
.laser { position: absolute; left: 6%; right: 6%; top: 0; height: 26px; z-index: 2; pointer-events: none; animation: sweep 2.2s ease-in-out infinite alternate; }
.laser::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,45,85,.5) 0%, rgba(255,45,85,0) 70%); filter: blur(3px); }
.laser::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3.5px; background: var(--laser-core); box-shadow: 0 0 14px 2px var(--laser-glow); border-radius: 2px; }
.laser .core-white { position: absolute; left: 0; right: 0; top: 12.4px; height: 1px; background: #fff; opacity: .9; }
@keyframes sweep { from { transform: translateY(8px); } to { transform: translateY(330px); } }
.scan-status { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 1.1rem 0 .2rem; min-height: 1.8em; transition: opacity .3s ease; }
.scan-status.fade { opacity: 0; }
.scan-sub { text-align: center; color: var(--on-surface-variant); font-size: .9rem; margin-bottom: .8rem; }
.scan-progress { height: 6px; background: var(--surface-variant); border-radius: 999px; overflow: hidden; max-width: 340px; margin: 0 auto; }
.scan-progress span { display: block; height: 100%; width: 0; background: var(--laser-core); border-radius: 999px; transition: width .3s linear; }

/* result card */
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; max-width: 380px; margin: 0 auto; }
.result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .3rem; }
.result-store { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0; }
.result-date { color: var(--on-surface-variant); font-size: .85rem; margin-bottom: 1rem; }
.engine-badge { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .45em 1em; border-radius: 999px; white-space: nowrap; }
.engine-badge.smart { background: #DCFCE7; color: #14532D; }
.engine-badge.neural { background: #E8EEF7; color: #1E3A5F; }
.result-items { list-style: none; padding: 0; margin: 0 0 1rem; }
.result-items li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed var(--border); opacity: 0; transform: translateX(-8px); animation: itemIn .4s ease forwards; }
@keyframes itemIn { to { opacity: 1; transform: none; } }
.ri-name { flex: 1; min-width: 0; }
.ri-name strong { display: block; font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-name small { color: var(--on-surface-variant); font-size: .76rem; }
.chip { display: inline-flex; align-items: center; gap: .35em; font-size: .72rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .2em .7em; margin-top: .25em; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.ri-price { font-family: var(--font-mono); font-weight: 600; font-size: .92rem; }
.result-totals { border-top: 2px solid var(--on-surface); padding-top: .7rem; font-size: .92rem; }
.result-totals .trow { display: flex; justify-content: space-between; padding: .2rem 0; color: var(--on-surface-variant); }
.result-totals .trow.grand { color: var(--on-surface); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.result-totals .mono { background: none; padding: 0; }
.result-note { display: flex; gap: .5em; align-items: center; margin-top: .9rem; font-size: .82rem; color: var(--primary-dark); background: var(--surface-variant); border-radius: 10px; padding: .6em .9em; }
.btn-rescan { margin: 1rem auto 0; display: flex; }

/* ---------- pipeline ---------- */
.laser-title { position: relative; display: inline-block; }
.laser-title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--laser-glow), transparent);
  background-size: 200% 100%; animation: shimmer 3.2s linear infinite; opacity: .8;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: pipe; }
@media (max-width: 760px) { .pipeline { grid-template-columns: 1fr; } }
.pipe {
  display: flex; gap: 1.1rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pipe:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pipe-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}
.pipe h3 { font-size: 1.02rem; margin-bottom: .25em; }
.pipe p { margin: 0; color: var(--on-surface-variant); font-size: .93rem; }

/* ---------- price watch ---------- */
.pw-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .pw-grid { grid-template-columns: 1fr; } }
.alert-card {
  display: flex; gap: 1rem; align-items: flex-start; background: #FFF7ED; border: 1px solid #FED7AA;
  border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.8rem 0; box-shadow: var(--shadow);
  animation: alertPulse 3.4s ease-in-out infinite;
}
@keyframes alertPulse { 0%, 100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 0 0 6px rgba(217, 119, 6, .12), var(--shadow); } }
.alert-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #FFEDD5; display: grid; place-items: center; }
.alert-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B54708; margin: 0 0 .25em; }
.alert-text { margin: 0; font-size: 1.02rem; }
.spark { margin-top: 1.6rem; }
.spark-svg { width: 100%; height: auto; display: block; }
#sparkPath { stroke-dasharray: 400; stroke-dashoffset: 400; }
.spark.drawn #sparkPath { animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--on-surface-variant); padding: 0 .2rem; }

.bars { display: flex; flex-direction: column; gap: .9rem; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: .3rem; }
.bar-label { font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: .5em; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.bar-track { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--c, var(--primary)); border-radius: 999px; transition: width 1.1s cubic-bezier(.22, 1, .36, 1); }
.bar-val { font-size: .82rem; color: var(--on-surface-variant); }

/* ---------- rewards ---------- */
.rewards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .rewards-grid { grid-template-columns: 1fr; } }
.cc-stack { display: flex; flex-direction: column; gap: 0; perspective: 800px; }
.cc {
  position: relative; border-radius: 18px; padding: 1.4rem 1.5rem; color: #fff;
  min-height: 168px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 14px 34px rgba(17,24,39,.22); border: 1px solid rgba(255,255,255,.25);
  transition: transform .25s ease;
}
.cc:hover { transform: translateY(-6px) rotate(-.5deg); }
.cc + .cc { margin-top: -86px; }
.cc-amex { background: linear-gradient(120deg, #6b4a1f, #a07c2c 45%, #5c3f16); z-index: 3; }
.cc-cibc { background: linear-gradient(120deg, #3b1d5e, #6d28d9 55%, #2a1245); z-index: 2; }
.cc-rbc { background: linear-gradient(120deg, #123a6d, #1d5fb8 55%, #0d2a52); z-index: 1; }
.cc-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; font-size: .8rem; opacity: .95; }
.cc-chip { position: absolute; top: 3.2rem; left: 1.5rem; width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #e8c96a, #b8912f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: 2.2rem; }
.cc-program { font-size: .78rem; opacity: .85; background: rgba(255,255,255,.18); align-self: flex-start; padding: .25em .8em; border-radius: 999px; margin-top: .3em; }
.big-points { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: #B54708; margin: 0; }
.big-points small { font-size: 1.1rem; font-weight: 600; }
.txn-list { list-style: none; padding: 0; margin: 1.2rem 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.txn-list li { display: flex; justify-content: space-between; align-items: center; padding: .95rem 1.3rem; border-bottom: 1px solid var(--border); }
.txn-list li:last-child { border-bottom: none; }
.txn-list strong { display: block; font-size: .95rem; }
.txn-list span span, .txn-list li div span { color: var(--on-surface-variant); font-size: .8rem; }
.txn-pts { font-family: var(--font-mono); font-weight: 600; color: var(--primary-dark); font-size: .9rem; }

/* ---------- faq ---------- */
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .7rem; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 1.3rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--on-surface-variant); }

/* ---------- final CTA ---------- */
.cta { background: linear-gradient(135deg, #0F5132, #198754); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,45,85,.55), transparent); background-size: 200% 100%; animation: shimmer 4s linear infinite; opacity: .5; pointer-events: none; }
.cta h2 { color: #fff; }
.cta p { color: #DCFCE7; max-width: 34rem; margin: 0 auto 1.8rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.2rem 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.2rem; margin-left: auto; }
.footer-links a { color: var(--on-surface-variant); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--primary); }
.footer .fineprint { margin: 0; width: 100%; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar-fill { width: var(--w, 0) !important; }
  #sparkPath { stroke-dashoffset: 0; }
}
