/* Finance Universe — financeuniverse.app
   Direction: celestial luxury. A deep night sky, one gold orbit, light serif
   display type like an engraved invitation, and the app's own Outfit for
   everything you read or count. Dark by design (the app's Royal look). */

@property --accent { syntax: '<color>'; inherits: true; initial-value: #D4AF37; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  color-scheme: dark;
  --ink-0: #05060A;
  --ink-1: #0A0C12;
  --ink-2: #10131B;
  --line: rgba(238, 220, 154, 0.10);
  --line-strong: rgba(238, 220, 154, 0.24);
  --gold: #D4AF37;
  --gold-hi: #EEDC9A;
  --gold-pale: #F7E7A6;
  --gold-deep: #9A7418;
  --ivory: #F6EFDC;
  --text: #F3EEE1;
  --muted: #A9A496;
  --dim: #6F6C64;
  --emerald: #34D399;
  --sky: #38BDF8;
  --violet: #A78BFA;
  --amber: #F5B942;
  --rose: #FB7185;
  --teal: #2DD4A3;
  --indigo: #818CF8;
  --red: #F87171;
  --accent: var(--gold);
  --hair: linear-gradient(160deg, rgba(247, 231, 166, 0.42), rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0.03) 62%, rgba(212, 175, 55, 0.22));
  --f-display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --f-text: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --t-hero: clamp(3.2rem, 1.4rem + 6.6vw, 8.4rem);
  --t-h2: clamp(2.6rem, 1.5rem + 4vw, 5.6rem);
  --t-h3: clamp(2rem, 1.5rem + 1.9vw, 3.3rem);
  --t-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink-0); color: var(--text);
  font-family: var(--f-text); font-size: 1rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: #120E04; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #0E1424 0%, var(--ink-0) 60%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky::before, .sky::after { content: ""; position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
.sky::before { width: 62vmax; height: 40vmax; left: -18vmax; top: -14vmax; opacity: 0.55; background: radial-gradient(closest-side, rgba(45, 212, 163, 0.28), transparent 70%); animation: drift-a 28s ease-in-out infinite alternate; }
.sky::after { width: 58vmax; height: 40vmax; right: -20vmax; top: 8vmax; opacity: 0.55; background: radial-gradient(closest-side, rgba(56, 120, 248, 0.24), transparent 70%); animation: drift-b 34s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(12vmax, 8vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-10vmax, 12vmax) scale(0.9); } }

/* ---------- type ---------- */
h1, h2, h3, .megamark, .pass-stub dd, .leg b, .faq summary, .dial .face b, .tier-price .amt { font-variant-numeric: lining-nums; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 300; letter-spacing: -0.02em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.04; font-weight: 400; }
p { margin: 0; }
h1 em, h2 em, h3 em, .gold-text {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, #F7E7A6 0%, #D4AF37 30%, #FFF3C4 50%, #B8901F 72%, #F7E7A6 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 10s ease-in-out infinite; padding-right: 0.08em; margin-right: -0.04em;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-hi); }
.eyebrow::before, .eyebrow.both::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow.both::after { background: linear-gradient(90deg, var(--gold), transparent); }
.lead { font-size: var(--t-lead); color: var(--muted); line-height: 1.65; font-weight: 300; max-width: 36em; }

/* ---------- brand lockup (exactly the app's dashboard header) ---------- */
.lockup { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.lockup img { width: 44px; height: 44px; filter: drop-shadow(0 4px 14px rgba(56, 189, 248, 0.25)); }
.lockup span { display: grid; line-height: 1; font-family: var(--f-text); letter-spacing: 0.5px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.lockup b { font-size: 12.5px; font-weight: 800; color: rgba(255, 255, 255, 0.9); margin-bottom: 3px; }
.lockup strong { font-size: 19.5px; font-weight: 900; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; color: var(--text);
  border: 1px solid transparent; background: linear-gradient(rgba(14, 16, 22, 0.92), rgba(14, 16, 22, 0.92)) padding-box, var(--hair) border-box;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.btn:hover { box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.4); }
.btn-gold { color: #1A1406; border: 0; overflow: hidden; font-weight: 600;
  background: linear-gradient(180deg, #F8E8B0 0%, #DDBB52 46%, #B98F1F 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 -2px 0 rgba(0, 0, 0, 0.18) inset, 0 12px 34px -10px rgba(212, 175, 55, 0.6); }
.btn-gold::after { content: ""; position: absolute; inset: 0; transform: translateX(-130%); background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%); transition: transform 1s var(--ease-out); }
.btn-gold:hover::after { transform: translateX(130%); }

/* the store button: obsidian with a living gold edge */
.store {
  --h: 68px; position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 28px 0 10px;
  border-radius: 999px; text-decoration: none; color: var(--text); isolation: isolate;
  background: linear-gradient(180deg, #17191F, #0A0B10) padding-box, conic-gradient(from var(--ang), rgba(212, 175, 55, 0.25), #F7E7A6, #D4AF37 18%, rgba(212, 175, 55, 0.25) 34%, rgba(212, 175, 55, 0.25) 66%, #F7E7A6 84%, rgba(212, 175, 55, 0.25)) border-box;
  border: 1px solid transparent; animation: spin-ang 6s linear infinite;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 22px 50px -20px rgba(212, 175, 55, 0.55), 0 0 0 6px rgba(212, 175, 55, 0.04);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
@keyframes spin-ang { to { --ang: 360deg; } }
.store:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 28px 60px -18px rgba(212, 175, 55, 0.75), 0 0 0 8px rgba(212, 175, 55, 0.07); }
.store .disc { width: calc(var(--h) - 20px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 28%, #FFF4CC, #E2C25C 45%, #A57D16 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 16px -6px rgba(212, 175, 55, 0.8); color: #241A03; }
.store .disc svg { width: 44%; height: 44%; transition: transform 0.5s var(--ease-out); }
.store:hover .disc svg { transform: translateY(2px); }
.store .txt { display: grid; line-height: 1.08; text-align: left; }
.store small { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-hi); font-weight: 500; }
.store strong { font-size: 1.36rem; font-weight: 600; letter-spacing: -0.01em; }
.store .free { margin-left: 4px; padding-left: 16px; border-left: 1px solid var(--line-strong); font-size: 0.78rem; color: var(--muted); line-height: 1.3; text-align: left; font-weight: 300; }
.store.sm { --h: 48px; padding: 0 18px 0 6px; gap: 10px; }
.store.sm strong { font-size: 0.98rem; }
.store.sm small { font-size: 0.52rem; letter-spacing: 0.22em; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-hi); text-decoration: none; font-weight: 500; letter-spacing: 0.01em; }
.link-arrow span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.4s var(--ease-out), background 0.3s; }
.link-arrow:hover span { transform: translateY(3px); background: rgba(212, 175, 55, 0.1); }
.link-arrow.right:hover span { transform: translateX(3px); }

/* ---------- intro (after the app's launch screen) ---------- */
.intro { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; background: radial-gradient(100% 70% at 50% 45%, #0D1424, #05060A 70%); clip-path: inset(0 0 0 0); }
.has-intro .intro { display: grid; }
.intro .mark { display: grid; justify-items: center; gap: 30px; }
.intro .orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.intro .orb > img { width: 92px; height: 92px; opacity: 0; transform: scale(0.85); filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.45)); animation: intro-logo 1s var(--ease-out) 0.1s forwards; }
.intro .orb svg { position: absolute; left: -45px; top: -10px; width: 240px; height: 170px; overflow: visible; }
.intro .orb ellipse { fill: none; stroke: url(#introRing); stroke-width: 1.4; stroke-dasharray: 520; stroke-dashoffset: 520; animation: intro-ring 1.3s var(--ease-out) 0.25s forwards; }
.intro .orb .pl { offset-path: path('M 220 85 A 100 32 0 1 1 219.9 85'); animation: intro-planet 1.6s var(--ease-io) 0.35s both; }
.intro .lockup { opacity: 0; transform: translateY(14px); animation: intro-up 0.9s var(--ease-out) 0.7s forwards; }
.intro .lockup b { font-size: 17px; } .intro .lockup strong { font-size: 30px; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-planet { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes intro-up { to { opacity: 1; transform: none; } }
.intro-out .intro { animation: intro-lift 1.05s var(--ease-io) forwards; }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background 0.5s, border-color 0.5s, transform 0.7s var(--ease-out); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(6, 7, 11, 0.62); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 12, 18, 0.5); }
.nav a { padding: 8px 17px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.25s, background 0.35s; }
.nav a:hover { color: var(--text); }
.nav a.is-current { color: #1A1406; background: linear-gradient(180deg, #F3D883, #D2AE3C); }
@media (max-width: 960px) { .nav { display: none; } .site-header .store { margin-left: auto; } }
@media (max-width: 400px) { .site-header .store .txt small { display: none; } .site-header .store { padding-right: 14px; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); filter: blur(8px); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- phone ---------- */
.phone { --pw: 300px; position: relative; width: var(--pw); max-width: 100%; aspect-ratio: 1080 / 2400; border-radius: calc(var(--pw) * 0.155); padding: calc(var(--pw) * 0.028);
  background: linear-gradient(150deg, #4A4B53 0%, #1A1B20 18%, #0A0B0E 55%, #34353C 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 0 0 calc(var(--pw) * 0.005) #030304, 0 80px 140px -40px rgba(0, 0, 0, 0.95), 0 40px 90px -30px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: box-shadow 0.9s; }
.phone::before { content: ""; position: absolute; inset: calc(var(--pw) * 0.012); border-radius: calc(var(--pw) * 0.142); border: 1px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.phone::after { content: ""; position: absolute; right: calc(var(--pw) * -0.011); top: 21%; width: calc(var(--pw) * 0.011); height: 11%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #26272D, #45464D); }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; border-radius: calc(var(--pw) * 0.128); isolation: isolate; }
.screen > img, .ch-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-screen { position: absolute; inset: 0; }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 38%); }
.punch { position: absolute; z-index: 6; top: calc(var(--pw) * 0.05); left: 50%; width: calc(var(--pw) * 0.034); aspect-ratio: 1; margin-left: calc(var(--pw) * -0.017); border-radius: 50%; background: #030304; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* floating glass cards */
.chip-card { position: absolute; z-index: 8; display: grid; gap: 5px; padding: 16px 18px; border-radius: 20px;
  border: 1px solid transparent; background: linear-gradient(160deg, rgba(30, 32, 42, 0.8), rgba(12, 13, 18, 0.84)) padding-box, var(--hair) border-box;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.chip-card .k { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--c, var(--gold-hi)); display: flex; align-items: center; gap: 8px; }
.chip-card .v { font-size: 1.55rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.chip-card .s { font-size: 0.8rem; font-weight: 300; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--emerald)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--emerald)) 22%, transparent), 0 0 12px var(--c, var(--emerald)); flex: none; }
.tile { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #0B0C10;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 90%, #fff 10%), color-mix(in srgb, var(--c) 68%, #000 32%));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 18px -8px var(--c); }
.tile svg { width: 17px; height: 17px; }
.chk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #04130D; flex: none; }
.chk svg { width: 12px; height: 12px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin-top: 4px; }
.bars i { width: 6px; border-radius: 2px; background: linear-gradient(180deg, var(--emerald), #0f766e); height: var(--h); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(44px, 9vh, 110px)); text-align: center; }
.hero-copy { display: grid; justify-items: center; gap: 30px; position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { max-width: 33em; margin-inline: auto; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--dim); font-size: 0.86rem; padding: 0; margin: 0; list-style: none; letter-spacing: 0.02em; font-weight: 300; }
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--gold); }
.hero-stage { --pw-hero: clamp(260px, 25vw, 360px); position: relative; height: calc(var(--pw-hero) * 2.22 * 0.86); margin-top: clamp(40px, 7vh, 80px); perspective: 1600px; display: grid; justify-items: center; align-items: start; }
.hero-stage .phone { --pw: var(--pw-hero); z-index: 3; transform-style: preserve-3d; transform: translateY(var(--py, 0px)) rotateX(var(--rx, 24deg)) rotateY(var(--ry, 0deg)) scale(var(--ps, 0.9)); transform-origin: 50% 12%; will-change: transform; }
.ring { position: absolute; left: 50%; top: 30%; width: min(1500px, 160vw); aspect-ratio: 1; translate: -50% -50%; transform: rotateX(77deg) rotateZ(var(--rz, 0deg)); pointer-events: none; z-index: 1; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent;
  background: conic-gradient(from 200deg, transparent 0%, rgba(247, 231, 166, 0.95) 12%, rgba(212, 175, 55, 0.3) 30%, transparent 46%, transparent 55%, rgba(212, 175, 55, 0.55) 75%, transparent 92%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.ring::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px dashed rgba(238, 220, 154, 0.13); }
.ring i { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; translate: -50% -50%; animation: spin 40s linear infinite; }
.ring i::before { content: ""; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle, #FFF6D6 0 28%, rgba(243, 210, 122, 0.55) 45%, transparent 70%); }
.halo { position: absolute; left: 50%; top: 26%; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05) 45%, transparent 70%); }
.hero-stage .chip-card { transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }
.hero .c1 { right: calc(50% + var(--pw-hero) * 0.58); top: 12%; --c: var(--emerald); }
.hero .c2 { left: calc(50% + var(--pw-hero) * 0.6); top: 5%; --c: var(--sky); }
.hero .c3 { left: calc(50% + var(--pw-hero) * 0.64); top: 36%; --c: var(--amber); }
.hero .c4 { right: calc(50% + var(--pw-hero) * 0.62); top: 42%; --c: var(--rose); }
.hero-stage { overflow-x: visible; overflow-y: clip; }
.hero-stage .phone { -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 79%); mask-image: linear-gradient(180deg, #000 46%, transparent 79%); }

/* hero load sequence */
.js .hero h1 .line > span { transform: translateY(112%); }
.js .hero .eyebrow, .js .hero .lead, .js .hero-cta, .js .hero-facts { opacity: 0; transform: translateY(20px); }
.js .hero-stage .phone, .js .hero-stage .chip-card, .js .ring, .js .halo { opacity: 0; }
.is-loaded .hero h1 .line > span { transform: none; transition: transform 1.4s var(--ease-out); transition-delay: calc(0.1s + var(--i) * 0.13s); }
.is-loaded .hero .eyebrow, .is-loaded .hero .lead, .is-loaded .hero-cta, .is-loaded .hero-facts { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.is-loaded .hero .lead { transition-delay: 0.55s; }
.is-loaded .hero-cta { transition-delay: 0.7s; }
.is-loaded .hero-facts { transition-delay: 0.85s; }
.is-loaded .hero-stage .phone { opacity: 1; transition: opacity 1.4s var(--ease-out) 0.45s; }
.is-loaded .ring, .is-loaded .halo { opacity: 1; transition: opacity 2.4s var(--ease-out) 0.3s; }
.is-loaded .hero-stage .chip-card { opacity: 1; transition: opacity 1s var(--ease-out); }
.is-loaded .hero .c1 { transition-delay: 1.2s; } .is-loaded .hero .c2 { transition-delay: 1.35s; } .is-loaded .hero .c3 { transition-delay: 1.5s; } .is-loaded .hero .c4 { transition-delay: 1.65s; }
@media (max-width: 900px) {
  .hero .c1 { right: auto; left: 0; top: 10%; } .hero .c2 { left: auto; right: 0; top: 2%; } .hero .c3 { left: auto; right: 0; top: 40%; } .hero .c4 { right: auto; left: 0; top: 48%; }
}
@media (max-width: 560px) {
  .hero-stage { --pw-hero: 240px; }
  .chip-card { padding: 11px 13px; font-size: 0.72rem; border-radius: 16px; }
  .chip-card .v { font-size: 1.1rem; }
  .hero .c3, .hero .c4 { display: none; }
  .store .free { display: none; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(90px, 13vw, 180px); }
.section-head { display: grid; gap: 24px; max-width: 840px; margin-bottom: clamp(48px, 7vw, 90px); }
.section-head.center { text-align: center; justify-items: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.glass { position: relative; border-radius: var(--r-lg); border: 1px solid transparent;
  background: linear-gradient(170deg, rgba(24, 26, 34, 0.82), rgba(11, 12, 17, 0.88)) padding-box, var(--hair) border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 50px 100px -50px rgba(0, 0, 0, 0.9); min-width: 0; }

/* ---------- tour ---------- */
.tour { position: relative; }
.tour-track { position: relative; }
.device { display: none; }
.chapters { list-style: none; margin: 0; padding: 0 0 40px; display: grid; gap: clamp(90px, 14vw, 140px); }
.chapter { display: grid; gap: 34px; justify-items: center; text-align: center; }
.ch-copy { display: grid; gap: 18px; justify-items: center; max-width: 540px; }
.ch-meta { display: flex; align-items: center; gap: 14px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--c); }
.ch-meta .n { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; letter-spacing: 0; color: var(--gold-hi); font-weight: 400; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.tag-free { color: var(--emerald); background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.32); }
.tag-pro { color: #1A1406; background: linear-gradient(180deg, #F6E3A1, #CFA837); }
.ch-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.ch-points li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); font-weight: 300; }
.ch-points li::before { content: ""; width: 18px; height: 1px; margin-top: 13px; background: linear-gradient(90deg, var(--c), transparent); }
.ch-media { position: relative; display: grid; place-items: center; }
.ch-media .phone { --pw: min(280px, 70vw); --accent: var(--c); }
.ch-media .chip-card { right: -12%; bottom: 12%; }
@media (max-width: 520px) { .ch-media .chip-card { right: -2%; bottom: 6%; } }
.ch-media .ch-screen .alt { display: none; }
.callout-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; width: 180px; margin-top: 6px; }
.callout-bar i { display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--c); }
.split { display: flex; gap: 3px; width: 200px; height: 7px; margin-top: 8px; }
.split i { display: block; border-radius: 3px; height: 100%; }
.split-legend { display: flex; gap: 12px; font-size: 0.72rem; margin-top: 6px; }
.split-legend b { font-weight: 600; color: var(--text); }
.avatars { display: flex; margin-top: 6px; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #0B0C10; border: 2px solid #15161D; margin-left: -7px; }
.avatars span:first-child { margin-left: 0; }
.vault-screen { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 24px; background: radial-gradient(120% 70% at 50% 35%, #142334 0%, #07090E 62%); }
.vault-rings { position: relative; width: 62%; aspect-ratio: 1; }
.vault-rings svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vault-rings .r1 { animation: spin 26s linear infinite; }
.vault-rings .r2 { animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.vault-lock { position: absolute; inset: 30%; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(160deg, #F6E3A1, #B8901F); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -10px rgba(212, 175, 55, 0.6); color: #1A1406; }
.vault-lock svg { width: 46%; height: 46%; }
.vault-screen p { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.05; color: var(--gold-hi); font-weight: 400; }
.vault-screen small { font-size: 0.64rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }

@media (min-width: 981px) {
  .tour-track { height: calc(var(--n) * 90vh + 100vh); }
  .tour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: calc(var(--header-h) * 0.6); display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; transition: --accent 1s; }
  .tour-stage::before { content: ""; position: absolute; inset: 8% -12%; z-index: -1; pointer-events: none; background: radial-gradient(38% 50% at 72% 52%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); }
  .rail { position: relative; display: grid; align-self: center; padding-left: 20px; }
  .rail::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
  .rail .fill { position: absolute; left: 0; top: 6px; width: 1px; height: calc((100% - 12px) * var(--p, 0)); background: linear-gradient(180deg, var(--gold), var(--accent)); box-shadow: 0 0 12px var(--accent); }
  .rail button { all: unset; cursor: pointer; display: flex; align-items: center; padding: 8px 0; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--dim); transition: color 0.4s; position: relative; }
  .rail button::before { content: ""; position: absolute; left: -23px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-0); border: 1px solid var(--line-strong); transition: all 0.4s; }
  .rail button.is-active { color: var(--text); }
  .rail button.is-active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 14px var(--accent); }
  .rail button.is-done::before { background: var(--gold); border-color: var(--gold); }
  .rail button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
  .chapters { position: relative; display: block; height: 100%; padding: 0; grid-column: 2; }
  .chapter { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; text-align: left; pointer-events: none; }
  .chapter .ch-media { display: none; }
  .ch-copy { justify-items: start; max-width: 500px; }
  .ch-copy > * { opacity: 0; transform: translateY(46px); filter: blur(10px); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out), filter 0.8s; }
  .chapter.is-past .ch-copy > * { transform: translateY(-46px); }
  .chapter.is-active { pointer-events: auto; }
  .chapter.is-active .ch-copy > * { opacity: 1; transform: none; filter: none; }
  .chapter.is-active .ch-copy > *:nth-child(2) { transition-delay: 0.07s; }
  .chapter.is-active .ch-copy > *:nth-child(3) { transition-delay: 0.14s; }
  .chapter.is-active .ch-copy > *:nth-child(4) { transition-delay: 0.21s; }
  .device { display: grid; place-items: center; grid-column: 3; perspective: 1600px; position: relative; }
  .device .phone { --pw: min(340px, calc((100vh - var(--header-h) - 40px) / 2.3), 26vw); transform: rotateY(var(--yaw, -8deg)) rotateX(3deg); transform-style: preserve-3d; will-change: transform; }
  .device .screen > .ch-screen { clip-path: inset(100% 0 0 0); transition: clip-path 1.05s var(--ease-io); }
  .device .screen > .ch-screen.is-past, .device .screen > .ch-screen.is-active { clip-path: inset(0 0 0 0); }
  .device .screen > .ch-screen.is-past > * { transform: scale(0.94) translateY(-3%); filter: brightness(0.45); }
  .device .screen > .ch-screen > * { transition: transform 1.05s var(--ease-io), filter 1.05s, opacity 0.7s; }
  .device .ch-screen .alt { opacity: 0; }
  .device .ch-screen[data-sub="1"] .alt { opacity: 1; }
  .device .callouts { position: absolute; inset: 0; pointer-events: none; }
  .device .chip-card { right: auto; left: calc(50% + min(340px, calc((100vh - var(--header-h) - 40px) / 2.3), 26vw) * 0.4); bottom: 16%; opacity: 0; transform: translateY(26px) scale(0.94); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
  .device .chip-card.is-active { opacity: 1; transform: none; transition-delay: 0.4s; }
}

/* ---------- money map demo ---------- */
.mm { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 980px) { .mm { grid-template-columns: 1fr; } }
.mm-copy { display: grid; gap: 26px; min-width: 0; }
.panel { padding: clamp(20px, 3vw, 34px); }
.mm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.mm-head .k, .mm-verdict .k { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mm-big { font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--sc); background: color-mix(in srgb, var(--sc) 10%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 38%, transparent); transition: all 0.4s; }
.status .dot { --c: var(--sc); }
.mm-chart { margin-top: 20px; }
.mm-chart svg { width: 100%; height: auto; overflow: visible; }
.mm-chart .grid line { stroke: rgba(255, 255, 255, 0.05); }
.mm-chart .axis text { fill: var(--dim); font-size: 11px; font-family: var(--f-text); }
.mm-chart .buffer { stroke: var(--amber); stroke-dasharray: 3 6; stroke-width: 1.2; opacity: 0.8; }
.mm-chart .zero { stroke: rgba(248, 113, 113, 0.45); }
.mm-chart .base { fill: none; stroke: rgba(238, 220, 154, 0.3); stroke-width: 1.5; stroke-dasharray: 3 4; }
.mm-chart .line { fill: none; stroke-width: 2.6; stroke-linejoin: round; }
.mm-chart .bill circle { fill: var(--ink-1); stroke: var(--violet); stroke-width: 1.6; }
.mm-chart .bill text { fill: var(--muted); font-size: 10.5px; font-family: var(--f-text); }
.mm-chart .low text { fill: var(--text); font-size: 11.5px; font-family: var(--f-text); font-weight: 600; }
.mm-chart .pay text { fill: var(--emerald); font-size: 11px; font-weight: 600; font-family: var(--f-text); }
.mm-chart .pay path { stroke: var(--emerald); fill: none; stroke-width: 1.6; }
.mm-controls { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.mm-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mm-row label { color: var(--muted); font-weight: 300; }
.mm-row output { font-size: 1.5rem; font-weight: 600; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 0.85rem; color: var(--muted); transition: all 0.3s; }
.presets button:hover, .presets button[aria-pressed="true"] { color: #1A1406; border-color: transparent; background: linear-gradient(180deg, #F3D883, #D2AE3C); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill, 20%), rgba(255, 255, 255, 0.1) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6D6, #D4AF37 60%, #9A7418); border: 0; box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.16), 0 6px 14px rgba(0, 0, 0, 0.5); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6D6, #D4AF37 60%, #9A7418); border: 0; box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.16); }
.mm-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mm-verdict div { padding: 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.05); min-width: 0; }
.mm-verdict .v { font-weight: 600; font-size: 1.02rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.mm-note { font-size: 0.8rem; color: var(--dim); font-weight: 300; }
.mm-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.perk { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 15px 0 6px; border-radius: 999px; font-size: 0.85rem; border: 1px solid color-mix(in srgb, var(--c) 34%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); }
.perk .tile { width: 25px; height: 25px; border-radius: 50%; }
.perk .tile svg { width: 13px; height: 13px; }

/* ---------- bank alerts ---------- */
.alerts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 980px) { .alerts { grid-template-columns: 1fr; } }
.steps { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid rgba(56, 189, 248, 0.22); background: rgba(56, 120, 248, 0.06); width: fit-content; max-width: 100%; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 0.86rem; color: var(--muted); transition: all 0.5s var(--ease-out); }
.steps span.is-on { background: linear-gradient(180deg, #F6E3A1, #CFA837); color: #1A1406; font-weight: 500; }
.steps svg { width: 15px; height: 15px; }
.inbox { display: grid; gap: 10px; padding: clamp(14px, 2.5vw, 24px); }
.sms { position: relative; display: grid; gap: 6px; padding: 15px 17px; border-radius: 20px 20px 20px 6px; background: #161821; border: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.88rem; color: #D9D5CA; line-height: 1.5; font-weight: 300; transition: opacity 0.6s var(--ease-out), border-color 0.4s, filter 0.5s; }
.sms .from { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.sms mark { background: transparent; color: inherit; border-radius: 4px; padding: 0 3px; transition: background 0.4s, color 0.4s; }
.sms.is-scanned mark { background: rgba(56, 189, 248, 0.18); color: #BAE6FD; }
.sms.is-match { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.06); }
.sms .verdict { position: absolute; right: 12px; top: 12px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; opacity: 0; transform: scale(0.8); transition: all 0.4s var(--ease-out); }
.sms.is-ignored { opacity: 0.42; filter: grayscale(1); }
.sms.is-ignored .verdict { opacity: 1; transform: none; color: var(--muted); border: 1px solid var(--line-strong); background: var(--ink-1); }
.draft { margin-top: 6px; border-radius: 22px; padding: 20px; background: linear-gradient(165deg, #1B1F2E, #10121A); border: 1px solid rgba(56, 189, 248, 0.24); box-shadow: 0 30px 60px -30px rgba(56, 120, 248, 0.45); display: grid; gap: 14px; transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); }
.draft-head { display: flex; align-items: center; gap: 12px; }
.draft-head b { font-weight: 600; }
.draft-head small { display: block; color: var(--dim); font-size: 0.78rem; }
.draft-head .amt { margin-left: auto; font-weight: 600; font-size: 1.2rem; color: var(--red); font-variant-numeric: tabular-nums; }
.draft-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.draft-fields div { padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 0.82rem; min-width: 0; }
.draft-fields span { display: block; font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.draft-actions { display: flex; gap: 8px; }
.draft-actions .btn { height: 42px; flex: 1; font-size: 0.88rem; }
.draft .added { display: none; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 999px; background: rgba(52, 211, 153, 0.1); color: var(--emerald); font-weight: 500; font-size: 0.9rem; }
.draft.is-added .draft-actions { display: none; }
.draft.is-added .added { display: flex; }
.js .alerts-visual.is-live .draft:not(.is-shown) { opacity: 0; transform: translateY(20px); }

/* ---------- privacy + toolkit ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .privacy-grid { grid-template-columns: 1fr; } }
.fact { display: grid; gap: 14px; align-content: start; padding: 30px 26px; overflow: hidden; }
.fact h3 { font-size: 1.9rem; }
.fact p { color: var(--muted); font-size: 0.95rem; font-weight: 300; }
.fact .tile { width: 46px; height: 46px; border-radius: 15px; }
.fact .tile svg { width: 22px; height: 22px; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(238, 220, 154, 0.08), transparent 45%); }
.spot:hover::before { opacity: 1; }
.privacy-foot { display: flex; justify-content: center; margin-top: 44px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento .fact { grid-column: span 2; }
.bento .fact.wide { grid-column: span 3; }
.bento .fact h3 { font-size: 1.8rem; }
.bento .fact header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .fact, .bento .fact.wide { grid-column: span 1; } }
@media (max-width: 580px) { .bento { grid-template-columns: 1fr; } }
.radar { height: 96px; margin-top: 4px; }
.radar svg { height: 100%; width: auto; }
.radar .sweep { transform-origin: 46px 46px; animation: spin 4s linear infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 900px; margin-inline: auto; display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--f-display); font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.95rem); font-weight: 400; line-height: 1.2; transition: color 0.3s; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.5s var(--ease-out), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 12px; top: 18px; width: 13px; height: 1px; background: var(--gold-hi); transition: transform 0.4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: rgba(212, 175, 55, 0.1); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .answer { padding: 0 4px 28px; color: var(--muted); display: grid; gap: 10px; max-width: 68ch; font-weight: 300; }
.faq .answer a { color: var(--gold-hi); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- finale ---------- */
.finale { position: relative; overflow: hidden; padding-block: clamp(110px, 15vw, 200px); }
.finale-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: clamp(36px, 6vw, 90px); align-items: center; position: relative; z-index: 1; }
.finale-copy { display: grid; gap: 28px; justify-items: start; }
@media (max-width: 900px) { .finale-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; } .finale-copy { justify-items: center; } }
.finale-orbit { position: absolute; left: 50%; top: 50%; width: min(1300px, 170vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; opacity: 0.85; }
.finale-orbit circle { fill: none; }
.finale-orbit .o1 { stroke: rgba(212, 175, 55, 0.2); }
.finale-orbit .o2 { stroke: rgba(212, 175, 55, 0.1); stroke-dasharray: 2 9; }
.finale-orbit .o3 { stroke: rgba(56, 189, 248, 0.1); }
.finale-orbit g { transform-origin: 500px 500px; }
.finale-orbit .spin-a { animation: spin 90s linear infinite; }
.finale-orbit .spin-b { animation: spin 140s linear infinite reverse; }
.qr-card { --q: clamp(210px, 19vw, 250px); position: relative; display: grid; justify-items: center; gap: 20px; padding: 28px 28px 24px; border-radius: 32px; text-align: center;
  background: linear-gradient(170deg, rgba(28, 30, 40, 0.92), rgba(12, 13, 18, 0.95)) padding-box, conic-gradient(from var(--ang), rgba(212, 175, 55, 0.2), #F7E7A6, rgba(212, 175, 55, 0.2) 35%, rgba(212, 175, 55, 0.2) 65%, #D4AF37, rgba(212, 175, 55, 0.2)) border-box;
  border: 1px solid transparent; animation: spin-ang 8s linear infinite; box-shadow: 0 50px 100px -40px rgba(212, 175, 55, 0.35); }
.qr-frame { position: relative; width: var(--q); aspect-ratio: 1; padding: 16px; border-radius: 22px; background: var(--ivory); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5), inset 0 2px 10px rgba(0, 0, 0, 0.12); }
.qr-frame .code { width: 100%; height: 100%; }
.qr-frame .badge { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; translate: -50% -50%; border-radius: 28%; background: var(--ivory); padding: 3%; }
.qr-frame .badge img { width: 100%; height: 100%; }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--gold); }
.qr-frame::before { left: -9px; top: -9px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.qr-frame::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.qr-scan { position: absolute; left: 16px; right: 16px; top: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 12px var(--gold); animation: scan 3.4s var(--ease-io) infinite; opacity: 0.75; }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(var(--q) - 34px)); } }
.qr-card b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.qr-card small { color: var(--muted); font-size: 0.84rem; font-weight: 300; display: block; margin-top: 6px; }
@media (hover: none) and (pointer: coarse) { .qr-card { display: none; } }

/* ---------- document pages ---------- */
.doc-hero { padding-top: calc(var(--header-h) + clamp(50px, 10vh, 120px)); padding-bottom: 44px; }
.doc-hero .wrap { display: grid; gap: 22px; }
.doc-hero h1 { font-size: clamp(3rem, 2rem + 4.5vw, 6.4rem); }
.doc-hero .meta { display: flex; gap: 10px 26px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; font-weight: 300; }
.doc-hero .meta b { color: var(--text); font-weight: 500; }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; padding-bottom: 110px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow: auto; padding-right: 6px; }
.toc h2 { font-family: var(--f-text); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; margin-left: -13px; border-left: 2px solid transparent; color: var(--dim); text-decoration: none; font-size: 0.86rem; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.is-current { color: var(--gold-hi); border-left-color: var(--gold); }
.prose { max-width: 70ch; min-width: 0; font-size: 1.03rem; color: #D7D2C5; font-weight: 300; line-height: 1.75; }
.prose h2 { font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; color: var(--text); margin: 2.2em 0 0.55em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-of-type { margin-top: 1em; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--gold-hi); overflow-wrap: anywhere; }
.prose strong { color: var(--text); font-weight: 500; }
.summary-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
@media (max-width: 640px) { .summary-card { grid-template-columns: 1fr; } }
.summary-card div { padding: 18px 20px; border-radius: var(--r-md); border: 1px solid transparent; background: linear-gradient(170deg, rgba(24, 26, 34, 0.82), rgba(11, 12, 17, 0.88)) padding-box, var(--hair) border-box; font-size: 0.92rem; color: var(--muted); }
.summary-card b { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; }
.read-progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale)); }
.aside-note { margin-top: 44px; padding: 20px 22px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 0.9rem; }
.join-card { max-width: 580px; margin: 0 auto 120px; display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); }
.join-card label { font-weight: 500; }
.join-card input { width: 100%; height: 62px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--ink-1); font-size: 1.3rem; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.join-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14); }
.join-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.join-card .row .btn { flex: 1 1 200px; height: 54px; }
.join-card .small { font-size: 0.86rem; color: var(--dim); font-weight: 300; }
.join-card [role="status"] { color: var(--gold-hi); min-height: 1.6em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  body::after { display: none; }
}
