/* FINLUME website — tokens mirror src/theme (darkTheme / lightTheme) in the mobile app. */
:root {
  --bg: #17211E; --surface: #1C2A26; --surface-2: #243530; --surface-muted: #182420;
  --border: #3A4E47; --border-subtle: #2A3A35; --border-mint: rgba(94, 230, 192, .22);
  --text: #F2FAF6; --text-2: #A8C0B8; --text-3: #6E877F;
  --accent: #5EE6C0; --accent-pressed: #4ACCA9; --accent-subtle: rgba(94, 230, 192, .14); --on-accent: #17211E;
  --negative: #FF8A7A; --warning: #F5C56B; --info: #7FB8E6;
  --glow: rgba(94, 230, 192, .32); --nav-bg: rgba(23, 33, 30, .72); --phone-bg: #121A18;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-xxl: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #DDF3EC; --surface: #F4FBF8; --surface-2: #FFFFFF; --surface-muted: #E8F6F0;
  --border: #C5DDD4; --border-subtle: #D5E8E0; --border-mint: rgba(11, 107, 87, .18);
  --text: #17211E; --text-2: #4A635B; --text-3: #6B837C;
  --accent: #0B6B57; --accent-pressed: #095544; --accent-subtle: rgba(11, 107, 87, .10); --on-accent: #FFFFFF;
  --negative: #E05A4C; --warning: #C9942E; --info: #3D7EB0;
  --glow: rgba(11, 107, 87, .18); --nav-bg: rgba(221, 243, 236, .78); --phone-bg: #17211E;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.overline { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.012em; }
p { margin: 0; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 54ch; }
.glow-text { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; transition: transform .24s var(--ease), background .24s, box-shadow .24s, border-color .24s; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 32px -8px var(--glow); }
.btn-primary:hover { background: var(--accent-pressed); transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--glow); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--border-subtle); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; }
.lockup svg { width: 32px; height: 32px; }
.wordmark { font-weight: 600; letter-spacing: .13em; font-size: 1.15rem; }
.nav-links { display: flex; gap: 28px; font-size: .9rem; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-subtle); background: transparent; display: grid; place-items: center; color: var(--text-2); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-sun { display: none; }
:root[data-theme="light"] .theme-sun { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }
@media (max-width: 820px) { .nav-links { display: none; } }

main { overflow-x: clip; }
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); isolation: isolate; overflow: clip; }
.nav-actions .btn { white-space: nowrap; }
@media (max-width: 420px) { .nav-actions .btn { padding: 0 14px; font-size: .8rem; } .wordmark { font-size: 1rem; } }
.hero::before { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; right: -180px; top: -120px; background: radial-gradient(closest-side, var(--glow), transparent 70%); opacity: .55; filter: blur(30px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { font-size: .82rem; color: var(--text-3); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--border-mint); background: var(--accent-subtle); font-size: .78rem; color: var(--text-2); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-stage .phone.back { position: absolute; transform: translate(150px, 34px) rotate(7deg) scale(.88); opacity: .9; }
.hero-stage .phone.front { position: relative; transform: translate(-30px, 0) rotate(-3deg); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stage { min-height: 600px; }
  .hero-stage .phone.back { transform: translate(110px, 30px) rotate(7deg) scale(.82); }
  .hero-stage .phone.front { transform: translate(-40px, 0) rotate(-3deg); }
}
@media (max-width: 520px) {
  .hero-stage .phone.back { display: none; }
  .hero-stage .phone.front { transform: none; }
}

.phone { width: 290px; aspect-ratio: 290 / 600; border-radius: 44px; padding: 9px; background: #0c1311; border: 1px solid #33463f; position: relative; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -30px var(--glow); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; background: #000; border-radius: 99px; transform: translateX(-50%); z-index: 3; }
.screen { height: 100%; border-radius: 36px; background: var(--phone-bg); color: #F2FAF6; overflow: hidden; position: relative; padding: 50px 16px 0; display: flex; flex-direction: column; gap: 12px; isolation: isolate; --p-surface: #1C2A26; --p-2: #243530; --p-border: #2A3A35; --p-text2: #A8C0B8; --p-text3: #6E877F; --p-accent: #5EE6C0; }
.screen .spot { position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; background: rgba(94, 230, 192, .3); filter: blur(60px); top: 40px; right: -60px; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-greet { font-size: 11px; color: var(--p-text2); }
.s-date { font-size: 13px; font-weight: 600; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--p-2); border: 1px solid rgba(94, 230, 192, .3); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--p-accent); }
.s-hero { display: flex; align-items: center; gap: 14px; padding: 6px 2px; }
.ring { width: 92px; height: 92px; flex: none; position: relative; filter: drop-shadow(0 0 16px rgba(94, 230, 192, .35)); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: #2A3A35; } .ring .bar { stroke: #5EE6C0; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .ring .bar, .ring.in .bar { stroke-dashoffset: calc(264 - 264 * var(--pct, .62)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.s-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--p-text3); font-weight: 600; }
.s-amount { white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.s-sub { font-size: 11px; color: var(--p-text2); }
.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 14px; padding: 9px 11px; }
.stat small { display: block; font-size: 10px; color: var(--p-text3); }
.stat span { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pos { color: #5EE6C0; } .neg { color: #FF8A7A; }
.insight { background: var(--p-surface); border: 1px solid var(--p-border); border-left: 3px solid #5EE6C0; border-radius: 14px; padding: 11px 12px; font-size: 11.5px; line-height: 1.45; display: grid; gap: 5px; }
.insight .tag { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #5EE6C0; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 54px; border-radius: 22px; background: rgba(28, 42, 38, .92); border: 1px solid var(--p-border); display: flex; align-items: center; justify-content: space-around; backdrop-filter: blur(8px); }
.tabbar i { width: 18px; height: 18px; border-radius: 6px; border: 1.6px solid var(--p-text3); }
.tabbar i.on { border-color: #5EE6C0; box-shadow: 0 0 12px rgba(94, 230, 192, .6); }
.tabbar b { width: 40px; height: 40px; border-radius: 50%; background: #5EE6C0; color: #17211E; display: grid; place-items: center; font-size: 22px; font-weight: 500; margin-top: -18px; box-shadow: 0 6px 20px rgba(94, 230, 192, .45); line-height: 1; }
.tx { display: grid; gap: 6px; }
.tx-row { display: flex; align-items: center; gap: 9px; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 12px; padding: 8px 10px; font-size: 11.5px; }
.tx-row .ic { width: 26px; height: 26px; border-radius: 9px; background: var(--p-2); display: grid; place-items: center; font-size: 13px; }
.tx-row em { margin-left: auto; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-row div { display: grid; line-height: 1.2; } .tx-row small { color: var(--p-text3); font-size: 10px; }
.mic { width: 78px; height: 78px; border-radius: 50%; background: #5EE6C0; margin: 6px auto 0; display: grid; place-items: center; position: relative; box-shadow: 0 0 40px rgba(94, 230, 192, .55); }
.mic::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(94, 230, 192, .45); animation: ripple 2.2s infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.mic svg { width: 30px; height: 30px; color: #17211E; }
.wave { display: flex; gap: 3px; height: 38px; align-items: center; justify-content: center; }
.wave i { width: 3px; border-radius: 3px; background: #5EE6C0; height: 8px; animation: wv 1.1s ease-in-out infinite; opacity: .85; }
@keyframes wv { 50% { height: var(--h, 30px); } }
.transcript { text-align: center; font-size: 16px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.transcript span { color: #5EE6C0; }
.confirm { background: var(--p-surface); border: 1px solid rgba(94, 230, 192, .22); border-radius: 16px; padding: 11px 12px; display: grid; gap: 7px; font-size: 11.5px; }
.confirm .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--p-border); padding-bottom: 6px; }
.confirm .row:last-of-type { border: 0; padding: 0; }
.confirm .row span { color: var(--p-text3); } .confirm .row b { font-weight: 600; }
.confirm .save { margin-top: 3px; background: #5EE6C0; color: #17211E; border-radius: 999px; text-align: center; padding: 8px; font-weight: 600; font-size: 12px; }
.arc { width: 170px; height: 100px; margin: 4px auto 0; position: relative; filter: drop-shadow(0 0 18px rgba(94, 230, 192, .3)); }
.arc svg { width: 100%; height: 100%; overflow: visible; }
.arc .track { stroke: #2A3A35; } .arc .bar { stroke: #5EE6C0; stroke-linecap: round; stroke-dasharray: 188; stroke-dashoffset: 188; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.arc.in .bar { stroke-dashoffset: calc(188 - 188 * var(--pct, .78)); }
.arc b { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 34px; letter-spacing: -.04em; font-weight: 600; line-height: 1; }
.arc b small { display: block; font-size: 10px; color: var(--p-text2); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.comp { display: grid; gap: 7px; }
.comp div { display: grid; gap: 4px; font-size: 11px; }
.comp div span { display: flex; justify-content: space-between; color: var(--p-text2); } .comp div span b { color: #F2FAF6; font-weight: 600; }
.meter { height: 5px; background: #2A3A35; border-radius: 4px; overflow: hidden; } .meter i { display: block; height: 100%; background: linear-gradient(90deg, #17A886, #5EE6C0); border-radius: 4px; width: 0; transition: width 1.2s var(--ease) .4s; }
.in .meter i { width: var(--w); }
.msg { max-width: 88%; font-size: 11.5px; line-height: 1.45; padding: 9px 12px; border-radius: 16px; }
.msg.me { align-self: flex-end; background: #5EE6C0; color: #17211E; border-bottom-right-radius: 5px; font-weight: 500; }
.msg.ai { background: var(--p-surface); border: 1px solid var(--p-border); border-bottom-left-radius: 5px; display: grid; gap: 7px; }
.msg.ai .ans { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #5EE6C0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--p-border); border-radius: 999px; padding: 4px 9px; font-size: 10px; color: var(--p-text2); }
.composer { margin-top: auto; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 999px; padding: 8px 8px 8px 14px; font-size: 11px; color: var(--p-text3); }
.composer i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #5EE6C0; display: grid; place-items: center; font-style: normal; color: #17211E; font-weight: 700; font-size: 13px; }

section { position: relative; }
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.strip { border-block: 1px solid var(--border-subtle); background: var(--surface-muted); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 28px 24px; border-left: 1px solid var(--border-subtle); display: grid; gap: 6px; }
.strip-item:first-child { border-left: 0; }
.strip-item b { font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; color: var(--accent); }
.strip-item span { font-size: .85rem; color: var(--text-2); }
@media (max-width: 760px) { .strip-in { grid-template-columns: 1fr 1fr; } .strip-item:nth-child(3) { border-left: 0; } .strip-item:nth-child(n+3) { border-top: 1px solid var(--border-subtle); } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; margin-bottom: clamp(72px, 10vw, 130px); }
.feature:last-child { margin-bottom: 0; }
.feature.flip .f-copy { order: 2; }
.f-copy { display: grid; gap: 20px; justify-items: start; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); font-size: .96rem; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%235EE6C0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; border: 1px solid var(--border-mint); }
:root[data-theme="light"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%230B6B57' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.f-stage { display: grid; place-items: center; position: relative; padding: 36px 0; }
.f-stage::before { content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 72%); opacity: .5; }
.f-stage .phone { position: relative; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .f-copy { order: 0; } }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.card:hover { border-color: var(--border-mint); transform: translateY(-4px); background: var(--surface-2); }
.card p { color: var(--text-2); font-size: .93rem; }
.ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-subtle); border: 1px solid var(--border-mint); display: grid; place-items: center; color: var(--accent); }
.ico svg { width: 22px; height: 22px; }

.formula { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-xxl); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.formula::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(closest-side, var(--glow), transparent 70%); opacity: .5; pointer-events: none; }
.weights { display: grid; gap: 14px; position: relative; z-index: 1; }
.weight { display: grid; gap: 7px; }
.weight span { display: flex; justify-content: space-between; font-size: .92rem; }
.weight span b { color: var(--accent); font-weight: 600; }
.weight .meter { height: 8px; background: var(--border-subtle); }
.weight .meter i { background: linear-gradient(90deg, var(--accent-pressed), var(--accent)); }
.reveal.in .weight .meter i { width: var(--w); }
.fine { font-size: .8rem; color: var(--text-3); }
@media (max-width: 860px) { .formula { grid-template-columns: 1fr; } }

.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .princ { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .princ { grid-template-columns: 1fr; } }

.note { display: flex; gap: 18px; align-items: flex-start; border: 1px dashed var(--border); border-radius: var(--r-lg); padding: 22px 24px; background: var(--surface-muted); margin-top: 28px; }
.note svg { flex: none; width: 22px; height: 22px; color: var(--warning); margin-top: 2px; }
.note p { font-size: .88rem; color: var(--text-2); }

.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
details { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 0 22px; transition: border-color .25s; }
details[open] { border-color: var(--border-mint); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .3s var(--ease); line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; color: var(--text-2); font-size: .95rem; }

.cta { text-align: center; position: relative; overflow: hidden; border-radius: var(--r-xxl); border: 1px solid var(--border-mint); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%); padding: clamp(56px, 9vw, 112px) 24px; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: auto 0 -260px; margin: auto; width: 700px; height: 520px; max-width: 120%; background: radial-gradient(closest-side, var(--glow), transparent 70%); z-index: -1; }
.cta h2 { max-width: 16ch; margin: 18px auto 18px; }
.cta .lead { margin-inline: auto; }
.cta .hero-cta { justify-content: center; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); text-align: left; opacity: .92; }
.store svg { width: 24px; height: 24px; color: var(--text); }
.store small { display: block; font-size: .68rem; color: var(--text-3); line-height: 1.1; letter-spacing: .04em; }
.store b { font-size: .98rem; font-weight: 600; line-height: 1.2; }

footer { border-top: 1px solid var(--border-subtle); padding: 56px 0 40px; margin-top: 90px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--text-2); font-size: .88rem; margin-top: 14px; max-width: 34ch; }
.foot h4 { margin: 0 0 14px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; color: var(--text-2); }
.foot ul a:hover { color: var(--accent); }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border-subtle); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; color: var(--text-3); }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.mark-draw path { opacity: 0; transform-origin: center; }
.mark-draw .m1 { animation: stem .6s var(--ease) .1s forwards; }
.mark-draw .m2 { animation: beam .6s var(--ease) .45s forwards; }
.mark-draw .m3 { animation: beam .6s var(--ease) .65s forwards; }
@keyframes stem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes beam { from { opacity: 0; transform: translate(-10px, 8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mark-draw path { opacity: 1; }
  .ring .bar { stroke-dashoffset: calc(264 - 264 * var(--pct, .62)); }
  .arc .bar { stroke-dashoffset: calc(188 - 188 * var(--pct, .78)); }
  .meter i { width: var(--w); }
}
