/* inbuxa.org — the flagship's own design (October 2026)

   inbuxa leaves the sidebar shell it shared with the family sites. The
   ground is a navy-black drawn from the brand navy (#1C4053), teal (#46CAC3)
   is the accent, and the cat's orange (#F9A34B) is the warm highlight: the
   full stop after "inbox", the status light, the things that are new.

   Type is Inter, self-hosted (fonts/, OFL), as the brand bible asks for UI
   and marketing; code is the system monospace stack. No third party is
   contacted to draw this page.

   Dark is the base definition on :root, and it is what everybody gets until
   they say otherwise -- the system preference is deliberately not consulted.
   Light lives under [data-theme="light"], which the switch sets and
   localStorage remembers. Every text pair clears WCAG 2.2 AA in both. */

/* =========================================================================
   Tokens
   ========================================================================= */

:root,
:root[data-theme="dark"] {
  --bg: #061017;
  --bg-2: #081620;
  --surface: rgba(17, 38, 51, 0.55);
  --surface-solid: #0c1d28;
  --raised: #0f2431;
  --line: rgba(140, 220, 214, 0.11);
  --line-2: rgba(140, 220, 214, 0.2);

  --text: #ecf6f7;
  --muted: #a6bec8;
  --faint: #86a1ac;

  --accent: #46cac3;          /* text and links on the dark ground */
  --accent-ui: #46cac3;       /* edges, lights, fills */
  --accent-2: #86e3dd;
  --on-accent: #03191f;
  --warm: #f9a34b;
  --warm-ui: #f9a34b;
  --navy: #1c4053;

  --tint: rgba(70, 202, 195, 0.1);
  --tint-warm: rgba(249, 163, 75, 0.12);
  --spot: rgba(70, 202, 195, 0.1);
  --code-bg: rgba(3, 12, 18, 0.7);
  --grid: rgba(70, 202, 195, 0.07);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.7);
  --glass-hi: rgba(255, 255, 255, 0.05);

  --tone-teal: #46cac3; --tone-orange: #f9a34b; --tone-sky: #6cc3f2; --tone-violet: #b79cf6;
  --tone-emerald: #5fd49a; --tone-slate: #a3c3cb;
  --tone-mix: 16%;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f8f9;
  --bg-2: #eaf2f4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --raised: #ffffff;
  --line: rgba(28, 64, 83, 0.12);
  --line-2: rgba(28, 64, 83, 0.24);

  --text: #0d2533;
  --muted: #3e5a67;
  --faint: #52707d;

  /* The bible's light-ground teal and orange: #0F766E carries text, #379E98
     and #C5813B draw edges, icons and large type only. */
  --accent: #0f766e;
  --accent-ui: #379e98;
  --accent-2: #0b5f59;
  --on-accent: #ffffff;
  --warm: #995408;
  --warm-ui: #c5813b;

  --tint: rgba(15, 118, 110, 0.08);
  --tint-warm: rgba(197, 129, 59, 0.12);
  --spot: rgba(55, 158, 152, 0.1);
  --code-bg: #eef4f6;
  --grid: rgba(28, 64, 83, 0.06);
  --shadow: 0 30px 70px -34px rgba(16, 48, 61, 0.38);
  --shadow-sm: 0 10px 26px -16px rgba(16, 48, 61, 0.35);
  --glass-hi: rgba(255, 255, 255, 0.7);

  --tone-teal: #0f766e; --tone-orange: #a8600f; --tone-sky: #1f77ad; --tone-violet: #6a48b8;
  --tone-emerald: #1f7a4c; --tone-slate: #4a6b76;
  --tone-mix: 12%;

  color-scheme: light;
}

:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   Base
   ========================================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 28px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
code, .mono, kbd { font-family: var(--mono); }
code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.88em; }
::selection { background: color-mix(in srgb, var(--accent-ui) 35%, transparent); }

:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 90;
  background: var(--accent-ui); color: var(--on-accent);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 8px; }

.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

kbd {
  font-size: 11px; line-height: 1; padding: 4px 6px; border-radius: 6px;
  color: var(--faint); background: var(--surface-solid);
  border: 1px solid var(--line-2); box-shadow: inset 0 -1px 0 var(--line-2);
}

/* The brand in running prose: lowercase always, set apart so it reads as a
   name rather than a stray lowercase word. */
.inbuxa { font-weight: 650; color: var(--accent); font-style: normal; }
.eyebrow .inbuxa { text-transform: none; letter-spacing: 0.02em; }

/* Tinted icon tiles, used in the menu and the jump palette. */
.tone-teal { --t: var(--tone-teal); } .tone-orange { --t: var(--tone-orange); }
.tone-sky { --t: var(--tone-sky); } .tone-violet { --t: var(--tone-violet); }
.tone-emerald { --t: var(--tone-emerald); } .tone-slate { --t: var(--tone-slate); }
.itile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2rem; height: 2rem; border-radius: 9px; font-size: 1rem;
  color: var(--t, var(--accent));
  background: color-mix(in oklab, var(--t, var(--accent)) var(--tone-mix), transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--t, var(--accent)) 22%, transparent);
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s, color .2s, box-shadow .25s var(--ease), transform .2s var(--ease);
}
.btn .i { font-size: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn-sm { padding: 7px 13px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 13px 24px; font-size: 15.5px; border-radius: 14px; }

.btn-primary {
  color: var(--on-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-ui) 82%, #fff), var(--accent-ui));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-ui) 60%, transparent),
              0 10px 30px -10px color-mix(in srgb, var(--accent-ui) 70%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--accent-ui),
              0 14px 40px -10px color-mix(in srgb, var(--accent-ui) 85%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
:root[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #13867d, var(--accent));
  box-shadow: 0 0 0 1px var(--accent), 0 10px 26px -12px rgba(15, 118, 110, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent-ui); color: var(--accent); background: var(--tint); }
.btn-link { color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-link:hover { color: var(--accent); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; min-width: 36px; padding: 0 9px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  font-size: 1.05rem; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--tint); color: var(--text); }
.icon-btn[hidden] { display: none; }
.bar-swag { font-size: 13.5px; font-weight: 600; text-decoration: none; }

/* =========================================================================
   The bar
   A floating glass capsule. It turns more solid once the hero is behind it,
   and the hairline under it fills as the page is read.
   ========================================================================= */

.bar {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 16px 0;
}
.bar-inner {
  position: relative;
  max-width: 1240px; margin: 0 auto; height: var(--bar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.bar.is-solid .bar-inner {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-sm);
}
.bar-progress {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: calc(min(1240px, 100% - 32px) - 36px); height: 2px;
  overflow: hidden; pointer-events: none;
}
.bar-progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-ui), var(--warm-ui));
  border-radius: 2px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { height: 38px; width: auto; display: block; }
/* The wordmark is inbuxa's own lettering as vector paths filled with
   currentColor, never live text in a system font, so it is the same shape
   here as in the product and follows the theme. */
.brand .wordmark { display: block; height: 22px; width: auto; color: var(--text); }

.bar-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.bar-nav a {
  position: relative;
  padding: 8px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 550; color: var(--muted); text-decoration: none;
  transition: color .15s, background .15s;
}
.bar-nav a:hover { color: var(--text); background: var(--tint); }
.bar-nav a.here { color: var(--text); }
.bar-nav a.here::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--warm-ui); box-shadow: 0 0 10px var(--warm-ui);
}

.bar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bar-nav + .bar-end { margin-left: 0; }
.jump kbd { font-size: 10.5px; }

.theme-seg {
  display: inline-flex; gap: 2px; padding: 3px;
  background: var(--surface); border-radius: 11px; border: 1px solid var(--line);
}
.theme-seg button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 26px; border: 0; border-radius: 8px;
  background: transparent; color: var(--faint); font-size: 0.95rem; cursor: pointer;
}
.theme-seg button:hover { color: var(--text); }
.theme-seg button[aria-pressed="true"] { background: var(--raised); color: var(--accent); box-shadow: var(--shadow-sm); }

.menu-btn { display: none; }

@media (max-width: 1180px) {
  .bar-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .bar-end { margin-left: auto; }
}
@media (min-width: 1181px) and (max-width: 1260px) {
  .bar-swag span, .jump kbd { display: none; }
}
@media (max-width: 760px) {
  .bar { padding: 8px 10px 0; }
  .bar-inner { height: 56px; padding: 0 6px 0 12px; gap: 10px; border-radius: 16px; }
  .bar-demo, .theme-seg, .jump kbd, .bar-swag span { display: none; }
  .brand .mark { height: 32px; }
  .brand .wordmark { height: 19px; }
}
@media (max-width: 400px) {
  .bar-end .btn-primary { display: none; }
}

/* ---- menu sheet ---- */
/* A popover: it drops from the bar on a desktop and rises as a sheet on a
   phone, and Escape or a click outside closes it without any script. */
.menu {
  margin: 0; padding: 18px;
  position: fixed; inset: calc(var(--bar-h) + 22px) 16px auto auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - var(--bar-h) - 40px); overflow-y: auto;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  border: 1px solid var(--line-2); border-radius: 20px;
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi);
}
.menu::backdrop { background: rgba(2, 8, 12, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.menu:popover-open { animation: menu-in .22s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin: -4px -4px 10px 4px; }
.menu-title { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.menu-group { display: grid; gap: 2px; align-content: start; }
.menu-side { display: grid; gap: 18px; align-content: start; }
.menu-label { margin: 0 0 6px 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.menu-item {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 8px; border-radius: 12px;
  font-size: 14.5px; font-weight: 550; text-decoration: none; color: var(--text);
}
.menu-item:hover { background: var(--tint); }
.menu-item.here { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-item .out { margin-left: auto; color: var(--faint); font-size: .9rem; }
.menu-small { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.menu-small a { font-size: 13px; color: var(--muted); text-decoration: none; }
.menu-small a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .menu { inset: auto 0 0 0; width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; padding: 18px 16px 28px; }
  .menu:popover-open { animation: sheet-in .28s var(--ease); }
  .menu-cols { grid-template-columns: 1fr; }
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- jump palette ---- */
.palette {
  width: min(560px, calc(100vw - 32px)); max-height: min(520px, 70vh);
  margin: 12vh auto auto; padding: 0;
  color: var(--text); background: var(--surface-solid);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden;
}
.palette::backdrop { background: rgba(2, 8, 12, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.palette-box { display: flex; flex-direction: column; max-height: inherit; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--faint); }
.palette-input .i { font-size: 1.1rem; }
.palette-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.palette-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.palette-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; cursor: pointer; }
.palette-list li[aria-selected="true"] { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line-2); }
.palette-list .pl-name { font-weight: 600; font-size: 14.5px; }
.palette-list .pl-note { color: var(--faint); font-size: 12.5px; margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.palette-list .pl-empty { color: var(--faint); cursor: default; justify-content: center; padding: 20px; }

/* =========================================================================
   Sections
   ========================================================================= */

main { counter-reset: bay; }
section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
section.tinted { background: var(--bg-2); }
/* A soft line of light where a tinted band starts, rather than a hard rule. */
section.tinted::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, color-mix(in srgb, var(--accent-ui) 40%, transparent) 50%, var(--line-2) 70%, transparent);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
/* Each section's head carries a bay number, the way the mark's server
   carries a bay for each piece of the suite. */
.suite-page main > section .section-head .eyebrow,
.suite-page #features .features-head .eyebrow { counter-increment: bay; }
.suite-page main > section .section-head .eyebrow::before,
.suite-page #features .features-head .eyebrow::before {
  content: counter(bay, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent); background: var(--tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ui) 30%, transparent);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; }
h2.section-title {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 750;
  letter-spacing: -0.04em; line-height: 1.04;
  margin: 0 0 18px; max-width: 20ch;
  text-wrap: balance;
}
p.section-sub a { color: var(--accent); text-underline-offset: 3px; }
p.section-sub { color: var(--muted); max-width: 62ch; font-size: 17.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.section-head { margin: 0 0 clamp(40px, 5.5vw, 68px); }
.section-head:not(.left) { text-align: center; }
.section-head:not(.left) h2.section-title,
.section-head:not(.left) p.section-sub { margin-left: auto; margin-right: auto; }
.section-head.left .eyebrow { justify-content: flex-start; }

/* ---- surfaces ---- */
/* Every card is glass over the ground, with a light that follows the pointer
   (theme.js sets --mx/--my) and an edge that warms when it is under it. */
.card, .tool, .panel, .proof-item, .size-card, .tile, .controls, .stage, .compare-wrap {
  position: relative;
  background:
    radial-gradient(520px circle at var(--mx, -600px) var(--my, -600px), var(--spot), transparent 42%),
    linear-gradient(180deg, var(--glass-hi), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card, .tool, .panel, .proof-item, .size-card {
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover, .tool:hover, .proof-item:hover, .size-card:hover {
  border-color: color-mix(in srgb, var(--accent-ui) 38%, var(--line-2));
  box-shadow: var(--shadow-sm);
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero { position: relative; overflow: hidden; }
.hero-home { padding-bottom: 0; text-align: center; margin-top: calc(-1 * (var(--bar-h) + 12px)); padding-top: calc(var(--bar-h) + clamp(64px, 9vw, 120px)); }

/* The sky: a fine grid fading out from the middle, two pools of brand light
   and three thin beams falling through it like signals down a wire. */
.hero-sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-sky::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 10%, transparent 75%);
}
.hero-sky::after {
  content: ""; position: absolute; inset: -10% -20% 30%;
  background:
    radial-gradient(42% 46% at 50% 18%, color-mix(in srgb, var(--accent-ui) 26%, transparent), transparent 70%),
    radial-gradient(26% 30% at 80% 40%, color-mix(in srgb, var(--warm-ui) 13%, transparent), transparent 70%),
    radial-gradient(30% 30% at 18% 52%, color-mix(in srgb, var(--navy) 60%, transparent), transparent 70%);
  filter: blur(20px);
}
:root[data-theme="light"] .hero-sky::after {
  opacity: .6;
  background:
    radial-gradient(42% 46% at 50% 18%, color-mix(in srgb, var(--accent-ui) 26%, transparent), transparent 70%),
    radial-gradient(26% 30% at 80% 40%, color-mix(in srgb, var(--warm-ui) 14%, transparent), transparent 70%);
}
.beam {
  position: absolute; top: -260px; width: 1px; height: 220px;
  background: linear-gradient(180deg, transparent, var(--accent-ui), transparent);
  opacity: 0;
}
.beam.b1 { left: 22%; }
.beam.b2 { left: 64%; background: linear-gradient(180deg, transparent, var(--warm-ui), transparent); }
.beam.b3 { left: 81%; }
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: beam 7s linear infinite; }
  .beam.b2 { animation-delay: 2.6s; animation-duration: 9s; }
  .beam.b3 { animation-delay: 4.4s; animation-duration: 8s; }
}
@keyframes beam {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .55; }
  70% { opacity: .35; }
  100% { transform: translateY(900px); opacity: 0; }
}

.hero-home .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 1120px; margin: 0 auto; }

/* The release line. */
.release-note {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 6px 14px 6px 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.release-note a { color: var(--accent); text-underline-offset: 3px; }
.release-note .dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--warm-ui); box-shadow: 0 0 12px var(--warm-ui);
}
@media (prefers-reduced-motion: no-preference) {
  .release-note .dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 1px solid var(--warm-ui); animation: ping 2.4s var(--ease) infinite;
  }
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

.hero-home h1 {
  margin: 28px 0 0;
  font-size: clamp(44px, 7.2vw, 100px);
  font-weight: 780; letter-spacing: -0.052em; line-height: 0.96;
}
.hero-home h1 .line { display: block; }
.hero-home h1 .line + .line { color: color-mix(in srgb, var(--text) 86%, var(--bg)); }
.hero-home h1 .accent,
.foot-cta-title .accent {
  color: var(--accent);
  background: linear-gradient(100deg, var(--accent-ui) 0%, var(--accent-2) 40%, var(--accent-ui) 70%, var(--accent-2) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .hero-home h1 .accent,
:root[data-theme="light"] .foot-cta-title .accent {
  background: none; -webkit-text-fill-color: currentColor; color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-home h1 .accent { animation: sheen 9s ease-in-out infinite alternate; }
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
/* The cat's orange, once, where the eye lands. */
.stop { color: var(--warm-ui); }
.hero-home h1 .thin {
  display: block; margin: 26px auto 0; max-width: 32ch;
  font-size: clamp(19px, 2vw, 24px); font-weight: 450; letter-spacing: -0.015em; line-height: 1.35;
  color: var(--muted);
}
.hero-home p.lede { margin: 20px auto 0; max-width: 60ch; color: var(--muted); font-size: 17px; }
.hero-home p.lede strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---- the stage: the console, the webmail beside it, the cat on top ---- */
.hero-stage {
  position: relative;
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 1120px;
  padding-bottom: 7%;
  perspective: 1800px;
}
.window {
  position: relative;
  border-radius: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .15);
  overflow: visible;
  text-align: left;
}
.window img { display: block; width: 100%; height: auto; border-radius: 0 0 15px 15px; }
.window-bar {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-hi), transparent), var(--raised);
  border-radius: 15px 15px 0 0;
}
.window-bar .lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-bar .lamp:first-child { background: var(--warm-ui); }
.window-name { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); }

.window-main {
  width: 86%;
  transform-origin: 50% 0;
}
/* A glow under the console, in the brand's two lights. */
.window-main::before {
  content: ""; position: absolute; inset: 6% 4% -6%; z-index: -1;
  background: linear-gradient(90deg, var(--accent-ui), var(--warm-ui));
  filter: blur(70px); opacity: .28; border-radius: 40px;
}
:root[data-theme="light"] .window-main::before { opacity: .22; }
.window-side {
  position: absolute; right: 0; bottom: 0; width: 44%;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .2);
}
/* The mark is a kitten peering over a server: here it peers over the
   console instead. */
.hero-cat {
  position: absolute; right: 9%; top: -66px; z-index: 2;
  width: auto !important; height: 78px; border-radius: 0 !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}

/* Chips naming the mark's three bays: the letter, the prompt, the lights. */
.bays {
  position: absolute; left: -2%; top: 46%; z-index: 3;
  display: grid; gap: 10px; list-style: none; margin: 0; padding: 0;
}
.bay-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-hi);
}
.bay-chip:nth-child(2) { margin-left: 22px; }
.bay-chip:nth-child(3) { margin-left: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .bay-chip { animation: float 6s ease-in-out infinite; }
  .bay-chip:nth-child(2) { animation-delay: -2s; }
  .bay-chip:nth-child(3) { animation-delay: -4s; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.bay-ico {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--tint); color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ui) 30%, transparent);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.bay-mail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bay-lights i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ui); box-shadow: 0 0 6px var(--accent-ui); }
.bay-lights i:last-child { background: var(--warm-ui); box-shadow: 0 0 6px var(--warm-ui); }
@media (prefers-reduced-motion: no-preference) {
  .bay-lights i:last-child { animation: blink 1.8s steps(2, jump-none) infinite; }
}
@keyframes blink { 50% { opacity: .25; } }

.hero-note {
  margin: 22px 0 0; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--faint);
}
.hero-note a { color: var(--accent); text-underline-offset: 3px; }

/* The stage tilts back and settles flat as it scrolls up, where the browser
   can tie an animation to scrolling. Elsewhere it simply stands flat. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .window-main {
      animation: settle linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    .window-side {
      animation: drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80vh;
    }
  }
}
@keyframes settle { from { transform: rotateX(14deg) scale(.96); } to { transform: none; } }
@keyframes drift { from { translate: 0 60px; } to { translate: 0 0; } }

.badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: clamp(40px, 6vw, 64px) auto 0; max-width: 900px;
}
.badge {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  background: var(--surface); text-decoration: none; white-space: nowrap;
}
.badge strong { color: var(--accent); font-weight: 650; }
a.badge { transition: border-color .15s, color .15s; }
a.badge:hover { border-color: var(--accent-ui); color: var(--accent); }

/* The protocols it speaks, running past under the hero. */
.ticker {
  position: relative; z-index: 1;
  margin-top: clamp(44px, 6vw, 72px);
  padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.ticker span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ui); opacity: .6; }
.ticker span:nth-child(4n)::after { background: var(--warm-ui); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .bays { display: none; }
  .window-main { width: 100%; }
  .window-side { display: none; }
  .hero-stage { padding-bottom: 0; }
  .hero-cat { height: 60px; top: -50px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero-home h1 .line + .line { margin-top: 4px; }
  .hero-ctas .btn-link { display: none; }
  .window-bar { height: 28px; }
  .badge { font-size: 11px; padding: 4px 10px; }
}

/* ---- the 404 page reuses .hero ---- */
.hero.notfound {
  min-height: calc(100vh - 160px); display: flex; align-items: center;
  text-align: center; padding: 64px 0;
}
.hero.notfound::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 640px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent-ui) 18%, transparent), transparent 65%);
  pointer-events: none;
}
.notfound .wrap { position: relative; width: 100%; }
.hero-mark { height: 120px; width: auto; display: block; margin: 0 auto 26px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .35)); }
.notfound h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 780; letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 18px; }
.notfound h1 .accent { color: var(--accent); }
.notfound .lede { max-width: 620px; margin: 0 auto 26px; color: var(--muted); font-size: 17px; }
.notfound .eyebrow { justify-content: center; }
.notfound-path { font-family: var(--mono); font-size: 13px; color: var(--faint); margin: 0 0 30px; }
.notfound-path code { color: var(--muted); word-break: break-all; }
.notfound .badges { margin-top: 32px; }

/* =========================================================================
   Who it's for
   ========================================================================= */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 28px 26px; }
.card h3 { font-size: 18px; font-weight: 650; margin: 0 0 10px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card p + p { margin-top: 10px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ui) 28%, transparent);
}
.card .icon svg, .tile .icon svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.card.warm .icon, .tile.warm .icon { color: var(--warm); background: var(--tint-warm); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warm-ui) 30%, transparent); }

.grid.audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audiences .card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); }
.audiences .card .eyebrow { margin: 0 0 14px; font-size: 11px; }
.audiences .card h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.22; margin: 0 0 14px; }
.audiences .card .keys { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.audiences .card.warm .eyebrow { color: var(--warm); }
/* One card per audience carries a light along its top edge in its color. */
.audiences .card::after, .tool:not(.tool-soon)::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-ui), transparent);
  opacity: .7;
}
.audiences .card.warm::after, .tool.warm::after { background: linear-gradient(90deg, transparent, var(--warm-ui), transparent); }
.audiences-not { margin: 30px 0 0; color: var(--muted); font-size: 15.5px; max-width: 64ch; }
@media (max-width: 760px) { .grid.audiences { grid-template-columns: 1fr; } }

/* A diamond-bulleted list. The marker is positioned rather than a flex
   sibling, so any <code>, <a> or <strong> in a bullet flows inline. */
.keys { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.keys li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.keys li::before {
  content: ""; position: absolute; left: 1px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg);
  background: var(--accent-ui); box-shadow: 0 0 8px color-mix(in srgb, var(--accent-ui) 60%, transparent);
}
.card.warm .keys li::before, .tool.warm .keys li::before { background: var(--warm-ui); box-shadow: 0 0 8px color-mix(in srgb, var(--warm-ui) 60%, transparent); }
.panel .keys a { color: var(--accent); text-underline-offset: 2px; }

/* A feature specified but not built says so where it is described. */
.pill {
  display: inline-block; vertical-align: 2px; margin-left: 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  padding: 2px 8px; border-radius: 999px;
  color: var(--warm); background: var(--tint-warm);
  border: 1px solid color-mix(in srgb, var(--warm-ui) 40%, transparent);
}
.pill.built { color: var(--accent); background: var(--tint); border-color: color-mix(in srgb, var(--accent-ui) 40%, transparent); }

/* =========================================================================
   Features
   ========================================================================= */

/* The one-edition claim opens the section as a statement band, with a light
   running round its edge. */
.edition-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 26px;
  background:
    radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--accent-ui) 14%, transparent), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, var(--warm-ui) 10%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  margin-bottom: clamp(36px, 5vw, 60px);
  overflow: hidden;
}
.edition-inner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--accent-ui) 80%, var(--warm-ui) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8;
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  .edition-inner::after { animation: orbit 8s linear infinite; }
}
@keyframes orbit { to { --angle: 360deg; } }
.edition-inner h2 {
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 760;
  letter-spacing: -0.042em; line-height: 1.02; margin: 0; text-wrap: balance;
}
.edition-inner p:not(.eyebrow) { color: var(--muted); margin: 18px 0 0; max-width: 56ch; font-size: 16.5px; }
.nolist { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nolist li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 14px;
  font-size: 15px; font-weight: 550; color: var(--text);
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  border: 1px solid var(--line);
}
.nolist li .x {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  color: var(--warm); background: var(--tint-warm);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warm-ui) 40%, transparent);
  font-weight: 700; font-size: 15px; line-height: 1;
}

/* The grid ships as cards and stays that way without JavaScript;
   features.js folds it into tiles that open a panel under their row. */
.grid.is-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  width: 100%; min-height: 132px; padding: 18px;
  text-align: left; cursor: pointer; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.tile:hover { border-color: color-mix(in srgb, var(--accent-ui) 45%, var(--line-2)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile.is-open { border-color: var(--accent-ui); box-shadow: 0 0 0 3px var(--tint), var(--shadow-sm); }
.tile .icon {
  flex: none; margin: 0; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ui) 28%, transparent);
}
.tile .icon svg { width: 19px; height: 19px; }
.tile-label { flex: 1 1 auto; display: block; }
.tile-chev { position: absolute; right: 16px; top: 20px; color: var(--faint); display: inline-flex; transition: transform .2s var(--ease); }
.tile-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile.is-open .tile-chev { transform: rotate(180deg); color: var(--accent); }
.tile .pill { margin-left: 6px; }

.tile-panel {
  grid-column: 1 / -1; position: relative;
  padding: 24px 60px 24px 26px; border-radius: var(--radius);
  background:
    radial-gradient(60% 140% at 0% 0%, color-mix(in srgb, var(--accent-ui) 14%, transparent), transparent 70%),
    var(--surface-solid);
  border: 1px solid color-mix(in srgb, var(--accent-ui) 55%, transparent);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s var(--ease);
}
.tile-panel.is-in { opacity: 1; transform: none; }
.tile-panel[hidden] { display: none; }
.tile-panel h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--text); }
.tile-panel p { margin: 0; color: var(--muted); max-width: 72ch; font-size: 15.5px; }
.tile-panel p + p { margin-top: 10px; }
.tile-panel a { color: var(--accent); }
.tile-panel-close {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; cursor: pointer;
  background: transparent; color: var(--faint);
  border: 1px solid var(--line-2); border-radius: 999px;
}
.tile-panel-close:hover { color: var(--accent); border-color: var(--accent-ui); }
.tile-panel-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 1040px) { .grid.is-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .grid.is-deck, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .edition-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px)  {
  .grid.is-deck, .grid { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; flex-direction: row; align-items: center; padding: 14px 44px 14px 14px; }
  .tile-chev { top: 50%; margin-top: -8px; }
}

/* =========================================================================
   How it compares
   ========================================================================= */

.compare-wrap { overflow-x: auto; padding: 6px; }
.compare { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td {
  text-align: left; vertical-align: top; padding: 18px 20px;
  border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.5;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--text); font-size: 15.5px; font-weight: 700; padding-top: 22px; }
.compare thead .eg { display: block; margin-top: 4px; font-weight: 400; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.compare tbody th { color: var(--text); font-weight: 600; width: 19%; }
.compare tbody tr { transition: background .15s; }
.compare tbody tr:hover th, .compare tbody tr:hover td:not(.us) { background: color-mix(in srgb, var(--tint) 50%, transparent); }
/* inbuxa's column is a lit lane down the table. */
.compare .us {
  color: var(--text); width: 28%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-ui) 13%, transparent), color-mix(in srgb, var(--accent-ui) 7%, transparent));
  border-left: 1px solid color-mix(in srgb, var(--accent-ui) 40%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent-ui) 40%, transparent);
}
.compare thead .us { border-top: 1px solid color-mix(in srgb, var(--accent-ui) 40%, transparent); border-radius: 14px 14px 0 0; font-size: 18px; box-shadow: 0 -12px 30px -18px var(--accent-ui); }
.compare tbody tr:last-child .us { border-bottom: 1px solid color-mix(in srgb, var(--accent-ui) 40%, transparent); border-radius: 0 0 14px 14px; }
.compare-better { margin-top: 20px; }
.compare-better .panel .prose p:not(.eyebrow) { margin: 0; }
.compare-better .panel:last-child { border-color: color-mix(in srgb, var(--accent-ui) 45%, transparent); background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--accent-ui) 14%, transparent), transparent 70%), var(--surface); }
.compare-note { color: var(--faint); font-size: 13.5px; margin: 24px 0 0; max-width: 80ch; }
@media (max-width: 760px) {
  .compare-wrap { overflow: visible; border: 0; background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; overflow: hidden; }
  .compare tbody th { padding: 16px 18px 6px; border: 0; font-size: 16px; }
  .compare td { padding: 8px 18px; border: 0; }
  .compare td:last-child { padding-bottom: 16px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--faint); }
  .compare td.us { border: 0; border-radius: 0; }
  .compare tbody tr:last-child .us { border: 0; border-radius: 0; }
  .compare td.us::before { color: var(--accent); font-weight: 650; }
  .compare tbody th, .compare tbody td, .compare tbody td.us { width: auto; }
}

/* =========================================================================
   Panels (compare, safety, about)
   ========================================================================= */

.about-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.about-cols.one { grid-template-columns: minmax(0, 820px); justify-content: center; }
.about-cols.even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.about-cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1100px) { .about-cols.three { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } }
.panel { padding: clamp(26px, 3vw, 38px); }
.about-cols .prose { max-width: none; margin: 0; }
.about-cols p:last-child { margin-bottom: 0; }
.about-cols.three .prose { display: flex; flex-direction: column; height: 100%; }
.about-cols.three .prose > p:last-child { margin-top: auto; padding-top: 8px; }
.suite-page .panel .prose h2 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 720; line-height: 1.15; letter-spacing: -0.03em; margin: 6px 0 16px; }
.suite-page .panel .prose p:not(.eyebrow) { font-size: 15.5px; }
.suite-page .panel .prose .keys { margin: 4px 0 18px; }
.panel .eyebrow { font-size: 11px; }
#ai .eyebrow { color: var(--warm); }

/* ---- prose ---- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 22px; }
.prose p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.prose p.eyebrow { color: var(--accent); font-size: 11px; margin: 0 0 14px; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }

/* =========================================================================
   Screenshots
   ========================================================================= */

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.shot {
  margin: 0; overflow: hidden;
  background: var(--surface-solid); border: 1px solid var(--line-2);
  border-radius: 20px; box-shadow: var(--shadow);
}
.shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot .cap { padding: 18px 22px 20px; }
.shot .cap h4 { margin: 0 0 6px; font-size: 17px; font-weight: 680; letter-spacing: -0.02em; }
.shot .cap p { margin: 0; color: var(--muted); font-size: 14.5px; }
.shot-note { text-align: center; color: var(--faint); font-size: 12.5px; margin: 28px auto 0; max-width: 680px; font-family: var(--mono); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* shots.js turns the grid into a carousel: a framed screen with the caption
   beside it, under a soft light. */
.shots.is-carousel { display: block; position: relative; max-width: 1080px; margin: 0 auto; }
.shots.is-carousel::before {
  content: ""; position: absolute; inset: 8% 10% -4%; z-index: -1;
  background: linear-gradient(90deg, var(--accent-ui), var(--warm-ui));
  filter: blur(90px); opacity: .18; border-radius: 50%;
}
.shots.is-carousel .shot { display: none; cursor: zoom-in; }
.shots.is-carousel .shot.is-current { display: block; animation: shot-in .45s var(--ease); }
@keyframes shot-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.shots.is-carousel .shot .cap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 28px; align-items: baseline; padding: 20px 26px 22px; }
.shots.is-carousel .shot .cap h4 { margin: 0; font-size: 19px; }
@media (max-width: 760px) { .shots.is-carousel .shot .cap { grid-template-columns: 1fr; } }

.shots-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.shots-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.shots-nav:hover { border-color: var(--accent-ui); color: var(--accent); background: var(--tint); }
.shots-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shots-dots { display: flex; align-items: center; gap: 8px; }
.shots-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 999px; cursor: pointer;
  background: var(--line-2); border: 0; transition: background .2s, width .3s var(--ease);
}
.shots-dot:hover { background: var(--faint); }
.shots-dot.is-current { width: 26px; background: linear-gradient(90deg, var(--accent-ui), var(--accent-2)); }

/* ---- the larger view ---- */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(12px, 4vw, 48px);
  background: rgba(2, 8, 12, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1420px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); }
.lightbox figcaption { color: #fff; text-align: center; font-size: 14px; padding: 14px 4px 0; }
.lightbox-close, .lightbox-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; cursor: pointer;
}
.lightbox-close { position: absolute; top: 16px; right: 16px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) {
  .lightbox-nav { position: absolute; bottom: 18px; }
  .lightbox-nav.prev { left: 18px; }
  .lightbox-nav.next { right: 18px; }
  .lightbox figcaption { padding-bottom: 68px; }
}

/* =========================================================================
   The suite and Get started
   ========================================================================= */

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tools.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .tools.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tools, .tools.three { grid-template-columns: 1fr; } }

.tool { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.8vw, 34px); }
.tool:hover { transform: translateY(-3px); }
.tool .tool-n { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.tool h3 { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; }
.tool > p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* The mark's server has a bay for each program; each card carries its own. */
.tool-bay { display: flex; }
.tool-bay .bay-ico { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; gap: 5px; }
.tool-bay .bay-lights i { width: 7px; height: 7px; }
.tool-bay .bay-mail svg { width: 24px; height: 24px; }
.tool.warm .tool-bay .bay-ico { color: var(--warm); background: var(--tint-warm); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warm-ui) 35%, transparent); }

.tool .cmd {
  margin-top: auto;
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  background: var(--code-bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.tool .cmd .p { color: var(--accent); margin-right: 4px; }
.tool .repo { margin: auto 0 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.tool .cmd + .repo { margin-top: 0; }
.tool .repo a { color: var(--accent); text-decoration: none; }
.tool .repo a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Announced pieces, in a row of their own under the three available ones. */
.soon-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .soon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .soon-row { grid-template-columns: 1fr; } }
.tool.tool-soon {
  background: repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--line) 60%, transparent) 11px 12px), color-mix(in srgb, var(--surface) 60%, transparent);
  border-style: dashed; border-color: var(--line-2);
}
.tool.tool-soon:hover { transform: none; box-shadow: none; }
.tool.tool-soon h3 { color: var(--muted); }
.tool.tool-soon a { color: var(--text); text-underline-offset: 3px; }
.soon-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.soon-pill {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 3px 10px;
}
#tools .note { color: var(--faint); font-size: 14px; margin: 28px 0 0; }

/* ---- proof row ---- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }
.proof-item { padding: 26px; display: grid; gap: 6px; align-content: start; }
.proof-item .pv {
  margin: 0; font-size: clamp(36px, 4vw, 52px); font-weight: 780; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  background: linear-gradient(180deg, var(--text), var(--accent-ui));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .proof-item .pv { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.proof-item .pk { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); }
.proof-item p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }

/* =========================================================================
   Deployment planner
   ========================================================================= */

.planner { display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
@media (max-width: 1040px) { .planner { grid-template-columns: minmax(0, 1fr); } }
.controls { padding: 22px; display: grid; gap: 24px; }
.controls .label { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.presets { display: flex; flex-wrap: wrap; gap: 7px; }
.preset {
  font-family: var(--sans); font-size: 13px; font-weight: 550; color: var(--muted);
  background: color-mix(in srgb, var(--bg) 40%, transparent); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 8px 12px; cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.preset:hover { color: var(--text); border-color: var(--accent-ui); }
.preset[aria-pressed="true"] { color: var(--on-accent); background: var(--accent-ui); border-color: var(--accent-ui); font-weight: 700; }
:root[data-theme="light"] .preset[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }

.svc-row { display: grid; gap: 8px; }
.svc-row + .svc-row { margin-top: 16px; }
.svc-row .svc-name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.svc-row .svc-name .note { font-family: var(--mono); font-size: 10.5px; color: var(--faint); font-weight: 400; letter-spacing: 0.04em; }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px;
  padding: 3px; border: 1px solid var(--line); border-radius: 11px;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
}
.seg button {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--faint); background: transparent; border: 0; border-radius: 8px;
  padding: 8px 4px; cursor: pointer; transition: color .15s, background-color .15s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent-ui); box-shadow: 0 4px 14px -6px var(--accent-ui); }
:root[data-theme="light"] .seg button[aria-pressed="true"] { background: var(--accent); }
.seg[data-tone="warm"] button[aria-pressed="true"] { background: var(--warm-ui); color: #1f1203; box-shadow: 0 4px 14px -6px var(--warm-ui); }
:root[data-theme="light"] .seg[data-tone="warm"] button[aria-pressed="true"] { background: #b26d26; color: #fff; }

.stage { padding: clamp(16px, 2.2vw, 24px); display: grid; gap: 14px; }
.zone { border-radius: 14px; padding: 14px 16px 16px; display: grid; gap: 12px; min-height: 104px; align-content: start; }
.zone .zone-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.zone .zone-head .hint { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--faint); font-size: 11px; }
.zone.public { border: 1px solid color-mix(in srgb, var(--warm-ui) 45%, transparent); background: linear-gradient(135deg, var(--tint-warm), transparent 80%); }
.zone.public .zone-head { color: var(--warm); }
.zone.guarded { border: 1px dashed var(--line-2); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.zone.guarded .zone-head { color: var(--muted); }
.zone.private { border: 1px solid color-mix(in srgb, var(--accent-ui) 45%, transparent); background: linear-gradient(135deg, var(--tint), transparent 80%); }
.zone.private .zone-head { color: var(--accent); }
.zone .slots { display: flex; flex-wrap: wrap; gap: 10px; }
.zone .empty { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding: 6px 2px; margin: 0; }
.node {
  display: grid; gap: 3px; min-width: 168px; flex: 1 1 168px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  animation: node-rise .3s var(--ease) both;
}
.node .nm { font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.node .ports { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--faint); font-variant-numeric: tabular-nums; }
.node[data-svc="server"] { border-color: color-mix(in srgb, var(--accent-ui) 60%, var(--line-2)); }
.node[data-svc="admin"] { border-color: color-mix(in srgb, var(--warm-ui) 60%, var(--line-2)); }
@keyframes node-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .readout { grid-template-columns: 1fr; } }
.stat { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 40%, transparent); padding: 13px 14px; display: grid; gap: 4px; }
.stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); }
.stat .v { font-size: 22px; font-weight: 760; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .v.good { color: var(--accent); }
.stat .v.warn { color: var(--warm); }
.verdict {
  margin: 0; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent-ui);
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  font-size: 14.5px; color: var(--muted);
}
.verdict strong { color: var(--text); font-weight: 600; }

.sizing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
@media (max-width: 900px) { .sizing { grid-template-columns: 1fr; } }
.size-card { padding: 22px; display: grid; gap: 8px; align-content: start; }
.size-card .who { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.size-card h4 { font-size: 17px; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
.size-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.shape-note { color: var(--muted); font-size: 14.5px; margin: 24px 0 0; }
.shape-note a { color: var(--accent); }

/* =========================================================================
   About and the license
   ========================================================================= */

#about .panel {
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--warm-ui) 9%, transparent), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--accent-ui) 10%, transparent), transparent 70%),
    var(--surface);
}
.license-band {
  position: relative; margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
  padding: clamp(28px, 4vw, 44px); border-radius: 22px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent-ui) 14%, transparent), transparent 60%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent-ui) 35%, var(--line));
}
.license-band h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 750; letter-spacing: -0.035em; }
.license-band p { margin: 0; color: var(--muted); font-size: 15px; max-width: 620px; }
.license-band a:not(.btn) { color: var(--accent); }

/* =========================================================================
   Long-form pages (privacy)
   ========================================================================= */

.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 40px 0 12px; color: var(--text); }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 10px 0 18px; color: var(--muted); }
.legal li { margin-bottom: 8px; }
.legal code { font-size: 13px; color: var(--text); }
.legal .updated { color: var(--faint); font-size: 13px; margin-bottom: 26px; font-family: var(--mono); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal th { color: var(--text); font-weight: 600; }
.legal .scroll-x { overflow-x: auto; }
body:not(.suite-page) main > section:first-child { padding-top: clamp(56px, 8vw, 96px); }
body:not(.suite-page) h1.section-title { font-size: clamp(36px, 5vw, 60px); font-weight: 760; letter-spacing: -0.045em; line-height: 1.02; margin: 0 auto 18px; max-width: 20ch; }

/* =========================================================================
   Footer
   ========================================================================= */

.foot { position: relative; padding: 0 0 36px; background: var(--bg); }
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, color-mix(in srgb, var(--accent-ui) 45%, transparent) 50%, var(--line-2) 70%, transparent);
}
.foot-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
  margin: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  padding: clamp(30px, 4.5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(60% 140% at 0% 100%, color-mix(in srgb, var(--accent-ui) 22%, transparent), transparent 70%),
    radial-gradient(50% 140% at 100% 0%, color-mix(in srgb, var(--warm-ui) 14%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.foot-cta-title { margin: 0; font-size: clamp(34px, 5vw, 64px); font-weight: 780; letter-spacing: -0.05em; line-height: 1; }
.foot-cta-sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.foot-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot .brand { margin-bottom: 16px; }
.foot .brand .mark { height: 40px; }
.foot .brand .wordmark { height: 23px; }
.foot .copy { color: var(--faint); font-size: 13px; margin: 0 0 10px; max-width: 460px; line-height: 1.6; }
.foot .copy a { color: var(--muted); text-underline-offset: 2px; }
.foot .copy a:hover { color: var(--accent); }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-h { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.foot-col a, .foot-col .linklike { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-col a:hover, .foot-col .linklike:hover { color: var(--accent); }
/* A <button> because it acts on this page rather than navigating, styled to
   sit in the link list without announcing itself as something different. */
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.linklike[hidden] { display: none; }
.foot-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--faint);
}
.foot-bottom a { color: var(--muted); text-underline-offset: 2px; }
.foot-bottom a:hover { color: var(--accent); }
.foot-bottom .built-with { text-align: center; }
.foot-tag { text-align: right; font-family: var(--mono); font-size: 12px; }
@media (max-width: 640px) {
  .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  .foot-tag { text-align: center; }
}

/* =========================================================================
   Consent banner
   Over the page, never in front of it: a visitor who never answers can read
   every word. Both buttons are deliberately identical, because equal
   prominence is the actual requirement.
   ========================================================================= */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 1080px; margin: 0 auto;
  padding: 18px 20px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.consent[hidden] { display: none; }
.consent-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-text { flex: 1 1 460px; min-width: 0; }
.consent-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; color: var(--text); }
.consent p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.consent p:last-child { margin-bottom: 0; }
.consent-current { color: var(--faint); font-style: italic; }
.consent-more a { color: var(--accent); text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.consent-actions .btn { padding: 11px 24px; font-size: 15px; min-width: 132px; }
@media (max-width: 640px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1 1 0; min-width: 0; }
}

/* =========================================================================
   Motion
   Section heads and cards rise into place as they scroll in, where the
   browser can tie an animation to scrolling. `translate`, not `transform`,
   so a card's own hover lift still works once it has arrived.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .js main > section:not(.hero) .section-head,
    .js .edition-inner,
    .js .card, .js .tile, .js .tool, .js .panel, .js .proof-item, .js .size-card,
    .js .compare-wrap, .js .planner, .js .license-band, .js .foot-cta {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
