/* Orrery. Monochrome: black pills, grey type, quiet cards; the photos, gradients and animated assets bring the colour.
   Every animated asset reads the --illos-* roles below. The site is light only. */

:root {
  --bg: #ffffff;
  --card: #f8f8f7;
  --card-2: #f1f1ef;
  --ink: #111111;
  --ink-2: #5c5c5a;
  --ink-3: #6f6f6c;
  --soft: #8e8e8a;
  --line: #ebebe8;
  --line-2: #dcdcd8;
  --pill: #111111;
  --pill-ink: #ffffff;
    --accent: #1daf9c;
  --accent-ink: #0f6e62;
  --pop: 0 0 0 1px rgb(0 0 0 / 0.06), 0 16px 40px -14px rgb(0 0 0 / 0.2), 0 4px 10px -4px rgb(0 0 0 / 0.06);
  --float: 0 0 0 1px rgb(16 24 40 / 0.05), 0 2px 4px rgb(16 24 40 / 0.04), 0 18px 40px -16px rgb(16 24 40 / 0.22);

  --illos-ground: var(--card);
  --illos-ink: #2a2a2a;
  --illos-accent: #1daf9c;
  --illos-line: #7a7a7a;
  --illos-faint: #dadadc;
  --illos-accent-dim: #84ebdd;
  --illos-alert: #d02533;
  --illos-ramp-1: #16645a;
  --illos-ramp-2: #1daf9c;
  --illos-ramp-3: #3fdec9;
  --illos-ramp-4: #c2f5ee;
  --illos-mark: #178c7d;
  --illos-spark: #0b463e;
  --illos-if-surface: #f3f3f2;
  --illos-if-raised: #ffffff;
  --illos-if-line: #d6d6d9;
  --illos-if-muted: #9a9aa0;
  --illos-if-bar: #e6e6e8;
  --illos-if-cursor: #ffffff;
  --illos-if-cursor-edge: #2a2a2a;
  --illos-if-shadow: #2a2a2a;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 18px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --z-nav: 20;
  --z-menu: 30;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in oklch, var(--accent) 24%, transparent); }
svg { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }
.wrap { max-width: 1312px; margin: 0 auto; padding: 0 40px; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }

/* pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 120ms var(--ease), opacity 150ms var(--ease);
}
.pill:active { transform: scale(0.97); }
.pill svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill--ink { background: var(--pill); color: var(--pill-ink); }
.pill--line { border-color: var(--line-2); background: var(--bg); }
.pill--lg { height: 52px; padding: 0 26px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .pill--ink:hover { opacity: 0.86; }
  .pill--line:hover { background: var(--card); border-color: color-mix(in oklch, var(--line-2) 60%, var(--soft)); }
}

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.nav__in { display: flex; align-items: center; gap: 40px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.logo__orbit { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.logo__rod { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.logo__planet { fill: var(--accent); stroke: var(--bg); stroke-width: 1.8; }
.logo__sun { fill: var(--ink); }
.links { display: flex; align-items: center; gap: 4px; }
.links__btn, .links__a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font-size: 15px; color: var(--ink-2); transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.links__btn[aria-expanded="true"] { color: var(--ink); }
.links__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .links__btn:hover, .links__a:hover { color: var(--ink); } }
.dd { position: relative; }
.panel { position: absolute; z-index: var(--z-menu); top: calc(100% + 10px); left: -8px; display: grid; gap: 2px; width: 300px; padding: 8px; border-radius: 16px; background: var(--bg); box-shadow: var(--pop); transform-origin: top left; }
.panel:not([hidden]) { animation: pop 180ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.97) translateY(-4px); } }
.panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; transition: background-color 150ms var(--ease); }
.panel b { font-size: 14px; font-weight: 500; }
.panel span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .panel a:hover { background: var(--card); } }
.panel--wide { width: 520px; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.panel__foot { display: flex !important; grid-auto-flow: column; align-items: center; justify-content: space-between; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; font-size: 13px; color: var(--ink-2); }
.panel__foot svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.panel--right { left: auto; right: 0; width: 240px; transform-origin: top right; }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.split { position: relative; display: inline-flex; }
.split > .pill:first-child { border-start-end-radius: 0; border-end-end-radius: 0; padding-inline-end: 16px; }
.split__more { width: 44px; padding: 0; border-start-start-radius: 0; border-end-start-radius: 0; box-shadow: inset 1px 0 color-mix(in oklch, var(--pill-ink) 22%, transparent); }
.split__more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { display: grid; gap: 2px; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.sheet a:not(.pill) { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.sheet .pill { margin-top: 16px; }

/* hero */
.hero { padding: 72px 0 0; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.news { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.news__tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--accent) 45%, transparent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.news b { font-weight: 500; }
.news__go { display: grid; place-items: center; width: 30px; height: 30px; margin-inline-start: 2px; border-radius: 50%; background: var(--card-2); }
.news__go svg { width: 12px; height: 12px; fill: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .news:hover { background: var(--card); } }
.display { margin-top: 36px; font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
.rot { position: relative; display: inline-block; vertical-align: bottom; text-align: start; transition: width 240ms var(--ease); }
.rot__word { display: inline-block; white-space: nowrap; }
.rot__word.is-out { animation: word-out 260ms var(--ease) forwards; }
.rot__word.is-in { animation: word-in 420ms var(--ease); }
@keyframes word-out { to { opacity: 0; transform: translateY(-0.18em); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.22em); } }
.rot__line { position: absolute; left: 0; right: 0; bottom: -0.02em; height: 0.055em; border-radius: 999px; background: linear-gradient(90deg, var(--accent), color-mix(in oklch, var(--accent) 35%, var(--line-2)) 45%, var(--line-2)); transform-origin: left; }
.rot__line.is-grow { animation: line-grow 900ms var(--ease); }
@keyframes line-grow { from { transform: scaleX(0); } }
.lede { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.ctas--left { justify-content: flex-start; margin-top: 32px; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 88px; }
.prod { position: relative; display: flex; flex-direction: column; padding: 6px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.prod__foot { display: flex; align-items: center; gap: 16px; padding: 14px 16px 10px; }
.prod__foot h2 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.prod__foot a { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 15px; transition: color 150ms var(--ease); }
.prod__foot a svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .prod__foot a:hover { color: var(--ink); } .prod__foot a:hover svg { transform: translateX(2px); } }
.prod__note { color: var(--ink-3); font-size: 14px; }
.prod--wide { grid-column: span 2; }

/* the Code card: a terminal whose log keeps writing while it is on screen */
.term { position: absolute; left: 22px; right: 22px; top: 22px; bottom: 0; display: flex; flex-direction: column; border-radius: 10px 10px 0 0; background: #fff; box-shadow: var(--float); font: 400 12.5px/1.75 var(--mono); color: #3a3a38; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px 6px; color: var(--ink-3); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2df; }
.term__bar span:first-of-type { margin-inline-start: 8px; }
.term__ctx { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.term__ctx b { position: relative; width: 40px; height: 6px; border-radius: 3px; background: #ececea; overflow: hidden; }
.term__ctx b::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--v)); transition: transform 600ms var(--ease); }
.term__ctx em { font-style: normal; min-width: 4.5ch; text-align: end; }
.term__view { position: relative; flex: 1; min-height: 0; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, black 22%); }
.term__log { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 12px; }
.term__log li { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; animation: line-in 300ms var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } }
.term__log .t-tool { color: var(--accent-ink); }
.term__log .t-dim { color: #9a9a96; }
.term__log .t-run { color: #6b55d6; margin-inline-start: auto; }
.term__log .t-done { color: #1f8f4e; margin-inline-start: auto; }
.term__log .t-mark { color: #8a5cd8; }
.term__log .t-n { color: #a8a8a4; width: 2.2ch; text-align: end; flex: none; }
.term__log .t-add { background: rgb(31 143 78 / 0.08); margin: 0 -16px; padding: 0 16px; }
.term__log .t-del { background: rgb(208 37 51 / 0.07); margin: 0 -16px; padding: 0 16px; }
.term__log .t-ask { color: var(--ink); }

/* stats */
.stats { margin-top: 120px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats__in > div { display: grid; gap: 6px; padding: 40px 28px; }
.stats__in > div + div { border-inline-start: 1px solid var(--line); }
.stats b { font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats span { color: var(--ink-3); font-size: 15px; }

/* shared section heads */
section[id] { scroll-margin-top: 88px; }
.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { margin-bottom: 16px; color: var(--ink-3); font-size: 15px; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.soft { color: var(--soft); }
.body { margin-top: 20px; max-width: 52ch; color: var(--ink-3); font-size: 19px; line-height: 1.55; text-wrap: pretty; }

/* business */
.biz { padding: 140px 0 0; }
.biz__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; color: var(--ink-3); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chat { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px 20px; border-radius: 20px; background: rgb(255 255 255 / 0.96); box-shadow: var(--float); }
.chat__log { display: grid; gap: 10px; min-height: 380px; align-content: end; }
.msg { max-width: 80%; padding: 12px 18px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg--me { justify-self: end; background: #f1f1ef; color: var(--ink); }
.msg--bot { justify-self: start; color: var(--ink-2); background: #f7f7f6; }
.file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 150ms var(--ease); }
.file b { display: block; font-size: 15px; font-weight: 500; }
.file small { display: block; color: var(--ink-3); font-size: 13.5px; }
.file__ic { position: relative; isolation: isolate; display: grid; place-items: end center; flex: none; width: 38px; height: 42px; padding-bottom: 6px; border-radius: 7px; background: var(--card-2); font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0.04em; color: #fff; }
.file__ic::before { content: ""; position: absolute; z-index: -1; left: 4px; right: 4px; bottom: 4px; height: 13px; border-radius: 3px; }
.file__ic--xls::before { background: #1f8f4e; }
.file__ic--ppt::before { background: #d4572b; }
.file__ic--doc::before { background: #2b6cd4; }
@media (hover: hover) and (pointer: fine) { .file:hover { box-shadow: inset 0 0 0 1px var(--line-2); } }
.chat [data-step] { opacity: 0; transform: translateY(8px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.chat [data-step].is-on { opacity: 1; transform: none; }
.chat__ask { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 8px 0 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.chat__ask input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.chat__plus, .chat__send { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); flex: none; }
.chat__plus svg, .chat__send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat__send { background: var(--card-2); }
.chat__mode { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); font-size: 14px; }

/* api: the copy on the left, the code window floating on a warm gradient on the right, the models as cards below */
.api { padding: 160px 0 0; }
.api__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.api .ctas--left { margin-top: 32px; }
.mini { display: flex; gap: 40px; margin-top: 40px; }
.mini div { display: grid; gap: 2px; }
.mini dt { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini dd { margin: 0; color: var(--ink-3); font-size: 14px; }
.code__well { display: grid; place-items: center; padding: 56px 48px; border-radius: var(--r); }
.code__win { width: 100%; max-width: 520px; border-radius: 12px; background: #fff; box-shadow: var(--float); overflow: hidden; }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 10px 10px 4px 16px; }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2df; }
.code__file { margin-inline-start: 8px; color: var(--ink-3); font: 400 12.5px var(--mono); }
.code__copy { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-3); font-size: 13px; transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.code__copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.code__copy.is-done { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .code__copy:hover { color: var(--ink); background: #f3f3f1; } }
.code pre { margin: 0; padding: 14px 22px 22px; overflow-x: auto; font: 400 13.5px/1.8 var(--mono); color: #2f2f2d; }
.code .k { color: #7a4fd0; }
.code .s { color: #1f7a4a; }
.code__tabs { display: flex; gap: 4px; margin-top: 14px; }
.code__tabs [role="tab"] { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 14px; font-weight: 500; transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.code__tabs [aria-selected="true"] { background: var(--card-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .code__tabs [aria-selected="false"]:hover { color: var(--ink); } }
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 112px; }
.models__head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.models__head h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.models__head p { color: var(--ink-3); font-size: 14px; }
.model { display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.model header { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.model b { font: 500 15px var(--mono); }
.model p { flex: 1; margin-top: 6px; color: var(--ink-3); font-size: 14.5px; line-height: 1.5; }
.model dl { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.model dt { color: var(--ink-3); font-size: 12.5px; }
.model dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tag--new { background: color-mix(in oklch, var(--accent) 14%, var(--bg)); color: var(--accent-ink); }

/* features */
.features, .infra { padding: 160px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 6px 26px; }
.tile h3 { margin: 22px 14px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.tile p { margin: 6px 14px 0; color: var(--ink-3); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* infrastructure and security */
.infra__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plate { border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 6px; }
.plate figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 18px 16px 14px; }
.plate figcaption b { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plate figcaption span { color: var(--ink-3); font-size: 15px; }
.sec { padding: 160px 0 0; }
.sec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.facts { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { font-weight: 500; }

/* pricing */
.pricing { padding: 160px 0 0; }
.toggle { display: inline-flex; gap: 2px; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--card-2); }
.toggle button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 500; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.toggle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgb(0 0 0 / 0.05); }
.toggle span { font-size: 12px; color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan--main { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -24px rgb(0 0 0 / 0.25); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.tag { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); font-size: 12px; font-weight: 500; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan__price b { font-size: 44px; font-weight: 500; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--ink-3); font-size: 14px; }
.plan__line { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.plan ul { display: grid; gap: 10px; margin: 26px 0 30px; flex: 1; }
.plan li { position: relative; padding-inline-start: 24px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); }

/* contact */
.contact { padding: 160px 0 120px; }
.form { display: grid; gap: 22px; max-width: 680px; margin: 0 auto; padding: 36px; border-radius: 20px; background: #fff; box-shadow: var(--float); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; outline: 0;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ink) 10%, transparent); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.field__err { color: #c2410c; font-size: 14px; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .chev { position: absolute; right: 18px; top: 50%; margin-top: -6px; pointer-events: none; color: var(--ink-3); }
.form .pill { justify-self: start; }
.form__done { padding: 14px 18px; border-radius: 12px; background: var(--card); color: var(--ink-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.foot__brand { display: flex; flex-direction: column; gap: 14px; }
/* The mark at full size fills the brand column; its planet keeps a slow orbit, as an orrery would. */
.foot__mark { display: block; width: 132px; margin-bottom: 18px; }
.foot__orrery { width: 100%; height: auto; }
.foot__orrery .logo__orbit { stroke-width: 1.2; }
.foot__orrery .logo__rod { stroke-width: 1.5; }
.foot__orrery .logo__planet { stroke-width: 1.2; }
.foot__orrery .logo__arm { transform-origin: 16px 16px; animation: orbit 40s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.foot__brand p { color: var(--ink-3); font-size: 14px; }
.foot__tools { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; }
.built { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13.5px; transition: color 150ms var(--ease), border-color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .built:hover { color: var(--ink); border-color: var(--soft); } }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot__cols div { display: grid; align-content: start; gap: 10px; }
.foot__cols p { margin-bottom: 6px; font-size: 15px; font-weight: 500; }
.foot__cols a { color: var(--ink-3); font-size: 15px; transition: color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { color: var(--ink); } }

/* narrower screens */
@media (max-width: 1100px) {
  .links { display: none; }
  .nav__end .pill--line { display: none; }
  .burger { display: block; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .prod--wide { grid-column: span 2; }
  .biz__in, .sec__in, .api__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tiles .tile:last-child { grid-column: span 2; }
  .stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__in > div:nth-child(3) { border-inline-start: 0; }
  .stats__in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .nav__in { height: 64px; gap: 12px; }
  .split__more { display: none; }
  .split > .pill:first-child { border-radius: 999px; padding-inline-end: 20px; }
  .hero { padding-top: 40px; }
  .display { letter-spacing: -0.04em; }
  .products, .tiles, .infra__grid, .plans { grid-template-columns: minmax(0, 1fr); }
  .prod--wide, .tiles .tile:last-child { grid-column: auto; }
  .prod__note { display: none; }
  .stats__in > div { padding: 28px 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz, .api, .features, .infra, .sec, .pricing { padding-top: 112px; }
  .contact { padding: 112px 0; }
  .models { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .code__well { padding: 28px 14px; }
  .code pre { font-size: 12px; padding: 12px 16px 18px; }
  .mini { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .foot__orrery .logo__arm { animation: none; }
  .well .illo, .stage__spot, .photo__spot { --illos-play: paused; }
  html { scroll-behavior: auto; }
  .panel:not([hidden]), .rot__word.is-in, .rot__word.is-out, .rot__line.is-grow, .term__log li { animation: none; }
  .rot, .term__log, .chat [data-step] { transition: none; }
}



/* a solid bar, with its line only once the page has scrolled under it */
.nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 transparent; transition: box-shadow 200ms var(--ease); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.plate figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
/* on phones the turning word can need a fourth line; keep that line's room so nothing below jumps */
@media (max-width: 700px) { .display { min-height: calc(4 * 1.02em); } }
@media (max-width: 700px) { .term { font-size: 11.5px; } }

/* Animated assets never sit on a plain card: each floats on a grainy gradient (the launch film's backgrounds) or on a photo. */
.well { position: relative; overflow: hidden; border-radius: 12px; isolation: isolate; --grain: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22240%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.12 0%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E"); }
.well > .illo { position: absolute; inset: 0; }
.well > .illo svg, .stage__spot svg, .photo__spot svg { width: 100%; height: 100%; }
.well--prod { aspect-ratio: 4 / 3; }
.well--wide { flex: 1; min-height: 0; } /* beside a 4:3 card, it takes that card's height */
.well--tile { aspect-ratio: 10 / 7; }
.well--sec { aspect-ratio: 4 / 3; }
.well--coral { background: var(--grain), radial-gradient(60% 55% at 22% 22%, #f8a597, transparent 72%), radial-gradient(70% 55% at 82% 8%, #f9b0a4, transparent 72%), radial-gradient(80% 60% at 30% 78%, #fbc2a9, transparent 72%), linear-gradient(180deg, #fbc4b4 0%, #fcdcd0 62%, #fff3ee 100%); }
.well--sky { background: var(--grain), linear-gradient(205deg, transparent 38%, rgb(255 255 255 / 0.45) 54%, transparent 70%), linear-gradient(165deg, #8fb6cc 0%, #7fbcdb 34%, #86c6e4 56%, #b0e0f2 80%, #def5fb 100%); }
.well--meadow { background: var(--grain), radial-gradient(60% 55% at 20% 28%, #f3c6cf, transparent 72%), radial-gradient(65% 60% at 82% 72%, #cfe0a9, transparent 72%), radial-gradient(50% 45% at 60% 18%, #f6dccb, transparent 72%), linear-gradient(180deg, #eef0ea, #f6e9ea); }
.well--lilac { background: var(--grain), radial-gradient(55% 60% at 24% 20%, #d7cbff, transparent 72%), radial-gradient(55% 60% at 84% 86%, #f6cbe5, transparent 72%), radial-gradient(60% 50% at 70% 24%, #cfe4ff, transparent 72%), linear-gradient(180deg, #ece7ff, #faf5ff); }
.well--mint { background: var(--grain), radial-gradient(60% 60% at 22% 24%, #bfeee2, transparent 72%), radial-gradient(60% 55% at 84% 80%, #d6f1c9, transparent 72%), radial-gradient(50% 45% at 70% 16%, #def2f6, transparent 72%), linear-gradient(180deg, #e3f5ef, #f5fbf7); }

/* the hero: the command bar floating on the sky */
.stage { position: relative; margin-top: 72px; aspect-ratio: 1232 / 600; border-radius: 24px; overflow: hidden; isolation: isolate; }
.stage__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.stage__spot { position: absolute; left: 50%; top: 50%; width: min(560px, 82%); aspect-ratio: 7 / 5; translate: -50% -50%; }
.products { margin-top: 16px; }

/* photos with an animated asset or a card floating on them */
.shot, .photo, .meet { position: relative; overflow: hidden; isolation: isolate; }
.shot__bg, .photo > img, .meet__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.shot { padding: 64px 48px; border-radius: 24px; }
.photo { aspect-ratio: 3 / 2; border-radius: 12px; }
.photo__spot { position: absolute; left: 50%; top: 50%; width: min(360px, 62%); aspect-ratio: 3 / 2; translate: -50% -50%; }
.meet { padding: 96px 40px 104px; border-radius: 28px; }
.meet__bg { object-position: 50% 40%; }
.meet .head { margin-bottom: 40px; }
.meet .body { color: var(--ink-2); }
@media (max-width: 1100px) { .well--wide { flex: none; aspect-ratio: 816 / 300; } }
@media (max-width: 700px) {
  .stage { aspect-ratio: 1 / 1; margin-top: 48px; border-radius: 18px; }
  /* On a phone the command bar takes the stage's width, centred, so none of its words is cut. */
  .stage__spot { width: 117%; }
  /* The Realtime card shows its first-token chart whole and centred; the tokens panel falls outside. */
  .well--wide { aspect-ratio: 7 / 4; }
  .well--wide > .illo svg { position: absolute; top: 0; left: -5.65%; width: auto; height: 100%; clip-path: inset(0 33.5% 0 0); }
  .shot { padding: 32px 14px; border-radius: 18px; }
  .photo { aspect-ratio: 4 / 3; }
  .photo__spot { width: 94%; }
  .meet { padding: 56px 14px 14px; border-radius: 20px; }
  .form { padding: 22px 18px; }
  .term { left: 14px; right: 14px; top: 14px; font-size: 11.5px; }
}
.well--dusk { background: var(--grain), radial-gradient(70% 80% at 88% 92%, #f4a47c, transparent 70%), radial-gradient(60% 70% at 12% 8%, #c98a7c, transparent 70%), radial-gradient(50% 60% at 60% 40%, #eaa08a, transparent 75%), linear-gradient(160deg, #c08376, #e8a087 55%, #f6c6aa); }
@media (pointer: coarse) { .code__tabs [role="tab"], .code__copy { min-height: 44px; } }
.built svg { width: 15px; height: 15px; fill: var(--ink); }
