/* ==========================================================
   AI Lens — AI product reviews
   Theme tokens, layout, components
   ========================================================== */

:root {
  --bg: #07070d;
  --bg-2: #0d0d17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #12121e;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef0f7;
  --text-2: #a6abc2;
  --text-3: #6f748c;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --warm: #f59e0b;
  --good: #34d399;
  --bad: #fb7185;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #22d3ee 55%, #f472b6 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, .18), rgba(34, 211, 238, .12));
  --claude: #d97757;
  --magic: #a855f7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  /* Soft "lavender paper": a calm mid-tone page with clearly lifted white cards */
  --bg: #e8e6f0;
  --bg-2: #dfdcea;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-2: rgba(255, 255, 255, 0.82);
  --surface-solid: #f8f7fc;
  --border: rgba(45, 35, 95, 0.12);
  --border-strong: rgba(45, 35, 95, 0.22);
  --text: #1b1930;
  --text-2: #484660;
  --text-3: #5f5d78;
  --accent: #7c3aed;
  --accent-2: #0b6477;
  --accent-3: #db2777;
  --shadow: 0 18px 44px -24px rgba(40, 30, 90, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, .prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: .88rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 560px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Background decoration ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(1) { width: 520px; height: 520px; background: #6d28d9; top: -160px; left: -120px; }
.bg-orbs span:nth-child(2) { width: 460px; height: 460px; background: #0e7490; top: 30%; right: -160px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 380px; height: 380px; background: #be185d; bottom: -140px; left: 30%; opacity: .25; animation-delay: -12s; }
:root[data-theme="light"] .bg-orbs span { opacity: .12; }
:root[data-theme="light"] .grid-lines { opacity: .35; }
.grid-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 24px -6px rgba(139, 92, 246, .8);
}
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: .95rem; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="light"] .theme-icon-dark { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap; text-decoration: none !important;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8); background-size: 150% 150%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(139, 92, 246, .9); background-position: 100% 0; }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-claude { background: var(--claude); color: #fff; box-shadow: 0 10px 30px -12px rgba(217, 119, 87, .9); }
.btn-claude:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-magic { background: linear-gradient(120deg, #a855f7, #ec4899); color: #fff; box-shadow: 0 10px 30px -12px rgba(168, 85, 247, .9); }
.btn-magic:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .88rem; color: var(--text-2); margin-bottom: 26px;
}
.pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.2rem; color: var(--text-2); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div { font-size: .88rem; color: var(--text-3); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--text); line-height: 1.1; }

.hero-visual { position: relative; min-height: 460px; }
.float-card {
  position: absolute; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); width: 300px;
  animation: float 7s ease-in-out infinite;
}
.float-card:nth-child(1) { top: 0; left: 0; }
.float-card:nth-child(2) { top: 150px; right: 0; animation-delay: -2.5s; }
.float-card:nth-child(3) { bottom: 0; left: 40px; animation-delay: -5s; width: 260px; }
@keyframes float { 50% { transform: translateY(-14px); } }
.fc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fc-head h4 { margin: 0; font-size: 1.02rem; }
.fc-head span { font-size: .8rem; color: var(--text-3); }
.chat-bubble { background: var(--surface-2); border-radius: 14px; padding: 10px 14px; font-size: .88rem; color: var(--text-2); margin-bottom: 8px; }
.chat-bubble.me { background: var(--grad-soft); color: var(--text); margin-left: 30px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.frames div { aspect-ratio: 16/10; border-radius: 8px; }
.frames div:nth-child(1) { background: linear-gradient(135deg, #7c3aed, #f472b6); }
.frames div:nth-child(2) { background: linear-gradient(135deg, #0ea5e9, #7c3aed); }
.frames div:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: 6px; animation: load 3.5s ease-in-out infinite; }
@keyframes load { 0% { width: 8%; } 80%, 100% { width: 96%; } }
.score-ring { display: flex; align-items: center; gap: 16px; }
.score-ring .ring { --p: 96; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent-2) calc(var(--p) * 1%), var(--surface-2) 0); }
.score-ring .ring b { width: 50px; height: 50px; border-radius: 50%; background: var(--surface-solid); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Product avatars ---------- */
.p-avatar { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-family: var(--font-display); font-weight: 700; }
.p-avatar svg { width: 26px; height: 26px; }
.p-avatar.claude { background: linear-gradient(135deg, #d97757, #b4532f); }
.p-avatar.magic { background: linear-gradient(135deg, #a855f7, #ec4899); }
.p-avatar.lg { width: 76px; height: 76px; border-radius: 20px; }
.p-avatar.lg svg { width: 42px; height: 42px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding: 18px 0; overflow: hidden; background: var(--surface); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span { color: var(--text-3); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .3s, border-color .3s, background .3s; position: relative;
}
.card:hover { border-color: var(--border-strong); }
.card-lift:hover { transform: translateY(-5px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.review-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.review-card .rc-banner { height: 190px; position: relative; overflow: hidden; display: grid; place-items: center; }
.rc-banner.claude { background: radial-gradient(circle at 30% 30%, #f0a386 0%, #d97757 35%, #6b2c17 100%); }
.rc-banner.magic { background: radial-gradient(circle at 70% 30%, #f9a8d4 0%, #a855f7 40%, #312e81 100%); }
.rc-banner .rc-icon { width: 92px; height: 92px; border-radius: 26px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); display: grid; place-items: center; color: #fff; transition: transform .4s; }
.review-card:hover .rc-icon { transform: scale(1.08) rotate(-4deg); }
.rc-banner .rc-icon svg { width: 50px; height: 50px; }
.rc-banner .badge-float { position: absolute; top: 16px; left: 16px; }
.rc-banner .score-float { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.45); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-family: var(--font-display); backdrop-filter: blur(6px); }
.rc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.rc-body h3 { font-size: 1.45rem; margin-bottom: 6px; }
.rc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rc-body p { color: var(--text-2); flex: 1; }
.rc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.badge.hot { background: rgba(244, 114, 182, .15); border-color: rgba(244, 114, 182, .35); color: #f9a8d4; }
.badge.pick { background: rgba(34, 211, 238, .15); border-color: rgba(34, 211, 238, .35); color: #67e8f9; }
.badge.new { background: rgba(52, 211, 153, .15); border-color: rgba(52, 211, 153, .35); color: #6ee7b7; }
:root[data-theme="light"] .badge.hot { color: #be185d; }
:root[data-theme="light"] .badge.pick { color: #0e7490; }
:root[data-theme="light"] .badge.new { color: #047857; }
.rc-banner .badge { background: rgba(0,0,0,.4); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }

.stars { display: inline-flex; gap: 2px; color: var(--warm); font-size: 1rem; letter-spacing: 1px; }

.feature-card .fi { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 18px; color: var(--accent-2); }
.feature-card .fi svg { width: 24px; height: 24px; }
.feature-card p { color: var(--text-2); margin: 0; font-size: .96rem; }

/* category tiles */
.cat-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.cat-tile .ct-emoji { font-size: 1.8rem; }
.cat-tile h3 { margin: 0; font-size: 1.1rem; }
.cat-tile p { margin: 0; color: var(--text-2); font-size: .9rem; }
.cat-tile .ct-count { font-size: .8rem; color: var(--text-3); margin-top: auto; }
.cat-tile.soon { opacity: .65; }

/* news */
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-card .nc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--text-3); }
.news-card h3 { font-size: 1.12rem; margin: 0; }
.news-card p { color: var(--text-2); font-size: .94rem; margin: 0; }
.news-card .nc-source { font-size: .82rem; color: var(--text-3); margin-top: auto; }
.news-card .nc-source a { color: var(--accent-2); }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.tag.models { background: rgba(139, 92, 246, .16); color: #c4b5fd; }
.tag.policy { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.tag.safety { background: rgba(251, 113, 133, .15); color: #fda4af; }
.tag.industry { background: rgba(245, 158, 11, .15); color: #fcd34d; }
.tag.creative { background: rgba(244, 114, 182, .15); color: #f9a8d4; }
:root[data-theme="light"] .tag.models { color: #6d28d9; }
:root[data-theme="light"] .tag.policy { color: #0e7490; }
:root[data-theme="light"] .tag.safety { color: #be123c; }
:root[data-theme="light"] .tag.industry { color: #b45309; }
:root[data-theme="light"] .tag.creative { color: #be185d; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-bar button { font: inherit; font-size: .88rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: all .2s; }
.filter-bar button:hover { color: var(--text); border-color: var(--border-strong); }
.filter-bar button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.news-card.hidden { display: none; }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface); }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; vertical-align: top; }
table.compare thead th { font-family: var(--font-display); font-size: 1rem; background: var(--surface-2); }
table.compare tbody th { color: var(--text-2); font-weight: 500; width: 26%; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--good); font-weight: 600; }
.no { color: var(--bad); font-weight: 600; }

/* newsletter / CTA band */
.cta-band {
  border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(34, 211, 238, .12) 60%, rgba(244, 114, 182, .2));
  border: 1px solid var(--border-strong);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-2); margin: 0; }
.subscribe { display: flex; gap: 10px; background: var(--surface-solid); padding: 6px; border-radius: 999px; border: 1px solid var(--border); }
.subscribe input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: 0 16px; outline: none; }
.form-note { font-size: .82rem; color: var(--text-3); margin-top: 10px; }
.form-note.ok { color: var(--good); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-2); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--text-2); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Review page ---------- */
.review-hero { padding: 70px 0 50px; }
.crumbs { font-size: .86rem; color: var(--text-3); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.rh-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.rh-title { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.rh-title h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.rh-title .muted { font-size: 1.05rem; }
.verdict-box { background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 94px; }
.verdict-box .vb-score { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.verdict-box .vb-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.verdict-box .vb-num small { font-size: 1.1rem; color: var(--text-3); font-weight: 500; }
.bars { display: grid; gap: 12px; margin: 20px 0 24px; }
.bar-row { font-size: .86rem; }
.bar-row .bar-label { display: flex; justify-content: space-between; color: var(--text-2); margin-bottom: 5px; }
.bar-row .bar { height: 7px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; background: var(--grad); border-radius: 7px; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.vb-fine { font-size: .78rem; color: var(--text-3); margin-top: 12px; text-align: center; }

.review-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.review-layout > *, .rh-grid > *, .hero-grid > * { min-width: 0; }
.toc { position: sticky; top: 94px; font-size: .9rem; }
.toc h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--text-3); border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--accent-2); }

.prose { max-width: 760px; }
.prose > section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.prose > section:last-child { border-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.pros-cons > div { border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); background: var(--surface); }
.pros-cons h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding-left: 26px; position: relative; font-size: .95rem; }
.pros-cons .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.pros-cons .cons li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }
.pros-cons .pros { border-color: rgba(52, 211, 153, .3); }
.pros-cons .cons { border-color: rgba(251, 113, 133, .3); }

.steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 24px 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 22px 62px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 4px; width: 2px; background: var(--border); }
.steps li:last-child::after { display: none; }
.steps li strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }

.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.usecase { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.usecase:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.usecase .uc-emoji { font-size: 1.6rem; margin-bottom: 8px; }
.usecase h4 { margin: 0 0 6px; font-size: 1.02rem; }
.usecase p { margin: 0; font-size: .92rem; }

.callout { border-radius: var(--radius); padding: 22px 24px; margin: 24px 0; border: 1px solid var(--border); background: var(--grad-soft); display: flex; gap: 16px; }
.callout .co-icon { font-size: 1.4rem; flex-shrink: 0; }
.callout p { margin: 0; color: var(--text); }
.callout p + p { margin-top: .6em; }

.prompt-box { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 16px 0; overflow: hidden; }
.prompt-box .pb-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--text-3); background: var(--surface); }
.prompt-box .pb-head button { font: inherit; font-size: .78rem; background: transparent; border: 1px solid var(--border); color: var(--text-2); padding: 4px 10px; border-radius: 8px; cursor: pointer; }
.prompt-box .pb-head button:hover { color: var(--text); border-color: var(--border-strong); }
.prompt-box pre { margin: 0; padding: 16px; white-space: pre-wrap; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .86rem; line-height: 1.6; color: var(--text); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 24px 0; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); position: relative; }
.price-card.featured { border-color: var(--accent); background: var(--grad-soft); }
.price-card.featured::before { content: "Our pick"; position: absolute; top: -11px; left: 16px; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.price-card h4 { margin: 0 0 4px; font-size: 1rem; }
.price-card .pc-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.price-card .pc-price small { font-size: .82rem; color: var(--text-3); font-weight: 500; }
.price-card p { font-size: .86rem; margin: 8px 0 0; }

.aff-box {
  margin: 40px 0 0; padding: 32px; border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .1));
  border: 1px solid var(--border-strong);
}
.aff-box h3 { font-size: 1.5rem; }
.aff-box p { color: var(--text-2); max-width: 520px; margin: 0 auto 20px; }

.disclosure { font-size: .82rem; color: var(--text-3); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 26px; }
.disclosure a { color: var(--text-2); }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 16px; left: 50%; transform: translate(-50%, 140%); z-index: 60;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); width: max-content;
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta span { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Page header (news/about) ---------- */
.page-head { padding: 80px 0 40px; text-align: center; }
.page-head .lead { color: var(--text-2); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-family: var(--font); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--text-2); font-size: .94rem; text-decoration: none; }
.footer li a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--text-3); }
.footer-about p { color: var(--text-2); font-size: .94rem; margin-top: 14px; max-width: 320px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .rh-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .review-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .verdict-box { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .container { padding: 0 16px; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-solid); border-bottom: 1px solid var(--border); padding: 10px 16px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .menu-btn { display: grid; }
  .nav-actions .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .pros-cons, .usecase-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero-visual { min-height: 400px; }
  .float-card { width: 250px; padding: 16px; }
  .float-card:nth-child(2) { top: 140px; }
  .float-card:nth-child(3) { left: 10px; width: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; border-radius: 22px; }
  .subscribe { flex-direction: column; border-radius: 18px; }
  .subscribe input { padding: 12px 14px; }
  .rh-title { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- TradingView ---------- */
:root { --tv: #2962ff; }
.p-avatar.tv { background: linear-gradient(135deg, #2962ff, #0b1f66); }
.rc-banner.tv { background: radial-gradient(circle at 25% 70%, #7aa2ff 0%, #2962ff 38%, #0a1540 100%); }
.btn-tv { background: var(--tv); color: #fff; box-shadow: 0 10px 30px -12px rgba(41, 98, 255, .9); }
.btn-tv:hover { transform: translateY(-2px); filter: brightness(1.1); }
.tag.finance { background: rgba(41, 98, 255, .18); color: #93b4ff; }
:root[data-theme="light"] .tag.finance { color: #1d4ed8; }
.badge.fin { background: rgba(41, 98, 255, .16); border-color: rgba(41, 98, 255, .4); color: #93b4ff; }
:root[data-theme="light"] .badge.fin { color: #1d4ed8; }

/* Copilot demo: chart + assistant side panel */
.copilot-demo {
  display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow); margin: 28px 0;
}
.cd-chart { padding: 16px; border-right: 1px solid var(--border); min-width: 0; }
.cd-bar { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-3); margin-bottom: 10px; flex-wrap: wrap; }
.cd-bar b { color: var(--text); font-family: var(--font-display); font-size: .95rem; }
.cd-bar .up { color: #26a69a; font-weight: 600; }
.cd-chart svg { width: 100%; height: auto; display: block; }
.cd-panel { padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: .86rem; min-width: 0; }
.cd-panel .cd-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.cd-panel .cd-title i { width: 8px; height: 8px; border-radius: 50%; background: #26a69a; box-shadow: 0 0 0 4px rgba(38,166,154,.2); }
.cd-panel .chat-bubble { margin: 0; font-size: .84rem; line-height: 1.5; }
.cd-panel .chat-bubble.me { margin-left: 24px; }
.cd-panel ul { margin: 4px 0 0; padding-left: 1.1em; }
.cd-panel li { margin: 0; color: var(--text-2); }

.learn-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 24px 0; }
.learn-day { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; background: var(--surface); }
.learn-day span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.learn-day h4 { margin: 6px 0 6px; font-size: 1rem; }
.learn-day p { margin: 0; font-size: .88rem; }

.risk-note { border: 1px solid rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .08); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .88rem; color: var(--text-2); margin: 20px 0; }
.risk-note strong { color: var(--warm); }

@media (max-width: 760px) {
  .copilot-demo { grid-template-columns: 1fr; }
  .cd-chart { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- CustomGPT.ai ---------- */
:root { --cg: #0d9488; }
.p-avatar.cg { background: linear-gradient(135deg, #14b8a6, #0f3d4a); }
.rc-banner.cg { background: radial-gradient(circle at 70% 70%, #5eead4 0%, #0d9488 38%, #082f3a 100%); }
.btn-cg { background: linear-gradient(120deg, #0d9488, #0891b2); color: #fff; box-shadow: 0 10px 30px -12px rgba(13, 148, 136, .9); }
.btn-cg:hover { transform: translateY(-2px); filter: brightness(1.1); }
.badge.biz { background: rgba(20, 184, 166, .15); border-color: rgba(20, 184, 166, .4); color: #5eead4; }
:root[data-theme="light"] .badge.biz { color: #0f766e; }
.tag.biz { background: rgba(20, 184, 166, .16); color: #5eead4; }
:root[data-theme="light"] .tag.biz { color: #0f766e; }

/* RAG flow diagram */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; counter-reset: flow; }
.flow-step { position: relative; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 18px 16px; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translate(50%, -50%); color: var(--accent-2); font-weight: 700; z-index: 1; }
.flow-step .fs-emoji { font-size: 1.5rem; }
.flow-step h4 { margin: 8px 0 4px; font-size: .98rem; }
.flow-step p { margin: 0; font-size: .85rem; }

/* Website chat widget mock */
.widget-demo { display: grid; grid-template-columns: 1fr 340px; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: var(--surface-solid); box-shadow: var(--shadow); margin: 28px 0; }
.wd-site { padding: 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wd-site .ph { height: 10px; border-radius: 6px; background: var(--surface-2); }
.wd-site .ph.h { height: 22px; width: 60%; background: var(--grad-soft); }
.wd-site .ph.box { height: 90px; border-radius: 12px; }
.wd-chat { display: flex; flex-direction: column; min-width: 0; }
.wd-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(120deg, #0d9488, #0891b2); color: #fff; font-weight: 600; font-size: .9rem; }
.wd-head small { display: block; font-weight: 400; opacity: .85; font-size: .75rem; }
.wd-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.wd-body .chat-bubble { margin: 0; font-size: .84rem; line-height: 1.5; }
.wd-body .chat-bubble.me { margin-left: 36px; }
.src-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.src-chips span { font-size: .72rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--text-2); background: var(--surface); }

.case-study { border-radius: 22px; padding: 34px; margin: 26px 0; border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(163, 31, 52, .22), rgba(139, 92, 246, .1)); }
.case-study .cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.case-study .cs-stats div { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.case-study .cs-stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); line-height: 1.1; }
.case-study .cs-stats span { font-size: .84rem; color: var(--text-2); }

@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2)::after { display: none; }
  .widget-demo { grid-template-columns: 1fr; }
  .wd-site { display: none; }
  .case-study { padding: 24px 20px; }
  .case-study .cs-stats { grid-template-columns: 1fr; }
}

/* ---------- Brand logos & media showcase ---------- */
.p-avatar.logo { background: #0b0b12; border: 1px solid var(--border); overflow: hidden; }
.p-avatar.logo img { width: 78%; height: 78%; object-fit: contain; }
.rc-icon.logo img { width: 62px; height: 62px; object-fit: contain; }

.shot { margin: 24px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: .86rem; color: var(--text-2); border-top: 1px solid var(--border); }

.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 26px 0; max-width: 620px; }
.showcase figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow); }
.showcase video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
.showcase figcaption { padding: 14px 16px; font-size: .88rem; color: var(--text-2); }
.showcase figcaption strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.showcase .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 560px) { .showcase { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---------- Feature: Retro Futures ---------- */
.feature-hero { padding: 60px 0 30px; }
.feature-hero .fh-art { border-radius: 24px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); margin-top: 34px; }
.feature-hero .fh-art img { width: 100%; height: auto; }
.byline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--text-3); font-size: .88rem; margin-top: 14px; }
.decade-nav { position: sticky; top: 70px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin: 0 0 10px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.decade-nav::-webkit-scrollbar { display: none; }
.decade-nav a { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .86rem; font-weight: 600; color: var(--text-2); }
.decade-nav a:hover { color: var(--text); border-color: var(--border-strong); }

.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.legend div { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; }
.legend strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.legend span { font-size: .86rem; color: var(--text-2); }

.decade { padding: 64px 0 20px; scroll-margin-top: 130px; }
.decade-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.decade-head .dh-year { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.decade-head .dh-art { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.decade-head .dh-art img { width: 100%; height: auto; }
.decade-head p { color: var(--text-2); }
.vibe { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }

.pred-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.pred-card .pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pred-card .pc-src { font-size: .78rem; color: var(--text-3); line-height: 1.4; }
.pred-card .pc-src b { display: block; color: var(--text-2); font-size: .84rem; }
.pred-card h3 { font-size: 1.12rem; margin: 2px 0 0; }
.pred-card p { margin: 0; font-size: .92rem; color: var(--text-2); }
.pred-card p b { color: var(--text); font-weight: 600; }
.pred-card .pc-quip { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border-strong); font-style: italic; color: var(--text); }
.verdict { flex-shrink: 0; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.verdict.hit { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
.verdict.close { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.verdict.miss { background: rgba(251, 113, 133, .16); color: #fda4af; }
.verdict.wait { background: rgba(245, 158, 11, .16); color: #fcd34d; }
:root[data-theme="light"] .verdict.hit { color: #047857; }
:root[data-theme="light"] .verdict.close { color: #0e7490; }
:root[data-theme="light"] .verdict.miss { color: #be123c; }
:root[data-theme="light"] .verdict.wait { color: #b45309; }

.lessons { counter-reset: lesson; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lessons .card { padding: 26px; }
.lessons .card h3::before { counter-increment: lesson; content: counter(lesson, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 1rem; color: var(--accent-2); margin-bottom: 6px; }
.lessons .card p { color: var(--text-2); margin: 0; font-size: .96rem; }
.sources { font-size: .84rem; color: var(--text-3); }
.sources li { margin-bottom: 4px; }

@media (max-width: 1000px) { .decade-head { grid-template-columns: 1fr; } .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .lessons { grid-template-columns: 1fr; } .decade-nav { top: 70px; } }

/* Nav links are list items: keep them free of the prose underline */
.nav-links a { text-decoration: none; }
.feature-teaser { display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; }
.feature-teaser img { width: 100%; height: 100%; object-fit: cover; }
.feature-teaser .ft-body { padding: 40px; }
@media (max-width: 860px) { .feature-teaser { grid-template-columns: 1fr; } .feature-teaser img { aspect-ratio: 2 / 1; height: auto; } .feature-teaser .ft-body { padding: 26px 22px; } }

/* ---------- Verdict votes on prediction cards ---------- */
.vote-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--text-3); padding-top: 10px; }
.vote-bar button { font: inherit; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: all .15s; }
.vote-bar button:hover { border-color: var(--border-strong); color: var(--text); }
.vote-bar button[aria-pressed="true"].up { background: rgba(52, 211, 153, .18); border-color: rgba(52, 211, 153, .5); color: var(--good); }
.vote-bar button[aria-pressed="true"].down { background: rgba(251, 113, 133, .18); border-color: rgba(251, 113, 133, .5); color: var(--bad); }
.vote-bar .vb-share { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- Comments ---------- */
.comments { max-width: 820px; margin: 0 auto; }
.comments-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.comments-head h2 { margin: 0; }
.comments-sort { display: flex; gap: 6px; }
.comments-sort button { font: inherit; font-size: .84rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; }
.comments-sort button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.c-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; margin-bottom: 26px; }
.c-form.reply { margin: 12px 0 4px; padding: 14px; }
.c-form input[type=text], .c-form textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--surface-solid); border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .15s; }
.c-form input[type=text]:focus, .c-form textarea:focus { border-color: var(--accent); }
.c-form textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.c-form .c-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.c-form .c-row input[type=text] { flex: 1 1 200px; }
.c-form .c-hint { font-size: .78rem; color: var(--text-3); margin-right: auto; }
.c-form .c-err { font-size: .85rem; color: var(--bad); }
.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-list { display: grid; gap: 14px; }
.c-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.c-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .95rem; }
.c-body { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 16px; min-width: 0; }
.c-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .82rem; color: var(--text-3); }
.c-meta strong { color: var(--text); font-size: .92rem; }
.c-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 8px; color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.c-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.c-actions button { font: inherit; font-size: .8rem; background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 3px 8px; border-radius: 8px; }
.c-actions button:hover { color: var(--text); background: var(--surface-2); }
.c-actions button[aria-pressed="true"] { color: var(--accent-3); }
.c-replies { grid-column: 2; display: grid; gap: 12px; margin-top: 4px; }
.c-empty { text-align: center; color: var(--text-3); padding: 26px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.c-new { animation: cNew 1.6s ease; }
@keyframes cNew { from { box-shadow: 0 0 0 3px var(--accent); } to { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 560px) { .c-item { grid-template-columns: 32px 1fr; gap: 9px; } .c-avatar { width: 32px; height: 32px; font-size: .8rem; } }

/* ---------- Nova, the AI Lens mascot ---------- */
.nova-says { display: flex; align-items: flex-end; gap: 14px; margin: 22px 0; }
.nova-says > img { width: 96px; height: auto; flex-shrink: 0; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.nova-says.sm > img { width: 64px; }
.nova-says.lg > img { width: 150px; }
.nova-bubble { position: relative; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 18px; padding: 13px 17px; box-shadow: var(--shadow); font-size: .95rem; color: var(--text-2); margin-bottom: 26px; max-width: 560px; }
.nova-bubble::before { content: ""; position: absolute; left: -9px; bottom: 16px; width: 16px; height: 16px; background: var(--surface-solid); border-left: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); transform: rotate(45deg); border-bottom-left-radius: 4px; }
.nova-bubble b.nova-name { display: block; font-family: var(--font-display); color: var(--text); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.nova-bubble b.nova-name::after { content: " 🐾"; }
.nova-bubble p { margin: 0; }
.nova-bob { animation: novaBob 5s ease-in-out infinite; }
@keyframes novaBob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.hero-nova { position: absolute; right: -10px; bottom: -30px; width: 130px; z-index: 3; }
.hero-nova img { width: 100%; height: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
.hero-nova .hn-bubble { position: absolute; right: 44px; top: -30px; white-space: nowrap; background: #fff; color: #1b1236; font-weight: 700; font-size: .85rem; padding: 7px 12px; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.footer-nova { display: flex; align-items: center; gap: 8px; font-size: .84rem !important; color: var(--text-3) !important; }
.footer-nova img { width: 30px; height: 30px; }
@media (max-width: 760px) {
  .nova-says > img { width: 70px; }
  .nova-says.lg > img { width: 110px; }
  .hero-nova { width: 110px; right: 0; bottom: -18px; }
  .hero-nova .hn-bubble { right: 30px; top: -26px; font-size: .78rem; }
}

/* ---------- Feature: AI Forecast ---------- */
.fc-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.fc-hero .fc-nova { position: relative; text-align: center; padding-top: 64px; }
.fc-hero .fc-nova img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 20px 40px rgba(139, 92, 246, .35)); }
.fc-hero .fc-nova .hn-bubble { position: absolute; top: 0; left: 50%; transform: translateX(-60%); background: #fff; color: #1b1236; font-weight: 700; font-size: .88rem; padding: 9px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 8px 24px rgba(0,0,0,.3); max-width: 230px; text-align: left; }
.checkins { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.checkin { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 14px; padding: 12px 16px; min-width: 190px; }
.checkin span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.checkin strong { font-family: var(--font-display); font-size: 1.15rem; }
.checkin em { display: block; font-style: normal; font-size: .84rem; color: var(--accent-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-tile { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.stat-tile .st-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.05; color: var(--text); }
.stat-tile .st-label { font-size: .9rem; color: var(--text-2); }
.stat-tile .st-src { margin-top: auto; font-size: .74rem; color: var(--text-3); }
.stat-tile .st-src a { color: var(--text-3); }
.stat-tile.warn .st-num::after { content: " ⚠︎"; font-size: 1rem; color: var(--warm); }

.chart-card { border: 1px solid var(--border); background: var(--surface-solid); border-radius: var(--radius); padding: 22px 22px 14px; position: relative;
  --s1: #8b5cf6; --s2: #0ea5c6; }
:root[data-theme="light"] .chart-card { --s1: #7c3aed; --s2: #0891b2; }
.chart-card h3 { margin: 0 0 4px; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--text-2); margin: 8px 0 6px; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-card svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-card .grid line { stroke: var(--border); }
.chart-card .axis text, .chart-card .lbl { fill: var(--text-3); font-size: 12px; font-family: var(--font); }
.chart-card .dlabel { fill: var(--text); font-size: 13px; font-weight: 700; font-family: var(--font); }
.chart-card .bar { cursor: default; }
.chart-card .bar rect.hit { fill: transparent; }
.chart-card .bar:hover path, .chart-card .bar:focus path { filter: brightness(1.15); }
.chart-card .bar:focus { outline: none; }
.chart-tip { position: absolute; pointer-events: none; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 11px; font-size: .82rem; color: var(--text); box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; white-space: nowrap; z-index: 5; }
.chart-tip.show { opacity: 1; }
.chart-card details { margin-top: 8px; font-size: .86rem; color: var(--text-2); }
.chart-card details table { border-collapse: collapse; margin-top: 8px; }
.chart-card details th, .chart-card details td { padding: 4px 12px 4px 0; text-align: left; border-bottom: 1px solid var(--border); }

.fc-card .pc-cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.fc-card .mood { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.mood.bright { background: rgba(245, 158, 11, .16); color: #fcd34d; }
.mood.mixed { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.mood.cloudy { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
:root[data-theme="light"] .mood.bright { color: #b45309; }
:root[data-theme="light"] .mood.mixed { color: #0e7490; }
:root[data-theme="light"] .mood.cloudy { color: #475569; }
.conf { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text-2); }
.conf .conf-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.conf .conf-bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.conf b { color: var(--text); font-variant-numeric: tabular-nums; }
.pc-status { font-size: .78rem; color: var(--text-3); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.horizon-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.horizon-head .hz-date { font-size: .9rem; color: var(--text-2); border: 1px dashed var(--border-strong); border-radius: 999px; padding: 6px 14px; }

.concern { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--surface); }
.concern > div { padding: 22px 24px; }
.concern .c-now { border-right: 1px solid var(--border); }
.concern h3 { grid-column: 1 / -1; margin: 0; padding: 20px 24px 0; font-size: 1.2rem; }
.concern h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.concern .c-now h4 { color: #cbd5e1; }
.concern .c-hope h4 { color: #fcd34d; }
:root[data-theme="light"] .concern .c-now h4 { color: #475569; }
:root[data-theme="light"] .concern .c-hope h4 { color: #b45309; }
.concern p, .concern li { font-size: .93rem; color: var(--text-2); }
.concern p:last-child { margin-bottom: 0; }
.fun-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fun-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; color: var(--text-2); }

@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .fc-hero { grid-template-columns: 1fr; } .fc-hero .fc-nova img { max-width: 220px; } }
@media (max-width: 760px) { .concern { grid-template-columns: 1fr; } .concern .c-now { border-right: 0; border-bottom: 1px solid var(--border); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- Interactive: Tool Finder & Spot the AI ---------- */
.finder-wrap { max-width: 780px; margin: 0 auto; scroll-margin-top: 90px; }
.finder-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.finder-progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 14px; }
.finder-progress i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .4s ease; }
.finder-step { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.finder-q { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 18px; outline: none; }
.finder-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.finder-opt { font: inherit; font-size: 1rem; font-weight: 600; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.finder-opt:hover, .finder-opt:focus-visible { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px -14px rgba(139, 92, 246, .8); outline: none; }
.finder-opt.picked { border-color: var(--accent); background: var(--grad-soft); }
.finder-nav { display: flex; gap: 10px; margin-top: 18px; min-height: 8px; }
.finder-result { border: 1px solid var(--border); background: var(--surface-solid); border-radius: 20px; padding: 22px; margin-bottom: 16px; }
.finder-result.top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.finder-result .fr-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.finder-result h3 { margin: 2px 0 6px; font-size: 1.4rem; }
.fr-rank { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }
.fr-match { display: flex; align-items: center; gap: 10px; font-size: .84rem; min-width: 220px; }
.fr-match .conf-bar { flex: 1; height: 7px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.fr-match .conf-bar i { display: block; height: 100%; background: var(--grad); }
.fr-tip { background: var(--grad-soft); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: .92rem; color: var(--text-2); margin: 10px 0; }
.fr-tip b { color: var(--text); }

.spot-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.spot-dots i { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); }
.spot-dots i.done { background: var(--grad); }
.spot-dots i.now { background: var(--accent-2); }
.spot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spot-opt { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s; }
.spot-opt:not(:disabled):hover, .spot-opt:not(:disabled):focus-visible { transform: translateY(-2px); border-color: var(--accent); outline: none; }
.spot-opt:disabled { cursor: default; }
.spot-letter { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-family: var(--font-display); }
.spot-opt blockquote { margin: 0; white-space: pre-line; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.6; color: var(--text); flex: 1; }
.spot-cta { font-size: .84rem; font-weight: 600; color: var(--text-3); border-top: 1px dashed var(--border-strong); padding-top: 10px; }
.spot-opt.is-ai { border-color: rgba(139, 92, 246, .7); background: linear-gradient(135deg, rgba(139, 92, 246, .14), transparent); }
.spot-opt.is-human { border-color: rgba(245, 158, 11, .6); background: linear-gradient(135deg, rgba(245, 158, 11, .12), transparent); }
.spot-opt.is-ai .spot-cta { color: var(--accent); }
.spot-opt.is-human .spot-cta { color: var(--warm); }
:root[data-theme="light"] .spot-opt.is-human .spot-cta { color: #92400e; }
.spot-opt.picked { box-shadow: 0 0 0 3px var(--accent-2); }
.spot-reveal { margin-top: 18px; }
.spot-reveal p { color: var(--text-2); }
.spot-verdict { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.spot-verdict.right { color: var(--good); }
.spot-verdict.wrong { color: var(--bad); }
:root[data-theme="light"] .spot-verdict.right { color: #047857; }
:root[data-theme="light"] .spot-verdict.wrong { color: #be123c; }
.spot-score { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; margin: 8px 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spot-score small { font-size: 1.6rem; }
@media (max-width: 640px) {
  .finder-options, .spot-pair { grid-template-columns: 1fr; }
  .finder-card { padding: 20px 16px; }
  .fr-match { min-width: 0; }
  .finder-result .fr-head { align-items: flex-start; }
}
.finder-cta { grid-template-columns: auto 1fr auto; gap: 28px; }
.spot-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 30px; }
@media (max-width: 760px) {
  .finder-cta { grid-template-columns: 1fr; text-align: center; }
  .finder-cta img { margin: 0 auto; }
  .spot-teaser { grid-template-columns: 1fr; }
}

/* Share panel (Tool Finder, Spot the AI) */
.share-panel { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.finder-note .share-panel { justify-content: flex-end; }
.share-field { flex-basis: 100%; font: inherit; font-size: .85rem; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-solid); color: var(--text); }

/* ---------- ElevenLabs ---------- */
.p-avatar.el { background: linear-gradient(135deg, #2b2b36, #050507); border: 1px solid rgba(255,255,255,.14); }
.rc-banner.el { background: radial-gradient(circle at 30% 30%, #5b5b6e 0%, #26262f 40%, #050507 100%); }
.btn-el { background: #f4f4f6; color: #0b0b10; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .45); }
.btn-el:hover { transform: translateY(-2px); background: #fff; }
:root[data-theme="light"] .btn-el { background: #111118; color: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.badge.voice { background: rgba(236, 72, 153, .14); border-color: rgba(236, 72, 153, .38); color: #f9a8d4; }
:root[data-theme="light"] .badge.voice { color: #9d174d; }

/* Voice studio illustration */
.voice-studio { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow); overflow: hidden; margin: 28px 0; }
.vs-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--text-3); flex-wrap: wrap; }
.vs-bar b { color: var(--text); font-size: .9rem; }
.vs-voice { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.vs-voice i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.vs-script { padding: 18px 20px; font-size: 1.02rem; line-height: 1.75; color: var(--text); font-family: Georgia, "Times New Roman", serif; }
.vs-tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .8rem; padding: 2px 7px; border-radius: 6px; background: rgba(139, 92, 246, .16); color: #c4b5fd; white-space: nowrap; }
:root[data-theme="light"] .vs-tag { color: #6d28d9; }
.vs-wave { display: flex; align-items: center; gap: 3px; height: 70px; padding: 0 20px 6px; }
.vs-wave span { flex: 1; min-width: 2px; border-radius: 3px; background: linear-gradient(180deg, #f472b6, #8b5cf6); opacity: .85; }
.vs-wave.play span { animation: vsPulse 1.4s ease-in-out infinite; }
@keyframes vsPulse { 50% { transform: scaleY(.45); } }
.vs-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px 14px; font-size: .8rem; color: var(--text-3); }
.vs-play { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: .9rem; cursor: pointer; }
.vs-time { font-variant-numeric: tabular-nums; }
.finder-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 34px 28px; border-style: dashed; background: var(--grad-soft); }
.finder-slot h3 { font-size: 1.4rem; margin: 6px 0 0; }
.finder-slot p { margin: 0 0 8px; max-width: 280px; }

/* ElevenLabs Audio Native demo */
.el-demo video { display: block; width: 100%; height: auto; background: #000; }
.el-demo figcaption { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.el-demo .el-logo { height: 16px; width: auto; flex: none; }
.el-logo-black { display: none; }
:root[data-theme="light"] .el-logo-white { display: none; }
:root[data-theme="light"] .el-logo-black { display: inline; }

/* Guides: calculators, checklists, autonomy ladder */
.calc { background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 24px; margin: 24px 0; box-shadow: var(--shadow); }
.calc h3 { margin: 0 0 4px; font-size: 1.15rem; }
.calc > p { margin: 0 0 16px; color: var(--text-2); font-size: .95rem; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 18px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: var(--text-2); min-width: 0; }
.calc label b { color: var(--text); font-weight: 600; }
.calc input[type="number"], .calc input[type="text"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; }
.calc input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-out { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.calc-stat { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--surface); min-width: 0; }
.calc-stat span { display: block; font-size: .76rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.calc-stat strong { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-top: 4px; overflow-wrap: anywhere; }
.calc-verdict { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: .95rem; border: 1px solid var(--border); background: var(--surface); }
.calc-verdict.good { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .08); }
.calc-verdict.warn { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); }
.calc-verdict.bad { border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .08); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--text); cursor: pointer; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.checklist input { margin-top: 4px; accent-color: var(--accent); flex: none; }
.ladder { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.ladder li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.ladder .lv { font-family: var(--font-display); font-weight: 700; font-size: .8rem; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--surface-solid); border: 1px solid var(--border-strong); }
.ladder .lv b { display: block; font-size: 1.5rem; }
.ladder h4 { margin: 0 0 4px; }
.ladder p { margin: 0; color: var(--text-2); font-size: .93rem; }
.risk-meter { display: inline-flex; gap: 3px; margin-left: 8px; vertical-align: middle; }
.risk-meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--border-strong); }
.risk-meter[data-level="1"] i:nth-child(-n+1), .risk-meter[data-level="2"] i:nth-child(-n+2) { background: #22c55e; }
.risk-meter[data-level="3"] i:nth-child(-n+3) { background: #f59e0b; }
.risk-meter[data-level="4"] i:nth-child(-n+4), .risk-meter[data-level="5"] i:nth-child(-n+5) { background: #ef4444; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; text-decoration: none; color: inherit; min-width: 0; }
.guide-card .gc-emoji { font-size: 2rem; }
.guide-card h3 { margin: 0; }
.guide-card p { margin: 0; color: var(--text-2); }
.guide-card .gc-tools { font-size: .82rem; color: var(--text-3); margin-top: auto; }
.prose .checklist { padding-left: 0; }
.prose .checklist li { padding: 0; margin: 0; }
.prose .checklist li::before, .prose .checklist li::marker { content: none; display: none; }
.checklist label span { flex: 1; min-width: 0; }

/* ---------- Higgsfield ---------- */
.p-avatar.hf { background: linear-gradient(135deg, #1f2a06, #050505); color: #d4ff3a; border: 1px solid rgba(212, 255, 58, .28); }
.rc-banner.hf { background: radial-gradient(circle at 30% 30%, #6b7f1a 0%, #1d2408 42%, #050505 100%); }
.rc-banner.hf .rc-icon { color: #d4ff3a; }
.btn-hf { background: #d4ff3a; color: #0b0d02; box-shadow: 0 10px 30px -12px rgba(212, 255, 58, .55); }
.btn-hf:hover { transform: translateY(-2px); background: #e2ff70; }
:root[data-theme="light"] .btn-hf { background: #0b0d02; color: #d4ff3a; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.badge.cine { background: rgba(212, 255, 58, .12); border-color: rgba(212, 255, 58, .38); color: #e2ff8a; }
:root[data-theme="light"] .badge.cine { background: rgba(101, 130, 0, .12); border-color: rgba(101, 130, 0, .4); color: #3f5200; }
.finder-slot.wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; padding: 26px 30px; gap: 18px 26px; }
.finder-slot.wide img { width: 90px; height: auto; }
.finder-slot.wide p { max-width: 420px; margin: 0; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.do-dont > div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--surface); min-width: 0; }
.do-dont h4 { margin: 0 0 8px; }
.do-dont .ok { border-color: rgba(34, 197, 94, .4); }
.do-dont .no { border-color: rgba(239, 68, 68, .4); }
.do-dont .ok, .do-dont .no { color: var(--text); font-weight: 400; }
.do-dont ul { margin: 0; padding-left: 18px; }
.calc select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; }
@media (max-width: 760px) { .do-dont { grid-template-columns: 1fr; } }

/* Cinema Studio illustration (interactive shot simulator) */
.cine-studio { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-solid); box-shadow: var(--shadow); overflow: hidden; margin: 28px 0; }
.cs-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--text-3); flex-wrap: wrap; }
.cs-bar b { color: var(--text); font-size: .9rem; }
.cs-bar .cs-model { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.cs-frame { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: #000; transition: border-radius .4s; }
.cs-scene { position: absolute; inset: -9%; background: linear-gradient(180deg, #160f3a 0%, #5b21b6 34%, #f97316 60%, #fde68a 68%, #1e1b4b 68.4%, #0b1020 100%); transition: filter .45s; transform-origin: 50% 60%; }
.cs-sun { position: absolute; left: 60%; top: 40%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fffbe6 0%, #fde68a 45%, #fb923c 100%); box-shadow: 0 0 60px 20px rgba(253, 186, 116, .45); }
.cs-hills { position: absolute; left: 0; right: 0; bottom: 31.6%; height: 24%; background: #2e1065; clip-path: polygon(0 100%, 0 55%, 12% 30%, 24% 62%, 38% 18%, 52% 58%, 64% 34%, 78% 66%, 90% 26%, 100% 50%, 100% 100%); }
.cs-hills.back { bottom: 31.6%; height: 32%; background: #4c1d95; opacity: .7; clip-path: polygon(0 100%, 0 70%, 18% 40%, 30% 72%, 46% 30%, 60% 66%, 74% 22%, 88% 60%, 100% 36%, 100% 100%); }
.cs-road { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: repeating-linear-gradient(90deg, rgba(167, 139, 250, .25) 0 2px, transparent 2px 9%), linear-gradient(180deg, #1e1b4b, #05060f); }
.cs-cat { position: absolute; left: 20%; bottom: 14%; height: 62%; width: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.cs-fx { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s; }
.cs-grain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.cs-vignette { background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .75) 100%); }
.cs-scan { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 3px); }
.cs-flare { background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, .0) 15%, rgba(125, 211, 252, .85) 50%, rgba(125, 211, 252, 0) 85%, transparent 100%); height: 3px; top: 47%; bottom: auto; filter: blur(1px); box-shadow: 0 0 18px 4px rgba(56, 189, 248, .55); }
.cs-halo { background: radial-gradient(circle at 67% 47%, rgba(255, 170, 120, .55), transparent 40%); mix-blend-mode: screen; filter: blur(6px); }
.cs-rec { inset: auto auto 10px 14px; font: 600 .8rem/1 "JetBrains Mono", ui-monospace, monospace; color: #fff; text-shadow: 0 1px 2px #000; }
.cs-rec::before { content: "●"; color: #ef4444; margin-right: 6px; }
.cs-frame[data-body="film35"] .cs-scene { filter: sepia(.22) saturate(1.1) contrast(1.06); }
.cs-frame[data-body="film35"] .cs-grain { opacity: .35; }
.cs-frame[data-body="film8"] { border-radius: 22px; }
.cs-frame[data-body="film8"] .cs-scene { filter: sepia(.6) saturate(.85) contrast(1.15) brightness(.92); }
.cs-frame[data-body="film8"] .cs-grain { opacity: .7; }
.cs-frame[data-body="film8"] .cs-vignette { opacity: 1; }
.cs-frame[data-body="dv"] .cs-scene { filter: saturate(1.45) contrast(.88) blur(.7px); }
.cs-frame[data-body="dv"] .cs-scan, .cs-frame[data-body="dv"] .cs-rec { opacity: 1; }
.cs-frame[data-lens="anamorphic"] .cs-flare { opacity: 1; }
.cs-frame[data-lens="vintage"] .cs-halo { opacity: 1; }
.cs-frame[data-lens="vintage"] .cs-vignette { opacity: .6; }
.cs-frame[data-move="dolly"] .cs-scene { animation: csDolly 5s ease-in-out infinite alternate; }
.cs-frame[data-move="pan"] .cs-scene { animation: csPan 6s ease-in-out infinite alternate; }
.cs-frame[data-move="crane"] .cs-scene { animation: csCrane 6s ease-in-out infinite alternate; }
@keyframes csDolly { from { transform: scale(1); } to { transform: scale(1.2); } }
@keyframes csPan { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
@keyframes csCrane { from { transform: translateY(6%) scale(1.04); } to { transform: translateY(-5%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .cs-frame .cs-scene { animation: none !important; } }
.cs-controls { display: grid; gap: 12px; padding: 16px; }
.cs-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cs-group > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); min-width: 92px; }
.cs-chip { font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.cs-chip[aria-pressed="true"] { background: #d4ff3a; border-color: #d4ff3a; color: #0b0d02; font-weight: 600; }
.cs-readout { margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--border); font: .82rem/1.5 "JetBrains Mono", ui-monospace, monospace; color: var(--text-2); overflow-wrap: anywhere; }
