.hero-benefits { margin-block:36px 28px; }
.scale-map-record-count { margin-top:12px; color:var(--muted); font-size:10px; }
#how-panel-scale .scale-map-heading { flex-wrap:wrap; }
#how-panel-scale .scale-map-heading code { min-width:0; overflow-wrap:anywhere; }
.hero-benefits > h2 { margin-bottom:20px; text-align:left; font-size:32px; line-height:1.2; color:var(--ink); }
.homepage .new-proof > h2 { margin-bottom:20px; text-align:left; font-size:32px; line-height:1.2; color:var(--ink); }
.hero-benefits-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.hero-benefit { min-width:0; padding:0; overflow-wrap:break-word; }
.hero-benefit :is(h3,p) { width:100%; min-width:0; max-width:100%; white-space:normal; word-break:normal; text-wrap:balance; }
.hero-benefit h3 { margin:0 0 12px; color:var(--ink); font:500 18px/1.4 Inter,system-ui,sans-serif; letter-spacing:-.02em; }
.hero-benefit p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.benefit-quality-chart { margin:24px 0 0; }
.benefit-quality-heading { display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--ink); font-size:12px; }
.benefit-quality-heading strong { margin-right:6px; color:var(--polish-positive); font-size:20px; font-weight:500; white-space:nowrap; }
.benefit-quality-callout path { fill:none; stroke:var(--polish-accent); stroke-opacity:.5; stroke-width:1; stroke-linecap:round; stroke-linejoin:round; }
.benefit-quality-callout text { fill:var(--polish-accent); font-size:11px; }
.benefit-quality-chart svg { display:block; width:100%; height:auto; aspect-ratio:520 / 318; margin-top:12px; overflow:visible; font-family:Inter,system-ui,sans-serif; }
.benefit-quality-grid path { fill:none; stroke:var(--line); stroke-width:1; }
.benefit-quality-axis { fill:var(--muted); font-size:10px; }
.benefit-quality-wash { fill:var(--polish-accent); fill-opacity:.08; }
.benefit-quality-seed { fill:none; stroke:var(--muted); stroke-width:1.5; stroke-dasharray:4 5; opacity:.6; }
.benefit-quality-line { fill:none; stroke:var(--polish-accent); stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round; }
.benefit-quality-points circle { fill:var(--polish-accent); stroke:var(--paper); stroke-width:2; }
.benefit-quality-score { fill:var(--polish-accent); font-size:12px; font-weight:500; }
.benefit-quality-baseline { fill:var(--muted); font-size:11px; }
.benefit-quality-chart figcaption { margin-top:0; color:var(--muted); font-size:10px; line-height:1.5; }
.benefit-frontier-chart { margin:24px 0 0; }
.benefit-frontier-heading { display:flex; align-items:center; min-height:31px; color:var(--ink); font-size:12px; }
.benefit-frontier-chart svg { display:block; width:100%; height:auto; aspect-ratio:520 / 318; margin-top:12px; font-family:Inter,system-ui,sans-serif; }
.benefit-frontier-grid path { fill:none; stroke:var(--line); stroke-width:1; }
.benefit-frontier-axes { fill:none; stroke:var(--muted); stroke-width:1; stroke-opacity:.4; }
.benefit-frontier-wash { fill:var(--polish-accent); fill-opacity:.06; }
.benefit-frontier-line { fill:none; stroke:var(--polish-accent); stroke-width:2; stroke-linejoin:round; }
.benefit-frontier-model circle { fill:var(--paper); stroke:var(--polish-accent); stroke-width:1.5; }
.benefit-frontier-model text { fill:var(--ink); font-size:11px; }
.benefit-frontier-model .benefit-frontier-pick { fill:var(--polish-positive); font-size:10px; }
.benefit-frontier-model.is-inefficient circle { stroke:var(--muted); stroke-opacity:.5; }
.benefit-frontier-model.is-inefficient text { fill:var(--muted); }
.benefit-frontier-axis { fill:var(--muted); font-size:10px; }
.benefit-frontier-model .provider-gemma { filter:none; }
[data-theme="light"] .benefit-frontier-model .provider-gemma { filter:brightness(0); }
.benefit-cost-demo { margin:24px 0 0; }
.benefit-cost-heading { display:flex; align-items:center; min-height:31px; color:var(--ink); font-size:12px; margin-bottom:12px; }
.benefit-cost-row { position:relative; padding-block:6px 14px; }
.benefit-cost-row + .benefit-cost-row { padding-top:16px; border-top:1px solid var(--line); }
.benefit-cost-title { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:8px; }
.benefit-cost-title strong { color:var(--ink); font-size:12px; font-weight:400; }
.benefit-cost-title > span { color:var(--muted); font-size:9px; }
.benefit-cost-body { display:grid; grid-template-columns:minmax(0,1fr) 90px; align-items:center; gap:14px; }
.benefit-cost-outputs { display:grid; gap:4px; min-width:0; }
.benefit-cost-outputs > div { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:4px 6px; background:var(--faint); border-radius:4px; }
.benefit-cost-outputs code { color:var(--muted); font:9px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; }
.benefit-cost-outputs span { color:var(--polish-positive); font-size:10px; }
.benefit-cost-spend { color:var(--polish-positive); font-size:24px; font-weight:500; letter-spacing:-.04em; text-align:right; font-variant-numeric:tabular-nums; }
.benefit-cost-without .benefit-cost-spend { color:var(--polish-negative); }
.benefit-cost-status { display:flex; justify-content:space-between; gap:8px; margin-top:8px; color:var(--muted); font-size:9px; }
.benefit-cost-status b { font-weight:400; font-variant-numeric:tabular-nums; }
.benefit-cost-with .benefit-cost-status > span + span { color:var(--polish-positive); }
.benefit-cost-cancelled { display:none; position:absolute; top:43px; left:0; right:104px; padding:5px 3px; transform:rotate(-5deg); border:1px solid var(--polish-negative); background:var(--paper); color:var(--polish-negative); text-align:center; text-transform:uppercase; font:600 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.03em; }
.benefit-cost-demo.is-budget-busted .benefit-cost-cancelled { display:block; }
.benefit-cost-demo.is-budget-busted .benefit-cost-running { visibility:hidden; }
@media(max-width:760px) {
  .hero-benefits { margin-block:28px; }
  .hero-benefits-grid { grid-template-columns:1fr; gap:14px; }
}

/* Alternate-page polish, intentionally isolated from /new. */
:root { --polish-accent:#b1b3ff; --polish-positive:#86efac; --polish-negative:#fca5a5; }
:root[data-theme="light"] { --polish-accent:#5954b5; --polish-positive:#16814b; --polish-negative:#bd3744; }
.opening { padding-bottom:24px; }
.new-how, .new-compare, .new-build, .new-hosting, .new-pricing, .new-faq { padding-block:72px; margin-top:0; }
.new-proof { padding-bottom:24px; }
.new-how { padding-top:96px; }
.new-final-cta { margin-top:0; padding:80px 0 56px; }
.new-how > h2, .new-compare-heading h2, .new-build > h2, .new-hosting > h2, .new-pricing-heading h2, .new-faq > h2 { font-size:32px; line-height:1.2; }
.new-how-subtitle { margin-bottom:40px; }
.how-step-panels { gap:88px; }
.how-step-panel + .how-step-panel { padding-top:0; }
.how-step-copy { max-width:44ch; padding-right:0; }
.how-step-copy h3 { margin-bottom:12px; }
.how-step-copy p { line-height:1.75; }
.new-hero-cta { margin-bottom:88px; }
.hero-product-heading > strong { font-size:13px; }
.hero-product-label { font-size:9px; letter-spacing:.045em; }
.hero-product-model > span:last-child { font-size:10px; white-space:normal; }
.hero-output-record code, .hero-product-vignette .hero-batch-fields, .hero-raw-result code { font-size:10px; }
.hero-raw-result { padding:7px 9px; }
.hero-raw-result:first-of-type { transform:rotate(-2deg); margin-right:12px; }
.hero-raw-result:last-child { transform:rotate(1.5deg); margin-left:12px; margin-top:5px; }
.hero-product-spend > span:last-child { font-size:9px; white-space:normal; line-height:1.5; }
.hero-product-source, .hero-product-model { padding:12px; }
.new-quotes { grid-template-rows:none; gap:20px; }
.new-quotes figure { display:flex; flex-direction:column; grid-row:auto; gap:24px; padding:24px; }
.new-quotes blockquote { flex:1; font-size:19px; line-height:1.45; hanging-punctuation:first last; }
@supports not (hanging-punctuation:first) {
  .new-quotes blockquote { text-indent:-.46em; }
}
.new-quotes figcaption { margin-top:0; }
.quote-customer-logo { display:block; width:112px; height:auto; margin-top:6px; }
.new-quotes figcaption > .quote-customer { display:flex; align-items:center; min-height:35px; }
@media(min-width:651px) {
  .new-quotes { grid-template-rows:auto auto; }
  .new-quotes figure { display:grid; grid-template-rows:subgrid; grid-row:span 2; }
}
.new-quotes figcaption .quote-metrics { margin-top:20px; }
.new-quotes .quote-metric b { font-size:25px; }
.new-quotes figcaption .quote-annotations { margin-top:14px; }
.new-quotes .quote-metric > span { font-size:12px; }
.new-case-request { margin-top:12px; border-bottom-color:currentColor; }
.new-compare-heading { margin-bottom:28px; }
.new-compare-table tbody td, .new-compare-table tbody th { line-height:1.65; }
.new-compare-table tbody th { color:var(--ink); font-weight:500; }
.new-compare-table :is(th,td) { padding:16px 18px; }
.new-compare-table col:first-child { width:17%; }
.trajectory-legend .trajectory-key-rl { border-color:var(--muted); }
.new-build > h2 { margin-bottom:28px; }
.new-build-grid .function-card-copy strong { font-size:15px; font-weight:500; }
.new-build-grid > .function-card-trigger { padding:20px; min-height:112px; position:relative; }
.new-build-grid > .function-card-trigger::after { opacity:.65; }
.new-hosting-options h3 { font:500 20px/1.3 Inter,system-ui,sans-serif; color:var(--ink); letter-spacing:-.02em; }
.new-hosting-intro { margin-bottom:28px; }
.managed-runtime-label { font-size:8px; letter-spacing:.02em; }
.managed-runtime-function > span { font-size:9px; }
.hosting-network-label { color:var(--polish-accent); }
.new-pricing-heading { margin-bottom:28px; }
.new-pricing-stack { grid-template-rows:1fr 1fr; gap:20px; }
.new-pricing .pricing-card { gap:16px; padding:24px; }
.new-pricing .pricing-price { display:grid; gap:6px; }
.new-pricing .pricing-price > span { font-size:12px; color:var(--muted); }
.new-pricing .pricing-price small { font-size:12px; color:var(--muted); }
.new-pricing .pricing-card > p { max-width:38ch; }
.new-pricing .batch-calculator { padding:24px; }
.calculator-heading { gap:20px; }
.calculator-heading p { line-height:1.6; }
.token-preset { min-height:44px; }
.new-faq .faq-list { max-width:880px; }
.new-faq summary { min-height:60px; padding-block:18px; font-weight:500; }
.new-faq details p { max-width:70ch; line-height:1.7; color:var(--muted); }
.new-footer { margin-top:0; padding-top:24px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
[data-theme="light"] .annotation-choices button p { color:var(--muted); }
[data-theme="light"] .annotation-labeler > span { color:var(--muted); }
[data-theme="light"] .cloud-logo-aws { filter:none; }
@media (hover:hover) and (pointer:fine) {
  .new-build-grid > .function-card-trigger:hover { background:#9da0ff0b; }
}
@media(max-width:900px) {
  .hero-product-pipeline { grid-template-columns:1fr 16px 1.1fr 16px 1.3fr 1.1fr; gap:7px; }
  .hero-product-spend { padding-left:12px; }
  .hero-product-spend > strong { font-size:22px; }
  .new-quotes { gap:14px; }
  .new-quotes figure { padding:20px; }
  .new-quotes blockquote { font-size:18px; }
  .managed-runtime-flow { grid-template-columns:minmax(0,1fr) 12px 48px 12px minmax(0,1fr); }
  .managed-runtime-label { font-size:7px; }
}
@media(max-width:650px) {
  .new-how, .new-compare, .new-build, .new-hosting, .new-pricing, .new-faq { padding-block:48px; }
  .new-how { padding-top:64px; }
  .new-proof { padding-bottom:16px; }
  .new-final-cta { padding:56px 0 40px; }
  .homepage .new-proof > h2, .hero-benefits > h2, .new-how > h2, .new-compare-heading h2, .new-build > h2, .new-hosting > h2, .new-pricing-heading h2, .new-faq > h2 { font-size:28px; }
  .new-hero-cta { margin-bottom:64px; }
  .new-quotes { grid-auto-rows:auto; }
  .new-quotes figure { gap:20px; padding:24px; }
  .new-quotes blockquote { flex:none; }
  .how-step-panels { gap:56px; }
  .how-step-panel + .how-step-panel { padding-top:0; }
  .how-step-copy { max-width:none; }
  .hero-product-pipeline { grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); gap:12px 6px; }
  .hero-product-pipeline > .hero-product-connector:nth-of-type(2) { display:none; }
  .hero-product-results { grid-column:1 / 3; }
  .hero-product-spend { grid-column:3; grid-row:2; }
  .hero-product-model > span:last-child { font-size:9px; }
  .hero-project-stamp { left:1%; right:1%; top:41%; }
  .new-pricing-stack { grid-template-rows:auto auto; }
  .new-pricing-layout { grid-template-columns:1fr; }
  .calculator-heading { flex-wrap:wrap; }
  .calculator-price { text-align:left; }
  .managed-runtime-label { font-size:8px; }
}
.new-build-grid > .function-card-trigger::after { border-color:var(--muted); }
[data-theme="light"] .cloud-logo-aws { content:url('/assets/cloud-logos/aws-light.svg'); }

/* Hosting environments share the same illustration language. */
.managed-runtime {
  padding:18px 20px 20px;
  border:1px dashed #9da0ff40;
  border-radius:24px;
  background:radial-gradient(ellipse at 50% 60%,#9da0ff08,transparent 75%),#0d0d12;
  box-shadow:none;
}
.managed-runtime-header { justify-content:center; padding:0; border:0; }
.managed-runtime-brand { gap:7px; color:var(--polish-accent); font-size:11px; font-weight:400; }
.managed-runtime-brand img { width:18px; height:18px; }
.managed-runtime-badge { display:none; }
.managed-runtime-flow { padding-top:20px; }
.managed-runtime-label { font-size:7px; letter-spacing:.04em; color:var(--muted); }
.managed-runtime-record { background:var(--raised); box-shadow:var(--panel-edge); }
.managed-runtime-record i { background:var(--muted); opacity:.4; }
.managed-runtime-outputs .managed-runtime-record { background:#16231d; box-shadow:inset 0 0 0 1px #86efac1a,inset 0 1px 0 #ffffff04; }
.managed-runtime-outputs .managed-runtime-record i { background:var(--polish-positive); opacity:.4; }
.managed-runtime-function > div { background:linear-gradient(145deg,#2e2c40,#22212e); box-shadow:inset 0 0 0 1px #9da0ff4d,inset 0 1px 0 #ffffff0c,0 8px 18px -12px #0009; }
.managed-runtime-function > span { font-size:8px; }
[data-theme="light"] .managed-runtime { background:radial-gradient(ellipse at 50% 60%,#6961c406,transparent 75%),#f6f5f9; border-color:#6961c440; }
[data-theme="light"] .managed-runtime-record { background:var(--raised); box-shadow:var(--panel-edge); }
[data-theme="light"] .managed-runtime-outputs .managed-runtime-record { background:#e9f3ed; box-shadow:inset 0 0 0 1px #16814b15; }
[data-theme="light"] .managed-runtime-function > div { background:linear-gradient(145deg,#ede9ff,#dcd6f2); box-shadow:inset 0 0 0 1px #6961c440,inset 0 1px 0 #fff,0 8px 16px -8px #29244025; }
@media(max-width:900px) { .managed-runtime { padding-inline:14px; } }

.managed-infrastructure { padding:18px 24px; border:1px dashed #9da0ff40; border-radius:24px; background:radial-gradient(ellipse at 50% 60%,#9da0ff08,transparent 75%),#0d0d12; }
.managed-infrastructure-brand { display:flex; align-items:center; justify-content:center; gap:7px; color:var(--polish-accent); font-size:11px; }
.managed-infrastructure-brand img { display:block; width:18px; height:18px; }
.managed-pipeline-workload { width:176px; margin:16px auto 0; padding:8px 12px; border-radius:7px; background:linear-gradient(145deg,#2e2c40,#22212e); box-shadow:inset 0 0 0 1px #9da0ff4d,inset 0 1px 0 #ffffff0c; color:var(--polish-accent); text-align:center; font-size:11px; }
.managed-infrastructure-trunk { height:14px; width:1px; background:#9da0ff45; margin:auto; }
.managed-worker-pool { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; max-width:320px; margin:auto; }
.managed-worker-pool::before { content:""; position:absolute; top:0; left:calc((100% - 40px)/6); right:calc((100% - 40px)/6); height:1px; background:#9da0ff45; }
.managed-worker { position:relative; margin-top:14px; padding:8px 12px; background:var(--raised); border-radius:8px; box-shadow:var(--panel-edge); }
.managed-worker::before { content:""; position:absolute; top:-14px; height:14px; width:1px; left:50%; background:#9da0ff45; }
.managed-worker svg { display:block; width:100%; height:auto; }
.managed-worker rect { fill:#ffffff04; stroke:#ffffff20; }
.managed-worker path { stroke:var(--muted); stroke-opacity:.5; stroke-width:1.5; stroke-linecap:round; }
.managed-worker circle { fill:var(--polish-positive); opacity:.8; }
.managed-infrastructure-caption { margin-top:16px; color:var(--ink); font-size:10px; text-align:center; }
.managed-infrastructure-responsibilities { display:flex; justify-content:center; flex-wrap:wrap; gap:0; margin-top:6px; color:var(--muted); font-size:9px; }
.managed-infrastructure-responsibilities span + span::before { content:"·"; padding-inline:8px; }
[data-theme="light"] .managed-infrastructure { background:radial-gradient(ellipse at 50% 60%,#6961c406,transparent 75%),#f6f5f9; border-color:#6961c440; }
[data-theme="light"] .managed-pipeline-workload { background:linear-gradient(145deg,#ede9ff,#dcd6f2); box-shadow:inset 0 0 0 1px #6961c440,inset 0 1px 0 #fff; }
[data-theme="light"] .managed-worker rect { fill:#fff; stroke:#26282d20; }
[data-theme="light"] :is(.managed-infrastructure-trunk,.managed-worker-pool::before,.managed-worker::before) { background:#6961c440; }
@media(max-width:900px) {
  .managed-infrastructure { padding-inline:16px; }
  .managed-worker-pool { gap:14px; }
  .managed-worker-pool::before { left:calc((100% - 28px)/6); right:calc((100% - 28px)/6); }
  .managed-worker { padding:8px; }
}

#batch-input-tokens { padding:4px; gap:4px; border-radius:10px; background:#ffffff04; }
#batch-input-tokens .token-preset { border:0; background:transparent; box-shadow:none; border-radius:6px; }
#batch-input-tokens .token-preset.is-selected { background:#9da0ff14; box-shadow:none; }
#batch-input-tokens .token-preset.is-selected strong { color:var(--polish-accent); }
.sweep-provider-logo.provider-gemma { filter:brightness(0) invert(1); }
.sweep-card-surface { fill:#242429; stroke:#ffffff12; }
.sweep-pick-badge { stroke:none; }
.sweep-pick-badge.best-badge { fill:#2aefb118; }
.sweep-pick-badge.value-badge { fill:#9da0ff20; }
.sweep-pick-text { fill:var(--polish-accent); font-size:9px; font-weight:500; }
.sweep-best-card .sweep-pick-text, .sweep-quality-score { fill:var(--polish-positive); }
.sweep-recommendation-card .sweep-selection-name { font-size:11px; }
#how-panel-align .optimizer-shell { padding:19px; border:1px solid var(--line); box-shadow:none; overflow:hidden; }
#how-panel-align .optimizer-content { padding:0; height:400px; min-height:400px; scrollbar-gutter:auto; }
#how-panel-align .optimizer-prompt { background:transparent; border:0; border-radius:0; box-shadow:none; }
#how-panel-align .optimizer-prompt-header { padding:0 0 10px; color:var(--muted); font-size:8px; gap:8px; }
#how-panel-align .optimizer-prompt code { padding:0 0 14px; color:var(--ink); font-size:10px; line-height:1.6; }
#how-panel-align .optimizer-prompt-header .is-model-tag { border:0; padding:0; background:none; color:var(--polish-accent); }
#how-panel-align #diff-status { font-size:8px; }
#how-panel-align .optimizer-progress { margin:0 0 12px; padding-top:12px; border-top:1px solid var(--line); font-size:9px; }
#how-panel-align .annotation-card { padding:16px; min-height:240px; background:var(--raised); border:0; border-radius:10px; box-shadow:var(--panel-edge); }
#how-panel-align .annotation-card h4 { font-size:18px; line-height:1.35; margin-bottom:18px; }
#how-panel-align .annotation-labeler { padding:0; background:none; }
#how-panel-align .annotation-labeler > span:not(.annotation-cursor) { font-size:9px; font-weight:400; margin-bottom:12px; }
#how-panel-align .annotation-labeler > span em { font-weight:400; }
#how-panel-align .annotation-choices button { padding:10px; border:0; border-radius:7px; background:#ffffff04; box-shadow:inset 0 0 0 1px var(--line); }
#how-panel-align .annotation-choices button span { font-size:9px; line-height:1.5; color:var(--muted); }
#how-panel-align .annotation-choices button.is-selected { background:#9da0ff0d; box-shadow:inset 0 0 0 1px #9da0ff40; }
#how-panel-align .optimization-ready { min-height:0; padding:24px 16px; margin-top:12px; background:var(--raised); box-shadow:var(--panel-edge); border-radius:10px; }
#how-panel-align .ready-check { width:32px; height:32px; border-radius:0; background:none; margin-bottom:12px; }
#how-panel-align .optimization-ready strong { font-size:14px; font-weight:500; }
#how-panel-align .optimization-ready p { font-size:11px; line-height:1.6; margin:8px auto 18px; max-width:34ch; }
#how-panel-align .optimize-button { background:linear-gradient(#cbd2fc,#aab3f3); color:#121318; border:0; box-shadow:inset 0 1px 0 #ffffff70,0 1px 2px #0002; min-height:36px; border-radius:6px; font-weight:500; }
#how-panel-align .optimizer-content.is-optimizing .optimizer-prompt code { min-height:148px; }
#how-panel-align .diff-line { padding:4px 8px; }
#how-panel-align .diff-line.is-removed { background:#fca5a50a; }
#how-panel-align .diff-line.is-added { background:#86efac08; }
#how-panel-align .optimizer-score { padding:10px 0; margin:0; border:0; border-top:1px solid var(--line); border-radius:0; background:none; }
#how-panel-align .optimizer-score strong { font-size:14px; }
#how-panel-align .optimizer-score span { font-size:8px; font-weight:400; }
#how-panel-align .optimizer-deployment { background:var(--raised); border:0; box-shadow:none; border-radius:10px; padding-inline:14px; transition:none; }
#how-panel-align .optimizer-deployment.is-visible { max-height:160px; padding:14px; margin:12px 0 0; border:0; box-shadow:var(--panel-edge); }
#how-panel-align .deployment-heading { margin-bottom:12px; font-size:11px; color:var(--ink); gap:7px; }
#how-panel-align .deployment-heading > span { color:var(--polish-positive); background:none; font-size:12px; }
#how-panel-align .deployment-heading > strong { font-weight:500; }
#how-panel-align .deployment-heading > small { margin-left:auto; color:var(--muted); font:9px ui-monospace,monospace; }
#how-panel-align .deployment-endpoint { grid-template-columns:38px minmax(0,1fr); gap:10px; border:0; min-height:28px; }
#how-panel-align .deployment-endpoint > span { color:var(--muted); font-size:8px; font-weight:400; text-transform:none; letter-spacing:0; }
#how-panel-align .deployment-endpoint code { font-size:9px; color:var(--ink); overflow-wrap:anywhere; }
[data-theme="light"] #batch-input-tokens { background:#26282d04; }
[data-theme="light"] .sweep-card-surface { fill:#eeedf2; stroke:#26282d0d; }
[data-theme="light"] .sweep-provider-logo.provider-gemma { filter:none; }
[data-theme="light"] #how-panel-align .annotation-choices button { background:#fff7; }
[data-theme="light"] #how-panel-align .diff-line.is-removed { background:#bd37440a; }
[data-theme="light"] #how-panel-align .diff-line.is-added { background:#16814b08; }
@media(max-width:650px) {
  #how-panel-align .optimizer-shell { padding:15px; }
  #how-panel-align .optimizer-content { height:440px; min-height:440px; }
  #how-panel-align .annotation-card h4 { font-size:17px; }
  #how-panel-align .deployment-heading > small { font-size:8px; }
}
.sweep-provider-logo.provider-gemma { filter:none; }
[data-theme="light"] .sweep-provider-logo.provider-gemma { filter:brightness(0); }
#how-panel-align .optimizer-content.is-optimizing .optimizer-prompt code { height:168px; min-height:168px; max-height:168px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--line) transparent; }
#how-panel-align .optimizer-content.is-optimizing .optimizer-progress { display:none; }

#batch-input-tokens { padding:4px; gap:3px; background:#0d0d1260; border-radius:9px; box-shadow:inset 0 0 0 1px var(--line); }
#batch-input-tokens .token-preset { padding:9px 10px; min-height:46px; border-radius:6px; color:var(--muted); }
#batch-input-tokens .token-preset strong { font-weight:500; color:var(--muted); }
#batch-input-tokens .token-preset.is-selected { background:var(--raised); box-shadow:inset 0 0 0 1px #ffffff0d,0 1px 3px #0003; }
#batch-input-tokens .token-preset.is-selected strong { color:var(--ink); }
#batch-input-tokens .token-preset:focus-visible { outline:2px solid var(--ink); outline-offset:-2px; }
[data-theme="light"] #batch-input-tokens { background:#26282d06; }
[data-theme="light"] #batch-input-tokens .token-preset.is-selected { background:#fff; box-shadow:0 1px 3px #26282d1a,inset 0 0 0 1px #26282d08; }
@media(hover:hover) and (pointer:fine) {
  #batch-input-tokens .token-preset:not(.is-selected):hover { background:#9da0ff08; box-shadow:none; }
}

.new-faq > h2 { text-align:center; }
.new-faq .faq-list { margin-inline:auto; }

.scale-map-packet { animation-duration:2.8s; animation-timing-function:cubic-bezier(.45,0,.55,1); animation-delay:calc(var(--row) * -.4s); }

.compare-segments { display:none; }
@media(max-width:760px) {
  .compare-segments { display:grid; grid-template-columns:1fr 1fr; padding:4px; gap:3px; border-radius:9px; margin-bottom:16px; background:#0d0d1260; box-shadow:inset 0 0 0 1px var(--line); }
  .compare-segments button { min-width:0; min-height:44px; border:0; border-radius:6px; background:none; color:var(--muted); padding:8px; font:500 12px/1.4 Inter,system-ui,sans-serif; cursor:pointer; }
  .compare-segments button[aria-checked="true"] { color:var(--ink); background:var(--raised); box-shadow:inset 0 0 0 1px #ffffff0d,0 1px 3px #0003; }
  .compare-segments button:focus-visible { outline:2px solid var(--ink); outline-offset:-2px; }
  #comparison-table { overflow:visible; }
  #comparison-table .new-compare-table { min-width:0; width:100%; }
  #comparison-table colgroup { display:none; }
  #comparison-table tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  #comparison-table thead tr > td:first-child { display:none; }
  #comparison-table[data-compare-mode="prompt"] tr > :nth-child(3),
  #comparison-table[data-compare-mode="training"] tr > :nth-child(2) { display:none; }
  #comparison-table thead th { font-size:12px; padding:16px 12px; }
  #comparison-table tbody th { grid-column:1 / -1; padding:16px 12px 8px; font-size:12px; border-bottom:0; }
  #comparison-table tbody td { padding:0 12px 16px; font-size:12px; line-height:1.6; }
  #comparison-table tbody tr + tr { border-top:1px solid var(--line); }
  #comparison-table tbody td { border-bottom:0; }
  #comparison-table tr > :last-child { background:#7c7ff20a; }
  #comparison-table tbody th { background:transparent; }
  [data-theme="light"] .compare-segments { background:#26282d06; }
  [data-theme="light"] .compare-segments button[aria-checked="true"] { background:#fff; box-shadow:0 1px 3px #26282d1a,inset 0 0 0 1px #26282d08; }
}

@media(max-width:760px) {
  #comparison-table .compare-alternative-heading { display:block; padding:8px; }
  #comparison-table thead tr > :nth-child(3) { display:none; }
  #comparison-table .compare-static-label { display:none; }
  #comparison-table .compare-segments { margin:0; }
  #comparison-table thead tr > th:last-child { display:flex; align-items:center; }
  #comparison-table .compare-segments button { padding:6px; font-size:11px; min-height:44px; }
}
@media(max-width:760px) {
  #comparison-table[data-compare-mode] thead tr > .compare-alternative-heading { display:block; }
}

.hero-raw-stack { position:relative; height:114px; padding-inline:4px; overflow:hidden; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12px,#000 calc(100% - 16px),transparent); mask-image:linear-gradient(to bottom,transparent,#000 12px,#000 calc(100% - 16px),transparent); }
.hero-raw-stack .hero-raw-result { position:absolute; left:4px; right:10px; height:34px; padding:4px 9px; margin:0; border-radius:6px; }
.hero-raw-stack .hero-raw-result code { font-size:9px; line-height:1.4; }
.hero-raw-stack .hero-raw-result:nth-child(even) { left:12px; right:4px; }
.hero-raw-stack .hero-raw-result:last-child { margin-top:0; margin-left:0; }
@media(prefers-reduced-motion:reduce) {
  .hero-raw-stack .hero-raw-result { transform:none; }
}
.hero-raw-stack .hero-raw-result[data-output-slot="3"] { opacity:0; }
.hero-raw-stack .hero-raw-result > .is-correct { color:var(--polish-positive); }

.hero-product-row + .hero-product-row { border-top:0; }
@media(min-width:761px) and (max-height:850px) {
  .opening { padding-top:15px; }
  .hero-product-vignette { margin-block:20px; }
  .hero-product-row { padding-block:14px; }
  .new-hero-cta { margin-bottom:48px; }
}
@media(min-width:761px) and (max-height:850px) {
  .homepage .site-header.new-header { height:68px; min-height:68px; }
  .homepage .opening { padding-top:8px; }
  .homepage .opening > h1 .promise { font-size:clamp(34px,3.3vw,42px); }
  .homepage .opening > .subtitle { font-size:16px; line-height:1.5; margin-block:16px 10px; }
  .homepage .hero-product-vignette { margin-block:10px 18px; }
  .homepage .hero-product-row { padding-block:8px; }
  .homepage .hero-product-heading { margin-bottom:8px; }
  .homepage .new-hero-cta { margin-bottom:24px; }
}

.homepage .homepage-intro > .subtitle { max-width:60ch; margin-inline:auto; text-wrap:balance; }
@media(min-width:761px) {
  .homepage .opening { padding-top:0; }
  .homepage-intro {
    --intro-header-height:86px;
    --intro-top-space:clamp(56px,8svh,104px);
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:auto 1fr auto auto auto auto;
    padding-block:var(--intro-top-space) 64px;
    gap:0 20px;
  }
  /* Reserve the opening viewport for the hero and benefit copy, not the graphics. */
  .homepage-intro::before {
    content:"";
    grid-area:1 / 1 / 6 / -1;
    min-height:calc(100svh - var(--intro-header-height) - var(--intro-top-space));
    pointer-events:none;
  }
  .homepage-intro > .homepage-hero { grid-area:1 / 1 / 2 / -1; margin-top:48px; margin-bottom:20px; }
  .homepage-intro .hero-benefits {
    grid-area:3 / 1 / 7 / -1;
    display:grid;
    grid-template-columns:subgrid;
    grid-template-rows:subgrid;
    margin-block:0;
  }
  .homepage-intro .hero-benefits > h2 { grid-area:1 / 1 / 2 / -1; }
  .homepage-intro .hero-benefits-grid {
    grid-area:2 / 1 / 5 / -1;
    grid-template-columns:subgrid;
    grid-template-rows:subgrid;
    row-gap:0;
  }
  .homepage-intro .hero-benefit { display:grid; grid-row:1 / -1; grid-template-rows:subgrid; }
  .homepage .homepage-intro > .subtitle { margin-block:-40px 0; }
  .homepage .homepage-intro .new-hero-cta { margin:0; }
}
@media(min-width:761px) and (max-height:850px) {
  .homepage-intro { --intro-header-height:68px; }
  .homepage-intro > h1 .promise { font-size:clamp(34px,3.3vw,42px); }
  .homepage .homepage-intro > .subtitle { font-size:16px; line-height:1.5; }
}
@media(max-width:760px) {
  .homepage-intro { padding-top:24px; }
}

.homepage-hero { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:48px; }
.homepage-hero-copy { min-width:0; }
.homepage-hero-copy h1 { margin:0; text-align:left; }
.homepage-hero-copy .promise { font-size:clamp(36px,3.8vw,50px); line-height:1.12; }
.homepage .homepage-hero-copy > .subtitle { max-width:40ch; margin:24px 0 28px; text-align:left; text-wrap:pretty; font-size:17px; line-height:1.65; }
.homepage .homepage-hero-copy .new-hero-cta { margin:0; text-align:left; }
.hero-function-examples { display:grid; gap:14px; min-width:0; }
.hero-function-example { min-width:0; padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--paper); box-shadow:0 8px 28px -18px #29244030; }
.hero-function-example h3 { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; margin:0 0 12px; color:var(--ink); font:500 13px/1.4 Inter,system-ui,sans-serif; }
.hero-function-example h3 code { color:var(--polish-accent); font:10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }
.hero-example-flow { display:grid; grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); align-items:stretch; gap:10px; }
.hero-example-input, .hero-example-output { min-width:0; padding:12px; border-radius:8px; overflow-wrap:anywhere; }
.hero-example-input { position:relative; overflow:hidden; background:var(--faint); }
.hero-example-source { position:absolute; inset:12px; overflow:hidden; -webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent 100%); mask-image:linear-gradient(to bottom,#000 65%,transparent 100%); }
.hero-example-input.hero-example-image { padding:0; background:#f7f6f2; }
.hero-example-image > img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.hero-example-output { background:#9da0ff0a; }
.hero-example-label { display:block; margin-bottom:8px; color:var(--muted); font-size:9px; line-height:1.4; }
.hero-example-source > strong { display:block; color:var(--ink); font-size:11px; font-weight:500; }
.hero-example-input p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.6; white-space:pre-line; }
.hero-example-arrow { align-self:center; color:var(--polish-accent); text-align:center; font-size:18px; }
.hero-example-output .hero-example-json { margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--muted); font:10px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.hero-example-json code { color:inherit; font:inherit; }
.hero-example-json .hero-json-key { color:var(--polish-accent); }
.hero-example-json .hero-json-string { color:var(--polish-positive); }
.hero-example-json .hero-json-number { color:var(--ink); }
.hero-function-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.hero-running-model { display:inline-flex; flex-wrap:wrap; align-items:center; gap:5px; color:var(--muted); font-size:9px; line-height:1.4; font-weight:400; }
.hero-running-logo { display:block; width:16px; height:16px; object-fit:contain; }
.hero-running-model strong { color:var(--ink); font-weight:500; }
.hero-running-openai { filter:invert(1); }
[data-theme="light"] .hero-running-openai { filter:none; }
[data-theme="light"] .hero-example-output { background:#f5f3fc; }
@media(max-width:1000px) {
  .homepage-hero { gap:28px; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
  .hero-function-example { padding:14px; }
  .hero-example-flow { gap:6px; grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); }
  .hero-example-input, .hero-example-output { padding:10px; }
  .hero-example-source { inset:10px; }
}
@media(max-width:760px) {
  .homepage-hero { grid-template-columns:minmax(0,1fr); gap:32px; }
  .homepage-intro .homepage-hero { min-height:calc(100svh - 65px); align-content:start; }
  .homepage .homepage-hero-copy > .subtitle { max-width:44ch; font-size:16px; }
  .homepage-intro .hero-benefits { margin-top:40px; }
}

.hero-function-examples { gap:16px; }
.hero-function-deck { display:grid; min-width:0; padding:24px 20px 40px 4px; perspective:1200px; isolation:isolate; }
.hero-function-deck .hero-function-example {
  grid-area:1 / 1;
  align-self:stretch;
  transform-origin:50% 115%;
  --deck-transform:translate3d(var(--deck-x),var(--deck-y),0) rotate(var(--deck-angle)) scale(var(--deck-scale));
  transform:var(--deck-transform);
  box-shadow:0 18px 42px -24px #29244055,0 2px 5px #29244008;
}
.hero-function-example[data-deck-position="0"] { --deck-x:0px; --deck-y:0px; --deck-angle:-.5deg; --deck-scale:1; z-index:3; }
.hero-function-example[data-deck-position="1"] { --deck-x:8px; --deck-y:13px; --deck-angle:1.5deg; --deck-scale:.98; z-index:2; pointer-events:none; }
.hero-function-example[data-deck-position="2"] { --deck-x:16px; --deck-y:26px; --deck-angle:-2deg; --deck-scale:.96; z-index:1; pointer-events:none; }
@media(prefers-reduced-motion:reduce) {
  .hero-function-deck .hero-function-example { transition:none; }
}

.benefit-frontier-chart .sweep-frontier { stroke-width:2; }
.benefit-frontier-chart .sweep-frontier-underlay { stroke-width:7; opacity:.08; }
.benefit-frontier-chart .sweep-area { fill:var(--polish-accent); fill-opacity:.04; }

.new-case-request:hover, .new-case-request:focus-visible { color:var(--polish-accent); border-bottom-color:currentColor; }

.customer-build-flow .build-svg-json { fill:var(--muted); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.customer-build-flow .build-json-key { fill:var(--polish-accent); }
.customer-build-flow .build-json-string { fill:var(--polish-positive); }
.customer-build-flow .build-svg-output { fill:#9da0ff0a; stroke:var(--line); }
[data-theme="light"] .customer-build-flow .build-svg-output { fill:#f5f3fc; }

.new-pricing .batch-calculator { display:flex; flex-direction:column; justify-content:space-between; gap:32px; }
.new-pricing .calculator-heading { margin-bottom:0; }
.new-pricing .calculator-control + .calculator-control { margin-top:0; }

.homepage { --section-gap:200px; }
.homepage .homepage-intro { padding-bottom:0; }
.homepage .new-proof,
.homepage .new-how,
.homepage .new-build,
.homepage .new-pricing,
.homepage .new-faq,
.homepage .new-final-cta { padding-top:var(--section-gap); padding-bottom:0; margin-top:0; }
@media(min-width:761px) {
  .homepage-intro { grid-template-rows:auto minmax(0,1fr) auto auto auto auto; }
  .homepage-intro > .homepage-hero { margin-bottom:var(--section-gap); }
}
@media(max-width:760px) {
  .homepage { --section-gap:80px; }
  .homepage-intro .hero-benefits { margin-block:var(--section-gap) 0; }
}

.new-pricing .pricing-enterprise-card > p { font-size:12px; }

#how-panel-align .optimizer-demo-block { position:relative; padding:1px 0 40px; }
#how-panel-align .optimizer-shell { width:calc(100% - 40px); border-radius:14px; background:var(--paper); background-clip:padding-box; }
#how-panel-align .optimizer-window { border-radius:0; overflow:visible; }
#how-panel-align .optimizer-content { border-radius:0; }
#how-panel-align .optimizer-deployment { position:absolute; right:0; bottom:0; width:calc(100% - 48px); z-index:2; visibility:hidden; pointer-events:none; }
#how-panel-align .optimizer-deployment.is-visible { visibility:visible; max-height:none; margin:0; padding:18px; border:1px solid var(--line); border-radius:12px; background:var(--paper); box-shadow:0 8px 24px #26282d12; }
@media(max-width:650px) {
  #how-panel-align .optimizer-shell { width:calc(100% - 20px); }
  #how-panel-align .optimizer-deployment { width:calc(100% - 24px); }
  #how-panel-align .deployment-heading { flex-wrap:wrap; }
}

.benefit-annotation-badge rect { fill:var(--paper); stroke:var(--polish-accent); stroke-width:1; }
.benefit-annotation-badge text { fill:var(--polish-accent); font-size:9px; font-weight:500; }
.benefit-annotation-label { fill:var(--muted); font-size:9px; }

.benefit-quality-gain rect { fill:var(--paper); stroke:var(--polish-positive); stroke-opacity:.25; }
.benefit-quality-gain text { fill:var(--polish-positive); font-size:12px; font-weight:500; }
.benefit-quality-gain path { fill:none; stroke:var(--polish-positive); stroke-opacity:.4; }

.benefit-quality-tooltip { outline:none; cursor:help; }
.benefit-quality-tooltip-content { visibility:hidden; pointer-events:none; }
.benefit-quality-tooltip:hover .benefit-quality-tooltip-content,
.benefit-quality-tooltip:focus .benefit-quality-tooltip-content { visibility:visible; }
.benefit-quality-tooltip-content rect { fill:var(--paper); stroke:var(--line); }
.benefit-quality-tooltip-content text { fill:var(--ink); font-size:10px; }
.benefit-quality-tooltip-content text:last-child { fill:var(--polish-positive); }
.benefit-quality-tooltip:focus-visible > circle { stroke:var(--polish-accent); stroke-width:3; }

.benefit-quality-tooltip.is-pinned .benefit-quality-tooltip-content { visibility:visible; }

.benefit-quality-final-guide { fill:none; stroke:var(--polish-accent); stroke-width:1; stroke-dasharray:4 5; opacity:.4; }

.benefit-quality-heading,
.benefit-frontier-heading,
.benefit-cost-title { display:flex; align-items:center; min-height:20px; margin:0 0 12px; color:var(--ink); font:400 12px/20px Inter,system-ui,sans-serif; }
.benefit-cost-title strong { font:inherit; }
.benefit-cost-without { padding-top:0; }
.benefit-quality-chart svg,
.benefit-frontier-chart svg { margin-top:0; }
.benefit-quality-score,
.benefit-quality-baseline { font-size:10px; }
/* Both charts use the same visual type scale despite their different SVG coordinate systems. */
.benefit-frontier-chart :is(.sweep-axis, .sweep-axis-title, .sweep-selection-name, .sweep-selection-detail) { font-size:14.444444px; }
.benefit-frontier-chart .sweep-selection-name { font-weight:400; }
.benefit-frontier-chart .sweep-pick-text { font-size:13px; }
.benefit-frontier-chart .sweep-card-surface { fill:var(--paper); stroke:var(--line); }
.benefit-quality-chart .benefit-quality-line,
.benefit-frontier-chart .sweep-frontier:not(.sweep-frontier-underlay) { stroke-width:2px; vector-effect:non-scaling-stroke; }

#how-panel-align .annotation-card.is-entering { animation:annotation-card-enter 200ms cubic-bezier(.22,1,.36,1) both; }
#how-panel-align .annotation-card.is-leaving { opacity:0; transform:translateX(-12px); }
@keyframes annotation-card-enter {
  from { opacity:0; transform:translateX(12px); }
  to { opacity:1; transform:translateX(0); }
}
@media(prefers-reduced-motion:reduce) {
  #how-panel-align .annotation-card.is-entering { animation:none; }
  #how-panel-align .annotation-card.is-leaving { transform:none; }
}

#how-panel-align #optimizer-prompt-text { overflow-anchor:none; }
#how-panel-align .diff-line { transition:background-color 240ms ease, color 240ms ease; }
#how-panel-align .diff-line.is-diff-entering { animation:prompt-diff-enter 280ms cubic-bezier(.22,1,.36,1) var(--diff-delay,0ms) both; }
#how-panel-align .diff-line.is-diff-leaving { animation:prompt-diff-leave 140ms ease-out both; }
#how-panel-align .diff-line.is-diff-shifting { animation:prompt-diff-shift 280ms cubic-bezier(.22,1,.36,1) both; }
@keyframes prompt-diff-enter {
  from { opacity:0; transform:translateY(6px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes prompt-diff-leave {
  to { opacity:0; transform:translateY(-4px); }
}
@keyframes prompt-diff-shift {
  from { transform:translateY(var(--diff-shift)); }
  to { transform:translateY(0); }
}
@media(prefers-reduced-motion:reduce) {
  #how-panel-align .diff-line.is-diff-entering,
  #how-panel-align .diff-line.is-diff-leaving,
  #how-panel-align .diff-line.is-diff-shifting { animation:none; }
}

#how-panel-align .optimizer-demo-block { min-height:440px; padding:1px 0 0; }
#how-panel-align .optimizer-content { height:auto; min-height:0; overflow:visible; }
#how-panel-align .optimizer-deployment { display:none; position:relative; right:auto; bottom:auto; margin:-12px 0 0 auto; }
#how-panel-align .optimizer-deployment.is-visible { display:block; margin:-12px 0 0 auto; }
#how-panel-align .deployment-endpoint { grid-template-columns:38px auto minmax(0,1fr); gap:8px; }
#how-panel-align .deployment-endpoint .deployment-method { display:inline-flex; align-items:center; justify-content:center; padding:0 5px; border-radius:4px; background:#9da0ff18; color:var(--polish-accent); font:500 8px/16px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:0; }
#how-panel-align .annotation-card h4 { font-size:14px; margin-bottom:8px; }
.annotation-card .annotation-record { margin:0 0 14px; padding:10px; max-height:116px; overflow-y:auto; border:1px solid var(--line); border-radius:6px; background:var(--paper); color:var(--muted); font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
