:root {
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --ink: #0B1F3A;
  --muted: #5E6569;
  --accent: #0A7C86;
  --line: rgba(11, 31, 58, 0.12);
  --night: #0F1416;
  --glow: #2BB3A3;
  --glow-soft: #8FD3CB;
  --gold: #C9A24A;
  --display: "Fraunces", Georgia, serif;
  --label: "Jost", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.label { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.logo-img { mix-blend-mode: multiply; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 50; font-family: var(--label); }
.skip:focus { top: 12px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.bar .logo-img { width: 160px; }
.primary-nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.primary-nav a { font-family: var(--label); font-size: 15px; text-decoration: none; color: var(--muted); padding-block: 4px; border-bottom: 1px solid transparent; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.primary-nav .ai-link { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.primary-nav .ai-link::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 2.4s ease-in-out infinite; }
@keyframes ping { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.bar-end { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-family: var(--label); font-size: 15px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--label); font-size: 15px; font-weight: 500; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.text-link { font-family: var(--label); font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 20px 20px; }
  .primary-nav a { font-size: 18px; display: block; padding-block: 8px; }
  .bar .logo-img { width: 136px; }
  .bar-end .btn { display: none; }
}

/* page head */
.page-head { padding-block: 72px 48px; }
.page-head h1 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; margin-top: 14px; text-wrap: balance; max-width: 18ch; }
.page-head h1 em { color: var(--accent); }
.page-head .lede { font-size: 19px; color: var(--muted); max-width: 52ch; margin-top: 20px; text-wrap: pretty; }
.crumb { font-family: var(--label); font-size: 14px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; }
.crumb:hover { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-block: 80px 96px; }
.hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 34ch; margin-top: 24px; text-wrap: pretty; }

/* talking whisper mark */
.whisper { width: 100%; max-width: 440px; justify-self: end; display: flex; flex-direction: column; gap: 18px; }
.whisper svg { width: 100%; aspect-ratio: 1; overflow: visible; }
.whisper .dot { fill: var(--accent); }
.whisper .arc { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-width: 14; }
.whisper .ripple { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-width: 4; }
.caption { min-height: 3.4em; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.35; color: var(--ink); padding-left: 4px; }
.caption .w { opacity: 0; transition: opacity .35s ease; }
.caption .w.on { opacity: 1; }
.caption .w.dim { opacity: .35; }
.caption-meta { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.caption-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.caption-meta button { background: none; border: 0; color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; margin-left: auto; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 28px; }
  .whisper { order: -1; max-width: 100%; justify-self: stretch; flex-direction: row; align-items: center; gap: 16px; }
  .whisper svg { width: 120px; flex: none; }
  .caption { font-size: 18px; min-height: 4.2em; }
  .caption-meta { display: none; }
}

/* subscribe */
form.sub { display: flex; gap: 8px; margin-top: 36px; max-width: 480px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
form.sub input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 16px; border-radius: 999px; }
form.sub input::placeholder { color: var(--muted); }
form.sub input:focus { outline: none; }
form.sub:focus-within { border-color: var(--accent); }
.fine { font-family: var(--label); font-size: 14px; color: var(--muted); margin-top: 14px; }
.fine.err { color: #B4442F; }
.thanks { margin-top: 36px; font-family: var(--display); font-size: 24px; font-weight: 300; }
.thanks span { display: block; font-family: var(--body); font-size: 15px; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 52ch; }
.check input { margin-top: 4px; accent-color: var(--accent); }

/* sections */
section.block { padding-block: 88px; border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
h2 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.01em; margin-top: 10px; text-wrap: balance; }

/* issue card */
.issue { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; }
.issue-main { padding: 48px; }
.meta { font-family: var(--label); font-size: 14px; color: var(--muted); }
.issue-main h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-top: 16px; text-wrap: balance; }
.hook { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 24px; color: var(--accent); margin-top: 8px; }
.issue-main p.ex { color: var(--muted); margin-top: 24px; max-width: 52ch; }
.dots { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.issue-main .text-link { display: inline-block; margin-top: 32px; }
.mbm { background: var(--ink); color: var(--bg); padding: 48px 40px; }
.mbm .label { color: var(--glow-soft); }
.mbm p.note { font-size: 14px; color: rgba(243, 246, 250, .7); margin-top: 8px; }
.mbm dl { margin-top: 28px; display: grid; gap: 20px; }
.mbm dt { font-family: var(--label); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 246, 250, .7); }
.mbm dd { font-size: 15px; margin-top: 2px; }
.mbm dl div { padding-bottom: 20px; border-bottom: 1px solid rgba(243, 246, 250, .14); }
.mbm dl div:last-child { border: 0; padding: 0; }
@media (max-width: 860px) { .issue { grid-template-columns: 1fr; } .issue-main, .mbm { padding: 32px 24px; } }

/* desks */
.desks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.desk { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.desk:hover { border-color: var(--accent); transform: translateY(-2px); }
.desk .logo-img { width: min(280px, 100%); }
.desk .line { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 22px; }
.desk p { color: var(--muted); font-size: 15px; }
.desk-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.tag { font-family: var(--label); font-size: 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.desk-foot .go { font-family: var(--label); font-size: 14px; color: var(--accent); }
.later { margin-top: 24px; font-family: var(--label); font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .desks { grid-template-columns: 1fr; } .desk { padding: 28px 24px; } }

/* approach */
.approach { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.approach blockquote { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; text-wrap: balance; }
.approach blockquote em { color: var(--accent); }
.rules { display: grid; gap: 32px; }
.rules h3 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.rules p { color: var(--muted); margin-top: 6px; max-width: 56ch; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; gap: 40px; } }

/* ai teaser on home */
.ai-teaser { background: var(--night); color: var(--bg); border-radius: 24px; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.ai-teaser .copy { padding: 56px 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ai-teaser .label { color: var(--glow-soft); }
.ai-teaser h2 { color: var(--bg); margin: 0; }
.ai-teaser p { color: rgba(243, 246, 250, .72); max-width: 44ch; }
.ai-teaser .btn { background: var(--glow); color: var(--night); align-self: flex-start; margin-top: 8px; }
.ai-teaser .btn:hover { background: var(--glow-soft); }
.ai-teaser canvas { width: 100%; height: 100%; min-height: 320px; display: block; }
@media (max-width: 860px) { .ai-teaser { grid-template-columns: 1fr; } .ai-teaser .copy { padding: 36px 24px; } .ai-teaser canvas { min-height: 240px; order: -1; } }

/* membership band */
.member { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 64px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.member h2 { color: var(--bg); margin-top: 8px; }
.member .label { color: var(--glow-soft); }
.member p { color: rgba(243, 246, 250, .72); margin-top: 12px; max-width: 48ch; }
.member .btn { background: var(--bg); color: var(--ink); }
.member .btn:hover { background: var(--glow-soft); }
@media (max-width: 760px) { .member { padding: 40px 24px; } }

/* briefings archive */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--label); font-size: 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; min-width: min(320px, 100%); }
.search input { border: 0; background: transparent; font: inherit; padding: 6px 0; flex: 1; min-width: 0; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--accent); }
.list { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; text-decoration: none; transition: border-color .2s; }
.row:hover { border-color: var(--accent); }
.row h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.row .hook { font-size: 18px; margin-top: 4px; }
.row .go { font-family: var(--label); font-size: 14px; color: var(--accent); }
.desk-badge { font-family: var(--label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.desk-badge i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 8px; padding: 20px; } }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-bottom: 96px; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose p { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.prose .dots { margin-top: 20px; }
.prose .answer { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.prose .answer h2 { margin-top: 8px; }
.aside-stack { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; align-self: start; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.aside-card.dark { background: var(--ink); color: var(--bg); border: 0; }
.aside-card.dark .label { color: var(--glow-soft); }
.aside-card.dark dl { margin-top: 16px; display: grid; gap: 14px; }
.aside-card.dark dt { font-family: var(--label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 246, 250, .7); }
.aside-card.dark dd { font-size: 14px; }
.aside-card p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.aside-card form.sub { margin-top: 16px; flex-direction: column; border-radius: 16px; }
.aside-card form.sub .btn { width: 100%; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 40px; } .aside-stack { position: static; } }

/* desk detail */
.desk-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-block: 64px 72px; align-items: start; }
.desk-hero .logo-img { width: min(420px, 100%); margin-top: 20px; }
.desk-hero .line { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 34px); margin-top: 24px; }
.desk-hero p.lede { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 48ch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 22px; margin-top: 8px; }
.panel form.sub { margin-top: 20px; }
.cover { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cover .panel h3 { margin-top: 0; }
.cover .panel p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.desk-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 860px) { .desk-hero, .cover { grid-template-columns: 1fr; } }

/* membership page */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan.feature { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan.feature .label { color: var(--glow-soft); }
.plan.feature .dots li::before { background: var(--glow-soft); }
.plan.feature .price span, .plan.feature .note { color: rgba(243, 246, 250, .7); }
.plan.feature .btn { background: var(--bg); color: var(--ink); }
.plan.feature .btn:hover { background: var(--glow-soft); }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 28px; }
.price { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1.1; }
.price span { display: block; font-family: var(--label); font-size: 14px; color: var(--muted); margin-top: 4px; }
.plan .dots { margin-top: 4px; font-size: 15px; }
.plan .btn { margin-top: auto; }
.plan .note { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--label); color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(11, 31, 58, .5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60; }
.modal.open { display: flex; }
.modal-card { background: var(--bg); border-radius: 20px; padding: 32px; max-width: 480px; width: 100%; }
.modal-card h2 { font-size: 30px; margin-top: 8px; }
.modal-card p { color: var(--muted); margin-top: 10px; }
.modal-actions { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

/* footer */
.site-footer { padding-block: 56px 48px; border-top: 1px solid var(--line); }
.foot { display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; align-items: start; }
.foot .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot .icon-box { width: 48px; height: 48px; overflow: hidden; border-radius: 12px; }
.foot .icon-box img { width: 48px; height: 48px; object-fit: cover; transform: scale(1.4); }
.foot .brand strong { font-family: var(--display); font-weight: 300; font-size: 20px; }
.foot .brand span { display: block; font-family: var(--label); font-size: 14px; color: var(--muted); }
.foot-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-cols h3 { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot-cols ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; font-family: var(--label); font-size: 15px; }
.foot-cols a { text-decoration: none; color: var(--ink); }
.foot-cols a:hover { color: var(--accent); }
.disclaimer { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* legal */
.legal { max-width: 72ch; padding-bottom: 96px; }
.legal h2 { font-size: 28px; margin-top: 48px; }
.legal p { margin-top: 12px; color: var(--muted); }

/* motion */
.reveal { opacity: 0; transform: translateY(12px); animation: up .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s } .d2 { animation-delay: .18s } .d3 { animation-delay: .31s } .d4 { animation-delay: .44s }
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .primary-nav .ai-link::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ================= AI WHISPERER ================= */
body.ai-mode { background: var(--night); }
body.ai-mode .site-header { background: var(--night); border-color: rgba(243,246,250,.1); }
body.ai-mode .site-header .logo-img { mix-blend-mode: normal; filter: invert(1) hue-rotate(180deg) brightness(1.1); }
body.ai-mode .primary-nav a { color: rgba(243,246,250,.6); }
body.ai-mode .primary-nav a:hover, body.ai-mode .primary-nav a[aria-current="page"] { color: var(--bg); }
body.ai-mode .primary-nav .ai-link { color: var(--glow); }
body.ai-mode .primary-nav .ai-link::before { background: var(--glow); }
body.ai-mode .primary-nav { background: var(--night); }
body.ai-mode .menu-btn { color: var(--bg); border-color: rgba(243,246,250,.2); }
body.ai-mode .btn { background: var(--glow); color: var(--night); }
body.ai-mode .btn:hover { background: var(--glow-soft); }
body.ai-mode .site-footer { display: none; }

.ai { color: var(--bg); --ai-line: rgba(243, 246, 250, .1); --ai-dim: rgba(243, 246, 250, .62); --ai-panel: #151C1F; }
.ai .label { color: var(--glow); }
.proto { font-family: var(--label); font-size: 13px; color: var(--ai-dim); text-align: center; padding: 8px 20px; border-bottom: 1px solid var(--ai-line); }
.proto strong { color: var(--gold); font-weight: 500; }

/* greeting */
.greet { min-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 20px 48px; gap: 8px; }
.brain-lg { width: min(440px, 86vw); aspect-ratio: 1.15; display: block; }
.hello { font-family: var(--label); font-weight: 400; font-size: clamp(34px, 6vw, 60px); letter-spacing: .22em; text-transform: uppercase; line-height: 1.1; margin-top: 4px; padding-left: .22em; }
.intro { font-family: var(--display); font-weight: 300; font-size: clamp(20px, 2.4vw, 26px); margin-top: 12px; text-wrap: balance; }
.intro-sub { color: var(--ai-dim); max-width: 52ch; margin-top: 6px; text-wrap: pretty; }
.tagline { font-family: var(--label); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--glow-soft); margin-top: 6px; }
.greet-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.ai .btn.line { background: transparent; color: var(--bg); border: 1px solid rgba(243,246,250,.25); }
.ai .btn.line:hover { border-color: var(--glow); color: var(--glow); background: transparent; }
.prompts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; max-width: 720px; }
.prompt { background: rgba(243,246,250,.05); border: 1px solid var(--ai-line); color: var(--bg); border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer; }
.prompt:hover { border-color: var(--glow); color: var(--glow-soft); }
.voice-btn { background: none; border: 0; color: var(--ai-dim); font-family: var(--label); font-size: 14px; cursor: pointer; margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.voice-btn:hover { color: var(--bg); }

.askbar { display: flex; gap: 8px; width: min(680px, 100%); background: var(--ai-panel); border: 1px solid var(--ai-line); border-radius: 18px; padding: 8px; margin-top: 22px; }
.askbar:focus-within { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(43,179,163,.12); }
.askbar input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--bg); font: inherit; font-size: 16px; padding: 10px 12px; }
.askbar input::placeholder { color: var(--ai-dim); }
.askbar input:focus { outline: none; }
.askbar .btn { border-radius: 12px; }

/* workspace */
.ws { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: calc(100vh - 110px); }
.ws.collapsed { grid-template-columns: 64px minmax(0, 1fr); }
.side { border-right: 1px solid var(--ai-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; background: #0C1012; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ai-line); background: transparent; color: var(--bg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-btn:hover { border-color: var(--glow); color: var(--glow); }
.icon-btn svg { width: 18px; height: 18px; }
.side-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; padding: 10px; color: var(--bg); cursor: pointer; font-size: 14px; }
.side-item:hover, .side-item[aria-current="true"] { background: rgba(43,179,163,.1); }
.side-item svg { width: 18px; height: 18px; flex: none; color: var(--glow); }
.side-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side h3 { font-family: var(--label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ai-dim); font-weight: 500; margin: 14px 10px 4px; }
.side .hist { display: flex; flex-direction: column; gap: 2px; }
.side .side-foot { margin-top: auto; font-size: 12px; color: var(--ai-dim); padding: 10px; }
.ws.collapsed .side h3, .ws.collapsed .side-item span, .ws.collapsed .side-foot, .ws.collapsed .hist { display: none; }
.ws.collapsed .side-top { justify-content: center; }
.ws.collapsed .side-top .ws-title { display: none; }
.ws.collapsed .side-item { justify-content: center; }
.ws-title { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ai-dim); padding-left: 6px; }

.main-col { display: flex; flex-direction: column; min-width: 0; }
.ws-head { display: flex; align-items: center; gap: 14px; padding: 14px 28px; border-bottom: 1px solid var(--ai-line); }
.brain-sm { width: 56px; height: 48px; flex: none; }
.ws-head .who { font-family: var(--label); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.ws-head .state { font-size: 14px; color: var(--glow-soft); }
.ws-head .mobile-side { display: none; margin-left: auto; }
.ws-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding: 28px; flex: 1; align-items: start; }
.report { min-width: 0; }
.report-q { font-family: var(--label); font-size: 14px; color: var(--ai-dim); }
.report h1 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-top: 8px; text-wrap: balance; }
.ctx { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-family: var(--label); font-size: 13px; color: var(--ai-dim); }
.ctx b { color: var(--bg); font-weight: 500; }
.ctx .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.answer-first { font-size: 18px; line-height: 1.65; margin-top: 22px; max-width: 68ch; }
.illus { display: inline-block; font-family: var(--label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,162,74,.4); border-radius: 999px; padding: 2px 10px; margin-top: 14px; }
.layer { margin-top: 28px; border-top: 1px solid var(--ai-line); padding-top: 22px; }
.layer > h2 { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); font-weight: 500; margin: 0; }
.signals { display: grid; gap: 10px; margin-top: 14px; }
.sig { display: grid; grid-template-columns: 150px 1fr; gap: 16px; background: var(--ai-panel); border: 1px solid var(--ai-line); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.sig dt { font-family: var(--label); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ai-dim); }
.sig.editorial { border-color: rgba(201,162,74,.4); }
.sig.editorial dt { color: var(--gold); }
@media (max-width: 640px) { .sig { grid-template-columns: 1fr; gap: 4px; } }
.sources { display: grid; gap: 8px; margin-top: 14px; }
.sources details { background: var(--ai-panel); border: 1px solid var(--ai-line); border-radius: 12px; padding: 14px 16px; }
.sources summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary small { font-family: var(--label); font-size: 12px; color: var(--ai-dim); white-space: nowrap; }
.sources details p { font-size: 14px; color: var(--ai-dim); margin-top: 8px; }
.sources a { color: var(--glow-soft); font-size: 14px; display: inline-block; margin-top: 8px; }
.followups { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.discovery { margin-top: 14px; background: var(--ai-panel); border: 1px dashed rgba(243,246,250,.2); border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.discovery small { display: block; font-family: var(--label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ai-dim); }
.discovery a { color: var(--glow-soft); font-family: var(--label); }
.story { margin-top: 18px; background: var(--ai-panel); border: 1px solid var(--ai-line); border-radius: 14px; padding: 20px; }
.story h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.story .cat { font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.story dl { display: grid; gap: 10px; margin-top: 12px; font-size: 15px; }
.story dt { font-family: var(--label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ai-dim); }
.story dd { margin-top: 2px; }
.dist { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 14px; background: var(--ai-panel); }
.dist span { display: block; height: 100%; }
.dist-key { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-family: var(--label); font-size: 13px; color: var(--ai-dim); }
.dist-key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

.loading { margin-top: 28px; display: grid; gap: 12px; }
.step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ai-dim); }
.step i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ai-dim); flex: none; }
.step.active { color: var(--bg); }
.step.active i { border-color: var(--glow); background: var(--glow); animation: ping 1s ease-in-out infinite; }
.step.done { color: var(--glow-soft); }
.step.done i { background: var(--glow-soft); border-color: var(--glow-soft); }

.ctx-panels { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.cp { background: var(--ai-panel); border: 1px solid var(--ai-line); border-radius: 14px; padding: 16px; }
.cp h2 { font-family: var(--label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ai-dim); font-weight: 500; margin: 0; display: flex; justify-content: space-between; gap: 8px; }
.cp h2 em { font-style: normal; color: var(--gold); }
.quotes { list-style: none; display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.quotes li { display: flex; justify-content: space-between; gap: 8px; }
.quotes .up { color: var(--glow); }
.quotes .down { color: #E08A6E; }
.cp p { font-size: 13px; color: var(--ai-dim); margin-top: 10px; }
.cp .big { font-family: var(--display); font-weight: 300; font-size: 26px; margin-top: 8px; color: var(--bg); }
.news { list-style: none; display: grid; gap: 10px; margin-top: 12px; font-size: 14px; }
.news a { color: var(--bg); text-decoration: none; }
.news a:hover { color: var(--glow-soft); }
.news small { display: block; color: var(--ai-dim); font-family: var(--label); font-size: 12px; }

.dock { position: sticky; bottom: 0; padding: 14px 28px 18px; background: linear-gradient(to top, var(--night) 70%, transparent); }
.dock .askbar { width: 100%; max-width: none; margin: 0; }
.dock .fine { color: var(--ai-dim); font-size: 12px; margin-top: 8px; text-align: center; }

@media (max-width: 1080px) { .ws-body { grid-template-columns: 1fr; } .ctx-panels { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (max-width: 760px) {
  .ws, .ws.collapsed { grid-template-columns: 1fr; }
  .side { display: none; position: fixed; inset: 0 30% 0 0; z-index: 40; }
  .ws.mobile-open .side { display: flex; }
  .ws.mobile-open .side h3, .ws.mobile-open .side-item span, .ws.mobile-open .hist, .ws.mobile-open .side-foot { display: revert; }
  .ws-head { padding: 12px 16px; }
  .ws-head .mobile-side { display: inline-flex; }
  .ws-body { padding: 20px 16px; }
  .dock { padding: 12px 16px 14px; }
}

/* ================= TAPE + MARKETS ================= */
.up { color: #17805A; }
.down { color: #B4442F; }
.tape { background: var(--ink); color: var(--bg); overflow: hidden; }
.tape-track { display: flex; width: max-content; animation: tape 80s linear infinite; }
.tape:hover .tape-track, .tape:focus-within .tape-track { animation-play-state: paused; }
.tape-set { display: flex; gap: 32px; padding: 9px 16px; font-family: var(--label); font-size: 14px; white-space: nowrap; }
.tape-set a { text-decoration: none; display: inline-flex; gap: 8px; }
.tape-set b { font-weight: 500; }
.tape-set .px { color: rgba(243, 246, 250, .82); }
.tape .up { color: var(--glow-soft); }
.tape .down { color: #F0A58C; }
@keyframes tape { to { transform: translateX(-50%); } }
body.ai-mode .tape { display: none; }

.whisper .dot, .whisper .arc { transform-box: view-box; transform-origin: 120px 200px; }
.whisper .ripple { transform-box: view-box; transform-origin: 120px 200px; animation: ripple 1.8s cubic-bezier(.2,.6,.3,1) forwards; }
@keyframes ripple { from { opacity: .5; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }

.mk-status { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.feed-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); font-size: 14px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; }
.feed-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.feed-status.live i { background: #1F9D6B; animation: ping 1.6s ease-in-out infinite; }
.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.mk-card .nm { font-family: var(--label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mk-card .px { font-family: var(--display); font-weight: 300; font-size: 28px; line-height: 1.1; }
.mk-card .chg { font-family: var(--label); font-size: 14px; }
.mk-card canvas { width: 100%; height: 36px; margin-top: 6px; }
@media (max-width: 960px) { .mk-grid { grid-template-columns: repeat(2, 1fr); } }
.mk-section { margin-top: 48px; }
.mk-section h2 { font-size: 30px; margin: 0 0 16px; }
.mk-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table.mk { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; font-variant-numeric: tabular-nums; }
table.mk th { font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.mk td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.mk tr:last-child td { border-bottom: 0; }
table.mk .num { text-align: right; }
table.mk canvas { width: 96px; height: 28px; display: block; margin-left: auto; }
.sym-cell b { display: block; font-weight: 500; }
.sym-cell span { font-family: var(--label); font-size: 13px; color: var(--muted); }
.star { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; padding: 6px; border-radius: 8px; }
.star[aria-pressed="true"] { color: var(--gold); }
tr.flash-up td { animation: fu 1.1s ease-out; }
tr.flash-down td { animation: fd 1.1s ease-out; }
@keyframes fu { from { background: rgba(31, 157, 107, .13); } }
@keyframes fd { from { background: rgba(180, 68, 47, .1); } }
.mk-note { font-size: 14px; color: var(--muted); margin-top: 28px; max-width: 80ch; padding-bottom: 96px; }

.home-mk { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.mini h3 { font-family: var(--display); font-weight: 400; font-size: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini ul { list-style: none; margin-top: 12px; }
.mini li { display: grid; grid-template-columns: 1fr auto 80px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mini li > span:nth-child(2), .mini li > span:last-child { text-align: right; }
.mini li > span:last-child { font-family: var(--label); font-size: 14px; }
.mini .sym-cell span { display: block; }
@media (max-width: 860px) { .home-mk { grid-template-columns: 1fr; } }

/* misc pages */
.issue-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.issue-nav a { text-decoration: none; max-width: 32ch; font-family: var(--display); font-size: 20px; }
.issue-nav small { display: block; font-family: var(--label); font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.sample-note { font-family: var(--label); font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-grid { display: grid; gap: 14px; max-width: 560px; margin-top: 24px; }
.field label { display: block; font-family: var(--label); font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-grid .btn { justify-self: start; }
.notfound { padding-block: 120px; text-align: center; }
.notfound h1 { font-family: var(--display); font-weight: 300; font-size: 48px; }
.notfound p { color: var(--muted); margin-top: 12px; }
.notfound .btn { margin-top: 24px; }

[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
.hero > *, .whisper .caption { min-width: 0; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } }
