/* Local design study. Production assets and routes stay separate. */
:root { color-scheme: dark; }
body { --bg:#0a0d0e; --panel:#111617; --panel-2:#1a2021; --text:#f2f4f1; --muted:#a0aca9; --gold:#f3c846; --gold-2:#f3c846; --green:#57d6b1; --red:#ef7b86; --line:#27302f; --line-strong:#44504c; background:var(--bg); }
body[data-theme="light"] { color-scheme:light; --bg:#f7f9f8; --panel:#fff; --panel-2:#e9eeec; --muted:#53645d; --line:#d6dfdb; --gold:#8c6800; --gold-2:#8c6800; }
* { letter-spacing:0; }
button,a,input,select,summary { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
svg.lucide { width:20px; height:20px; flex-shrink:0; stroke-width:1.7; }
button { font-family:inherit; }
.skip-link { position:fixed; z-index:1000; left:16px; top:-70px; padding:12px 18px; background:var(--gold); color:#101513; border-radius:4px; }
.skip-link:focus { top:12px; }
.topbar { min-height:78px; padding:12px max(24px,calc((100% - 1344px)/2)); gap:22px; background:var(--bg); backdrop-filter:none; }
.brand { min-width:180px; }
.brand-avatar { width:44px; height:44px; }
.brand strong { font-size:21px; }
.brand small { font-size:10px; }
.nav { margin-left:auto; }
.nav button,.nav a { padding:8px 10px; font-size:13px; }
.nav button.active { box-shadow:none; background:none; color:var(--gold); border-color:transparent; }
.nav button.active::after { content:""; display:block; width:14px; height:2px; margin:4px auto -6px; background:var(--gold); }
.member-nav-link { border:0; background:none; }
.app-install-nav { background:var(--gold); color:#141915; border-color:var(--gold); margin-left:10px; }
.theme-toggle { min-width:44px; }
.preview-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px max(24px,calc((100% - 1344px)/2)); color:var(--muted); border-bottom:1px solid var(--line); font-size:11px; line-height:1.5; }
main { width:100%; max-width:none; padding:0; margin:0; }
main > .page-view:not(.dashboard-grid) { max-width:1328px; margin:0 auto; padding:44px 24px 72px; min-height:65vh; }
.home-edition.dashboard-grid { grid-template-columns:minmax(0,1fr); gap:0; }
.home-edition .hero-panel.market-hero { position:relative; display:flex; align-items:center; min-height:0; height:640px; height:min(690px,calc(100svh - 200px)); padding:44px max(24px,calc((100% - 1248px)/2)); background:#0a0d0e; border:0; border-radius:0; overflow:hidden; isolation:isolate; color:#f2f4f1; }
.home-edition .hero-panel.market-hero::before,.home-edition .hero-panel.market-hero::after { display:none; }
.market-scene { position:absolute; inset:0; z-index:-1; pointer-events:auto; }
.market-scene canvas { display:block; width:100%; height:100%; }
.home-edition .market-hero .hero-content { width:510px; max-width:49%; position:relative; z-index:2; margin-top:-26px; pointer-events:none; }
.hero-content a,.hero-content button { pointer-events:auto; }
.home-edition .market-hero .hero-kicker { display:flex; align-items:center; gap:12px; color:#c4cec9; margin:0 0 24px; font:10px/1.5 Consolas,monospace; }
.home-edition .hero-kicker .kicker-rule { width:27px; height:1px; border-radius:0; box-shadow:none; background:#f3c846; }
.home-edition .market-hero h1 { font-size:64px; font-weight:850; line-height:1.1; margin:0 0 18px; max-width:none; }
.hero-promise { margin:0; font-size:38px; font-weight:700; line-height:1.4; }
.hero-promise em { color:#f3c846; font-style:normal; }
.home-edition .market-hero .hero-copy { font-size:16px; line-height:1.8; margin:19px 0 0; color:#acb9b3; }
.home-edition .market-hero .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:28px; }
.home-edition .primary-btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:52px; padding:14px 19px; background:#f3c846; border:1px solid #f3c846; border-radius:5px; color:#121713; font-size:15px; font-weight:800; text-decoration:none; transform:none; box-shadow:none; transition:background .2s,border-color .2s; }
.home-edition .primary-btn:hover { background:#ffdc70; border-color:#ffdc70; }
.film-trigger { display:flex; align-items:center; gap:10px; padding:0; border:0; background:none; color:#eef2ef; cursor:pointer; text-align:left; font-size:14px; }
.film-trigger > span:last-child { display:grid; gap:2px; }
.film-trigger small { color:#a9b6b0; font:11px/1.4 Consolas,monospace; }
.play-ring { display:grid; place-items:center; width:44px; height:44px; border:1px solid #64716b; border-radius:50%; transition:background .2s; }
.film-trigger:hover .play-ring { background:#26332d; }
.play-ring svg { width:17px; height:17px; margin-left:2px; }
.hero-underlinks { display:flex; gap:24px; margin-top:22px; }
.hero-underlinks :is(a,button) { display:flex; align-items:center; gap:7px; color:#b4c1ba; font-size:12px; line-height:24px; padding:0; border:0; background:none; cursor:pointer; text-decoration:none; }
.hero-underlinks :is(a,button):hover { color:#f3c846; }
.hero-underlinks svg { width:15px; height:15px; }
.market-hud { position:absolute; top:42px; right:max(32px,calc((100% - 1248px)/2)); display:grid; grid-template-columns:1fr auto; gap:9px 28px; color:#c0cec7; font:11px/1.5 Consolas,monospace; pointer-events:none; }
.market-hud b { color:#f3c846; font-weight:500; }
.market-hud small { grid-column:1/-1; font-size:10px; color:#83958b; text-align:right; }
.market-pin { position:absolute; pointer-events:none; left:54%; bottom:31%; padding:0 12px 0 0; border-right:2px solid #f3c846; display:grid; gap:5px; color:#e7efe9; transform:translateX(-100%); text-align:right; }
.market-pin span { color:#f3c846; font-size:10px; }
.market-pin strong { font-size:16px; font-weight:650; }
.market-pin small { font-size:10px; color:#9cac9f; }
.market-bottom { position:absolute; bottom:26px; right:max(32px,calc((100% - 1248px)/2)); display:flex; align-items:center; gap:20px; color:#81968b; font:10px/1.5 Consolas,monospace; }
.market-bottom > span { display:flex; align-items:center; gap:8px; }
.market-bottom > span i { height:6px; width:6px; background:#57d6b1; }
.icon-control { width:38px; height:38px; display:grid; place-items:center; padding:0; border:1px solid #35423b; border-radius:4px; color:#c7d5cd; background:#131a16; cursor:pointer; }
.icon-control:hover { border-color:#a2b3a8; }
.hero-footnote { position:absolute; bottom:36px; left:max(24px,calc((100% - 1248px)/2)); display:flex; align-items:center; gap:22px; color:#8b9b92; font-size:10px; }
.hero-footnote span { color:#b7c3bc; font-family:Consolas,monospace; }
.hero-footnote p { margin:0; }
.quick-access { order:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:min(1248px,calc(100% - 48px)); margin:0 auto; border-block:1px solid var(--line); }
.quick-access > :is(a,button) { display:flex; align-items:center; gap:18px; padding:26px 24px; background:none; border:0; border-right:1px solid var(--line); text-align:left; color:var(--text); cursor:pointer; text-decoration:none; }
.quick-access > :first-child { padding-left:0; }
.quick-access > :last-child { border-right:0; }
.quick-access > :is(a,button) > svg:first-child { width:26px; height:26px; color:var(--gold); }
.quick-access > :is(a,button) > svg:last-child { margin-left:auto; color:var(--muted); }
.quick-access span { display:grid; gap:5px; }
.quick-access strong { font-size:16px; font-weight:650; }
.quick-access small { font-size:12px; color:var(--muted); }
.quick-access > :is(a,button):hover strong { color:var(--gold); }
.proof-ledger { order:2; width:min(1248px,calc(100% - 48px)); margin:0 auto; padding:64px 0 32px; grid-template-columns:250px 1fr; gap:24px; border:0; border-bottom:1px solid var(--line); background:none; }
.proof-ledger-heading { gap:0; }
.proof-ledger-badge { display:none; }
.proof-ledger-heading h2 { font-family:inherit; font-size:28px; line-height:1.4; }
.proof-ledger-heading > p:last-child { font-size:12px; line-height:1.8; max-width:230px; }
.proof-ledger .hero-proof-strip { border:0; border-radius:0; grid-template-columns:1.45fr .8fr 1fr; }
.proof-ledger .hero-proof-strip div,.proof-ledger .hero-proof-strip div:first-child { min-height:114px; padding:10px 24px; border:0; border-left:1px solid var(--line); border-radius:0; background:none; box-shadow:none; }
.proof-ledger .hero-proof-strip strong,.proof-ledger .hero-proof-strip .proof-stat-primary strong { font-size:43px; line-height:1.3; font-family:Consolas,"Segoe UI",monospace; font-weight:600; letter-spacing:0; color:var(--text); }
.proof-ledger .hero-proof-strip .proof-stat-primary strong { color:var(--green); }
.proof-ledger .hero-proof-strip span { font-size:11px; font-weight:500; color:var(--muted); }
.proof-ledger .hero-proof-strip .proof-stat > span:last-child { font-size:11px; color:var(--muted); }
.proof-ledger-note { grid-column:1/-1; display:flex; justify-content:space-between; gap:16px; margin-top:0; }
.proof-ledger-note :is(.performance-context,.stats-as-of) { font-size:10px; color:var(--muted); line-height:1.6; max-width:none; }
.home-proof-preview { order:3; width:min(1248px,calc(100% - 48px)); padding:40px 0 72px; margin:0 auto; border:0; background:none; }
.home-section-head { gap:20px; margin-bottom:25px; }
.home-section-head h2 { font-size:28px; line-height:1.4; }
.home-proof-feed { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.home-proof-item { background:none; border:0; border-radius:0; display:flex; flex-direction:column; }
.home-proof-image { display:block; aspect-ratio:1.5; width:100%; border:1px solid var(--line); border-radius:6px; overflow:hidden; position:relative; padding:0; transition:border-color .2s; }
.home-proof-image::after { content:none; }
.home-proof-image:hover { border-color:var(--gold); }
.home-proof-image img { width:100%; height:100%; object-fit:contain; object-position:center; }
.home-proof-copy { display:grid; grid-template-columns:1fr auto; gap:8px; padding:16px 0 0; }
.home-proof-copy > span { font-size:11px; grid-column:1/-1; }
.home-proof-copy h3 { margin:0; font-size:21px; line-height:1.4; }
.home-proof-copy p { display:grid; gap:2px; margin:0; align-self:center; text-align:right; color:var(--muted); font-size:10px; }
.home-proof-copy p strong { color:var(--green); font:600 24px/1.3 Consolas,monospace; }
.home-proof-copy small { color:var(--muted); font-size:11px; grid-column:1/-1; }
.app-band { order:4; width:100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:80px; padding:72px max(24px,calc((100% - 1248px)/2)); border-block:1px solid var(--line); background:var(--panel); }
.app-band-copy h2 { margin:16px 0 20px; font-size:40px; line-height:1.4; }
.app-band-copy h2 em { color:var(--gold); font-style:normal; }
.app-band-copy > p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.9; }
.app-benefits { display:flex; flex-wrap:wrap; gap:16px; margin:25px 0; }
.app-benefits span { display:flex; align-items:center; gap:6px; font-size:12px; }
.app-benefits svg { width:16px; height:16px; color:var(--green); }
.app-availability { display:block; color:var(--muted); font-size:11px; line-height:1.8; margin-top:14px; }
.notification-demo { position:relative; width:100%; max-width:490px; justify-self:end; padding:28px 28px 0; border:1px solid var(--line-strong); border-top:2px solid var(--gold); border-radius:8px; background:var(--bg); box-shadow:0 16px 36px #00000015; }
.notification-top { display:flex; align-items:center; gap:10px; font-size:12px; }
.notification-top img { border-radius:50%; }
.notification-top small { margin-left:auto; font-size:10px; color:var(--muted); }
.notification-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:28px 0 26px; }
.notification-title > span { font-size:14px; font-weight:600; color:var(--gold); }
.notification-title > strong { font-size:21px; }
.notification-title small { font-size:13px; color:var(--muted); }
.notification-caption { display:block; color:var(--muted); font-size:12px; }
.notification-number { font:600 40px/1.8 Consolas,monospace; font-variant-numeric:tabular-nums; }
.notification-number small { font-size:12px; color:var(--muted); }
.notification-demo > p { font-size:11px; color:var(--muted); border-top:1px solid var(--line); padding-top:16px; margin:12px 0 24px; }
.notification-tp { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 -28px; padding:18px 28px; border-top:1px solid var(--line); color:var(--green); font-size:12px; }
.notification-tp b { font:11px/1.5 Consolas,monospace; margin-left:auto; }
.home-edition .info-panel { order:5; width:min(1248px,calc(100% - 48px)); margin:0 auto; padding:72px 0; border:0; border-radius:0; background:none; }
.home-edition .stage-list { border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; background:none; grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-edition .stage-list div,.home-edition .stage-list div:nth-child(3n) { padding:27px 22px; min-height:124px; }
.home-edition .stage-list b { font-size:17px; gap:16px; }
.home-edition .stage-list .stage-index { min-width:36px; font:500 28px/1 Consolas,monospace; }
.home-edition .stage-list > div > span { margin-left:52px; font-size:13px; text-align:left; }
.warning-box { border:0; border-left:2px solid var(--line-strong); border-radius:0; background:none; margin-top:24px; padding:2px 18px; }
.warning-box b { color:var(--muted); font-size:12px; }
.warning-box p { font-size:12px; line-height:1.8; margin:5px 0 0; }
.section-head h1 { font-size:38px; }
.site-footer { border-top:1px solid var(--line); padding:34px max(24px,calc((100% - 1248px)/2)); display:grid; grid-template-columns:auto 1fr; gap:10px 28px; align-items:center; }
.site-footer > a { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); grid-row:span 2; }
.site-footer img { border-radius:50%; }
.site-footer p { margin:0; font-size:12px; }
.site-footer small,.site-footer > span { color:var(--muted); font-size:10px; line-height:1.8; }
.site-footer > span { grid-column:1/-1; border-top:1px solid var(--line); padding-top:18px; margin-top:16px; }
.film-dialog { width:min(1440px,96vw); height:min(900px,94dvh); max-width:none; max-height:none; padding:48px 0 0; border:1px solid #35423b; border-radius:6px; background:#0a0d0e; color:#f2f4f1; overflow:hidden; }
.film-dialog::backdrop { background:#000c; }
#film-mount,#film-mount iframe { width:100%; height:100%; display:block; border:0; }
.film-close { position:absolute; z-index:2; top:5px; right:12px; }
body:has(dialog[open]) { overflow:hidden; }
body[data-theme="light"] .home-edition .hero-panel.market-hero { --gold:#f3c846; border-radius:0; box-shadow:none; }
body[data-theme="light"] .market-hero :is(h1,.hero-promise) { color:#f2f4f1; }
body[data-theme="light"] .app-install-nav { color:#fff; }
@media(min-width:1600px) { .home-edition .market-hero .hero-content { max-width:44%; } }
@media(max-width:1240px) {
  .topbar { padding:10px 24px; }
  .topbar-actions { display:flex; margin-left:auto; }
  .topbar-actions .header-cta { display:inline-flex; }
  .menu-toggle { display:flex; }
  .nav { display:none; position:absolute; right:24px; top:calc(100% - 1px); width:min(300px,calc(100vw - 40px)); padding:16px; flex-wrap:wrap; background:var(--bg); border:1px solid var(--line); border-radius:6px; box-shadow:0 12px 24px #0004; max-height:calc(100dvh - 94px); overflow:auto; }
  .nav.open { display:flex; }
  .nav > :is(a,button) { flex:1 0 42%; min-height:44px; margin:0; }
  .nav > .app-install-nav { display:none; }
  .home-edition .market-hero h1 { font-size:56px; }
  .hero-promise { font-size:32px; }
  .proof-ledger { grid-template-columns:200px 1fr; }
  .proof-ledger .hero-proof-strip strong,.proof-ledger .hero-proof-strip .proof-stat-primary strong { font-size:34px; }
  .proof-ledger .hero-proof-strip div,.proof-ledger .hero-proof-strip div:first-child { padding:10px 16px; }
}
@media(max-width:800px) {
  .brand small { display:none; }
  .topbar { min-height:68px; padding:10px 20px; }
  .brand { min-width:0; }
  .brand strong { font-size:19px; }
  .brand-avatar { width:38px; height:38px; }
  .preview-notice { padding:5px 20px; font-size:10px; }
  .home-edition .hero-panel.market-hero { height:650px; height:min(660px,calc(100svh - 136px)); min-height:530px; align-items:flex-start; padding:30px 24px; }
  .home-edition .market-hero .hero-content { max-width:100%; width:100%; margin-top:0; }
  .home-edition .market-hero .hero-kicker { margin-bottom:16px; font-size:9px; }
  .home-edition .market-hero h1 { font-size:43px; margin:0 0 12px; }
  .hero-promise { font-size:27px; line-height:1.35; }
  .hero-promise br { display:none; }
  .hero-promise em { display:block; }
  .home-edition .market-hero .hero-copy { font-size:13px; line-height:1.7; margin:12px 0 0; }
  .home-edition .market-hero .hero-actions { gap:22px; margin-top:18px; }
  .home-edition .primary-btn { min-height:48px; font-size:14px; padding:12px 15px; gap:9px; }
  .hero-underlinks { margin-top:14px; }
  .hero-underlinks :is(a,button) { font-size:11px; }
  .market-hud { top:auto; bottom:194px; right:24px; gap:3px 16px; font-size:9px; }
  .market-hud small { font-size:9px; }
  .market-pin { left:12%; bottom:51px; gap:2px; padding-right:8px; }
  .market-pin strong { font-size:11px; }
  .market-pin span { font-size:9px; }
  .market-pin small { display:none; }
  .market-bottom { right:24px; bottom:16px; gap:10px; }
  .market-bottom > span { font-size:8px; }
  .hero-footnote { left:24px; bottom:24px; font-size:9px; }
  .hero-footnote p { display:none; }
  .quick-access { width:calc(100% - 40px); }
  .quick-access > :is(a,button),.quick-access > :first-child { display:grid; justify-items:center; gap:10px; padding:22px 8px; text-align:center; }
  .quick-access small,.quick-access > :is(a,button) > svg:last-child { display:none; }
  .quick-access strong { font-size:13px; }
  .quick-access > :is(a,button) > svg:first-child { width:23px; height:23px; }
  .proof-ledger { width:calc(100% - 40px); grid-template-columns:1fr; gap:22px; padding:44px 0 28px; }
  .proof-ledger-heading h2 { font-size:26px; }
  .proof-ledger-heading > p:last-child { max-width:none; }
  .proof-ledger .hero-proof-strip { grid-template-columns:1.4fr 1fr 1fr; }
  .proof-ledger .hero-proof-strip div,.proof-ledger .hero-proof-strip div:first-child { grid-column:auto; min-height:90px; border:0; border-left:1px solid var(--line); padding:0 12px; }
  .proof-ledger .hero-proof-strip div:first-child { border-left:0; padding-left:0; }
  .proof-ledger .hero-proof-strip div:nth-child(2) { border-right:0; }
  .proof-ledger .hero-proof-strip strong,.proof-ledger .hero-proof-strip .proof-stat-primary strong { font-size:28px; }
  .proof-ledger .hero-proof-strip :is(span,.proof-stat > span:last-child) { font-size:10px; line-height:1.5; }
  .proof-ledger-note { display:grid; gap:8px; }
  .proof-ledger-note .stats-as-of { text-align:left; }
  .home-proof-preview { width:calc(100% - 40px); padding:34px 0 44px; }
  .home-section-head { align-items:flex-start; flex-direction:column; gap:12px; }
  .home-section-head h2 { font-size:25px; }
  .home-section-head .text-link { font-size:12px; padding:0; min-height:32px; }
  .home-proof-feed { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .home-proof-copy { grid-template-columns:1fr; }
  .home-proof-copy h3 { font-size:16px; overflow-wrap:anywhere; }
  .home-proof-copy p strong { font-size:24px; }
  .app-band { grid-template-columns:1fr; gap:32px; padding:44px 24px; }
  .app-band-copy h2 { font-size:32px; }
  .app-band-copy > p:not(.eyebrow) { font-size:14px; }
  .notification-demo { justify-self:center; }
  .home-edition .info-panel { width:calc(100% - 40px); padding:44px 0; }
  .home-edition .stage-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-edition .stage-list div,.home-edition .stage-list div:nth-child(3n) { padding:20px 12px; border:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .home-edition .stage-list div:nth-child(2n) { border-right:0; }
  .home-edition .stage-list div:nth-last-child(-n+2) { border-bottom:0; }
  .home-edition .stage-list b { font-size:15px; gap:9px; }
  .home-edition .stage-list .stage-index { min-width:26px; font-size:24px; }
  .home-edition .stage-list > div > span { margin-left:0; font-size:12px; }
  .site-footer { padding:28px 24px; grid-template-columns:1fr; gap:16px; }
  main > .page-view:not(.dashboard-grid) { padding:32px 20px 48px; }
  .section-head h1 { font-size:30px; }
  .section-head { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:14px; }
  .section-head > div { min-width:0; }
  .status-pill { width:fit-content; max-width:100%; white-space:normal; line-height:1.6; font-size:11px; }
  .filter-bar,.performance-filters { flex-wrap:wrap; overflow:visible; max-width:100%; width:fit-content; }
  .filter-bar button,.performance-filters button { padding-inline:12px; }
  .film-dialog { width:100%; height:100dvh; border-radius:0; border:0; }
}
@media(max-width:520px) {
  .topbar-actions { gap:9px; }
  .header-cta { min-height:38px; padding:7px 10px; font-size:12px; }
  .header-cta .app-icon { display:none; }
  .home-proof-feed { grid-template-columns:1fr; gap:28px; }
  .home-proof-copy { grid-template-columns:1fr auto; }
  .home-proof-copy h3 { font-size:21px; }
  .home-proof-copy p strong { font-size:26px; }
  .proof-ledger .hero-proof-strip { grid-template-columns:1fr 1fr; row-gap:22px; }
  .proof-ledger .hero-proof-strip div:first-child { grid-column:1/-1; padding-bottom:22px; border-bottom:1px solid var(--line); }
  .proof-ledger .hero-proof-strip .proof-stat-primary strong { font-size:46px; }
  .proof-ledger .hero-proof-strip div:nth-child(2) { padding-left:0; border-left:0; }
  .proof-ledger .hero-proof-strip strong { font-size:32px; }
  .notification-demo { padding:22px 20px 0; }
  .notification-tp { margin-inline:-20px; padding:16px 20px; font-size:11px; }
  .notification-number { font-size:36px; }
}
@media(min-width:521px) and (max-width:800px) {
  .home-edition .market-hero h1 { font-size:52px; }
  .hero-promise { font-size:32px; }
  .home-edition .market-hero .hero-copy { font-size:14px; }
}
@media(max-width:360px) {
  .brand strong { font-size:16px; }
  .brand { gap:7px; }
  .brand-avatar { width:32px; height:32px; }
  .topbar { padding-inline:14px; gap:8px; }
  .preview-notice { padding-inline:14px; font-size:9px; }
  .home-edition .hero-panel.market-hero { padding-inline:20px; }
  .home-edition .market-hero h1 { font-size:39px; }
  .hero-promise { font-size:24px; }
  .home-edition .market-hero .hero-actions { gap:16px; }
  .home-edition .primary-btn { font-size:13px; gap:7px; padding-inline:12px; }
  .film-trigger { font-size:12px; gap:8px; }
  .app-benefits { gap:12px; }
}
@media(max-height:740px) and (min-width:801px) {
  .home-edition .market-hero h1 { font-size:48px; margin-bottom:10px; }
  .hero-promise { font-size:30px; }
  .home-edition .market-hero .hero-copy { font-size:14px; margin-top:12px; }
  .home-edition .market-hero .hero-kicker { margin-bottom:18px; }
  .home-edition .market-hero .hero-actions { margin-top:20px; }
  .home-edition .market-hero .hero-content { margin-top:-16px; }
}
@media(max-height:740px) and (max-width:800px) {
  .home-edition .hero-panel.market-hero { min-height:475px; padding-top:23px; }
  .home-edition .market-hero h1 { font-size:36px; margin-bottom:10px; }
  .hero-promise { font-size:22px; }
  .home-edition .market-hero .hero-kicker { margin-bottom:12px; }
  .home-edition .market-hero .hero-copy { margin-top:9px; font-size:12px; }
  .home-edition .market-hero .hero-actions { margin-top:12px; }
  .hero-underlinks { margin-top:9px; }
  .market-hud { bottom:170px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* Reading scale: body 18px, controls 16px+, supporting text 14px. */
body { --reading-body:18px; --reading-small:14px; font-size:var(--reading-body); }
.brand small { font-size:12px; }
.nav button,.nav a { font-size:16px; min-height:44px; }
.preview-notice { font-size:12px; flex-wrap:wrap; gap:2px 16px; }
.home-edition .market-hero .hero-copy { font-size:var(--reading-body); line-height:1.8; }
.home-edition .market-hero .hero-kicker { font-size:12px; }
.home-edition .primary-btn { font-size:17px; }
.film-trigger { font-size:17px; }
.film-trigger small { font-size:var(--reading-small); }
.hero-underlinks :is(a,button) { font-size:16px; min-height:32px; }
.hero-footnote { font-size:13px; }
.market-hud { font-size:13px; }
.market-hud small { font-size:12px; color:#a4b5aa; }
.market-pin span,.market-pin small { font-size:12px; }
.market-pin strong { font-size:18px; }
.market-bottom { font-size:12px; }
.quick-access strong { font-size:20px; }
.quick-access small { font-size:15px; line-height:1.6; }
.proof-ledger-heading > p:last-child { font-size:16px; }
.proof-ledger .hero-proof-strip span,
.proof-ledger .hero-proof-strip .proof-stat > span:last-child { font-size:var(--reading-small); line-height:1.6; }
.proof-ledger-note { flex-wrap:wrap; }
.proof-ledger-note :is(.performance-context,.stats-as-of) { font-size:var(--reading-small); line-height:1.8; }
.eyebrow { font-size:13px; }
.home-proof-copy > span,.home-proof-copy small { font-size:var(--reading-small); }
.home-proof-copy p { font-size:13px; }
.home-section-head .text-link { font-size:16px; min-height:44px; }
.home-section-head > p { font-size:16px; line-height:1.8; }
.app-band-copy > p:not(.eyebrow) { font-size:var(--reading-body); }
.app-benefits span { font-size:16px; }
.app-benefits svg { width:20px; height:20px; }
.app-availability { font-size:var(--reading-small); }
.notification-top { font-size:16px; }
.notification-top small { font-size:var(--reading-small); }
.notification-title > span { font-size:18px; }
.notification-title small,.notification-caption,.notification-number small { font-size:16px; }
.notification-demo > p { font-size:15px; line-height:1.8; }
.notification-tp { font-size:16px; }
.notification-tp b { font-size:var(--reading-small); }
.home-edition .stage-list b { font-size:20px; }
.home-edition .stage-list > div > span { font-size:16px; line-height:1.8; }
.warning-box b { font-size:16px; color:var(--text); }
.warning-box p { font-size:15px; }
.site-footer p { font-size:16px; }
.site-footer small,.site-footer > span { font-size:var(--reading-small); }
.section-note,.plan-hint,.methodology p,.methodology li { font-size:17px; line-height:1.8; }
.status-pill,.signal-meta,.signal-head,.stage-label { font-size:var(--reading-small); line-height:1.6; }
.filter-bar button,.performance-filters button,.performance-sort,.performance-sort select,.load-more { font-size:16px; min-height:44px; }
.signal-score small,.signal-card h3 small,.trade-levels small { font-size:13px; }
.trade-levels b { font-size:17px; overflow-wrap:anywhere; }
.signal-card .muted { font-size:16px; line-height:1.7; }
.signal-head { flex-wrap:wrap; }
.signal-card h3 { flex-wrap:wrap; overflow-wrap:anywhere; }
.thumb-action,.proof-image-action,#performance-count { font-size:var(--reading-small); }
.radar-list-head,.radar-symbol span,.radar-card time { font-size:var(--reading-small); }
.radar-card b { font-size:17px; overflow-wrap:anywhere; }
.radar-card > div > small,.radar-card time small { font-size:13px; }
.proof-meta { flex-wrap:wrap; }
.proof-meta > small,.proof-body h3 small,.proof-body p > span { font-size:var(--reading-small); }
.proof-body h3 { overflow-wrap:anywhere; }
.plan-card p,.plan-card li,.plan-action,.join-funnel p { font-size:17px; }
.plan-card .plan-compensation { font-size:16px; }
.member-health-lead,.member-health-benefits span,.member-preview-verdict span,.member-preview-history { font-size:16px; line-height:1.8; }
.member-health-actions small,.member-preview-label,.member-preview-facts span { font-size:var(--reading-small); }
.app-install-description,.app-install-steps strong { font-size:17px; }
.app-install-heading p,.app-install-scan p { font-size:15px; }
.app-install-platform span,.app-install-steps p,.app-install-address input { font-size:16px; }
.app-install-note,.app-install-feedback { font-size:var(--reading-small); }

@media(max-width:1240px) {
  .nav > :is(a,button) { padding:11px 12px; }
  .topbar .header-cta.app-install-link { font-size:16px; }
}
@media(max-width:800px) {
  .topbar { flex-wrap:nowrap; }
  .home-edition .market-hero .hero-actions { gap:20px; }
  .home-edition .primary-btn { font-size:16px; }
  .film-trigger { font-size:16px; }
  .hero-underlinks { gap:22px; }
  .market-hud { font-size:12px; bottom:208px; }
  .market-pin strong { font-size:14px; }
  .market-bottom > span { font-size:11px; }
  .hero-footnote { font-size:12px; }
  .quick-access strong { font-size:16px; }
  .proof-ledger .hero-proof-strip :is(span,.proof-stat > span:last-child) { font-size:var(--reading-small); }
  .home-edition .stage-list b { font-size:18px; flex-wrap:wrap; row-gap:8px; }
  .home-edition .stage-list > div > span { font-size:16px; }
  .status-pill { font-size:var(--reading-small); }
  .app-band { padding-inline:20px; }
  .app-install-heading { padding-right:26px; }
  .home-section-head h2 { line-height:1.5; }
}
@media(max-width:520px) {
  .market-bottom > span { display:none; }
  .signal-card { grid-template-columns:minmax(0,1fr); }
  .thumb-button { height:148px; }
  .thumb-button img { object-fit:contain; }
  .notification-top { flex-wrap:wrap; row-gap:6px; }
  .notification-title { gap:9px; }
  .notification-number { display:flex; align-items:baseline; flex-wrap:wrap; column-gap:12px; }
  .notification-tp b { margin-left:30px; }
}
@media(max-width:360px) {
  .topbar { padding-inline:12px; }
  .topbar .header-cta.app-install-link { font-size:14px; padding-inline:8px; }
  .home-edition .market-hero .hero-actions { gap:12px; }
  .home-edition .primary-btn { padding-inline:10px; }
  .film-trigger { gap:7px; }
  .hero-underlinks { gap:16px; }
  .preview-notice { font-size:12px; }
  .home-proof-copy { grid-template-columns:minmax(0,1fr); }
  .home-proof-copy p { text-align:left; }
}
@media(max-height:740px) and (min-width:801px) {
  .home-edition .hero-panel.market-hero { height:calc(100svh - 158px); padding-block:28px; }
  .home-edition .market-hero .hero-content { margin-top:-28px; }
  .hero-footnote { bottom:22px; }
}
@media(max-height:740px) and (max-width:800px) {
  .home-edition .hero-panel.market-hero { padding-top:15px; }
  .home-edition .market-hero h1 { margin-bottom:6px; }
  .hero-promise { line-height:1.25; }
  .home-edition .market-hero .hero-copy { font-size:17px; line-height:1.6; margin-top:6px; }
  .home-edition .market-hero .hero-kicker { margin-bottom:6px; }
  .home-edition .market-hero .hero-actions { margin-top:8px; }
  .hero-underlinks { margin-top:4px; }
  .market-hud { bottom:176px; }
}

/* Interaction recipes: Transitions.dev, copyright 2026 Jakub Antalik. */
:root {
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-text-muted: rgba(15, 15, 15, 0.8);
  --tabs-text-active: #0f0f0f;
  --tabs-bar-bg: #f1f1f1;
  --tabs-pill-bg: #ffffff;
}
/* The bar is just a flex container with padding for the pill
   to sit inside. Tabs sit on z-index: 1, the pill on z-index: 0,
   so labels read above the pill background. */
.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 48px;
  background: var(--tabs-bar-bg);
}
.t-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  height: 30px;
  padding: 4px 12px;
  color: var(--tabs-text-muted);
  cursor: pointer;
  border-radius: 48px;
  z-index: 1;
  transition: color var(--tabs-dur) var(--tabs-ease);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] {
  color: var(--tabs-text-active);
}

/* The pill: width + transform are written inline by JS so
   the transition tweens between the previous and next
   measured positions. */
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  transform: translateX(0);
  transition:
    transform var(--tabs-dur) var(--tabs-ease),
    width     var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .t-tabs-pill, .t-tab { transition: none !important; }
}
:root {
  --modal-open-dur: 250ms;
  --modal-close-dur: 150ms;
  --modal-scale: 0.96;
  --modal-scale-close: 0.96;
  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.t-modal {
  transform-origin: center;
  transform: scale(var(--modal-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-open-dur) var(--modal-ease),
    opacity   var(--modal-open-dur) var(--modal-ease);
  will-change: transform, opacity;
}
.t-modal.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-modal.is-closing {
  transform: scale(var(--modal-scale-close));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-close-dur) var(--modal-ease),
    opacity   var(--modal-close-dur) var(--modal-ease);
}

@media (prefers-reduced-motion: reduce) {
  .t-modal { transition: none !important; }
}
/* Product integration: preserve button semantics, grid widths and brand colours. */
.t-tabs {
  --tabs-text-muted: var(--muted, #aab2bd);
  --tabs-text-active: var(--text, #f5f3ed);
  --tabs-pill-bg: var(--gold, #f7c928);
  --tabs-bar-bg: var(--surface, #101215);
}
:is(.filters, .health-tabs, .ms-filters).t-tabs {
  display: grid;
  align-items: stretch;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  isolation: isolate;
}
:is(.filters, .health-tabs, .ms-filters).t-tabs .t-tab {
  min-width: 0;
  min-height: 44px;
  height: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 8px 3px;
  color: var(--tabs-text-muted);
  line-height: 1.4;
}
:is(.filters, .health-tabs, .ms-filters).t-tabs .t-tab:is([aria-pressed="true"], [aria-selected="true"]) { color: #111; background: transparent; }
:is(.filters, .health-tabs, .ms-filters).t-tabs .t-tab:focus-visible { outline: 2px solid var(--text); outline-offset: -3px; }
.t-tabs .t-tabs-pill { border-radius: 8px; }
body[data-theme="light"] .t-tabs, body.light .t-tabs { --tabs-pill-bg: #eac347; }
:is(button, a.primary-action, a.secondary-action, .app-install-link) { touch-action: manipulation; }
:is(.primary-button, .secondary-button, .icon-button, .read-all-button, .health-text-button, .primary-action, .secondary-action, .ms-refresh, .ms-more, .app-install-link, .film-close, .app-install-close) {
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), background-color 150ms ease, border-color 150ms ease;
}
:is(.primary-button, .secondary-button, .icon-button, .read-all-button, .health-text-button, .primary-action, .secondary-action, .ms-refresh, .ms-more, .app-install-link, .film-close, .app-install-close):not(:disabled):active {
  transform: scale(.97);
  transition-duration: 70ms;
}
:is(.current-price-value, .current-price-change, .ms-price, .ms-return, .price-cell strong) { font-variant-numeric: tabular-nums; }
.t-modal { overscroll-behavior: contain; }
.t-modal.is-closing { pointer-events: auto; }
.t-modal::backdrop { transition: background-color 150ms ease; }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .topbar, .bottom-nav, .dialog-head { backdrop-filter: none; background: var(--surface, #101215); }
  .t-modal::backdrop { backdrop-filter: none; background: rgb(0 0 0 / 85%); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.primary-button, .secondary-button, .icon-button, .read-all-button, .health-text-button, .primary-action, .secondary-action, .ms-refresh, .ms-more, .app-install-link, .film-close, .app-install-close) { transition: none; transform: none !important; }
  .t-modal { transform: none !important; }
}

.film-dialog.t-modal, .app-install-dialog.t-modal { transform-origin: center; }
.nav button, .nav a, .menu-toggle, .theme-toggle { min-height: 44px; }
.app-install-close, .film-close { min-width: 44px; min-height: 44px; }
@media (max-width: 760px) {
  .nav.open { animation: yaobi-menu-enter 180ms cubic-bezier(0.22, 1, 0.36, 1); }
  @keyframes yaobi-menu-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { .nav.open { animation: none; } }
