@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  color-scheme: light;
  --navy: #07182d;
  --navy-2: #112744;
  --body: #42536a;
  --muted: #69788d;
  --paper: #ffffff;
  --surface: #f6f8fc;
  --line: #dfe6ef;
  --blue: #315cf4;
  --blue-dark: #2248d2;
  --violet: #7656ff;
  --cyan: #55d6e5;
  --success: #087b54;
  --error: #a32b3a;
  --shadow: 0 30px 60px -35px rgba(14, 38, 76, .38), 0 18px 35px -28px rgba(7, 24, 45, .25);
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 16px/1.6 Geist, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(223, 230, 239, .8); background: rgba(255, 255, 255, .88); backdrop-filter: blur(18px); }
.nav { width: min(1180px, calc(100% - 3rem)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.wordmark small { display: block; margin-top: .1rem; color: var(--muted); font: 400 .69rem/1 Geist Mono, monospace; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: .65rem; font-size: .86rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--body); padding: .5rem .72rem; border-radius: 7px; border: 1px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: var(--navy); background: #f5f8fd; }
.nav-links a.nav-cta,
.nav-links a.is-active {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 24, 45, .03);
}
.hero-wrap { overflow: hidden; position: relative; background: radial-gradient(circle at 15% -10%, rgba(85, 214, 229, .2), transparent 32%), radial-gradient(circle at 89% 4%, rgba(118, 86, 255, .15), transparent 35%), linear-gradient(180deg, #fbfdff 0%, #fff 100%); }
.hero-wrap::before { content: ""; position: absolute; inset: 0; opacity: .34; pointer-events: none; background-image: linear-gradient(rgba(49,92,244,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(49,92,244,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .78fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; padding-block: clamp(5rem, 10vw, 8.5rem); }
.eyebrow, .section-label, .kicker { margin: 0; color: var(--blue); font: 500 .69rem/1.3 Geist Mono, monospace; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(85, 214, 229, .18); }
h1 { max-width: 13ch; margin: 1.35rem 0 0; color: var(--navy); font-size: clamp(2.75rem, 5.8vw, 5rem); font-weight: 500; line-height: .99; letter-spacing: -.058em; text-wrap: balance; }
.lede { max-width: 39rem; margin: 1.5rem 0 0; color: var(--body); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; letter-spacing: -.012em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.1rem; }
.button { min-height: 48px; padding: .76rem 1.1rem; border: 1px solid transparent; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-size: .88rem; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary, .signup .button { color: white; background: linear-gradient(135deg, var(--blue), #4b52e8); }
.button-primary:hover, .signup .button:hover { background: linear-gradient(135deg, var(--blue-dark), #423bd5); }
.button-secondary { border-color: var(--line); color: var(--navy-2); background: rgba(255,255,255,.78); }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.decision-card { position: relative; padding: 1.7rem; border: 1px solid rgba(211, 220, 234, .9); border-radius: var(--radius); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.decision-card::after { content: ""; position: absolute; z-index: -1; inset: 12px -12px -12px 12px; border-radius: var(--radius); background: linear-gradient(145deg, rgba(85,214,229,.25), rgba(118,86,255,.2)); }
.decision-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 .65rem/1 Geist Mono, monospace; letter-spacing: .07em; text-transform: uppercase; }
.status { display: flex; align-items: center; gap: .45rem; color: var(--success); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #18b77e; }
.decision-card h2 { margin: 1.65rem 0 .7rem; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.decision-card > p { margin: 0; color: var(--body); font-size: .92rem; }
.decision-card dl { margin: 1.6rem 0 0; }
.decision-card dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .82rem 0; border-top: 1px solid var(--line); }
.decision-card dt { color: var(--muted); font: 500 .63rem/1.4 Geist Mono, monospace; letter-spacing: .05em; text-transform: uppercase; }
.decision-card dd { margin: 0; color: var(--navy-2); font-size: .81rem; font-weight: 500; line-height: 1.4; }
.proof-strip { border-block: 1px solid var(--line); background: #fff; }
.proof-strip .shell { min-height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-strip span { padding: .5rem 1.25rem; border-right: 1px solid var(--line); color: var(--body); font-size: .76rem; font-weight: 500; text-align: center; }
.proof-strip span:first-child { padding-left: 0; }
.proof-strip span:last-child { border: 0; padding-right: 0; }
.section { padding-block: clamp(5rem, 10vw, 8rem); }
.section-intro { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr; gap: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--navy); }
.section-intro h2, .fit-grid h2 { max-width: 19ch; margin: 0; font-size: clamp(2.15rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.section-intro > div > p { max-width: 42rem; margin: 1rem 0 0; color: var(--body); font-size: 1.02rem; }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.capability { min-height: 260px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(155deg, #fff, #f8faff); box-shadow: 0 12px 30px -28px rgba(7, 24, 45, .5); }
.capability-number { color: var(--blue); font: 500 .68rem/1 Geist Mono, monospace; }
.capability h3 { margin: 4.6rem 0 .65rem; font-size: 1.12rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.capability p { margin: 0; color: var(--body); font-size: .9rem; line-height: 1.55; }
.dark-section { overflow: hidden; position: relative; background: var(--navy); color: #fff; }
.dark-section::after { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(118,86,255,.45), transparent 67%); }
.fit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .85fr; gap: clamp(3rem, 9vw, 8rem); padding-block: clamp(5rem, 9vw, 7rem); }
.section-label-light { color: #8fe9f0; margin-bottom: 1.25rem; }
.fit-grid h2 { color: #fff; }
.fit-copy { color: rgba(255,255,255,.72); font-size: 1rem; }
.fit-copy > p { margin-top: 0; }
.fit-copy ul { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.fit-copy li { padding: .8rem 0 .8rem 1.7rem; border-top: 1px solid rgba(255,255,255,.13); position: relative; }
.fit-copy li::before { content: "✓"; position: absolute; left: 0; color: #8fe9f0; }
.faq-section { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.faq { max-width: 800px; margin: 3.5rem 0 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.35rem 0; display: flex; justify-content: space-between; align-items: center; gap: 2rem; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; background: var(--blue); inset: 10px 5px auto; height: 1px; }
.faq summary span::after { transform: rotate(90deg); transition: transform .2s; }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { max-width: 44rem; margin: -.25rem 0 1.4rem; color: var(--body); }
.join-section { padding-bottom: clamp(5rem, 10vw, 8rem); }
.join { overflow: hidden; position: relative; display: grid; grid-template-columns: 1fr .95fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #132c4b 0%, #101f48 55%, #2c225f 100%); box-shadow: var(--shadow); }
.join::before { content: ""; position: absolute; width: 360px; height: 360px; left: -180px; bottom: -250px; border-radius: 50%; background: rgba(85,214,229,.25); filter: blur(40px); }
.join-copy { position: relative; }
.join .kicker { color: #8fe9f0; }
.join h2 { max-width: 15ch; margin: .9rem 0 0; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 400; line-height: 1.05; letter-spacing: -.05em; }
.join-copy > p:last-child { max-width: 34rem; color: rgba(255,255,255,.7); }
.signup { padding: 1.5rem; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 24px 50px -32px rgba(0,0,0,.8); }
.signup h3 { margin: 0; font-size: 1.05rem; }
.signup-intro { margin: .45rem 0 1.2rem; color: var(--body); font-size: .84rem; line-height: 1.5; }
.signup label { display: block; margin-bottom: .45rem; color: var(--navy-2); font-size: .74rem; font-weight: 600; }
.form-row { display: flex; gap: .55rem; }
.signup input { min-width: 0; flex: 1; min-height: 48px; padding: .75rem .85rem; border: 1px solid #cbd5e2; border-radius: 7px; color: var(--navy); background: white; }
.signup input:focus { outline: 3px solid rgba(49,92,244,.2); border-color: var(--blue); }
.signup .button { flex: 0 0 auto; }
.consent { margin: .65rem 0 0; color: var(--muted); font-size: .7rem; }
.consent a { color: var(--blue); }
.notice { padding: 1rem; border-radius: 6px; font-size: .88rem; }
.notice.ok { color: var(--success); background: #e9f8f2; border: 1px solid #bdebd9; }
.notice.err { color: var(--error); background: #fff0f1; border: 1px solid #f3cdd2; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.4rem; color: var(--muted); font-size: .79rem; }
.site-footer .shell { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-brand { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-footer p { margin: .25rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { text-decoration: none; }
.index-hero-wrap { overflow: hidden; position: relative; background: radial-gradient(circle at 15% 0%, rgba(85,214,229,.18), transparent 32%), radial-gradient(circle at 90% 5%, rgba(118,86,255,.14), transparent 33%), #fbfdff; }
.index-hero { padding-block: clamp(5rem, 11vw, 9rem); }
.index-hero h1 { max-width: 13ch; }
.index-hero-grid { display: grid; grid-template-columns: 1fr .48fr; gap: clamp(3rem, 9vw, 8rem); align-items: end; }
.index-hero-aside { padding: 1.4rem 0 0 1.5rem; border-left: 1px solid var(--line); color: var(--body); }
.index-hero-aside strong { display: block; margin-bottom: .5rem; color: var(--navy); font-size: .86rem; }
.index-hero-aside p { margin: 0; font-size: .86rem; }
.index-principles { border-block: 1px solid var(--line); }
.index-principles .shell { display: grid; grid-template-columns: repeat(3, 1fr); }
.index-principles article { padding: 1.55rem 1.6rem; border-right: 1px solid var(--line); }
.index-principles article:first-child { padding-left: 0; }
.index-principles article:last-child { padding-right: 0; border: 0; }
.index-principles span { color: var(--blue); font: 500 .65rem/1 Geist Mono, monospace; }
.index-principles strong { display: block; margin-top: .35rem; font-size: .87rem; }
.index-experiments { padding-block: clamp(5rem, 9vw, 7rem); }
.experiment-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.experiment-card { min-height: 325px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; background: linear-gradient(155deg, #fff, #f8faff); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.experiment-card:hover { transform: translateY(-4px); border-color: #c8d3e3; box-shadow: var(--shadow); }
.experiment-label { color: var(--blue); font: 500 .65rem/1 Geist Mono, monospace; letter-spacing: .07em; text-transform: uppercase; }
.experiment-card h2 { margin: 3rem 0 .85rem; font-size: 1.38rem; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.experiment-card h2 a { text-decoration: none; }
.experiment-card p { margin: 0; color: var(--body); font-size: .88rem; line-height: 1.55; }
.card-link { margin-top: auto; padding-top: 2rem; color: var(--blue); font-size: .82rem; font-weight: 600; text-decoration: none; }
.card-link span { display: inline-block; transition: transform .18s ease; }
.card-link:hover span { transform: translateX(4px); }
.index-note { margin-top: 2rem; padding: 1.2rem 1.35rem; border: 1px solid var(--line); border-radius: 8px; color: var(--body); background: var(--surface); font-size: .85rem; }
.legal { max-width: 780px; padding-block: clamp(4rem, 9vw, 7rem); }
.legal h1 { max-width: none; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.legal h2 { margin: 2.5rem 0 .55rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
.legal p { color: var(--body); }
.legal-lede { margin: 1rem 0 2.5rem; font-size: 1.05rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.legal-note { margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: .86rem; }
.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.demo-section { padding-block: clamp(4.5rem, 9vw, 7rem); border-top: 1px solid var(--line); background: #f5f8fd; }
.demo-heading { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(2rem, 8vw, 6rem); align-items: end; margin-bottom: 2.2rem; }
.demo-heading h2 { max-width: 18ch; margin: .85rem 0 0; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 400; line-height: 1.02; letter-spacing: -.052em; }
.demo-heading > p { margin: 0; color: var(--body); }
.analyzer { overflow: hidden; border: 1px solid #cad5e4; border-radius: 10px; background: #0b1728; box-shadow: var(--shadow); }
.editor-toolbar { min-height: 48px; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #22334b; color: #9fb0c7; font: 500 .72rem/1 Geist Mono, monospace; }
.editor-toolbar > div { display: flex; align-items: center; gap: .45rem; }
.editor-toolbar span { width: 9px; height: 9px; border-radius: 50%; background: #42536a; }
.editor-toolbar span:first-child { background: #e97077; }
.editor-toolbar span:nth-child(2) { background: #e5b95d; }
.editor-toolbar span:nth-child(3) { margin-right: .45rem; background: #58bd8b; }
.editor-toolbar button { min-height: 44px; padding: .4rem .65rem; border: 1px solid #344760; border-radius: 6px; color: #dce6f4; background: #17273d; cursor: pointer; }
.editor-toolbar button:hover { background: #21344d; }
.analyzer textarea { width: 100%; min-height: 390px; resize: vertical; padding: 1.4rem; border: 0; outline: 0; display: block; color: #dce6f4; background: #0b1728; font: 400 .86rem/1.65 Geist Mono, ui-monospace, monospace; tab-size: 2; }
.analyzer textarea::placeholder { color: #708299; }
.analyzer textarea:focus { box-shadow: inset 0 0 0 2px #5673ff; }
.analyzer-footer { padding: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid #22334b; background: #101f33; }
.analyzer-footer p { margin: 0; color: #9fb0c7; font-size: .78rem; }
.analyzer-footer strong { color: #dce6f4; }
.analysis-result { scroll-margin-top: 90px; margin-top: 1.2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #cad5e4; border-radius: 10px; background: white; box-shadow: 0 18px 40px -34px rgba(7, 24, 45, .5); }
.result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.result-header h3 { margin: .55rem 0 0; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; }
.privacy-chip { padding: .45rem .65rem; border: 1px solid #bdebd9; border-radius: 99px; color: var(--success); background: #effaf6; font: 500 .68rem/1 Geist Mono, monospace; white-space: nowrap; }
.result-metrics { margin-top: 1.7rem; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; }
.result-metrics div { min-height: 92px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.result-metrics div:last-child { border-right: 0; }
.result-metrics strong { font: 500 1.5rem/1 Geist Mono, monospace; }
.result-metrics span { margin-top: .45rem; color: var(--muted); font-size: .72rem; }
.import-plan { margin-top: 1rem; padding: 1rem; border-radius: 8px; color: #dce6f4; background: #0b1728; }
.import-plan h4 { margin: 0 0 .75rem; color: #9fb0c7; font: 500 .66rem/1 Geist Mono, monospace; letter-spacing: .06em; text-transform: uppercase; }
.import-plan pre { overflow-x: auto; margin: 0; }
.import-plan code { font: 400 .8rem/1.6 Geist Mono, monospace; }
.finding-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.finding-list li { padding: 1.25rem 0; display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; border-top: 1px solid var(--line); }
.finding-list li > span { color: var(--blue); font: 500 .62rem/1.45 Geist Mono, monospace; letter-spacing: .04em; text-transform: uppercase; }
.finding-list strong { display: block; }
.finding-list p { margin: .35rem 0 .55rem; color: var(--body); font-size: .88rem; }
.finding-list a { color: var(--blue); font-size: .78rem; font-weight: 600; }
.result-actions { padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .7rem; border-top: 1px solid var(--line); }
.demo-empty-result p { margin-bottom: 0; color: var(--body); }
.demo-empty-result code { padding: .12rem .3rem; border-radius: 4px; background: var(--surface); font-family: Geist Mono, monospace; }
@media (max-width: 820px) {
  .hero, .fit-grid, .join, .index-hero-grid, .demo-heading { grid-template-columns: 1fr; }
  .hero { gap: 2.5rem; }
  .demo-heading { gap: 1rem; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .result-metrics div:nth-child(2) { border-right: 0; }
  .result-metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .decision-card { max-width: 560px; }
  .proof-strip .shell { grid-template-columns: 1fr 1fr; padding-block: .5rem; }
  .proof-strip span:nth-child(2) { border-right: 0; }
  .capabilities, .experiment-list { grid-template-columns: 1fr; }
  .capability, .experiment-card { min-height: 0; }
  .capability h3 { margin-top: 2rem; }
  .experiment-card h2 { margin-top: 2rem; }
  .card-link { margin-top: 1.5rem; padding-top: 0; }
  .index-principles .shell { grid-template-columns: 1fr; }
  .index-principles article, .index-principles article:first-child, .index-principles article:last-child { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .index-principles article:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  .shell, .nav { width: min(100% - 3rem, 1120px); }
  .nav { min-height: 64px; gap: .75rem; }
  .nav-links { gap: .4rem; }
  .nav-links a { min-height: 40px; padding: .45rem .55rem; display: inline-flex; align-items: center; font-size: .78rem; }
  .hero { gap: 2rem; padding-block: 3rem; }
  .has-demo .decision-card { display: none; }
  .has-demo .hero { padding-bottom: 2.5rem; }
  h1 { max-width: none; font-size: clamp(2.45rem, 11.8vw, 3rem); line-height: 1; letter-spacing: -.05em; }
  .demo-heading { margin-bottom: 1.5rem; }
  .editor-toolbar { padding-inline: .75rem; }
  .editor-toolbar span { display: none; }
  .editor-toolbar span:nth-child(3) { margin-right: 0; }
  .editor-toolbar strong { font-size: .65rem; }
  .editor-toolbar button { flex: 0 0 auto; }
  .analyzer textarea { min-height: 330px; resize: none; padding: 1rem; font-size: .78rem; }
  .lede { margin-top: 1.25rem; font-size: 1rem; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: .65rem; margin-top: 1.6rem; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .microcopy { margin-top: .8rem; font-size: .75rem; line-height: 1.5; }
  .decision-card { padding: 1.25rem; }
  .decision-card::after { inset: 7px -7px -7px 7px; }
  .decision-card h2 { margin-top: 1.35rem; }
  .decision-card dl { margin-top: 1.25rem; }
  .decision-card dl div { grid-template-columns: 1fr; gap: .2rem; padding: .7rem 0; }
  .proof-strip .shell { grid-template-columns: 1fr 1fr; gap: 0; padding-block: .4rem; }
  .proof-strip span, .proof-strip span:first-child, .proof-strip span:last-child { min-height: 52px; padding: .55rem .45rem; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .7rem; line-height: 1.35; }
  .proof-strip span:nth-child(2n) { border-right: 0; }
  .proof-strip span:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding-block: 4rem; }
  .demo-section { padding-block: 4rem; }
  .demo-heading h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .analyzer textarea { min-height: 330px; padding: 1rem; font-size: .78rem; }
  .analyzer-footer { align-items: stretch; flex-direction: column; gap: .8rem; }
  .analyzer-footer .button { width: 100%; }
  .result-header { flex-direction: column; gap: .8rem; }
  .privacy-chip { white-space: normal; }
  .finding-list li { grid-template-columns: 1fr; gap: .4rem; }
  .result-actions { display: grid; grid-template-columns: 1fr; }
  .result-actions .button { width: 100%; }
  .section-intro { grid-template-columns: 1fr; gap: .8rem; padding-top: 1rem; }
  .section-intro h2, .fit-grid h2 { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.04; }
  .section-intro > div > p { margin-top: .8rem; font-size: .96rem; }
  .capabilities, .experiment-list { gap: .75rem; margin-top: 2rem; }
  .capability, .experiment-card { padding: 1.25rem; }
  .capability h3, .experiment-card h2 { margin-top: 1.5rem; }
  .fit-grid { gap: 2rem; padding-block: 4rem; }
  .fit-copy ul { margin-top: 1.25rem; }
  .faq { margin-top: 2rem; }
  .faq summary { min-height: 64px; padding: 1rem 0; gap: 1rem; line-height: 1.4; }
  .faq summary span { flex-basis: 28px; width: 28px; height: 28px; }
  .faq summary span::before, .faq summary span::after { inset: 13px 7px auto; }
  .join-section { padding-bottom: 4rem; }
  .join { gap: 2rem; padding: 1.5rem; }
  .join h2 { max-width: none; font-size: clamp(2rem, 9vw, 2.65rem); }
  .signup { padding: 1.1rem; }
  .form-row { flex-direction: column; }
  .signup input { width: 100%; font-size: 1rem; }
  .signup .button { width: 100%; }
  .index-hero { padding-block: 4rem; }
  .index-hero-grid { gap: 2.5rem; }
  .index-hero-aside { padding: 1rem 0 0 1rem; }
  .index-experiments { padding-block: 4rem; }
  .index-note { margin-top: 1.5rem; padding: 1rem; }
  .experiment-card { min-height: 0; }
  .site-footer { padding-block: 2rem; }
  .site-footer .shell { flex-direction: column; gap: 1.25rem; }
  .footer-links { gap: .5rem 1.25rem; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .legal { padding-block: 4rem; }
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 350px) {
  .wordmark small { display: none; }
  .shell, .nav { width: min(100% - 2.5rem, 1120px); }
  .nav-cta { padding-inline: .6rem; }
  h1 { font-size: 2.35rem; }
  .join { padding: 1.1rem; }
  .signup { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* —— LLM models leaderboard (/models/) —— */
.models-page .models-hero-wrap { overflow: hidden; }
.models-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.models-hero h1 { max-width: 11ch; margin-top: 0; }
.models-hero-compact { max-width: 40rem; }
.models-updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font: 500 .9rem/1.4 Geist Mono, monospace;
  letter-spacing: -.01em;
}
.models-method-card h2 { margin-top: 1.35rem; font-size: 1.45rem; }
.models-method-card > p { font-size: .78rem; line-height: 1.5; }
.models-method-card {
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.models-method-card h3 {
  margin: 0 0 .65rem;
  font-size: .95rem;
  letter-spacing: -.01em;
}
.models-method-card .models-scheme,
.models-method-card .models-formula,
.models-method-card .models-footnote,
.models-method-card .models-formula-lead,
.models-method-card .models-formula-coda {
  margin: 0 0 .7rem;
  color: var(--ink);
  font-size: .72rem;
  line-height: 1.45;
}
.models-method-card .models-footnote { color: var(--muted); }
.models-scheme-label,
.models-fn-label {
  display: inline-block;
  margin-right: .4rem;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font: 600 .62rem/1.2 Geist Mono, ui-monospace, monospace;
  letter-spacing: .03em;
  text-transform: uppercase;
  vertical-align: .05em;
}
.models-formula-block { margin: 0 0 .85rem; }
.models-formula-lead {
  margin: 0 0 .4rem !important;
  font-weight: 600;
  color: var(--ink) !important;
  font-size: .72rem !important;
}
.models-formula-steps {
  margin: 0 0 .45rem;
  padding: .45rem .55rem .45rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
  color: var(--ink);
  font-size: .7rem;
  line-height: 1.4;
}
.models-formula-steps li { margin: 0 0 .35rem; padding-left: .15rem; }
.models-formula-steps li:last-child { margin-bottom: 0; }
.models-formula-coda {
  margin: .35rem 0 0 !important;
  color: var(--muted) !important;
  font-size: .68rem !important;
}
.models-weights-wrap {
  margin: .25rem 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}
.models-weights-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  table-layout: auto;
  font-size: .72rem;
  line-height: 1.3;
}
.models-weights-table th,
.models-weights-table td {
  padding: .42rem .6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.models-weights-table thead th {
  background: #f4f6f9;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.models-weights-table tbody tr:nth-child(even) { background: #fafbfc; }
.models-weights-table tbody tr:hover { background: #f0f4fa; }
.models-weights-table tbody tr:last-child th,
.models-weights-table tbody tr:last-child td { border-bottom: 0; }
.models-weights-table tbody th {
  font-weight: 600;
  color: var(--ink);
  font-size: .78rem;
  white-space: nowrap;
}
.models-w-source-name { display: inline; }
.models-w-bucket-m { display: none; }
.models-w-bucket { color: var(--muted); font-size: .7rem; white-space: nowrap; }
.models-w-pct { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.models-w-pct-val {
  display: inline-block;
  min-width: 2.8em;
  font: 600 .74rem/1 Geist Mono, ui-monospace, monospace;
  letter-spacing: -.02em;
}
.models-w-incl { text-align: center; white-space: nowrap; }
.models-incl {
  display: inline-block;
  padding: .12rem .45rem;
  border-radius: 999px;
  font: 600 .6rem/1.2 Geist Mono, ui-monospace, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.models-incl-direct {
  background: #e8f5ee;
  color: #1b6b45;
  border: 1px solid #c6e6d4;
}
.models-incl-derived {
  background: #eef1f6;
  color: #4a5568;
  border: 1px solid #d5dbe6;
}
/* Narrow: card stack — never crush 6 columns into the viewport */
@media (max-width: 720px) {
  .models-weights-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }
  .models-weights-table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: .8rem;
  }
  .models-weights-table thead { display: none; }
  .models-weights-table tbody { display: block; }
  .models-weights-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "src src floor"
      "nom act eff";
    gap: .35rem .55rem;
    align-items: center;
    margin: 0 0 .55rem;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .models-weights-table tbody tr:nth-child(even) { background: #fff; }
  .models-weights-table tbody tr:hover { background: #f8faff; }
  .models-weights-table tbody th,
  .models-weights-table tbody td {
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .models-weights-table tbody th {
    grid-area: src;
    font-size: .9rem;
    line-height: 1.25;
    white-space: normal;
  }
  .models-w-source-name {
    display: block;
    font-weight: 600;
    color: var(--navy);
  }
  .models-w-bucket-m {
    display: block;
    margin-top: .15rem;
    color: var(--muted);
    font: 500 .72rem/1.2 Geist, system-ui, sans-serif;
  }
  .models-w-bucket { display: none; } /* shown under source name */
  .models-w-incl {
    grid-area: floor;
    text-align: right;
    justify-self: end;
  }
  .models-w-pct {
    text-align: left;
  }
  .models-w-pct::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .15rem;
    color: var(--muted);
    font: 500 .58rem/1 Geist Mono, ui-monospace, monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .models-weights-table tbody td[data-label="Nominal"] { grid-area: nom; }
  .models-weights-table tbody td[data-label="Active"] { grid-area: act; }
  .models-weights-table tbody td[data-label="Effective"] { grid-area: eff; }
  .models-w-pct-val {
    min-width: 0;
    font-size: .88rem;
  }
  .models-weights-note {
    margin-top: .15rem;
    font-size: .74rem;
  }
  .models-formula-steps { font-size: .66rem; padding-left: 1.2rem; }
}
.models-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.models-picks-section { padding-top: 0; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.models-picks-head { margin: 0 0 .85rem; }
.models-page .section-intro {
  gap: 1.25rem;
  padding-top: .9rem;
}
.models-page .section-intro h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.models-page .section-intro > div > p {
  max-width: none;
  margin-top: .4rem;
  font-size: .95rem;
  line-height: 1.4;
}.models-picks-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.models-picks-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.models-picks-table th,
.models-picks-table td {
  padding: .8rem .95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}
.models-picks-table thead th {
  background: var(--surface);
  color: var(--muted);
  font: 500 .64rem/1 Geist Mono, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.models-picks-table tbody tr:last-child th,
.models-picks-table tbody tr:last-child td { border-bottom: 0; }
.models-picks-table tbody th {
  width: 24%;
  color: var(--muted);
  background: #fbfcfe;
  font-size: .9rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.01em;
  text-align: left;
}
.models-picks-table td { width: 38%; }
.models-pick-cat {
  display: block;
  color: var(--muted);
  font-size: inherit;
  font-weight: 400;
  font-style: italic;
  text-align: left;
}
.models-pick-name {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.models-pick-empty { color: var(--muted); font-weight: 400; }
.models-board {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px -38px rgba(7, 24, 45, .55);
}
.models-board-head,
.models-row > summary {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto 2rem;
  gap: .55rem .75rem;
  align-items: center;
}
.models-board-head {
  padding: .75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: 500 .64rem/1 Geist Mono, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.models-row { border-bottom: 1px solid var(--line); }
.models-row:last-child { border-bottom: 0; }
.models-row > summary {
  list-style: none;
  cursor: pointer;
  padding: .9rem 1.1rem;
  transition: background .15s ease;
}
.models-row > summary::-webkit-details-marker { display: none; }
.models-row > summary:hover { background: #f8faff; }
.models-row[open] > summary { background: #f4f7fd; border-bottom: 1px solid var(--line); }
.models-rank {
  color: var(--muted);
  font: 500 .85rem/1 Geist Mono, monospace;
}
.models-name {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  min-width: 0;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.models-cov-star {
  color: var(--muted);
  font-weight: 600;
  margin-left: .12em;
  letter-spacing: 0;
}
.models-cov-note {
  margin: .45rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: .01em;
}
.models-meta {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .45rem;
  white-space: nowrap;
  justify-self: end;
  flex-shrink: 0;
}
.models-score {
  font: 600 .82rem/1 Geist Mono, monospace;
  letter-spacing: -.02em;
  color: var(--navy);
  text-align: right;
}
.models-ds,
.models-list {
  font: 500 .74rem/1 Geist Mono, monospace;
  color: var(--body);
  text-align: right;
}
.models-list { color: var(--muted); }
.models-src-asof {
  color: var(--muted);
  font-size: .7rem;
}
.models-weights-note {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}
.models-formula {
  margin: .4rem 0 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--body);
}
.models-section-lede {
  margin: .25rem 0 0;
  color: var(--body);
  font-size: .95rem;
  line-height: 1.4;
  max-width: none;
}
.models-method-card .models-scheme,
.models-method-card .models-footnote {
  font-size: .78rem;
  line-height: 1.4;
}
.models-json-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.models-json-foot {
  margin: .65rem 0 0;
  text-align: right;
  font-size: .78rem;
  line-height: 1.3;
}
.models-json-foot a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.models-json-foot a:hover { color: var(--body); }
.models-expand {
  justify-self: end;
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.models-expand::before,
.models-expand::after {
  content: "";
  position: absolute;
  inset: 10px 5px auto;
  height: 1px;
  background: var(--blue);
}
.models-expand::after { transform: rotate(90deg); transition: transform .18s ease; }
.models-row[open] .models-expand::after { transform: rotate(0); }
.models-detail {
  padding: 0 1.15rem 1.2rem 1.15rem;
  background: linear-gradient(180deg, #f8faff, #fff);
}
.models-metrics {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.models-metrics > div {
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.models-metrics dt {
  margin: 0 0 .3rem;
  color: var(--muted);
  font: 500 .62rem/1.3 Geist Mono, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.models-metrics dd {
  margin: 0;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.models-notes-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.25rem;
}
.models-notes-grid > div {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.models-notes-grid h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.models-notes-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--body);
  font-size: .9rem;
}
.models-notes-grid li + li { margin-top: .55rem; }
.models-source-list a { color: var(--blue); text-decoration: none; font-weight: 600; }
.models-source-list a:hover { text-decoration: underline; }
.models-empty { margin: 1.5rem 0; color: var(--muted); }
@media (max-width: 720px) {
  .models-hero { grid-template-columns: 1fr; }
  .models-picks-table-wrap { border-radius: 8px; }
  .models-picks-table { table-layout: auto; }
  .models-picks-table thead { display: none; }
  .models-picks-table,
  .models-picks-table tbody { display: block; width: 100%; }
  .models-picks-table tr {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
    gap: .55rem .75rem;
    align-items: center;
    width: 100%;
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--line);
  }
  .models-picks-table tbody tr:last-child { border-bottom: 0; }
  .models-picks-table tbody th,
  .models-picks-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .models-picks-table tbody th {
    margin: 0;
    align-self: center;
  }
  .models-pick-cat {
    font: italic 400 .82rem/1.25 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--muted);
    text-align: left;
  }
  .models-picks-table tbody td { min-width: 0; }
  .models-picks-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .2rem;
    color: var(--muted);
    font: 500 .6rem/1 Geist Mono, monospace;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .models-pick-name {
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.25;
  }
  .models-notes-grid { grid-template-columns: 1fr; }
  .models-metrics { grid-template-columns: 1fr; }
  .models-board-head { display: none; }
  .models-row > summary {
    display: grid;
    grid-template-columns: 1.7rem minmax(0, 1fr) auto 1.7rem;
    column-gap: .5rem;
    align-items: center;
    padding: .8rem .85rem;
  }
  .models-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: .95rem;
    line-height: 1.3;
  }
  .models-meta {
    gap: .35rem;
    align-self: center;
  }
  .models-score { font-size: .76rem; }
  .models-ds,
  .models-list { font-size: .7rem; }
  .models-expand {
    width: 20px;
    height: 20px;
  }
  .models-detail { padding-inline: 1rem; }
  .models-section-lede { font-size: .92rem; }
  .models-picks-head h2,
  .models-section .section-intro h2 { font-size: 1.35rem; }
}
@media (max-width: 420px) {
  .models-picks-table tr {
    grid-template-columns: 3.9rem minmax(0, 1fr) minmax(0, 1fr);
    gap: .45rem .55rem;
    padding: .7rem .7rem;
  }
  .models-pick-name { font-size: .82rem; }
  .models-pick-cat { font-size: .78rem; font-style: italic; font-weight: 400; }
}
@media (max-width: 620px) {
  /* keep all three primary nav items visible on small screens */
}

/* —— Hub homepage (/) —— */
.hub-page .hub-hero-wrap { overflow: hidden; }
.hub-hero {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  max-width: 40rem;
}
.hub-hero h1 {
  max-width: 14ch;
  margin: .75rem 0 0;
}
.hub-destinations { padding-block: 0 clamp(3.5rem, 8vw, 5.5rem); }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hub-card {
  min-height: 280px;
  padding: 1.45rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #fff, #f8faff);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: #c8d3e3;
  box-shadow: var(--shadow);
}
.hub-card-label {
  margin: 0;
  color: var(--blue);
  font: 500 .65rem/1 Geist Mono, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hub-card h2 {
  margin: 1.6rem 0 .75rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.hub-card h2 a { text-decoration: none; color: var(--navy); }
.hub-card > p {
  margin: 0;
  color: var(--body);
  font-size: .9rem;
  line-height: 1.5;
}
.hub-card .card-link { margin-top: auto; padding-top: 1.75rem; }
.hub-destinations { padding-bottom: clamp(4rem, 9vw, 6rem); }

/* —— Labs directory (/labs/) —— */
.labs-directory-page .labs-directory-hero-wrap { overflow: hidden; }
.labs-directory-hero {
  padding-block: clamp(3.25rem, 7vw, 5rem);
  max-width: 40rem;
}
.labs-directory-hero h1 {
  max-width: 14ch;
  margin: .55rem 0 0;
}
.labs-directory-lede {
  margin: 1.1rem 0 0;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
}
.labs-directory-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font: 500 .88rem/1.4 Geist Mono, monospace;
}
.labs-directory-section {
  padding-block: 0 clamp(4rem, 9vw, 6.5rem);
}
.labs-directory-section .experiment-list { margin-top: 0; }

@media (max-width: 820px) {
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card { min-height: 0; }
}

/* —— AI / Agentic trends executive summary (/trends/) —— */
.trends-page .trends-hero-wrap { overflow: hidden; }
.trends-hero {
  padding-block: clamp(3.25rem, 7vw, 5rem);
  max-width: 44rem;
}
.trends-hero h1 {
  max-width: 14ch;
  margin: .55rem 0 0;
}
.trends-lede {
  margin: 1.15rem 0 0;
  color: var(--body);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 40rem;
}
.trends-updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font: 500 .88rem/1.4 Geist Mono, monospace;
  letter-spacing: -.01em;
}
.trends-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.trends-calls-section { padding-top: 0; }
.trends-calls {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .85rem;
  counter-reset: none;
}
.trends-call {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: .9rem 1rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px -36px rgba(7, 24, 45, .5);
}
.trends-call-num {
  color: var(--blue);
  font: 500 .78rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  padding-top: .2rem;
}
.trends-call p {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.45;
}
.trends-shift-table-wrap {
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.trends-shift-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.trends-shift-table th,
.trends-shift-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: .92rem;
  line-height: 1.4;
}
.trends-shift-table thead th {
  background: var(--surface);
  color: var(--muted);
  font: 500 .64rem/1 Geist Mono, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.trends-shift-table tbody tr:last-child td { border-bottom: 0; }
.trends-shift-table td:first-child { color: var(--muted); width: 30%; }
.trends-shift-to-cell {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.015em;
  width: 28%;
}
.trends-shift-note {
  color: var(--body);
  font-size: .88rem;
}
.trends-cards {
  margin-top: 1.75rem;
  display: grid;
  gap: .75rem;
}
.trends-card {
  padding: 1rem 1.15rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.trends-card-head {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .65rem .85rem;
  align-items: start;
  margin-bottom: .55rem;
}
.trends-rank {
  color: var(--muted);
  font: 500 .84rem/1.4 Geist Mono, monospace;
  padding-top: .15rem;
}
.trends-name {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.trends-card-claim {
  margin: 0;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.45;
}
.trends-card-more {
  margin-top: .7rem;
}
.trends-card-more > summary {
  cursor: pointer;
  color: var(--blue);
  font: 500 .78rem/1.2 Geist Mono, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  list-style: none;
  user-select: none;
}
.trends-card-more > summary::-webkit-details-marker { display: none; }
.trends-card-more > summary::before {
  content: "+ ";
  font-weight: 700;
}
.trends-card-more[open] > summary::before { content: "– "; }
.trends-card-detail {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.trends-src-list {
  margin: .35rem 0 0;
  padding-left: 1.05rem;
  list-style: disc;
  color: var(--body);
  font-size: .82rem;
  line-height: 1.45;
}
.trends-src-list li + li { margin-top: .35rem; }
.trends-src-detail {
  color: var(--body);
  font-weight: 400;
}
.trends-ev {
  display: inline-block;
  margin-right: .2rem;
  color: var(--muted);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.trends-ev-preprint { color: #6b5b2e; }
.trends-ev-vendor { color: #1d4f91; }
.trends-ev-gov { color: #0b6b4a; }
.trends-ev-study { color: #5b3d8f; }
.trends-archive-section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.trends-archive-foot {
  margin: 0;
  padding: .9rem 1.05rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.trends-archive-foot a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.trends-archive-foot a:hover { text-decoration: underline; }
.trends-archive-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.55;
}
.trends-archive-list a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.trends-archive-list a:hover { text-decoration: underline; }
.trends-tag {
  display: inline-flex;
  align-items: center;
  padding: .22rem .48rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trends-card-tags {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.trends-tag-cat {
  color: var(--navy-2);
  border-color: var(--line);
  background: #f4f6fa;
}
.trends-card-summary {
  margin: 0;
  color: var(--body);
  font-size: .92rem;
  line-height: 1.5;
}
.trends-card-impl {
  margin: .45rem 0 0;
  color: var(--navy-2);
  font-size: .9rem;
  line-height: 1.48;
}
.trends-card-impl-label {
  color: var(--muted);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
  margin-right: .3rem;
}
.trends-card-callouts {
  margin-top: .65rem;
  display: grid;
  gap: .45rem;
}
.trends-card-econ {
  margin: 0;
  padding: .55rem .7rem;
  border-left: 3px solid rgba(49, 92, 244, .35);
  border-radius: 0 6px 6px 0;
  background: #f5f8fd;
  color: var(--navy-2);
  font-size: .86rem;
  line-height: 1.45;
}
.trends-card-econ-label {
  display: block;
  margin-bottom: .2rem;
  color: var(--blue);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.trends-card-watch {
  margin: 0;
  padding: .55rem .7rem;
  border-left: 3px solid rgba(138, 75, 18, .35);
  border-radius: 0 6px 6px 0;
  background: #fffaf4;
  color: #5c3810;
  font-size: .86rem;
  line-height: 1.45;
}
.trends-card-watch-label {
  display: block;
  margin-bottom: .2rem;
  color: #8a4b12;
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.trends-card-practices {
  margin: .65rem 0 0;
  padding: .65rem .85rem;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.trends-card-practices-label {
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.trends-card-practices ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--navy-2);
  font-size: .85rem;
  line-height: 1.45;
}
.trends-card-practices li + li {
  margin-top: .25rem;
}
.trends-card-sources {
  margin-top: .65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .55rem;
  font-size: .8rem;
}
.trends-card-sources-label {
  color: var(--muted);
  font: 500 .62rem/1 Geist Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: .15rem;
}
.trends-card-src {
  display: inline-block;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
.trends-card-src:hover { text-decoration: underline; }
.trends-actions {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.15rem 1.15rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.45;
}
.trends-actions li + li { margin-top: .55rem; }
.trends-notes-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}
.trends-notes-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.trends-notes-card h3 {
  margin: 0 0 .85rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.trends-notes-card ul,
.trends-source-index {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--body);
  font-size: .86rem;
  line-height: 1.4;
}
.trends-notes-card li + li,
.trends-source-index li + li { margin-top: .4rem; }
.trends-source-index a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.trends-source-index a:hover { text-decoration: underline; }
.trends-crosslink {
  margin: 1rem 0 0;
  font-size: .88rem;
}
.trends-crosslink a { color: var(--blue); font-weight: 600; text-decoration: none; }
.trends-crosslink a:hover { text-decoration: underline; }
.trends-empty { margin: 1.25rem 0; color: var(--muted); }
@media (max-width: 820px) {
  .trends-notes-grid { grid-template-columns: 1fr; }
  .trends-shift-table { table-layout: auto; }
  .trends-shift-table thead { display: none; }
  .trends-shift-table,
  .trends-shift-table tbody,
  .trends-shift-table tr,
  .trends-shift-table td { display: block; width: 100%; }
  .trends-shift-table tr {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .trends-shift-table tbody tr:last-child { border-bottom: 0; }
  .trends-shift-table td {
    padding: .2rem 0;
    border: 0;
  }
  .trends-shift-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .15rem;
    color: var(--muted);
    font: 500 .6rem/1 Geist Mono, monospace;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .trends-card-head {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
  .trends-card-head .trends-card-tags,
  .trends-card-head .trends-tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
  .trends-call { grid-template-columns: 2.2rem minmax(0, 1fr); padding: .95rem 1rem; }
}
