:root{
  --surface:#fcfcfb; --page:#f9f9f7; --card:#ffffff;
  --ink:#0b0b0b; --ink2:#52514e; --muted:#686660;
  --grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,.10);
  --good:#0ca30c; --hero:#005fbe; --hero-soft:rgba(0,95,190,.10);
  --bad:#d03b3b;
  --shadow:0 1px 2px rgba(11,11,11,.04),0 4px 16px rgba(11,11,11,.06);
  --radius:14px;
}
@media (prefers-color-scheme: dark){
:root{
  --surface:#1a1a19; --page:#0d0d0d; --card:#151514;
  --ink:#ffffff; --ink2:#c3c2b7; --muted:#898781;
  --grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,.10);
  --good:#0ca30c; --hero:#3987e5; --hero-soft:rgba(57,135,229,.14);
  --bad:#e66767;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 6px 20px rgba(0,0,0,.4);
}
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0}
body{
  background:var(--page); color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased; line-height:1.6;
}

.skip-link{position:fixed; left:16px; top:8px; z-index:1000; padding:8px 12px;
  background:var(--ink); color:var(--surface); border-radius:8px; text-decoration:none;
  transform:translateY(-160%); transition:transform .15s}
.skip-link:focus{transform:translateY(0)}
a:focus-visible,button:focus-visible{outline:3px solid var(--hero); outline-offset:3px}
.text-button{appearance:none; border:0; padding:0; background:transparent; color:var(--hero);
  font:inherit; font-weight:600; text-decoration:underline dotted; cursor:pointer}

/* sticky nav */
.topnav{position:sticky; top:0; z-index:100; height:48px; background:var(--surface);
  border-bottom:1px solid var(--border); display:flex; align-items:center;
  padding:0 24px; gap:6px; backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px); overflow-x:auto}
.topnav .brand{font-weight:750; font-size:15px; margin-right:12px; white-space:nowrap; color:var(--ink)}
.topnav a{text-decoration:none; color:var(--muted); font-size:13px; font-weight:600;
  padding:4px 10px; border-radius:999px; white-space:nowrap; transition:all .15s}
.topnav a:hover{color:var(--ink); background:var(--hero-soft)}
.topnav a.active{color:var(--hero); background:var(--hero-soft)}

.wrap{max-width:1160px; margin:0 auto; padding:0 24px 64px}

/* hero. It used to be a single 860px column inside the 1160px wrap, which left a 276px
   dead gutter on the right at every desktop width while every other section ran full
   width -- the asymmetry read as though something were crowding the text. Now the prose
   keeps a readable measure and the gutter carries the headline result. */
/* scoped to the section: "hero" is also the class marking the highlighted model row in
   the leaderboard tables, and a bare .hero rule applied display:grid to that <tr>,
   which blew its cell layout apart (cells took the grid's columns, row went 38px -> 237px) */
section.hero{padding:56px 0 40px; display:grid; gap:14px 40px; align-items:start;
  grid-template-columns:minmax(0,1fr) 316px}
section.hero > .hero-copy{min-width:0; max-width:760px}
section.hero h1, section.hero .subtitle{grid-column:1/-1}
@media (max-width:1000px){
  section.hero{grid-template-columns:minmax(0,1fr)}
  section.hero > .hero-copy{max-width:none}
}
.headline{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:16px 18px; position:sticky; top:64px}
.headline h2{margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--muted)}
.headline .hl-row{padding:9px 0; border-top:1px solid var(--border)}
.headline .hl-row:first-of-type{border-top:0; padding-top:0}
.headline .hl-lab{font-size:11.5px; color:var(--muted); margin-bottom:2px}
.headline .hl-val{font-size:17px; font-weight:750; letter-spacing:-.02em; line-height:1.25}
.headline .hl-sub{font-size:11.5px; color:var(--ink2); margin-top:2px}
.headline .hl-val .mult{font-size:12.5px; font-weight:600; color:var(--muted)}
.hero h1{font-size:36px; font-weight:800; letter-spacing:-.03em; margin:0 0 8px; line-height:1.15}
.hero .subtitle{color:var(--ink2); font-size:16px; margin:0 0 20px; font-weight:500}
.hero p{font-size:15px; color:var(--ink2); margin:0 0 14px; line-height:1.7; max-width:800px}
.hero-links{grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; margin:-8px 0 4px}
.hero-links a{display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:650;
  text-decoration:none; color:var(--hero); background:var(--hero-soft);
  border:1px solid var(--border); border-radius:999px; padding:6px 14px; transition:background .15s}
.hero-links a:hover{background:var(--card)}
.hero-links a[data-arxiv-placeholder]{color:var(--muted); background:transparent; cursor:default}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px}
.hero-badge{display:inline-flex; align-items:center; gap:6px; background:var(--hero-soft); color:var(--hero);
  font-weight:700; font-size:13px; padding:6px 14px; border-radius:999px; border:1px solid var(--border)}
.hero-badge .bnum{font-size:18px; font-weight:800; letter-spacing:-.02em}

/* stat cards */
.stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:28px}
.stat{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:16px 18px; box-shadow:var(--shadow)}
.stat .num{font-size:30px; font-weight:750; letter-spacing:-.02em; line-height:1.1}
.stat .lab{font-size:13px; color:var(--ink2); margin-top:4px; font-weight:600}
.stat .hint{font-size:11.5px; color:var(--muted); margin-top:2px}
.stat.accent .num{color:var(--hero)}

/* methodology */
.methodology{margin:40px 0}
.methodology h2{font-size:22px; font-weight:750; margin:0 0 6px; letter-spacing:-.01em}
.methodology .method-sub{color:var(--ink2); font-size:14px; margin:0 0 20px}
.method-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px}
.method-card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:20px 22px; box-shadow:var(--shadow)}
.method-card h3{font-size:15px; font-weight:700; margin:0 0 6px; color:var(--ink)}
.method-card p{font-size:13px; color:var(--ink2); margin:0; line-height:1.55}

/* eval section */
.eval-section{margin:48px 0 0; scroll-margin-top:60px}
.eval-header{margin-bottom:18px}
.eval-header h2{font-size:20px; font-weight:750; margin:0 0 4px; letter-spacing:-.01em}
.eval-header p{color:var(--ink2); font-size:14px; margin:0}
/* Figures lifted straight from the paper. They are drawn for white paper, so the plate
   stays light in both themes -- softened off pure white in dark mode to cut the glare
   rather than inverting them, which would wreck the hand-tuned fills. */
.paper-fig{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:16px 18px 12px; margin:0 0 22px; min-width:0}
/* min-width:0 on both, or the image's min-width below becomes the grid cell's min-content
   width and the row overflows the viewport instead of the plate scrolling */
.paper-fig .plate{background:#fff; border-radius:10px; padding:10px; min-width:0;
  overflow-x:auto; -webkit-overflow-scrolling:touch}
@media (prefers-color-scheme: dark){ .paper-fig .plate{background:#f4f4f2} }
.paper-fig img{display:block; width:100%; height:auto; margin:0 auto; min-width:520px}
/* Each figure carries its own max-width inline. Two things set it: the width where the
   figure's text lands near the 12.5px caption size, and -- for a wide short figure -- the
   width needed for the whole exhibit to stay readable, since width also fixes the height.
   The anchoring exhibit is 2.72:1 with three panels, so it gets the widest cap. */
.paper-fig figcaption{font-size:12.5px; color:var(--ink2); line-height:1.55; margin-top:10px}
.paper-fig figcaption b{color:var(--ink); font-weight:650}
.paper-fig .src{font-size:11px; color:var(--muted); margin-top:5px}

/* inline red-flag marks in the fraud case-study transcript */
mark.flag{background:rgba(208,59,59,.16); color:inherit; border-bottom:1.5px solid var(--bad);
  border-radius:2px; padding:0 1px; font-weight:600}
.flag-key{display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; margin:0 0 10px;
  font-size:12px; color:var(--ink2)}
.flag-key .swatch{display:inline-block; width:11px; height:11px; border-radius:3px;
  background:rgba(208,59,59,.16); border-bottom:1.5px solid var(--bad); vertical-align:-1px; margin-right:5px}
.what-measures{background:var(--hero-soft); border:1px solid var(--border); border-radius:10px;
  padding:12px 16px; margin-bottom:18px; font-size:13px; color:var(--ink2); line-height:1.55}
.what-measures b{color:var(--ink); font-weight:650}

h2.sec{font-size:15px; font-weight:650; margin:0 0 3px; letter-spacing:.01em}
.sec-sub{color:var(--muted); font-size:12.5px; margin:0 0 12px}

.card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px 18px 14px; box-shadow:var(--shadow); margin-bottom:22px}

/* viz-card (animated balance chart) */
.viz-card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:0; overflow:hidden; position:relative}
.viz-header{display:flex; align-items:center; justify-content:space-between;
  padding:12px 18px; border-bottom:1px solid var(--border); background:var(--surface); gap:8px; flex-wrap:wrap}
.frame-info{font-size:13px; font-weight:650; color:var(--ink2); white-space:nowrap}
.frame-title{font-size:14px; font-weight:700; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.frame-desc{font-size:12px; color:var(--ink2); padding:8px 18px; border-bottom:1px solid var(--border);
  line-height:1.5; min-height:36px}
.controls{display:flex; align-items:center; gap:8px; flex:none}
.ctrl-btn{appearance:none; border:1px solid var(--border); background:var(--card); color:var(--ink2);
  width:32px; height:32px; border-radius:8px; cursor:pointer; font-size:16px; display:flex;
  align-items:center; justify-content:center; transition:background .12s}
.ctrl-btn:hover{background:var(--hero-soft); color:var(--hero)}
/* The tour is opt-in now, so its trigger has to look like the primary action rather than
   a fourth identical icon -- it also used to sit next to btnNext, which is the same
   triangle glyph, so two adjacent buttons looked interchangeable but did different things. */
.ctrl-play{width:auto; height:34px; padding:0 14px 0 12px; gap:7px; font-size:13px;
  font-weight:700; letter-spacing:-.01em; border-color:transparent;
  background:var(--hero); color:#fff; box-shadow:0 1px 2px rgba(11,11,11,.10)}
.ctrl-play:hover{background:var(--hero); color:#fff; filter:brightness(1.08)}
.ctrl-play .glyph{font-size:11px; line-height:1}
/* while the tour runs it steps back to a quiet secondary control */
.ctrl-play.is-playing{background:var(--card); color:var(--ink2); border-color:var(--border);
  box-shadow:none}
.ctrl-play.is-playing:hover{background:var(--hero-soft); color:var(--hero); filter:none}
@media (max-width:560px){ .ctrl-play .txt{display:none} .ctrl-play{padding:0 10px} }
.dots{display:flex; gap:4px; align-items:center}
.dots .fdot{width:6px; height:6px; border-radius:50%; background:var(--muted); opacity:.3;
  transition:all .2s; cursor:pointer}
.dots .fdot.active{opacity:1; background:var(--hero); transform:scale(1.4)}
.event-strip{display:flex; align-items:center; gap:10px; padding:10px 18px;
  border-bottom:1px solid var(--border); background:var(--surface);
  font-size:12px; min-height:40px; opacity:0; transform:translateY(6px);
  transition:opacity .4s, transform .4s}
.event-strip.visible{opacity:1; transform:translateY(0)}
.event-strip .ev-icon{font-size:18px; flex:none}
.event-strip .ev-title{font-weight:700; color:var(--ink); flex:none; white-space:nowrap}
.event-strip .ev-detail{font-size:11px; color:var(--ink2); line-height:1.4; flex:1; min-width:0}
.event-strip .ev-link{flex:none; font-size:11px; font-weight:600;
  color:var(--hero); text-decoration:none; transition:opacity .15s; white-space:nowrap}
.event-strip .ev-link:hover{text-decoration:underline}
.progress-bar{height:3px; background:var(--grid); position:relative}
.progress-fill{height:100%; background:var(--hero); transition:width .3s ease-out}

.chart{width:100%}
.row{display:grid; gap:18px}
@media(min-width:820px){.row.two{grid-template-columns:1fr 1fr}}

/* legend */
.legend{display:flex; flex-wrap:wrap; gap:7px 8px; margin-top:12px; justify-content:center}
.lg{display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px;
  border:1px solid var(--border); background:transparent; cursor:pointer; font-size:12.5px;
  color:var(--ink2); user-select:none; transition:background .12s,opacity .12s}
.lg:hover{background:var(--hero-soft)}
.lg .dot{width:10px; height:10px; border-radius:3px; flex:none}
.lg.hero{font-weight:700; color:var(--ink)}
.lg.off{opacity:.38}
.lg.off .dot{background:var(--muted)!important}

/* tools */
.toolbtns{display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px}
.tbtn{appearance:none; border:1px solid var(--border); background:var(--card); color:var(--ink2);
  cursor:pointer; font-size:12.5px; font-weight:600; padding:6px 11px; border-radius:999px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.tbtn:hover{background:var(--hero-soft)}
.tbtn.active{background:var(--hero); color:#fff; border-color:var(--hero)}
.example{background:var(--surface); border:1px solid var(--border); border-radius:10px;
  padding:14px 16px; max-height:520px; overflow:auto}
.example h4{margin:0 0 8px; font-size:13px; color:var(--ink2)}
.example pre{margin:0; white-space:pre-wrap; word-break:break-word; font-size:12px; line-height:1.55;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink)}
.chat-line{margin:0 0 10px; padding:9px 12px; border-radius:9px; font-size:12.5px; line-height:1.55}
.chat-you{background:var(--hero-soft); border:1px solid var(--border)}
.chat-sup{background:var(--card); border:1px solid var(--border)}
.chat-who{font-weight:700; font-size:11.5px; margin-bottom:3px; color:var(--ink2)}
.chat-ord{background:rgba(12,163,12,.10); border:1px solid rgba(12,163,12,.30); color:var(--good);
  font-weight:600; font-size:11.5px; padding:5px 10px; border-radius:7px; margin:0 0 10px}

/* table */
table.tb{width:100%; border-collapse:collapse; font-size:13px}
table.tb th,table.tb td{padding:8px 10px; text-align:right; border-bottom:1px solid var(--border);
  font-variant-numeric:tabular-nums; white-space:nowrap}
table.tb th{color:var(--ink2); font-weight:650; cursor:pointer; user-select:none; position:sticky; top:0;
  background:var(--card)}
table.tb th:first-child,table.tb td:first-child{text-align:left}
table.tb tr.hero td{background:var(--hero-soft); font-weight:650}
table.tb td .mdot{display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:7px; vertical-align:middle}
.tb-wrap{max-height:780px; overflow:auto; border:1px solid var(--border); border-radius:10px}
.note{color:var(--muted); font-size:12px; margin-top:10px}
.pill{display:inline-block;font-size:11px;color:var(--muted);border:1px solid var(--border);
  border-radius:999px;padding:1px 8px;margin-left:6px}
.selrow{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.sel{appearance:none;border:1px solid var(--border);background:var(--card);color:var(--ink);
  border-radius:8px;padding:6px 10px;font-size:13px;font-weight:600}
.legend-hint{font-size:12px;color:var(--muted);text-align:center;margin-top:2px}

/* Day-in-the-Life flow diagram */
.daylife-flow{display:flex;align-items:flex-start;gap:0;margin-bottom:20px;overflow-x:auto;padding:12px 0}
.flow-node{display:flex;flex-direction:column;align-items:center;min-width:100px;max-width:120px;cursor:pointer;
  transition:transform .2s}
.flow-node:hover{transform:translateY(-3px)}
.flow-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:22px;border:2px solid var(--border);background:var(--card);box-shadow:var(--shadow);
  transition:border-color .2s, box-shadow .2s}
.flow-node.active .flow-icon{border-color:var(--hero);box-shadow:0 0 0 3px var(--hero-soft)}
.flow-label{font-size:10.5px;font-weight:650;color:var(--ink2);margin-top:6px;text-align:center;line-height:1.3}
.flow-node.active .flow-label{color:var(--hero)}
.flow-arrow{display:flex;align-items:center;padding-top:12px;color:var(--muted);font-size:18px;flex:none}
/* Day-in-the-Life timeline */
.timeline-step{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--border);
  cursor:pointer;transition:background .15s;border-radius:8px;margin:0 -8px;padding-left:8px;padding-right:8px}
.timeline-step:hover{background:var(--hero-soft)}
.timeline-step.active{background:var(--hero-soft)}
.timeline-step:last-child{border-bottom:none}
.step-num{flex:none;width:36px;height:36px;background:var(--hero-soft);border-radius:10px;
  display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:var(--hero)}
.timeline-step.active .step-num{background:var(--hero);color:#fff}
.step-body{flex:1;min-width:0}
.step-tool{font-weight:700;font-size:13.5px;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.step-desc{font-size:13px;color:var(--ink2);margin:3px 0 0;line-height:1.55}
.step-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;color:var(--muted);
  background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:8px 10px;
  margin-top:8px;max-height:180px;overflow:auto;white-space:pre-wrap;word-break:break-word;line-height:1.5;
  display:none}
.timeline-step.active .step-code{display:block}

/* Transcript comparison */
.transcript-compare{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.transcript-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  padding:16px 18px;max-height:620px;overflow:auto;box-shadow:var(--shadow)}
.transcript-card h3{font-size:14px;font-weight:700;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.transcript-card h3 .mdot{display:inline-block;width:10px;height:10px;border-radius:3px}
.model-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.model-tab{appearance:none;border:1px solid var(--border);background:var(--card);color:var(--ink2);
  cursor:pointer;font-size:12.5px;padding:6px 12px;border-radius:999px;font-weight:600;transition:all .15s}
.model-tab:hover{background:var(--hero-soft)}
.model-tab.active{background:var(--hero);color:#fff;border-color:var(--hero)}

/* Trajectory evidence quote (adapted from embed.html) */
.traj-evidence{font-size:12.5px;font-style:italic;color:var(--ink2);margin:12px 0;
  padding:8px 12px;border-left:3px solid var(--hero);line-height:1.5}
.traj-evidence b{color:var(--ink);font-style:normal}

/* Annotation callout */
.callout{border-radius:8px;padding:10px 14px;font-size:12.5px;color:var(--ink2);margin:10px 0;line-height:1.5}
.callout.bad{background:rgba(208,59,59,.08);border:1px solid rgba(208,59,59,.20)}
.callout.good{background:rgba(12,163,12,.08);border:1px solid rgba(12,163,12,.20)}
.callout b{color:var(--ink);font-weight:650}

/* Compact metric row (replaces removed charts) */
.metric-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}
.metric-item{text-align:center;padding:14px 12px;background:var(--card);border:1px solid var(--border);
  border-radius:10px;box-shadow:var(--shadow)}
.metric-item .num{font-size:22px;font-weight:750;letter-spacing:-.02em}
.metric-item .lab{font-size:12px;color:var(--ink2);margin-top:2px}

/* ============ MOTION GRAPHICS ============ */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(24px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes scaleIn{
  from{opacity:0;transform:scale(.92)}
  to{opacity:1;transform:scale(1)}
}
@keyframes slideInLeft{
  from{opacity:0;transform:translateX(-20px)}
  to{opacity:1;transform:translateX(0)}
}
@keyframes pulseGlow{
  0%,100%{box-shadow:0 0 0 0 var(--hero-soft)}
  50%{box-shadow:0 0 0 8px transparent}
}

/* Hero entrance animations */
.hero h1{animation:fadeInUp .7s ease-out both}
.hero .subtitle{animation:fadeInUp .7s ease-out .15s both}
.hero p{animation:fadeIn .6s ease-out .3s both}
.hero-badges{animation:fadeIn .6s ease-out .5s both}
.hero-badge{animation:scaleIn .4s ease-out both}
.hero-badge:nth-child(1){animation-delay:.55s}
.hero-badge:nth-child(2){animation-delay:.65s}
.hero-badge:nth-child(3){animation-delay:.75s}
.hero-badge:nth-child(4){animation-delay:.85s}
.hero-badge:nth-child(5){animation-delay:.95s}

/* Scroll-reveal */
.reveal{opacity:1;transform:none;transition:opacity .6s ease-out,transform .6s ease-out}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal:target{opacity:1;transform:none}
.reveal-left{opacity:1;transform:none;transition:opacity .5s ease-out,transform .5s ease-out}
.reveal-left.visible{opacity:1;transform:translateX(0)}

/* Staggered children */
.reveal-stagger > *{opacity:1;transform:none;transition:opacity .45s ease-out,transform .45s ease-out}
.reveal-stagger.visible > *{opacity:1;transform:translateY(0)}
.reveal-stagger.visible > *:nth-child(1){transition-delay:.05s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.19s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.26s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.33s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.40s}
.reveal-stagger.visible > *:nth-child(n+7){transition-delay:.47s}

/* Interactive hover transitions */
.stat{transition:transform .2s ease,box-shadow .2s ease}
.stat:hover{transform:translateY(-3px);box-shadow:0 6px 24px rgba(0,0,0,.12)}
.method-card{transition:transform .2s ease,box-shadow .2s ease}
.method-card:hover{transform:translateY(-3px);box-shadow:0 6px 24px rgba(0,0,0,.12)}
.card{transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 4px 20px rgba(0,0,0,.10)}
.lg{transition:transform .15s ease,box-shadow .15s ease}
.lg:hover{transform:scale(1.04)}
.model-tab{transition:all .2s ease}
.model-tab:hover:not(.active){background:var(--hero-soft);color:var(--ink)}
.topnav a{transition:all .2s ease}

/* Smooth chart container entrance */
.chart-wrap{transition:opacity .4s ease-out;opacity:1}

.load-status{margin:6px 0 0; color:var(--muted); font-size:13px; text-align:center}
.chart:empty::before,#balanceChart:empty::before,#profileChart:empty::before,#anchorChart:empty::before{
  content:'Loading chart\2026'; display:grid; place-items:center; height:100%; color:var(--muted);
  font-size:13px; font-weight:600}

/* Reduce motion for users who prefer it */
@media(prefers-reduced-motion:reduce){
  .hero h1,.hero .subtitle,.hero p,.hero-badges,.hero-badge{animation:none}
  .reveal,.reveal-left,.reveal-stagger > *{transition:none;opacity:1;transform:none}
  .stat,.method-card,.card,.lg,.model-tab{transition:none}
}

/* footer */
.site-footer{border-top:1px solid var(--border); margin-top:56px; padding:32px 0; text-align:center}
.site-footer p{margin:0 0 6px; font-size:13px; color:var(--muted)}
.site-footer a{color:var(--hero); text-decoration:none}
.site-footer a:hover{text-decoration:underline}

@media(max-width:820px){.transcript-compare{grid-template-columns:1fr}}
@media(max-width:640px){
  .hero h1{font-size:26px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .method-grid{grid-template-columns:1fr}
  .topnav{padding:0 12px}
}
