/* BetterAIChat2 site — dark console aesthetic, no dependencies */

:root {
  --bg: #0B0B0D;
  --bg-alt: #0E0E11;
  --panel: #121216;
  --panel-2: #17171C;
  --border: #26262E;
  --border-soft: #1C1C22;
  --text: #ECECF1;
  --muted: #9B9BA7;
  --faint: #6C6C78;
  --primary: #7AA2F7;
  --teal: #3DDCC4;
  --purple: #C084FC;
  --yellow: #E0AF68;
  --red: #FF6B6B;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

code, .mono, pre { font-family: var(--mono); }

code {
  font-size: .88em;
  background: var(--panel-2);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 1px 5px;
  white-space: nowrap;
}

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }
.wrap.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #000; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11, 11, 13, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner {
  width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; height: 62px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); font-weight: 650; letter-spacing: -.01em; font-size: 15px;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gh-pill {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 13px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px; transition: color .2s, border-color .2s;
}
.gh-pill:hover { color: var(--text); border-color: #3a3a46; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 12px 20px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-primary { background: var(--primary); color: #08101f; }
.btn-primary:hover { background: #98b8ff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #3d3d49; background: rgba(255,255,255,.03); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 150px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 720px; pointer-events: none;
  background:
    radial-gradient(560px 340px at 22% 18%, rgba(122,162,247,.14), transparent 70%),
    radial-gradient(520px 320px at 82% 8%, rgba(192,132,252,.10), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 18px;
}
h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 720;
  margin: 0 0 22px;
}
.grad {
  background: linear-gradient(120deg, var(--purple), var(--primary) 55%, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero-meta { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin: 22px 0 0; }

/* ---------- phone demo ---------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative; width: min(330px, 86vw);
  background: #0f0f13; border: 1px solid var(--border);
  border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 999px; background: #050507; z-index: 3;
  border: 1px solid #17171c;
}
.phone-screen {
  border-radius: 36px; overflow: hidden; background: var(--bg);
  border: 1px solid #17171c;
  height: 620px; display: flex; flex-direction: column;
}
.demo-top {
  display: flex; align-items: center; gap: 8px;
  padding: 34px 14px 12px; border-bottom: 1px solid var(--border-soft);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.demo-back { color: var(--faint); }
.demo-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.demo-meter { color: var(--faint); }
.demo-chip {
  color: var(--teal); border: 1px solid rgba(61,220,196,.3);
  background: rgba(61,220,196,.08);
  border-radius: 6px; padding: 2px 7px; font-size: 10px; letter-spacing: .06em;
}
.demo-body {
  flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px;
  overflow: hidden; position: relative;
}
.d-msg {
  align-self: flex-end; max-width: 88%;
  background: rgba(61,220,196,.10); border: 1px solid rgba(61,220,196,.22);
  color: #E2F8F3; border-radius: 16px 16px 4px 16px;
  padding: 10px 13px; font-size: 13.5px; line-height: 1.45;
}
.d-think {
  border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 10px 12px; background: var(--panel);
}
.d-think-head { display: flex; align-items: center; gap: 8px; }
.d-think-label { font-family: var(--mono); font-size: 11px; color: var(--primary); }
.d-think-done { display: none; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.d-think.is-done .d-think-label { display: none; }
.d-think.is-done .d-dots { display: none; }
.d-think.is-done .d-think-done { display: inline; }
.d-dots { display: inline-flex; gap: 3px; }
.d-dots i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
  animation: blink 1.1s infinite ease-in-out;
}
.d-dots i:nth-child(2) { animation-delay: .16s; }
.d-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.d-think-text {
  font-family: var(--mono); font-size: 10.5px; color: var(--faint);
  margin-top: 6px; white-space: nowrap; overflow: hidden; min-height: 14px;
}
.d-tool {
  border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 8px 10px; background: var(--panel);
  display: flex; flex-direction: column; gap: 5px;
}
.d-tool-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; }
.d-tool-name { color: var(--primary); }
.d-tool-args {
  flex: 1; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.d-tool-ok { color: var(--teal); }
.d-tool-result {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.d-answer { display: flex; flex-direction: column; gap: 7px; }
.d-h { font-weight: 700; font-size: 14px; margin: 0; }
.d-sub { color: var(--muted); font-size: 12.5px; margin: 0; }
.d-sub b, .d-h b { color: var(--text); }
.d-line { font-size: 12.5px; color: var(--text); margin: 0; font-family: var(--mono); }
/* staged reveal */
.d-msg, .d-think, .d-tool, .d-answer { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.d-msg.show, .d-think.show, .d-tool.show, .d-answer.show { opacity: 1; transform: none; }
.d-answer > * { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.d-answer > *.show { opacity: 1; transform: none; }
.d-replay {
  position: absolute; right: 14px; bottom: 4px;
  background: transparent; color: var(--faint); border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 4px 10px; font-size: 11px; font-family: var(--mono);
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s, color .2s;
}
.d-replay.show { opacity: 1; pointer-events: auto; }
.d-replay:hover { color: var(--text); }
.demo-input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 18px; border-top: 1px solid var(--border-soft);
}
.d-plus, .d-send { color: var(--faint); font-size: 15px; }
.d-field {
  flex: 1; color: var(--faint); font-size: 13px;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px;
}
.hero-caption { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 16px; text-align: center; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  margin-top: 84px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.stat { padding: 22px 26px; border-left: 1px solid var(--border-soft); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section h2 {
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08;
  letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700;
}
.section-lede { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 44px; }
.section .eyebrow { margin-bottom: 12px; }

/* ---------- feature tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-family: var(--sans); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-color: rgba(122,162,247,.55); background: rgba(122,162,247,.10); }
.panels { border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.panel { display: none; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 40px; }
.panel.is-active { display: grid; }
.panel h3 { font-size: 23px; letter-spacing: -.02em; margin: 0 0 12px; }
.panel p { color: var(--muted); margin: 0 0 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.checks li { position: relative; padding-left: 24px; color: var(--text); font-size: 14.5px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 700;
}
.panel-visual { display: flex; align-items: center; }
.mock {
  width: 100%; border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--panel-2);
  padding: 16px;
}
.mock-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 12.5px; }
.mock-badge {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 7px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.ok { background: var(--teal); }
.mock-body { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 7px; }
.mock-body p { margin: 0; }
.ok-line { color: var(--teal); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.pill { font-family: var(--mono); font-size: 10.5px; border-radius: 6px; padding: 2px 8px; }
.pill.on { color: var(--teal); border: 1px solid rgba(61,220,196,.35); background: rgba(61,220,196,.08); }
.pill.safe { color: var(--primary); border: 1px solid rgba(122,162,247,.35); background: rgba(122,162,247,.08); }
.pill.none { color: var(--muted); border: 1px solid var(--border-soft); }
.muted { color: var(--muted); }
.timeline { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.timeline span { display: flex; align-items: center; gap: 9px; }
.tl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); display: inline-block; flex: none; }
.file-line { color: var(--text); }
.yaml-card pre { margin: 0; font-size: 11.5px; line-height: 1.6; color: #c9d4f5; overflow-x: auto; }
.priv-card .row { border-bottom: 1px dashed var(--border-soft); }
.priv-card .row:last-child { border-bottom: 0; }

/* ---------- modes ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.mode-card { border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; background: var(--panel); }
.mode-card p { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.mode-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  border-radius: 6px; padding: 3px 9px; border: 1px solid var(--border);
}
.mode-chip.chat { color: var(--muted); }
.mode-chip.plus { color: var(--teal); border-color: rgba(61,220,196,.35); }
.mode-chip.act { color: var(--primary); border-color: rgba(122,162,247,.4); }
.mode-chip.max { color: #08101f; background: var(--primary); border-color: var(--primary); }

/* ---------- models ---------- */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model-card {
  border: 1px solid var(--border-soft); border-radius: 12px; padding: 16px;
  background: var(--panel); display: flex; flex-direction: column; gap: 6px;
}
.model-card b { font-size: 15px; }
.model-card span { font-size: 11.5px; color: var(--muted); }
.model-card.wide { grid-column: span 4; flex-direction: row; align-items: center; justify-content: space-between; }
.fineprint { font-size: 13px; color: var(--faint); margin-top: 20px; }

/* ---------- posters ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.poster {
  position: relative; padding: 0; border: 1px solid var(--border-soft);
  border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in;
  transition: transform .2s ease, border-color .2s ease;
}
.poster:hover { transform: translateY(-4px); border-color: #3a3a46; }
.poster img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; }
.poster span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px; font-size: 12px; color: var(--text); text-align: left;
  background: linear-gradient(180deg, transparent, rgba(5,5,7,.92));
  font-family: var(--mono);
}

/* ---------- compare ---------- */
.table-wrap { border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: auto; margin-top: 34px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td {
  text-align: left; padding: 14px 18px; font-size: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.compare thead th {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.02);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-us { background: rgba(122,162,247,.06); }
.compare thead .col-us { color: var(--primary); }
.compare .yes { color: var(--teal); font-weight: 600; }
.compare .partial { color: var(--yellow); }
.compare .no { color: var(--faint); }

/* ---------- faq ---------- */
.faq { margin-top: 30px; border-top: 1px solid var(--border-soft); }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq summary {
  cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-size: 16px; font-weight: 550; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 20px; font-weight: 300; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; max-width: 680px; }

/* ---------- cta ---------- */
.cta-section { padding: 110px 0 120px; }
.cta-box {
  position: relative; text-align: center;
  border: 1px solid rgba(122,162,247,.25); border-radius: 24px;
  padding: 64px 32px; overflow: hidden;
  background: var(--panel);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 50% 0%, rgba(122,162,247,.16), transparent 70%);
}
.cta-icon { border-radius: 16px; margin-bottom: 18px; }
.cta-box h2 { margin-bottom: 10px; }
.cta-box p { color: var(--muted); margin: 0 0 28px; }
.cta-box .cta-row { position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 62px 0 34px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-weight: 600;
}
.footer a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; }
.footer a:hover { color: var(--text); }
.footer-brand p { font-size: 13.5px; max-width: 300px; margin: 12px 0 0; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  font-size: 12.5px; color: var(--faint);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,5,7,.94);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px; padding: 40px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: min(78vh, 900px); border-radius: 14px;
  border: 1px solid var(--border); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
}
.lb-caption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: transparent; border: 1px solid var(--border);
  color: var(--muted); border-radius: 10px; cursor: pointer;
  font-size: 20px; line-height: 1; padding: 8px 14px;
  transition: color .2s, border-color .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--text); border-color: #3d3d49; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- download modal ---------- */
.dl-modal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(5,5,7,.86);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.dl-modal[hidden] { display: none; }
.dl-box {
  position: relative; width: min(580px, 100%);
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.dl-box h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; }
.dl-sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; font-family: var(--mono); }
.dl-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  border-radius: 9px; font-size: 18px; line-height: 1; padding: 5px 11px; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.dl-close:hover { color: var(--text); border-color: #3d3d49; }
.dl-options { display: flex; flex-direction: column; gap: 10px; }
.dl-option {
  display: block; border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 14px 16px; background: var(--panel-2);
  transition: border-color .2s, transform .15s;
}
.dl-option:hover { border-color: rgba(122,162,247,.5); transform: translateY(-1px); text-decoration: none; }
.dl-option b { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--text); font-weight: 600; }
.dl-option > span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.dl-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 7px;
}
.dl-tag.hot { color: var(--teal); border-color: rgba(61,220,196,.4); background: rgba(61,220,196,.08); }
.dl-note { color: var(--faint); font-size: 12px; margin: 18px 0 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .d-msg, .d-think, .d-tool, .d-answer, .d-answer > * { opacity: 1; transform: none; transition: none; }
  .d-dots i { animation: none; opacity: 1; }
  .poster:hover, .btn:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .model-card.wide { grid-column: span 3; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .panel-visual { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .nav-inner { width: calc(100% - 32px); gap: 12px; }
  .gh-pill span#star-count { display: none; }
  .section { padding: 68px 0; }
  .hero { padding-top: 104px; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .model-card.wide { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 4px; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .mode-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .compare th, .compare td { padding: 11px 12px; font-size: 13px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
