/* platform/static/swell.css — the page layer of the public pages on this worker (www /, /pricing and
   oneapi.plungeai.com/), 10 Swell with DM Sans (docs/superpowers/specs/2026-11-05-platform-one-api-round-2-swell-dm-sans.html
   #swell; www's window from 2026-11-05-final-v4-swell-dm-sans.html, door www). The tokens (--sw-*), the fonts, the bar and
   the footer come from core/core-design/site/swell.ts through the <!--SITE_HEAD--> slot; this file only lays out <main>.
   Display DM Sans 700, text Onest 400–600, data Geist Mono 400/500. Light only. */
.sw { display: block; padding: var(--pn-h, 44px) 0 1px; background: var(--sw-bg); color: var(--sw-ink); font: 400 16.5px/1.5 var(--sw-sans); -webkit-font-smoothing: antialiased; }
.sw a { color: inherit; text-decoration: none; }
.sw .blk { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sw .gap { height: 120px; }
.sw .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; background: var(--sw-accent); color: #fff; font: 500 15px/1 var(--sw-sans); white-space: nowrap; cursor: pointer; }
.sw .btn:hover { background: var(--sw-deep); }
.sw .btn.line { background: transparent; color: var(--sw-ink); border-color: #7B8A9B; }
.sw .btn.line:hover { border-color: var(--sw-ink); }
.sw .btn.dark { background: #3A3A38; }
.sw .btn.dark:hover { background: #262625; }
.sw .btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.sw .btn:focus-visible, .sw a:focus-visible, .sw button:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 2px; }
.sw .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sw p a { text-decoration: underline; text-underline-offset: 3px; }

/* The hero: a kicker pill, the one-line headline (swell.js fits it from 80 px down to 40 px, then it wraps), the lede. */
.sw .lede { padding: 64px 0 40px; }
.sw .kick { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 7px 12px; border-radius: 999px; background: var(--sw-tint); color: var(--sw-accent); font: 500 13px/1 var(--sw-sans); }
.sw .kick i { width: 7px; height: 7px; border-radius: 50%; background: var(--sw-accent); }
.sw h1 { margin: 0; font: 700 80px/1.05 var(--sw-display); font-variation-settings: "opsz" 40; letter-spacing: -.025em; white-space: nowrap; }
.sw h1.wrap { white-space: normal; text-wrap: balance; }
.sw .lede > p { margin: 22px 0 32px; max-width: 54ch; font: 400 20px/1.5 var(--sw-sans); color: var(--sw-grey); }
.sw h2 { margin: 0 0 10px; font: 700 42px/1.08 var(--sw-display); letter-spacing: -.02em; text-wrap: balance; }

/* The sea: canvas waves (swell.js) with one floating card; the card's tabs switch the example request. */
.sw .sea { position: relative; height: 640px; overflow: hidden; display: grid; place-items: center; isolation: isolate; border-radius: 24px; background: var(--sw-deep); }
.sw .sea canvas { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
.sw .float { width: min(640px, calc(100% - 32px)); }
.sw .tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 10px; padding: 4px; gap: 2px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(255,255,255,.82); font: 500 14px/1 var(--sw-sans); color: var(--sw-grey); }
.sw .tabs button { all: unset; padding: 8px 14px; border-radius: 999px; white-space: nowrap; cursor: pointer; }
.sw .tabs button[aria-selected="true"] { background: var(--sw-panel); color: var(--sw-ink); }
.sw .tabs button:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 1px; }
.sw [role="tabpanel"][hidden] { display: none; }
.sw .ui { padding: 22px 24px; border: 1px solid #fff; border-radius: var(--sw-r); background: rgba(255,255,255,.9); box-shadow: 0 20px 50px rgba(20,50,100,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 17px; }
.sw .ui .req { font: 400 14.5px/2 var(--sw-mono); overflow-wrap: anywhere; }
.sw .ui .req .k { display: inline-block; width: 104px; color: var(--sw-grey); }
.sw .ui .req .path { color: var(--sw-ink); font-weight: 500; }
.sw .ui .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sw-rule); font: 400 13.5px var(--sw-mono); color: var(--sw-grey); }
.sw .ui .foot b { color: var(--sw-ink); font-weight: 500; }
.sw .ui .foot .sp { flex: 1; }
.sw .ui .foot .btn { font-family: var(--sw-sans); }
.sw .md { display: none; margin: 0; padding: 18px 20px; border-radius: var(--sw-r); background: rgba(255,255,255,.92); box-shadow: 0 20px 50px rgba(20,50,100,.18); font: 400 13.5px/1.75 var(--sw-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.sw .sea.agent .tabs, .sw .sea.agent [role="tabpanel"] { display: none; }
.sw .sea.agent .md { display: block; }
.sw .who { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: #2E2E2C; }
.sw .who button { padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: #D9D8D4; font: 500 13px/1 var(--sw-sans); cursor: pointer; }
.sw .who button[aria-pressed="true"] { background: #4A4A47; color: #fff; }
.sw .who button::before { content: "○ "; }
.sw .who button[aria-pressed="true"]::before { content: "● "; }

/* Planes, the trust strip, the four audiences. */
.sw .planes-k { padding: 88px 0 28px; }
.sw .planes-k b { display: block; margin-bottom: 10px; font: 700 44px/1.05 var(--sw-display); letter-spacing: -.02em; text-wrap: balance; }
.sw .planes-k span { display: block; max-width: 60ch; font: 400 18px/1.45 var(--sw-sans); color: var(--sw-grey); }
.sw .planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sw .planes > div { min-width: 0; padding: 18px 18px 20px; border-radius: var(--sw-r); background: var(--sw-tint); font: 600 16px/1.3 var(--sw-sans); }
.sw .planes > div span { display: block; margin-top: 6px; font: 400 14px/1.45 var(--sw-sans); color: var(--sw-grey); }
.sw .tstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 28px 0 0; font: 500 14px var(--sw-sans); }
.sw .tstrip span { padding: 8px 14px; border-radius: 999px; background: var(--sw-chip); color: var(--sw-chip-ink); }
.sw .tstrip span::before { content: "✓ "; }
.sw .tstrip a { margin-left: auto; font-weight: 400; color: var(--sw-grey); text-decoration: underline; text-underline-offset: 3px; }
.sw .four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sw .four > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px; border-radius: 18px; background: var(--sw-tint); }
.sw .four .k { font: 500 12.5px var(--sw-sans); letter-spacing: .02em; color: var(--sw-accent); }
.sw .four b { display: block; margin: 12px 0 8px; font: 700 25px/1.12 var(--sw-display); letter-spacing: -.015em; text-wrap: balance; }
.sw .four p { flex: 1; margin: 0 0 16px; font-size: 15px; color: var(--sw-grey); }

/* The lower sections: works-with, text beside a panel of cards, trust, the hand-off, the closing. */
.sw .compat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 38px; padding: 34px 0 0; font: 500 14px var(--sw-sans); color: var(--sw-grey); }
.sw .compat b { margin-right: 12px; font: 500 17px var(--sw-sans); color: var(--sw-ink); }
.sw .row { display: grid; grid-template-columns: 1fr 2fr; }
.sw .row.flip { grid-template-columns: 2fr 1fr; }
.sw .row > .txt { padding: 0 32px 0 0; }
.sw .row.flip > .txt { order: 2; padding: 0 0 0 32px; }
.sw .txt p { margin: 0 0 22px; max-width: 40ch; font-size: 17px; color: var(--sw-grey); }
.sw .pan { display: grid; place-items: center; min-height: 380px; padding: 36px; border-radius: 24px; background: var(--sw-panel); }
.sw .pan > div { width: min(480px, 100%); }
.sw .wcard { padding: 16px 18px; border-radius: var(--sw-r); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); font-size: 15px; }
.sw .wcard + .wcard { margin-top: 10px; }
.sw .wcard .cap { margin-bottom: 10px; font: 500 12.5px var(--sw-sans); letter-spacing: .02em; color: var(--sw-grey); }
.sw .wcard .ln { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--sw-rule); font: 400 13.5px/2 var(--sw-mono); }
.sw .wcard .ln:last-child { border-bottom: 0; }
.sw .wcard .ln span { flex: none; color: var(--sw-grey); }
.sw .wcard .ln b { min-width: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.sw .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sw .chips span { padding: 4px 10px; border-radius: 999px; background: var(--sw-tint); color: var(--sw-panel-ink); font: 500 12.5px var(--sw-sans); }
.sw .chips span.on { background: var(--sw-ink); color: #fff; }
.sw .slider { position: relative; height: 6px; margin: 18px 0 8px; border-radius: 3px; background: var(--sw-rule); }
.sw .slider i { position: absolute; inset: 0 auto 0 0; width: 64%; border-radius: 3px; background: var(--sw-accent); }
.sw .slider i::after { content: ""; position: absolute; top: -5px; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--sw-accent); }
.sw .scale { display: flex; justify-content: space-between; font: 400 12px var(--sw-mono); color: var(--sw-grey); }
.sw .agent { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--sw-rule); font: 400 13.5px/1.3 var(--sw-mono); }
.sw .agent b { display: block; font: 600 15px/1.3 var(--sw-sans); }
.sw .agent small { color: var(--sw-grey); }
.sw .pill { padding: 3px 8px; border-radius: 999px; background: #E3F0E6; color: #1F5C30; font: 500 11.5px var(--sw-sans); }
.sw .pill.off { background: var(--sw-tint); color: var(--sw-panel-ink); }
.sw .tr-k { margin-bottom: 8px; font: 500 13px var(--sw-sans); color: var(--sw-accent); }
.sw .tr-lede { max-width: 56ch; margin: 0 0 40px; font-size: 17px; color: var(--sw-grey); }
.sw .tr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sw .tr-grid > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: var(--sw-r); background: var(--sw-tint); }
.sw .tr-grid .n { font: 500 12.5px var(--sw-sans); color: var(--sw-accent); }
.sw .tr-grid b { margin-top: 8px; font: 600 18px/1.3 var(--sw-sans); }
.sw .tr-grid p { flex: 1; margin: 0 0 8px; font-size: 15px; color: var(--sw-grey); }
.sw .tr-grid code { max-width: 100%; padding: 4px 8px; border-radius: 8px; background: #fff; font: 400 12.5px/1.4 var(--sw-mono); overflow-wrap: anywhere; }
.sw .tr-not { margin: 24px 0 0; font-size: 14px; color: var(--sw-grey); }
.sw .tr-not b { font-weight: 600; color: var(--sw-ink); }
.sw .tr-not a { color: var(--sw-ink); text-decoration: underline; text-underline-offset: 3px; }
.sw .handoff { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 26px 28px; border-radius: 18px; background: var(--sw-tint); font: 400 17px/1.45 var(--sw-sans); }
.sw .handoff p { flex: 1 1 36ch; max-width: 60ch; margin: 0; }
.sw .handoff p b { font-weight: 600; }
.sw .handoff a { font-weight: 600; color: var(--sw-accent); white-space: nowrap; }
.sw .closing { padding-bottom: 96px; }
.sw .closing h2 { font-size: 60px; }
.sw .closing p { margin: 0 0 26px; font: 400 20px/1.4 var(--sw-sans); color: var(--sw-grey); }

/* One API's product grid: six small cards, each with a picture of the call. */
.sw .grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.sw .prod .art { display: flex; align-items: center; height: 170px; padding: 0 0 0 24px; overflow: hidden; border-radius: var(--sw-r); background: var(--sw-tint); }
.sw .prod .art .wcard { flex: none; width: calc(100% + 24px); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-size: 14px; }
.sw .prod .art .ln { justify-content: flex-start; gap: 0; }
.sw .prod .art .ln span { width: 72px; }
.sw .prod .art .ln.find span { width: 28px; }
.sw .prod .art .ln b { text-align: left; }
.sw .prod .art .agent { padding: 0 36px 0 0; border: 0; }
.sw .prod > b { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 17px var(--sw-sans); }
.sw .prod > b i { width: 8px; height: 8px; border-radius: 50%; background: var(--sw-accent); }
.sw .prod > p { margin: 4px 0 0; font-size: 15px; color: var(--sw-grey); }

/* www: the rotating window. One product per slide, its own accent and small card; swell.js advances it when the progress
   line under the open tab has run its 7 s, holds it under the pointer or the focus, stops it once a product is picked. */
.sw .hero-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.sw .hero-tabs button { all: unset; position: relative; overflow: hidden; padding: 8px 14px; border-radius: 999px; background: var(--sw-tint); color: var(--sw-grey); font: 500 13.5px/1 var(--sw-sans); cursor: pointer; }
.sw .hero-tabs button[aria-selected="true"] { background: var(--sw-chip); color: var(--sw-ink); }
.sw .hero-tabs button:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 2px; }
.sw .hero-tabs i { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--sw-accent); }
.sw [data-rotate="on"] .hero-tabs [aria-selected="true"] i { animation: sw-dwell var(--dwell, 7s) linear forwards; }
.sw [data-rotate="on"][data-hold] .hero-tabs i { animation-play-state: paused; }
@keyframes sw-dwell { to { width: 100%; } }
.sw .stage { display: grid; place-items: center; min-height: 520px; padding: 40px 24px; border-radius: 24px; background: var(--sw-tint); }
.sw .stage .float { width: min(640px, 100%); }
.sw .stage .ui { border-color: #fff; box-shadow: 0 20px 50px rgba(20,50,100,.14); }
.sw .ui .ttl { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 14px; font: 600 18px/1.25 var(--sw-sans); }
.sw .ui .ttl small { font: 400 13px var(--sw-mono); color: var(--sw-grey); white-space: nowrap; }
.sw .ui .steps { display: flex; gap: 4px; margin-bottom: 14px; font: 500 12.5px/1 var(--sw-sans); }
.sw .ui .steps span { flex: 1; padding: 8px 0 0; border-top: 3px solid var(--sw-rule); color: var(--sw-grey); }
.sw .ui .steps span.done { border-top-color: var(--sw-accent); }
.sw .ui .steps span.on { border-top-color: var(--sw-accent); color: var(--sw-accent); font-weight: 600; }
.sw .ui .kv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14px; }
.sw .ui .kv2 div { padding: 10px 12px; border-radius: 10px; background: var(--sw-tint); }
.sw .ui .kv2 span { display: block; margin-bottom: 3px; font: 500 12px/1.3 var(--sw-sans); color: var(--sw-grey); }
.sw .ui .prog { height: 6px; margin: 0 0 14px; border-radius: 3px; background: var(--sw-rule); }
.sw .ui .prog i { display: block; width: 60%; height: 100%; border-radius: 3px; background: var(--sw-accent); }
.sw .slide-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 4px 0; font: 400 14px/1.4 var(--sw-sans); color: var(--sw-grey); }
.sw .slide-cap b { font: 600 15px var(--sw-sans); color: var(--sw-ink); }
.sw .slide-cap .addr { font: 400 12.5px var(--sw-mono); }
.sw .slide-cap a { margin-left: auto; font-weight: 600; color: var(--sw-accent); white-space: nowrap; }
.sw .prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sw .prods a { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 18px; background: var(--sw-tint); }
.sw .prods a:hover { background: var(--sw-panel); }
.sw .prods b { font: 700 22px/1.2 var(--sw-display); letter-spacing: -.01em; }
.sw .prods em { font: 400 12.5px/1.4 var(--sw-mono); font-style: normal; color: var(--sw-grey); }
.sw .prods p { flex: 1; margin: 4px 0 8px; font-size: 15px; color: var(--sw-grey); }
.sw .prods a > span { font-weight: 600; font-size: 15px; color: var(--sw-accent); }

/* /pricing: the live table of models with an Ocean price. */
.sw .live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: -14px; font: 400 13.5px var(--sw-mono); color: var(--sw-grey); }
.sw .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #9AA6B4; vertical-align: 1px; }
.sw .dot.on { background: #1F9D55; }
.sw .table-card { overflow: hidden; border-radius: 24px; background: var(--sw-tint); }
.sw table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sw th, .sw td { height: 48px; padding: 0 16px; border-bottom: 1px solid var(--sw-rule); text-align: right; white-space: nowrap; }
.sw th:first-child, .sw td:first-child { padding-left: 24px; text-align: left; }
.sw th:last-child, .sw td:last-child { padding-right: 24px; }
.sw th { font: 500 12.5px var(--sw-sans); color: var(--sw-grey); }
.sw td { font: 400 13.5px var(--sw-mono); }
.sw td:first-child { font: 600 15px var(--sw-sans); }
.sw td.off { color: var(--sw-accent); font-weight: 500; }
.sw tbody tr:last-child td { border-bottom: 0; }
.sw tr.flash td { background: var(--sw-chip); }
.sw tr td { transition: background 1s; }
.sw .notice { padding: 24px; color: var(--sw-grey); font-size: 15px; }
.sw .fine { max-width: 76ch; margin: 18px 0 0; font-size: 14.5px; color: var(--sw-grey); }
.sw .fine code { font: 400 13px var(--sw-mono); }

@media (max-width: 1000px) {
	.sw .planes, .sw .prods, .sw .grid6 { grid-template-columns: repeat(2, 1fr); }
	.sw .four, .sw .tr-grid { grid-template-columns: 1fr 1fr; }
	.sw .row, .sw .row.flip { grid-template-columns: 1fr; }
	.sw .row > .txt, .sw .row.flip > .txt { order: 0; padding: 0 0 24px; }
}
@media (max-width: 640px) {
	.sw .blk { padding: 0 18px; }
	.sw .gap { height: 80px; }
	.sw .btn { height: auto; min-height: 44px; padding-top: 9px; padding-bottom: 9px; line-height: 1.3; }
	.sw .lede { padding: 44px 0 28px; }
	.sw .lede > p { font-size: 17px; }
	.sw .lede .ctas .btn, .sw .closing .ctas .btn { width: 100%; }
	.sw .sea { height: 600px; border-radius: 18px; }
	.sw .tabs { flex-wrap: wrap; justify-content: center; font-size: 13px; }
	.sw .tabs button { padding: 7px 11px; }
	.sw .ui { padding: 16px; font-size: 15.5px; }
	.sw .ui .req { font-size: 12.5px; }
	.sw .ui .req .k { width: 80px; }
	.sw .ui .foot { font-size: 11.5px; }
	.sw .ui .ttl { flex-direction: column; gap: 4px; }
	.sw .ui .kv2 { grid-template-columns: 1fr; }
	.sw .md { font-size: 11.5px; }
	.sw .planes-k { padding-top: 64px; }
	.sw .planes-k b { font-size: 32px; }
	.sw .planes { gap: 10px; }
	.sw .planes > div { padding: 14px; font-size: 14.5px; }
	.sw .tstrip { gap: 8px; font-size: 12.5px; }
	.sw .tstrip a { margin-left: 0; }
	.sw .four, .sw .tr-grid, .sw .prods, .sw .grid6 { grid-template-columns: 1fr; }
	.sw .grid6 { gap: 32px; }
	.sw .four > div { padding: 22px; }
	.sw h2 { font-size: 32px; }
	.sw .pan { min-height: 0; padding: 20px 14px; }
	.sw .wcard { padding: 14px; }
	.sw .wcard .ln { font-size: 12.5px; }
	.sw .tr-lede { margin-bottom: 28px; font-size: 16px; }
	.sw .handoff { padding: 20px; font-size: 16px; }
	.sw .closing { padding-bottom: 56px; }
	.sw .closing h2 { font-size: 40px; }
	.sw .closing p { font-size: 18px; }
	.sw .stage { min-height: 0; padding: 24px 14px; border-radius: 18px; }
	.sw .hero-tabs { gap: 4px; margin-bottom: 20px; }
	.sw .hero-tabs button { padding: 7px 11px; font-size: 12.5px; }
	.sw .slide-cap a { margin-left: 0; }
	.sw thead { display: none; }
	.sw table, .sw tbody, .sw tr, .sw td { display: block; width: 100%; }
	.sw tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 8px; border-bottom: 1px solid var(--sw-rule); }
	.sw td, .sw td:first-child, .sw td:last-child { height: auto; padding: 4px 12px; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
	.sw td:first-child { grid-column: 1 / -1; }
	.sw td[data-label]::before { content: attr(data-label); display: block; font: 500 12px var(--sw-sans); color: var(--sw-grey); }
}
@media (prefers-reduced-motion: reduce) {
	.sw .hero-tabs i, .sw [data-rotate] .hero-tabs [aria-selected="true"] i { animation: none; }
	.sw tr td { transition: none; }
}
