/* Open Design seed/layout primitives adapted to OmniStyles 1.18.0.
   Brand typography overrides the seed's generic serif; external CSS retains CSP. */
:root {
  --bg: var(--os-bg); --surface: var(--os-surface); --fg: var(--os-text);
  --muted: color-mix(in srgb, var(--os-text-muted) 75%, var(--os-text)); --border: var(--os-hair); --accent: var(--os-accent);
  --font-display: var(--os-display); --font-body: var(--os-font); --font-mono: var(--os-mono);
  --container: 1240px; --gutter: 40px; --radius: var(--os-r-sm); --radius-lg: var(--os-r-lg);
  --button-ink: color-mix(in srgb, var(--os-group-devtools) 6%, black);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
html[data-os-mode="light"] { color-scheme: light; }
html[data-os-mode="dark"] { color-scheme: dark; }
body.os-root { font-size: 16px; line-height: 1.6; background-attachment: fixed; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
a, button, select, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: var(--os-icon-bg); color: var(--fg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 18px; background: var(--os-surface-solid); transform: translateY(-180%); border-radius: var(--radius); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 82px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
h1 { font-size: clamp(54px, 6.1vw, 84px); line-height: 1.04; letter-spacing: -.065em; font-weight: 500; margin-bottom: 26px; }
h2 { font-size: clamp(32px, 3.25vw, 46px); line-height: 1.13; letter-spacing: -.045em; font-weight: 500; margin-bottom: 22px; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.lead { max-width: 49ch; font-size: 17px; line-height: 1.75; color: var(--muted); margin-bottom: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.topnav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--os-surface-solid) 78%, transparent); backdrop-filter: var(--os-blur); -webkit-backdrop-filter: var(--os-blur); border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.045em; flex-shrink: 0; }
.site-nav, .nav-end { display: flex; align-items: center; gap: 28px; }
.site-nav a, .nav-link { font-size: 13px; color: var(--muted); padding-block: 14px; }
.site-nav a:hover, .nav-link:hover, .footer-link:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 5px; }
.nav-end { gap: 20px; }
.theme-control select { min-height: 40px; max-width: 122px; border: 1px solid var(--border); border-radius: var(--os-r-pill); background: var(--os-pill); color: var(--fg); padding: 8px 12px; font-size: 12px; }
.hero { padding-block: 50px 58px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-copy { padding-block: 40px; position: relative; z-index: 1; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 39ch; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 32px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 14px 22px; border-radius: var(--radius); font-size: 13px; font-weight: 500; line-height: 1.4; transition: box-shadow .2s ease, transform .2s ease; }
.btn.os-btn-iridescent { color: var(--button-ink); font-weight: 700; }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { padding-inline: 8px; color: var(--muted); }
.btn-ghost:hover { color: var(--fg); }
.ecosystem-visual { position: relative; width: 100%; height: 490px; isolation: isolate; }
.orbit { position: absolute; border: 1px solid var(--border); border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%, -50%); pointer-events: none; }
.orbit-outer { width: 440px; height: 440px; }
.orbit-inner { width: 318px; height: 318px; }
.brand-core { position: absolute; inset: 100px 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-logo { position: relative; z-index: 1; filter: drop-shadow(0 12px 22px var(--os-glow)); }
.logo-glow { position: absolute; width: 230px; height: 230px; top: -22px; background: radial-gradient(circle, var(--os-glow), transparent 68%); filter: blur(8px); z-index: -1; }
.core-wordmark { font-size: 27px; font-weight: 400; letter-spacing: -.035em; margin-top: 8px; }
.core-caption { color: var(--muted); font-size: 12px; margin-top: 6px; }
.orbit-product.os-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; width: 192px; min-height: 76px; padding: 14px; border-radius: var(--os-r-md); transition: transform .25s var(--os-ease), box-shadow .25s ease; }
.orbit-product:hover { transform: translateY(-4px); box-shadow: var(--os-sh-active); }
.orbit-product strong { display: block; font-size: 13px; font-weight: 500; letter-spacing: -.03em; }
.orbit-product small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.orbit-arrow { margin-left: auto; font-size: 12px; color: var(--muted); }
.product-glyph { width: 34px; height: 34px; border-radius: var(--os-r-xs); display: grid; place-items: center; flex-shrink: 0; font-family: var(--font-mono); font-size: 12px; color: var(--fg); background: var(--os-icon-bg); border: 1px solid var(--border); }
.orbit-desk { left: 2%; top: 50px; }
.orbit-memory { right: -1%; top: 115px; }
.orbit-agent { left: -3%; bottom: 100px; }
.orbit-market { right: 0; bottom: 46px; }
.motion-toggle { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border: 0; min-height: 44px; padding: 8px 14px; font-size: 10px; color: var(--muted); background: transparent; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.tools-section { border-top: 1px solid var(--border); padding-top: 70px; }
.section-intro { max-width: 700px; margin-bottom: 38px; }
.section-intro .eyebrow { margin-bottom: 18px; }
.tools-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter { min-height: 44px; padding: 10px 14px; background: transparent; border: 1px solid transparent; border-radius: var(--os-r-pill); color: var(--muted); font-size: 12px; transition: background .2s ease; }
.filter:hover { background: var(--os-pill); color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--os-surface-solid); color: var(--fg); border-color: var(--border); box-shadow: var(--os-sh-pill); }
.tool-count { flex-shrink: 0; margin: 0; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.tools-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tool-card.os-card { grid-column: span 2; min-width: 0; padding: 26px; border-radius: var(--radius-lg); position: relative; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.tool-card.os-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: var(--os-sh-elevated); }
.tool-card.featured { grid-column: span 3; background: var(--os-sheen), var(--os-surface); padding: 30px; }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tool-card .product-glyph { width: 40px; height: 40px; font-size: 14px; }
.tool-kind { font-family: var(--font-mono); color: var(--muted); font-size: 9px; letter-spacing: .03em; text-align: right; }
.tool-card h3 { margin-bottom: 8px; font-size: 22px; }
.tool-card.featured h3 { font-size: 28px; }
.tool-description { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.75; min-height: 46px; max-width: 44ch; }
.tool-card summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; list-style: none; min-height: 44px; border-top: 1px solid var(--border); padding-top: 12px; }
.tool-card summary::-webkit-details-marker { display: none; }
.tool-card summary::after { content: '+'; font-family: var(--font-mono); font-size: 18px; color: var(--muted); }
.tool-card details[open] summary::after { content: '−'; }
.tool-card details p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.catalog-note { margin: 24px 0 0; color: var(--muted); font-size: 11px; }
.together-section { border-block: 1px solid var(--border); }
.together-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.together-copy .lead { max-width: 38ch; }
.example-label { margin: 32px 0 0; font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.workflow.os-card { margin: 0; padding: 14px 32px; list-style: none; }
.workflow li { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 24px 0; }
.workflow li + li { border-top: 1px solid var(--border); }
.step-number { padding-top: 3px; font-family: var(--font-mono); color: var(--muted); font-size: 12px; }
.workflow h3 { font-size: 17px; margin-bottom: 6px; }
.workflow p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tool-pair { font-size: 10px; color: var(--muted); }
.principles-section h2 { margin-bottom: 46px; }
.principles { gap: 64px; }
.principle-mark { display: block; width: fit-content; margin-bottom: 20px; font-family: var(--font-mono); font-size: 32px; font-weight: 400; color: var(--muted); }
.feature h3 { font-size: 20px; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.closing-section { padding-top: 12px; }
.closing-panel.os-card { position: relative; overflow: hidden; text-align: center; padding: 56px 28px; }
.closing-panel > :not(.os-sheen) { position: relative; }
.closing-panel img { margin: 0 auto 24px; }
.closing-panel .lead { max-width: 47ch; margin: 0 auto 28px; font-size: 15px; }
.pagefoot { padding-block: 28px; border-top: 1px solid var(--border); }
.pagefoot .brand { font-size: 16px; }
.pagefoot p, .footer-link { color: var(--muted); font-size: 11px; margin: 0; }
.footer-link { padding-block: 14px; }
.error-main { min-height: 72dvh; display: grid; align-content: center; text-align: center; }
.error-main img { margin: 0 auto 32px; }
.error-main .lead { margin: 0 auto 28px; }
.error-main .btn { justify-self: center; }
html:not([data-motion]) .os-o-float, html:not([data-motion]) .os-o-glow-pulse { animation: none; }
[data-motion="paused"] *, [data-motion="paused"] *::before, [data-motion="paused"] *::after { animation-play-state: paused !important; }
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .site-nav { gap: 20px; }.hero-split { grid-template-columns: 1fr; gap: 12px; }.hero h1 { font-size: 65px; }
  .ecosystem-visual { max-width: 580px; margin-inline: auto; }
  .orbit-product.os-card { width: 175px; padding: 12px; }
  .orbit-outer { width: 380px; height: 380px; }.orbit-inner { width: 280px; height: 280px; }
  .orbit-desk, .orbit-agent { left: 0; }.orbit-memory { right: 0; }
  .together-grid { gap: 40px; }.tools-toolbar { align-items: flex-start; }.tool-count { padding-top: 15px; }
}
@media (max-width: 920px) {
  .hero-split { grid-template-columns: 1fr; }.hero { padding-top: 24px; }.hero-copy { padding-bottom: 12px; }
  .hero-copy .lead { max-width: 45ch; }
  .ecosystem-visual { max-width: 580px; margin-inline: auto; height: 450px; }
  .orbit-outer { width: 380px; height: 380px; }.brand-core { top: 70px; }
  .orbit-desk { left: 4%; top: 36px; }.orbit-memory { right: 1%; top: 100px; }
  .orbit-agent { left: 0; bottom: 80px; }.orbit-market { right: 0; bottom: 40px; }
  .site-nav { gap: 16px; }.nav-link { display: none; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card.os-card, .tool-card.featured { grid-column: auto; padding: 24px; }.tool-card.featured h3 { font-size: 22px; }
  .tool-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .together-grid { grid-template-columns: 1fr; gap: 32px; }.together-copy .lead { max-width: 55ch; }
  .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .feature { display: grid; grid-template-columns: 40px 1fr; column-gap: 22px; }
  .principle-mark { grid-row: span 2; margin: 0; }.feature p { max-width: 55ch; }
  .pagefoot .row-between { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }html { scroll-padding-top: 128px; }
  .topnav-inner { min-height: 102px; flex-wrap: wrap; gap: 0 12px; padding-top: 10px; padding-bottom: 4px; }
  .brand { font-size: 19px; }.brand img { width: 30px; height: 30px; }.nav-end { margin-left: auto; }
  .theme-control select { min-height: 40px; max-width: 112px; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 12px; }.site-nav a { font-size: 12px; padding-block: 10px; }
  .section { padding-block: 52px; }.hero { padding-top: 12px; padding-bottom: 24px; }.hero-copy { padding-top: 30px; }
  .hero h1 { font-size: clamp(46px, 11.8vw, 67px); margin-bottom: 22px; }.eyebrow { font-size: 9px; margin-bottom: 22px; }
  .lead { font-size: 15px; line-height: 1.75; }.hero-cta { margin-top: 25px; gap: 6px; }
  .btn { font-size: 12px; padding: 14px 16px; }.btn-ghost { padding-inline: 8px; }
  .ecosystem-visual { height: 412px; margin-top: 12px; }.orbit-outer { width: 280px; height: 280px; }.orbit-inner { width: 205px; height: 205px; }
  .brand-core { top: 92px; }.hero-logo { width: 128px; height: 128px; }.logo-glow { width: 170px; height: 170px; }
  .core-wordmark { font-size: 21px; }.core-caption { font-size: 10px; }
  .orbit-product.os-card { width: calc((100% - 12px) / 2); max-width: 164px; min-height: 60px; gap: 8px; padding: 10px; }
  .orbit-product strong { font-size: 11px; }.orbit-product small { font-size: 9px; }
  .orbit-product .product-glyph { width: 26px; height: 26px; font-size: 10px; }.orbit-arrow { display: none; }
  .orbit-desk { top: 8px; left: 0; }.orbit-memory { top: 8px; right: 0; }.orbit-agent { top: 300px; bottom: auto; left: 0; }.orbit-market { top: 300px; bottom: auto; right: 0; }
  .section-intro { margin-bottom: 24px; }h2 { font-size: 33px; }.filter-list { gap: 4px; }.filter { padding: 10px 12px; font-size: 11px; }
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }.tool-card.os-card { padding: 22px; }.tool-card-top { margin-bottom: 16px; }
  .tool-description { min-height: 0; margin-bottom: 12px; }.tool-kind { font-size: 9px; }
  .workflow.os-card { padding-inline: 20px; }.workflow li { grid-template-columns: 25px 1fr; gap: 12px; }.workflow h3 { font-size: 16px; }
  .closing-section { padding-top: 0; }.closing-panel.os-card { padding: 40px 20px; }.closing-panel h2 { font-size: 29px; }
  .pagefoot .row-between { gap: 16px; }.pagefoot p { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }*, *::before, *::after { animation: none !important; transition: none !important; }
}
@supports not (backdrop-filter: blur(1px)) { .os-card, .topnav { background: var(--os-surface-solid); } }
@media (prefers-reduced-transparency: reduce) { .os-card, .topnav { background: var(--os-surface-solid); backdrop-filter: none; -webkit-backdrop-filter: none; } }
