:root {
  --bg: #08090a;
  --page-bg: #fcfcfc;
  --ink-page: #0d0d0f;
  --inset: 12px;
  --panel-radius: 24px;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --brand-orange: #f15a00;
  --panel: #090a0b;
  --ink: #f7f8f8;
  --ink-2: #d0d6e0;
  --muted: #8a8f98;
  --dim: #62666d;
  --line: rgba(255, 255, 255, 0.08);
  --line-solid: #23252a;
  --btn-light: #e5e5e6;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --page: 1728px;
  --content: 1344px;
  --ink-page-2: #3b3a37;
  --muted-page: #6b6864;
  --dim-page: #9a9691;
  --line-page: rgba(13, 13, 15, 0.1);
  --card: #f5f4f1;
  --tint: #fdeee3;
  --tint-line: rgba(241, 90, 0, 0.16);
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  position: relative;
  display: flow-root;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 510; }
.arrow { color: var(--dim); margin-left: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; font-weight: 510; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-light {
  background: var(--btn-light); color: var(--bg); border: 1px solid var(--btn-light);
  box-shadow: 0 5px 1px rgba(0,0,0,.01), 0 3px 1px rgba(0,0,0,.04), 0 1px .5px rgba(0,0,0,.07), 0 0 .5px rgba(0,0,0,.08);
}
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.05); color: var(--ink); backdrop-filter: blur(2px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 4px 4px rgba(0,0,0,.1), inset 0 0 0 1px rgba(255,255,255,.03), inset 0 1px 0 rgba(255,255,255,.04);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 16px; }
.link { color: var(--muted); display: inline-flex; align-items: center; }
.link:hover { color: var(--ink); }

/* Header: white tab docked into the hero panel, floating pill once scrolled */
/* Docked, the header scrolls with the page (absolute), so no gap can open
   between it and the panel. Once the page has scrolled past it, it becomes
   fixed and slides in as a pill on scroll up. */
.site-header {
  position: absolute; top: var(--inset); left: 0; right: 0; z-index: 20;
  display: flex; justify-content: center; pointer-events: none;
  transition: transform .4s var(--ease);
}
.site-header.is-scrolled { position: fixed; }
.site-header.is-hidden { transform: translateY(calc(-100% - var(--inset) - 8px)); }
.site-header.no-transition, .site-header.no-transition .nav-tab { transition: none; }
.nav-tab {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 8px;
  width: min(1200px, calc(100% - 2 * var(--inset) - 96px)); height: 72px; padding: 0 12px 0 20px;
  background: var(--page-bg); color: var(--ink-page);
  border-radius: 0 0 20px 20px;
  transition: border-radius .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
/* The cut: concave corners where the tab meets the top of the panel. */
.nav-tab::before, .nav-tab::after {
  content: ""; position: absolute; top: 0; width: 20px; height: 20px; pointer-events: none;
  transition: opacity .2s var(--ease);
}
.nav-tab::before { left: -20px; border-top-right-radius: 20px; box-shadow: 10px -10px 0 10px var(--page-bg); }
.nav-tab::after { right: -20px; border-top-left-radius: 20px; box-shadow: -10px -10px 0 10px var(--page-bg); }
.site-header.is-scrolled .nav-tab {
  border-radius: 9999px; height: 64px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
}
.site-header.is-scrolled .nav-tab::before, .site-header.is-scrolled .nav-tab::after { opacity: 0; }
.nav-logo { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 0; margin-right: auto; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink-page); }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9999px;
  font-size: 13px; line-height: 1.5; color: #5f5d58; transition: color .15s ease, background-color .15s ease;
}
.nav-links a:hover { color: var(--ink-page); background: rgba(13,13,15,.05); }
.nav-unavailable { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--muted-page); cursor: default; }
.footer-unavailable { color: var(--muted); }
.nav-actions { gap: 8px; }
.btn-ink { background: var(--ink-page); color: #fff; border: 1px solid var(--ink-page); }
.btn-ink:hover { background: #26262a; border-color: #26262a; }
.btn-outline { background: transparent; color: var(--ink-page); border: 1px solid rgba(13,13,15,.18); }
.btn-outline:hover { border-color: rgba(13,13,15,.4); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: var(--ink-page); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.btn-brand { background: var(--brand-orange); color: #fff; border: 1px solid var(--brand-orange); }
.btn-brand:hover { background: #d94f00; border-color: #d94f00; }

/* Phone menu panel: hangs from the tab, same white, rounded bottom corners */
.nav-menu {
  pointer-events: auto; position: absolute; top: 100%; left: 50%; transform: translate(-50%, -12px);
  width: min(1200px, calc(100% - 2 * var(--inset) - 96px)); margin-top: 0;
  background: var(--page-bg); color: var(--ink-page); border-radius: 0 0 24px 24px;
  padding: 24px 24px 32px; opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-menu[hidden] { display: none; }
.menu-open .nav-menu { opacity: 1; transform: translate(-50%, 0); }
.menu-open .nav-tab { border-radius: 0; }
.menu-open .nav-tab::before, .menu-open .nav-tab::after { opacity: 1; }
.nav-menu-links { display: flex; flex-direction: column; }
.nav-menu-links a { display: block; padding: 18px 8px; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-page); }
.nav-menu-links a:hover { color: var(--brand-orange); }
.nav-menu-links .nav-unavailable { padding: 18px 8px; gap: 12px; font-size: 28px; line-height: 1.2; }
.nav-menu-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.menu-locked, .menu-locked body { overflow: hidden; }

/* Panels: dark cards inset in the white page */
.panel { position: relative; margin: 0 var(--inset); background: var(--bg); color: var(--ink); border-radius: var(--panel-radius); overflow: hidden; }
.panel-hero { margin-top: var(--inset); padding-top: 72px; }
.panel-close { margin-top: 0; margin-bottom: var(--inset); }

/* Layout */
.panel-hero .container { padding-top: 112px; }
.container { max-width: calc(var(--content) + 2 * 46px); margin: 0 auto; padding: 0 46px; }
/* Panels are inset, so their container is narrower by the inset: both centre on the same axis. */
.panel .container { max-width: calc(var(--content) + 2 * 46px - 2 * var(--inset)); }
.ground { color: var(--ink-page); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Full-width two-line desktop headline, product shot below. */
.hero-grid { padding: 0 calc(var(--gutter) - var(--inset)); }
.hero-title { font-size: 64px; line-height: 64px; font-weight: 510; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance; }
.hero-title > span { display: block; }
.hero-sub { color: var(--muted); max-width: 58ch; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-for { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; font-size: 15px; line-height: 22px; color: var(--muted); }
.hero-for strong { color: var(--ink-2); }
.hero-new { display: inline-flex; align-items: center; gap: 10px; margin: 56px 30px 0; color: var(--muted); font-size: 14px; }
.hero-new:hover { color: var(--ink); }
.hero-new-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 9999px; font-size: 12px; font-weight: 510; color: var(--ink); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hero-app { margin-top: 40px; width: min(100vw - 2 * var(--inset), var(--page)); margin-left: calc(50% - min(50vw - var(--inset), var(--page) / 2)); }
.hero-app img { width: 100%; }
.hero-app { padding: 0 30px; }
/* Window frame around product screenshots */
.window { border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); }
.window-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #17171b; border-bottom: 1px solid rgba(255,255,255,.08); }
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a41; }
.window-url { margin: 0 auto; height: 24px; padding: 0 12px; border-radius: 6px; display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; color: #9a9aa3; background: rgba(255,255,255,.06); }
.window img { display: block; width: 100%; }

/* Logos on the white ground: the white marks are inverted to ink */
.logos { padding: 96px var(--gutter) 0; }
.logo-row { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 24px; }
.logo-row img { height: auto; filter: invert(1); opacity: .78; }
.logo-row-words { justify-content: center; gap: 64px; }
.logos:has(.logo-row-words) .logo-caption, .logos:has(.logo-row-partners) .logo-caption { text-align: center; }
.logo-row-partners { justify-content: center; gap: 96px; height: auto; margin-top: 28px; }
.logo-row-partners .partner-logo { width: auto; filter: grayscale(1); opacity: .8; }
.partner-logo { display: block; width: auto; max-width: 100%; }
.logo-row-partners .partner-mistral { height: 38px; }
.logo-row-partners .partner-ircc, .logo-row-partners .partner-lasg { height: 80px; }
.wordmark { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-page); opacity: .7; white-space: nowrap; }
.logo-caption { margin-top: 36px; font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--dim-page); }

/* Statement and Fig cards */
.species { margin-top: 96px; }
.species-title { padding: 0 var(--gutter); max-width: 1218px; font-size: 48px; line-height: 52px; font-weight: 510; letter-spacing: -0.022em; color: var(--muted-page); text-wrap: balance; }
.species-title strong { color: var(--ink-page); }
.species-title.words .w { display: inline-block; opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); }
.species-title.words-in .w { opacity: 1; transform: none; filter: none; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 112px; padding: 0 var(--gutter); }
.fig { position: relative; display: flex; flex-direction: column; min-height: 468px; padding-right: 32px; }
.fig + .fig { padding-left: 32px; }
.fig:not(:last-child) { border-right: 1px solid var(--line-page); }
.fig-label { position: absolute; top: 0; left: 0; font-family: var(--mono); font-size: 12px; line-height: 17px; text-transform: uppercase; color: var(--dim-page); }
.fig + .fig .fig-label { left: 32px; }
/* Fixed art height so every card's title starts on the same line, whatever its text length. */
.fig-art { height: 372px; display: flex; align-items: center; justify-content: center; padding: 60px 0 40px; }
.fig-art img { filter: invert(1) brightness(.72); }
.fig h3 { font-size: 15px; line-height: 24px; font-weight: 510; color: var(--ink-page); }
.fig p { margin-top: 8px; color: var(--muted-page); max-width: 368px; }

/* How it works: numbered pills on a dashed rail (Clarvos), product shots inside each step (Linear) */
.how { margin-top: 160px; }
.how-head { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; padding: 0 var(--gutter); }
.how-head h2 { font-size: 48px; line-height: 52px; font-weight: 510; letter-spacing: -0.022em; color: var(--ink-page); }
.how-head-muted { color: var(--muted-page); }
.how-head p { color: var(--muted-page); padding-bottom: 6px; }

.pill { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 6px; border-radius: 9999px; font-size: 15px; font-weight: 510; white-space: nowrap; }
.pill-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.pill-dark { background: var(--ink-page); color: #fff; }
.pill-dark .pill-num { background: #fff; color: var(--ink-page); }
.pill-light { background: #fff; color: var(--ink-page); }
.pill-light .pill-num { background: var(--ink-page); color: #fff; }

.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 72px var(--gutter) 64px; padding-top: 0; }
.rail::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; border-top: 1.5px dashed rgba(13,13,15,.22); }
.rail li { position: relative; }
.rail a { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.rail .pill { position: relative; background: #fff; color: var(--ink-page); box-shadow: 0 0 0 1px var(--line-page), 0 1px 2px rgba(13,13,15,.04); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rail .pill .pill-num { background: var(--ink-page); color: #fff; }
.rail a:hover .pill { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(13,13,15,.2), 0 8px 20px rgba(13,13,15,.08); }
.rail-text { color: var(--muted-page); max-width: 26ch; }

.step { position: relative; margin-top: 20px; border-radius: 28px; overflow: hidden; padding: 40px 40px 0; }
.step-light { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-page); }
.step-tint { background: var(--tint); box-shadow: inset 0 0 0 1px var(--tint-line); }
.step-dark { background: var(--bg); color: var(--ink); }
.step-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.step-copy { max-width: 640px; }
.step-copy h3 { font-size: 32px; line-height: 36px; font-weight: 510; letter-spacing: -0.02em; }
.step-copy p { margin-top: 14px; color: var(--muted-page); }
.step-dark .step-copy p { color: var(--muted); }
.step-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.step-links span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9999px; font-size: 13px; color: var(--ink-page-2); background: rgba(13,13,15,.05); }
.step-dark .step-links span { color: var(--ink-2); background: rgba(255,255,255,.07); }
.agent-cmd { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; margin-top: 20px; padding: 16px 16px 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line-page); }
.agent-cmd-head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.agent-cmd-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-page); }
.agent-cmd-note { font-size: 13px; line-height: 19px; color: var(--muted-page); max-width: 52ch; }
.term { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 10px; background: var(--ink-page); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(13,13,15,.12); }
.term-prompt { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.45); }
.term-cmd { font-family: var(--mono); font-size: 14px; color: #fff; letter-spacing: 0; white-space: nowrap; }
.term-copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: 6px; padding: 0 10px 0 8px; border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 13px; font-weight: 510; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.term-copy:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); }
.term-copy svg { width: 14px; height: 14px; }
.term-copy .ic-check { display: none; }
.term-copy.is-copied .ic-check { display: block; } .term-copy.is-copied .ic-copy { display: none; }
/* .term-copy also carries .btn-copy (the shared copy behaviour); keep the terminal's own size. */
.term .term-copy { height: 32px; padding: 0 10px 0 8px; gap: 6px; font-size: 13px; }
@media (max-width: 1100px) { .agent-cmd { grid-template-columns: minmax(0, 1fr); } .term { width: 100%; } .term-cmd { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 480px) { .term .term-copy { padding: 0 9px; } .term-copy .cmd-label { display: none; } }
.step-mock { margin: 40px 0 0; padding-bottom: 40px; }
.step-mock img { width: 100%; display: block; }
.step-light .window, .step-tint .window { border-color: rgba(13,13,15,.16); box-shadow: 0 1px 2px rgba(13,13,15,.08), 0 24px 56px rgba(13,13,15,.14); }
.step-dark .window { border-color: rgba(255,255,255,.16); }
.step .step-links { order: 3; }
.step { display: flex; flex-direction: column; }
.step .step-head { order: 1; }
.step .step-links { order: 2; }
.step .step-mock { order: 3; }

/* Proof band: pill callouts */
.proof { margin-top: 160px; padding: 0 var(--gutter); text-align: center; }
.proof h2 { font-size: 20px; line-height: 28px; font-weight: 510; color: var(--ink-page); }
.proof-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof-pill { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: 9999px; background: #fff; box-shadow: 0 0 0 1px var(--line-page), 0 1px 2px rgba(13,13,15,.04); font-size: 17px; color: var(--ink-page); }
.mission { margin-top: 160px; padding: 0 var(--gutter); text-align: center; }
.mission-eyebrow { font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim-page); }
.mission h2 { max-width: 760px; margin: 16px auto 0; font-size: 40px; line-height: 48px; font-weight: 510; letter-spacing: -0.022em; color: var(--ink-page); text-wrap: balance; }
.proof-pill mark { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 9999px; background: var(--tint); color: var(--brand-orange); font-weight: 510; }

/* Recently shipped */
.shipped { margin-top: 160px; padding: 0 var(--gutter); }
.shipped-head { display: flex; align-items: baseline; justify-content: space-between; }
.shipped-head h2 { font-size: 40px; line-height: 44px; font-weight: 510; letter-spacing: -0.022em; color: var(--ink-page); }
.link-page { color: var(--muted-page); }
.link-page:hover { color: var(--ink-page); }
.shipped-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ship { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; grid-template-rows: 1fr auto; gap: 6px 24px; align-items: end; padding: 28px 28px 28px 32px; min-height: 220px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-page); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.ship:hover { box-shadow: inset 0 0 0 1px rgba(13,13,15,.22), 0 12px 32px rgba(13,13,15,.08); transform: translateY(-2px); }
.ship-art { grid-column: 2; grid-row: 1 / span 2; align-self: start; color: var(--ink-page-2); opacity: .7; }
.ship-art svg { width: 100%; height: auto; }
.ship h3 { grid-column: 1; font-size: 17px; line-height: 24px; font-weight: 510; color: var(--ink-page); display: flex; align-items: center; gap: 8px; align-self: end; }
.ship p { grid-column: 1; color: var(--muted-page); font-size: 14px; line-height: 22px; max-width: 40ch; }
.tag { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9999px; font-size: 11px; font-weight: 510; letter-spacing: .01em; color: var(--brand-orange); background: var(--tint); }

/* Closing panel: CTA and footer inside one dark card */
.cta { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 152px 0 128px; text-align: center; }
.cta h2 { font-size: 64px; line-height: 64px; font-weight: 510; letter-spacing: -0.022em; text-wrap: balance; }
.cta p { color: var(--muted); max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; margin-top: 16px; align-items: center; }
.btn-cta { height: 64px; padding: 0 28px 0 8px; gap: 16px; font-size: 18px; background: #fff; color: var(--bg); border: 1px solid #fff; }
.btn-cta:hover { background: #f1f1f1; }
.btn-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); color: #fff; }
.btn-cta-icon svg { width: 18px; height: 18px; }
.btn-copy { height: 64px; padding: 0 24px 0 10px; gap: 12px; font-size: 16px; font-family: inherit; cursor: pointer; }
.btn-copy-avatars { display: inline-flex; }
.btn-copy-avatars i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #3a3d44, #1c1e22); box-shadow: 0 0 0 2px var(--bg); }
.btn-copy-avatars i + i { margin-left: -8px; }
.btn-copy.is-copied { color: #8ff0b3; }
.site-footer { border-top: 1px solid var(--line-solid); }
.footer-grid { max-width: 1436px; margin: 0 auto; padding: 56px 46px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 40px 24px; }
.footer-col { padding: 0 32px; }
.footer-col h3 { font-size: 13px; line-height: 19.5px; font-weight: 510; color: var(--ink); margin-bottom: 20px; }
.footer-col li a { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 0; font-size: 13px; line-height: 19.5px; color: var(--muted); }
.footer-col li a:hover { color: var(--ink); }
.footer-col ul { display: flex; flex-direction: column; gap: 2px; }
.footer-col .tag { color: var(--ink); background: rgba(255,255,255,.1); }
.footer-bar { max-width: 1436px; margin: 0 auto; padding: 24px 78px 40px; display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.footer-brand img { display: block; }
.footer-copy { margin-left: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .panel-hero .container { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 0; }
  .hero-title { font-size: 48px; line-height: 50px; }
  .hero-for { padding-bottom: 0; }
  .hero-new { margin: 32px 0 0; }
  .species-title { font-size: 34px; line-height: 38px; padding: 0; }
  .figs { grid-template-columns: 1fr; padding: 0; gap: 48px; margin-top: 64px; }
  .fig { min-height: 0; padding: 0 !important; border: 0 !important; }
  .fig-art { height: auto; }
  .fig-label { position: static; margin-bottom: 12px; }
  .how { margin-top: 112px; }
  .how-head { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .how-head h2 { font-size: 36px; line-height: 40px; }
  .rail { grid-template-columns: 1fr; margin: 48px 0 0; gap: 20px; padding-left: 0; }
  .rail::before { left: 23px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 1.5px dashed rgba(13,13,15,.22); }
  .rail a { flex-direction: row; align-items: center; gap: 20px; }
  .rail-text { max-width: none; }
  .step { padding: 24px 20px 0; border-radius: 22px; }
  .step-head { grid-template-columns: 1fr; gap: 20px; }
  .step-copy h3 { font-size: 26px; line-height: 30px; }
  .step-mock { margin: 28px 0 0; padding-bottom: 24px; }
  .hero-app { padding: 0; }
  .window { border-radius: 10px; }
  .window-bar { height: 32px; }
  .window-url { font-size: 11px; }
  .proof, .shipped { margin-top: 112px; padding: 0; }
  .mission h2 { font-size: 28px; line-height: 34px; }
  .proof-pill { height: auto; padding: 10px 18px; font-size: 15px; text-align: left; }
  .shipped-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .shipped-head h2 { font-size: 32px; line-height: 36px; }
  .shipped-grid { grid-template-columns: 1fr; }
  .ship { grid-template-columns: minmax(0, 1fr) 140px; min-height: 0; padding: 24px; }
  .cta { padding: 96px 0 80px; }
  .cta h2 { font-size: 40px; line-height: 42px; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 24px 24px; }
  .footer-col { padding: 0; }
  .footer-bar { padding: 24px 24px 32px; flex-wrap: wrap; gap: 16px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  /* leave room for the 20px concave corners either side of the tab */
  .nav-tab { width: calc(100% - 2 * var(--inset) - 48px); height: 64px; }
  .nav-menu { width: calc(100% - 2 * var(--inset) - 48px); }
  .site-header.is-scrolled .nav-menu { border-radius: 24px; transform: translate(-50%, 8px); }
}
@media (max-width: 640px) {
  .nav-tab::before, .nav-tab::after { display: none; }
  .nav-tab { width: calc(100% - 2 * var(--inset)); padding-right: 12px; }
  .nav-menu { width: calc(100% - 2 * var(--inset)); }
  .logo-row { flex-wrap: wrap; height: auto; justify-content: center; gap: 24px 32px; }
  .hero-title { font-size: 38px; line-height: 42px; }
  .hero-title br { display: none; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn-lg { padding: 0 16px; font-size: 15px; }
  .ship { grid-template-columns: 1fr; }
  .ship-art { grid-column: 1; grid-row: auto; max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Inner-page hero (changelog, legal) and the current-page nav link. */
.panel-proof { padding-bottom: 96px; }
.panel-proof .container { padding-left: calc(46px + var(--gutter) - var(--inset)); padding-right: calc(46px + var(--gutter) - var(--inset)); }
.panel-proof .hero-sub { margin-top: 20px; max-width: 640px; }
.proof-eyebrow { font-family: var(--mono); font-size: 12px; line-height: 17px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dim-page); }
.panel-proof .proof-eyebrow { margin-bottom: 16px; }
.nav-links a[aria-current="page"] { color: var(--ink-page); background: rgba(13,13,15,.05); }
@media (max-width: 600px) {
  .logo-row-partners { flex-wrap: nowrap; gap: 28px; }
  .logo-row-partners .partner-mistral { height: 26px; }
  .logo-row-partners .partner-ircc, .logo-row-partners .partner-lasg { height: 56px; }
}

/* Legal pages: one reading column, numbered sections. */
.legal { max-width: calc(760px + 2 * var(--gutter)); margin: 96px 0 160px; padding: 0 var(--gutter); }
.legal-intro { display: flex; flex-direction: column; gap: 12px; padding-bottom: 48px; border-bottom: 1px solid var(--line-page); font-size: 17px; line-height: 27px; color: var(--ink-page); }
.legal-section { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line-page); scroll-margin-top: 96px; }
.legal-n { padding-top: 5px; font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .04em; color: var(--dim-page); font-variant-numeric: tabular-nums; }
.legal-body h2 { margin-bottom: 16px; font-size: 22px; line-height: 28px; font-weight: 510; letter-spacing: -0.012em; color: var(--ink-page); text-wrap: balance; }
.legal-body p, .legal-body li, .legal-body dd { font-size: 15px; line-height: 24px; color: var(--muted-page); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body p + dl { margin-top: 12px; }
.legal-body strong, .legal-body dt { font-weight: 510; color: var(--ink-page); }
.legal-body ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }
.legal-body li::marker { color: var(--dim-page); }
.legal-body dl { display: flex; flex-direction: column; gap: 14px; }
.legal-body dt { font-size: 15px; line-height: 22px; }
.legal-body dd { margin: 2px 0 0; }
.legal a { color: var(--ink-page); text-decoration: underline; text-decoration-color: var(--line-page); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.legal a:hover { text-decoration-color: currentColor; }

/* Changelog: dated entries, newest first. */
.log { max-width: calc(960px + 2 * var(--gutter)); margin: 96px 0 160px; padding: 0 var(--gutter); }
.log-entry { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line-page); scroll-margin-top: 96px; }
.log-entry:last-child { border-bottom: 1px solid var(--line-page); }
.log-date { padding-top: 6px; font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim-page); }
.log-art { display: flex; align-items: center; justify-content: center; height: 220px; margin-bottom: 28px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-page); color: var(--ink-page); }
.log-art svg { width: 200px; height: auto; opacity: .85; }
.log-body h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; line-height: 32px; font-weight: 510; letter-spacing: -0.018em; color: var(--ink-page); }
.log-body p { max-width: 600px; margin-top: 10px; font-size: 17px; line-height: 27px; color: var(--muted-page); }
@media (max-width: 760px) {
  .legal, .log { margin-top: 64px; margin-bottom: 96px; }
  .legal-section { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .log-entry { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .log-art { height: 160px; }
  .log-body h2 { font-size: 22px; line-height: 28px; }
}

/* Pricing section: three plans, the middle one featured, and a full-width add-on. */
.pricing { margin: 160px 0; padding: 0 var(--gutter); scroll-margin-top: 24px; }
.pricing-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.pricing-head h2 { font-size: 40px; line-height: 44px; font-weight: 510; letter-spacing: -0.022em; color: var(--ink-page); text-wrap: balance; }
.pricing-head p:last-child { font-size: 17px; line-height: 27px; color: var(--muted-page); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 28px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-page); color: var(--ink-page); }
.plan-head { display: flex; flex-direction: column; gap: 10px; }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 24px; font-weight: 510; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.plan-amount { font-size: 48px; line-height: 52px; font-weight: 510; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 15px; color: var(--muted-page); }
.plan-note { font-size: 15px; line-height: 23px; color: var(--muted-page); }
.plan-lead { margin-bottom: -16px; font-size: 14px; line-height: 20px; font-weight: 510; }
.plan-features { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 22px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; }
.plan-features .tag { margin-left: 6px; vertical-align: 1px; }
.plan-check { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--brand-orange); }
.plan-cta { margin-top: auto; width: 100%; }
.plan-featured { background: var(--ink-page); color: #fff; box-shadow: none; }
.plan-featured .plan-per, .plan-featured .plan-note { color: rgba(255,255,255,.62); }
.addon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 16px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-page); color: var(--ink-page); }
.addon-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.addon-price { margin: 8px 0 12px; font-size: 24px; line-height: 30px; font-weight: 510; letter-spacing: -0.015em; }
.addon-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; align-content: center; }
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .addon { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin: 16px auto 0; }
}
@media (max-width: 600px) {
  .pricing { margin: 96px 0; }
  .pricing-head h2 { font-size: 30px; line-height: 36px; }
  .plan, .addon { padding: 24px; }
  .addon-features { grid-template-columns: 1fr; }
}

/* 404 */
.hero-actions-404 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.panel-404 { margin-bottom: var(--inset); }

/* Below 1100px the container pads 24px and sections drop their own gutter, as the original
   sections do above. Kept last so it wins over the inner-page and pricing rules. */
@media (max-width: 1100px) {
  .mission, .pricing, .legal, .log { padding-left: 0; padding-right: 0; }
  .panel-hero .container, .panel-proof .container { padding-left: calc(24px - var(--inset)); padding-right: calc(24px - var(--inset)); }
}
@media (max-width: 1000px) {
  .plans, .addon { max-width: none; margin-left: 0; margin-right: 0; }
}

.log-provenance { font-size: 12px; color: var(--muted-page); margin-top: 12px; }
