/* Cardly site. Colours mirror the app (lib/core/theme/tokens.dart). */
:root {
  --bg: #000;
  --surface: #111113;
  --surface2: #1c1c1e;
  --ink: #f5f5f7;
  --ink2: #a1a1a6;
  --ink3: #5f5f64;
  --line: rgba(255, 255, 255, .08);
  --gold: #cdb48a;
  --gold-grad: linear-gradient(100deg, #f6e7c8 0%, #d9bf8f 30%, #a8875a 58%, #ecd6aa 82%, #c9ab78 100%);
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .03;
  background: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(205, 180, 138, .35); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Second tone for headlines: same face, softer colour. */
.serif { font: inherit; font-size: 1em !important; letter-spacing: inherit; }
h1 .gold, h2 .gold { background: none; color: var(--ink3); }

/* ---------- Top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 68px;
  display: flex; align-items: center; gap: 34px; padding: 0 28px;
  transition: background .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: rgba(0, 0, 0, .62); backdrop-filter: saturate(170%) blur(22px); -webkit-backdrop-filter: saturate(170%) blur(22px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 600 19px/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.top nav { display: flex; gap: 26px; font-size: 14.5px; }
.top nav a { color: var(--ink2); text-decoration: none; transition: color .3s; }
.top nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }

.btn, .store {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; cursor: pointer; border: 0;
  border-radius: 999px; font-weight: 600; color: #0b0905;
  background: linear-gradient(180deg, #f8eed9, #dcc497);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 30px rgba(205, 180, 138, .18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before, .store::before { /* shimmer */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover, .store:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 40px rgba(205, 180, 138, .32); }
.btn:hover::before, .store:hover::before { transform: translateX(120%); }
.btn { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Section pill ---------- */
.pill {
  position: fixed; top: 82px; left: 50%; z-index: 50;
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(17, 17, 19, .72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, .5);
  opacity: 0; transform: translate(-50%, -14px) scale(.98); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.pill.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.pill a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink2); text-decoration: none; white-space: nowrap; transition: color .4s; }
.pill a.active { color: #0b0905; }
.pill i { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: linear-gradient(180deg, #f8eed9, #d4ba8a); transition: left .55s var(--ease), width .55s var(--ease), opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; text-align: center; padding: 168px 0 0; }
.aurora { position: absolute; inset: -200px 0 auto; height: 1100px; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .32; will-change: transform; }
.aurora span:nth-child(1) { width: 720px; height: 520px; left: calc(50% - 560px); top: 80px; background: #5c4628; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 620px; height: 480px; left: calc(50% - 40px); top: 40px; background: #2a2f45; animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora span:nth-child(3) { width: 520px; height: 380px; left: calc(50% - 260px); top: 360px; background: #3d2430; opacity: .4; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-40px, -20px, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.15); } }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }
.eyebrow b { font-weight: 500; color: var(--ink3); letter-spacing: .2em; }
.hero .eyebrow { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(205, 180, 138, .28); background: rgba(205, 180, 138, .06); letter-spacing: .28em; }
.hero h1 { font: 650 clamp(46px, 8vw, 108px)/1 var(--display); letter-spacing: -.05em; margin: 26px auto 26px; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.02em; }
.line { display: block; overflow: hidden; padding: .04em 0 .1em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.loaded .line > span { transform: none; }
.loaded .line:nth-child(2) > span { transition-delay: .12s; }
.lede { color: var(--ink2); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; max-width: 600px; margin: 0 auto; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.store { height: 58px; padding: 0 24px 0 18px; border-radius: 16px; gap: 12px; }
.store svg { width: 25px; height: 25px; flex: none; }
.store span { display: grid; text-align: left; line-height: 1.12; }
.store small { font-size: 10.5px; font-weight: 500; opacity: .7; letter-spacing: .02em; }
.store b { font: 650 18px/1.1 var(--display); letter-spacing: -.01em; }
.store.ghost { background: rgba(255, 255, 255, .04); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.store.ghost::before { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); }
.note { color: var(--ink3); font-size: 13.5px; margin-top: 16px; letter-spacing: .01em; }
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.loaded .fade { opacity: 1; transform: none; }
.loaded .fade.d1 { transition-delay: .35s; } .loaded .fade.d2 { transition-delay: .5s; } .loaded .fade.d3 { transition-delay: .65s; }

/* ---------- Card deck (pinned, fans out on scroll) ---------- */
.stage { position: relative; height: 210vh; margin-top: -30vh; }
.stage .sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; perspective: 1600px; overflow: hidden; }
.stage .halo { position: absolute; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(205, 180, 138, .22), rgba(205, 180, 138, .04) 60%, transparent); will-change: transform, opacity; }
.deck { position: relative; width: min(460px, 76vw); aspect-ratio: 1.586; transform-style: preserve-3d; }
.stage-copy { position: absolute; bottom: 9vh; left: 0; right: 0; text-align: center; will-change: opacity, transform; }
.stage-copy p { font: 500 clamp(20px, 2.4vw, 28px)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink2); margin: 0; }
.stage-copy p b { color: var(--ink); font-weight: 600; }

.card {
  position: absolute; inset: 0; border-radius: 4.6% / 7.3%; overflow: hidden; padding: 6.5% 7%;
  display: grid; grid-template-rows: auto 1fr auto; color: rgba(255, 255, 255, .94);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .22);
  will-change: transform; backface-visibility: hidden; transform-style: preserve-3d;
}
.card::before { /* brushed-metal grain */
  content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px);
}
.card::after { /* specular light, follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at var(--lx, 30%) var(--ly, 20%), rgba(255, 255, 255, .32), transparent 60%),
              linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 48%, transparent 58%);
  mix-blend-mode: soft-light;
}
.card .row { display: flex; justify-content: space-between; align-items: center; font: 600 clamp(11px, 1.5vw, 15px)/1 var(--display); letter-spacing: .06em; }
.card .net { font-style: italic; font-weight: 800; font-size: clamp(14px, 2vw, 21px); letter-spacing: 0; }
.card .mid { display: flex; align-items: center; gap: 4%; }
.chip { width: 15%; aspect-ratio: 1.33; border-radius: 16%; background: linear-gradient(135deg, #f7e4a8, #b8913d 48%, #f0d48e 70%, #a98535); box-shadow: inset 0 0 0 1px rgba(60, 40, 0, .35), inset 0 0 0 4px rgba(255, 240, 200, .15); }
.nfc { width: 6%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .45; }
.wordmark { margin-left: auto; font-size: clamp(8px, 1vw, 11px); letter-spacing: .45em; opacity: .5; }
.num { font: 500 clamp(14px, 2.2vw, 23px)/1.2 var(--display); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.holder { margin-top: 4px; font-size: clamp(8px, 1vw, 11.5px); letter-spacing: .2em; opacity: .65; }
.f-titanium { background: linear-gradient(130deg, #f1efeb 0%, #c4c0b7 38%, #e6e3dc 62%, #aaa69c 100%); color: #1d1d1f; }
.f-midnight { background: linear-gradient(130deg, #2b3d5c 0%, #0c1525 45%, #1e2d48 75%, #0a111d 100%); }
.f-bordeaux { background: linear-gradient(130deg, #6a2133 0%, #2b0a13 45%, #561a29 75%, #22060e 100%); }
.f-obsidian { background: linear-gradient(130deg, #2d2d31 0%, #0a0a0b 45%, #222226 75%, #060607 100%); }
.f-champagne { background: linear-gradient(130deg, #f5e6c6 0%, #c9a970 40%, #ead5ab 65%, #b08f5c 100%); color: #2b2215; }
.f-forest { background: linear-gradient(130deg, #24503f 0%, #0a1d15 45%, #1c4233 75%, #07150f 100%); }
.f-graphite { background: linear-gradient(130deg, #66666b 0%, #2d2d30 45%, #55555a 75%, #222225 100%); }

/* Networks marquee */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; font: 600 22px/1 var(--display); letter-spacing: -.01em; color: var(--ink3); }
.marquee span::after { content: "✦"; margin-left: 56px; color: var(--gold); font-size: 13px; vertical-align: middle; opacity: .7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Feature sections ---------- */
.feature { padding: 110px 0; }
.feature .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; }
.feature.flip .grid { grid-template-columns: 1.05fr 1fr; }
.feature.flip .copy { order: 2; }
.copy h2 { font: 700 clamp(38px, 4.8vw, 64px)/1.02 var(--display); letter-spacing: -.045em; margin: 18px 0 22px; }
.copy h2 .serif { font-size: 1.1em; }
.copy p { color: var(--ink2); font-size: 18.5px; margin: 0 0 26px; max-width: 34ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 1px; margin-top: 11px; background: var(--gold); opacity: .8; }
.visual { position: relative; display: grid; place-items: center; min-height: 620px; }
.par { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; min-height: inherit; will-change: transform; }
.frame {
  position: absolute; inset: 4% 2%; border-radius: 40px; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 35%, var(--tint, #1a1610), #050505 75%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 50% 0%, rgba(255, 255, 255, .08), transparent); }
.phone {
  position: relative; width: 268px; aspect-ratio: 1320 / 2868; border-radius: 46px; padding: 8px;
  background: linear-gradient(145deg, #3a3a3d, #0d0d0e 40%, #262628);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; }
.phone::after { content: ""; position: absolute; inset: 8px; border-radius: 39px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 30%); }

/* Scan demo */
.scan { position: relative; width: min(420px, 80vw); }
.scan .card { position: relative; aspect-ratio: 1.586; }
.scan .beam { position: absolute; left: 0; right: 0; height: 34%; top: -34%; background: linear-gradient(180deg, transparent, rgba(255, 246, 224, .18) 70%, rgba(255, 250, 238, .75) 97%, #fff); animation: beam 3.2s var(--ease) infinite; }
.cardwrap { position: relative; }
.corners { position: absolute; inset: -16px; pointer-events: none; }
.corners::before, .corners::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold); }
.corners::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.corners::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.chips span { padding: 9px 15px; border-radius: 999px; font-size: 13.5px; color: var(--ink3); box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .02); transition: color .6s var(--ease), background .6s var(--ease), box-shadow .6s var(--ease); }
.chips span.ok { color: var(--ink); background: rgba(205, 180, 138, .1); box-shadow: inset 0 0 0 1px rgba(205, 180, 138, .45); }
.chips span::before { content: "○ "; opacity: .6; }
.chips span.ok::before { content: "✓ "; color: var(--gold); opacity: 1; }
@keyframes beam { 0% { top: -30%; } 70%, 100% { top: 100%; } }

/* Notification demo */
.notes { position: absolute; left: 50%; bottom: 11%; width: min(380px, 84vw); transform: translateX(-50%); }
.notif { display: flex; gap: 13px; padding: 15px 17px; border-radius: 24px; background: rgba(40, 40, 44, .72); backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .55); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s; }
.notif.out { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(4px); }
.notif i { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #0b0b0c url("/icon.png") center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.notif div { flex: 1; min-width: 0; }
.notif b { font-size: 14px; font-weight: 600; } .notif p { margin: 2px 0 0; font-size: 14px; line-height: 1.38; color: #e6e6ea; }
.notif small { float: right; color: var(--ink2); font-size: 12.5px; }

/* Finish picker */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatches button { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--gold); }
.swatches button:hover { transform: translateY(-3px) scale(1.06); }
.swatches + .hint { margin-top: 14px; font-size: 13px; color: var(--ink3); }
.look { width: min(440px, 80vw); perspective: 1200px; }
.look .card { position: relative; aspect-ratio: 1.586; transition: background 1s var(--ease); }
.look .card.swap { animation: flipin .9s var(--ease); }
@keyframes flipin { from { transform: rotateY(-18deg) rotateX(6deg) scale(.96); } to { transform: none; } }

/* Big statement */
.statement { padding: 170px 0 150px; text-align: center; position: relative; }
.statement h2 { font: 700 clamp(40px, 6.4vw, 88px)/1.02 var(--display); letter-spacing: -.05em; margin: 28px auto 0; max-width: 15ch; }
.statement h2 span { color: #26262a; transition: color .5s var(--ease); }
.statement h2 span.lit { color: var(--ink); }
.statement h2 span.g.lit { color: var(--ink2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 90px; }
.stat { position: relative; border-radius: 26px; padding: 30px 26px; text-align: left; background: linear-gradient(180deg, #121214, #0a0a0b); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05); }
.stat b { display: block; font: 600 32px/1 var(--display); letter-spacing: -.03em; margin-bottom: 12px; }
.stat span { color: var(--ink2); font-size: 14.5px; line-height: 1.5; }

/* FAQ */
.faq { padding: 140px 0; }
.faq .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq h2 { font: 700 clamp(36px, 4.4vw, 56px)/1.04 var(--display); letter-spacing: -.045em; margin: 18px 0 0; }
.faq .item { border-top: 1px solid var(--line); }
.faq .item:last-child { border-bottom: 1px solid var(--line); }
.faq button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font: 600 19px/1.35 var(--display); letter-spacing: -.01em; }
.faq button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.faq button i { flex: none; position: relative; width: 22px; height: 22px; margin-top: 2px; }
.faq button i::before, .faq button i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 1.5px; background: var(--ink2); transition: transform .6s var(--ease); }
.faq button i::after { transform: rotate(90deg); }
.faq .item.open button i::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq .item.open .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { color: var(--ink2); margin: 0 0 26px; max-width: 60ch; opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.faq .item.open .ans p { opacity: 1; transform: none; transition-delay: .1s; }

/* Final CTA */
.cta { padding: 60px 0 150px; }
.cta .panel { position: relative; overflow: hidden; border-radius: 44px; padding: 110px 28px; text-align: center; background: radial-gradient(70% 90% at 50% 100%, rgba(205, 180, 138, .22), transparent 70%), linear-gradient(180deg, #0f0e0c, #050505); box-shadow: inset 0 0 0 1px rgba(205, 180, 138, .18); }
.cta .panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30% 40% at 50% 0%, rgba(255, 255, 255, .07), transparent); }
.cta h2 { position: relative; font: 700 clamp(42px, 7vw, 96px)/1 var(--display); letter-spacing: -.05em; margin: 26px 0 16px; }
.cta img.icon { position: relative; width: 104px; height: 104px; border-radius: 24px; margin: 0 auto; box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); animation: float 6s ease-in-out infinite; }
.cta .lede, .cta .stores { position: relative; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Floating QR */
.qr { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 22px; text-decoration: none; background: rgba(17, 17, 19, .8); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .6); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.qr.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
.qr img { width: 84px; height: 84px; border-radius: 12px; background: #fff; padding: 6px; }
.qr span { font-size: 13px; line-height: 1.35; color: var(--ink2); }
.qr span b { display: block; color: var(--ink); font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--ink3); font-size: 14px; }
footer .wrap { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink2); text-decoration: none; transition: color .3s; }
footer a:hover { color: var(--ink); }
footer .brand { font-size: 16px; color: var(--ink); margin-right: auto; }

/* Documents */
.doc { max-width: 780px; margin: 0 auto; padding: 160px 28px 60px; }
.doc h1 { font: 700 clamp(40px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: -.045em; margin: 18px 0 10px; }
.doc h2 { font: 650 23px/1.3 var(--display); margin: 46px 0 12px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink2); }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--gold); }
.doc .box { border-radius: 24px; padding: 24px 26px; margin: 30px 0; background: linear-gradient(180deg, #121214, #0a0a0b); box-shadow: inset 0 0 0 1px var(--line); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(4px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (max-width: 900px) {
  .top { gap: 16px; padding: 0 18px; }
  .top nav { display: none; }
  .wrap { padding: 0 20px; }
  .pill { top: 76px; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
  .hero { padding-top: 132px; }
  .feature { padding: 90px 0; }
  .feature .grid, .feature.flip .grid, .faq .grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .copy { order: 0; }
  .visual { min-height: 520px; }
  .phone { width: 228px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .qr { display: none; }
  .stage { height: 170vh; margin-top: -18vh; }
  .cta .panel { padding: 80px 20px; border-radius: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .fade, .line > span { opacity: 1; transform: none; filter: none; transition: none; }
  .aurora span, .marquee div, .scan .beam, .cta img.icon { animation: none; }
}
