/* ============================================================
   BYLDA — Pearl for the static pages.

   The homepage (web/) is the reference: warm pearl ground, ink for text and
   the one accent, black pill buttons, white hairline cards, Lexend
   throughout (Inter only for tabular data). This file loads after os.css and re-themes every
   interior page to match it, so os.css keeps its structure and class names
   but none of its dark look. Tokens mirror web/src/tokens.css.
   ============================================================ */

/* ---------- fonts (self-hosted, same files as the homepage) ---------- */
/* Lexend (OFL): the open geometric sans closest to the lettering of the BYLDA logo */
@font-face {
  font-family: "Lexend";
  src: url("/brand/fonts/Lexend-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  src: url("/brand/fonts/Lexend-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}
/* Metric-matched fallback so the swap to Lexend does not shift layout */
@font-face {
  font-family: "Lexend Fallback";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 109.9%; ascent-override: 91%; descent-override: 22.7%; line-gap-override: 0%;
}
/* Inter: tabular data only (Lexend's digits are proportional) */
@font-face {
  font-family: "Inter";
  src: url("/brand/fonts/Inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "Inter";
  src: url("/brand/fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}

/* ---------- tokens ---------- */
:root {
  --pearl-0: #f8f7f5;
  --pearl-50: #f2f1ee;
  --pearl-100: #eae8e4;
  --silver-200: #e5e3df;
  --silver-300: #d3d0cb;
  --silver-500: #9b9892;
  --silver-600: #6e6c68;
  --graphite-800: #2a2a2e;
  --black-soft: #101012;

  --font-brand: "Lexend", "Lexend Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-product: var(--font-brand);
  --font-data: "Inter", "Segoe UI", Arial, sans-serif;
  /* Wordmark fills, masked through /brand/bylda-wordmark.svg (same as web/src/tokens.css) */
  --wordmark-chrome: linear-gradient(90deg, #f6f6f8 0%, #9c9fac 27%, #fdfdfe 50%, #b3b3c0 77%, #fbfbfc 100%);
  --wordmark-gunmetal: linear-gradient(90deg, #4a4e56 0%, #17171a 27%, #6f747e 50%, #26262b 77%, #5d616b 100%);

  /* os.css token names, re-pointed at Pearl */
  --paper: var(--pearl-0);
  --paper-2: var(--pearl-50);
  --raise: #ffffff;

  --ink: #0b0b0c;
  --ink-2: #2a2a2e;
  --slate: #55534f;
  --dim: var(--silver-600);
  --line: rgba(11, 11, 12, 0.08);
  --line-2: rgba(11, 11, 12, 0.14);

  /* One accent, and it is ink. Colour is reserved for signal states. */
  --blue: #0b0b0c;
  --blue-soft: #6e6c68;
  --blue-deep: #0b0b0c;
  --blue-wash: rgba(11, 11, 12, 0.04);
  --blue-glow: rgba(11, 11, 12, 0.1);

  --particle-ink: 90 96 112;
  --particle-blue: 11 11 12;

  --good: #25684b;
  --warn: #8a560f;
  --risk: #a8332e;
  --good-bg: #e0e8e3;
  --warn-bg: #f2e8db;
  --risk-bg: #f1e1df;

  --sh-sm: 0 1px 2px rgba(11, 11, 12, 0.04);
  --sh: 0 1px 2px rgba(11, 11, 12, 0.04), 0 12px 32px -8px rgba(11, 11, 12, 0.14);
  --sh-lg: 0 1px 2px rgba(11, 11, 12, 0.04), 0 12px 32px -8px rgba(11, 11, 12, 0.14), 0 32px 64px -24px rgba(11, 11, 12, 0.18);

  --serif: var(--font-brand);
  --sans: var(--font-product);
  --mono: var(--font-product);

  --nav-h: 64px;
  --r: 16px;
  --r-lg: 24px;
}

/* ---------- ground ---------- */
html { color-scheme: light; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
/* The pearl, same geometry and colours as the homepage backdrop (PearlBackdrop in
   web/): lilac top-left, mint top-right, peach bottom-left, sky bottom-right, and
   one soft specular band, over warm paper. Fixed and still on these pages. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.22) 47%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0.22) 53%, transparent 62%),
    radial-gradient(circle 39vmax at 17vmax 9vmax, rgba(214, 205, 236, 0.75), rgba(214, 205, 236, 0)),
    radial-gradient(circle 39vmax at calc(100% - 11vmax) 27vmax, rgba(203, 226, 218, 0.7), rgba(203, 226, 218, 0)),
    radial-gradient(circle 39vmax at 29vmax calc(100% + 1vmax), rgba(244, 222, 204, 0.72), rgba(244, 222, 204, 0)),
    radial-gradient(circle 39vmax at calc(100% - 19vmax) calc(100% - 5vmax), rgba(200, 212, 234, 0.9), rgba(200, 212, 234, 0)),
    linear-gradient(170deg, #f9f8f5 0%, #f2efea 48%, #f5f3ef 100%);
}
body::after { display: none; }
::selection { background: rgba(11, 11, 12, 0.12); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* the old atmosphere (fog, sweeps, ribbons, particles) is dark-ground machinery */
.atmo, .fog, .ribbon, .ribbons, .aura, #particles, .scroll-cue, .footer-ghost { display: none !important; }

/* ---------- type ---------- */
.display, .h2, .h3 {
  font-family: var(--font-brand);
  font-weight: 500;
  color: var(--ink);
}
.display { font-size: clamp(2.5rem, 5.8vw, 5.25rem); line-height: 1; letter-spacing: -0.035em; }
.page-hero .display { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -0.025em; }
/* emphasis is the second tone of the headline, not a gradient or an italic */
.display em, .h2 em, .h3 em {
  font-style: normal;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--silver-600);
}
.lede { color: var(--slate); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; letter-spacing: -0.015em; }
.lede strong { color: var(--ink); font-weight: 500; }
.kicker, .crumbs, .sysline, .field label, .footer-col .footer-h, .cmp thead th, .chip, .window-title {
  font-family: var(--font-brand);
}
.kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--silver-600); }
.kicker::before { background: var(--silver-300); width: 1.6em; }
.mono { font-family: var(--font-product); font-variant-numeric: tabular-nums; }
.muted { color: var(--silver-600); }
.crumbs { font-size: 11px; letter-spacing: 0.12em; }
.crumbs a:hover { color: var(--ink); }

/* ---------- nav: the homepage bar ---------- */
.nav {
  height: var(--nav-h);
  background: rgba(248, 247, 245, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(248, 247, 245, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--silver-200);
  box-shadow: none;
}
.nav-inner { width: min(1280px, 100% - 2 * var(--gutter)); gap: 24px; }
.nav-logo { gap: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 40px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(11, 11, 12, .35)) contrast(1.12); }
/* The official wordmark artwork as a mask over the gunmetal chrome fill; the BYLDA text stays for assistive tech */
.logo-word {
  --wm-h: 16px;
  display: inline-block;
  flex-shrink: 0;
  width: calc(var(--wm-h) * 1108 / 251);
  height: var(--wm-h);
  overflow: hidden;
  font-size: 0;
  color: transparent;
  background: var(--wordmark-gunmetal);
  -webkit-mask: url("/brand/bylda-wordmark.svg") center / contain no-repeat;
  mask: url("/brand/bylda-wordmark.svg") center / contain no-repeat;
}
.nav-links { margin-inline: 0 auto; margin-left: 20px; gap: 4px; font-size: 14.5px; color: var(--ink); }
.nav-links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px;
  border-radius: 999px; font-weight: 500; color: var(--ink);
  transition: background-color 0.14s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(11, 11, 12, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(11, 11, 12, 0.06); }
.nav-links a[aria-current="page"]::after { display: none; }
/* Product / Solutions / Resources menus, written into each page by
   scripts/sync-static-nav.mjs. Mirrors the homepage nav (web/src/styles/site.css). */
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 500 14.5px var(--font-brand); color: var(--ink);
  transition: background-color 0.14s var(--ease);
}
.nav-link svg { transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(11, 11, 12, 0.05); }
.nav-link[data-current] { background: rgba(11, 11, 12, 0.06); }
.mm, .dd {
  position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.mm[data-open], .dd[data-open] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm { left: 0; right: 0; background: var(--pearl-0); border-bottom: 1px solid var(--silver-200); box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.18); }
.mm-inner { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 24px 0 28px; }
.mm-group { padding: 14px; border-radius: 10px; transition: background 0.2s var(--ease); }
.mm-group:hover { background: var(--pearl-50); }
.mm-group-title { font: 500 15px var(--font-brand); letter-spacing: -0.01em; color: var(--ink); }
.mm-group-blurb { font-size: 12.5px; line-height: 1.4; color: var(--silver-600); margin: 4px 0 12px; min-height: 36px; }
.mm-group ul, .dd ul { list-style: none; margin: 0; padding: 0; }
.mm-group ul { display: grid; gap: 4px; }
.mm-group a { display: grid; gap: 2px; padding: 8px; margin: 0 -8px; border-radius: 6px; color: var(--ink); }
.mm-group a:hover, .mm-group a[aria-current="page"] { background: rgba(11, 11, 12, 0.05); }
.mm-item-label { font-size: 14px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; line-height: 1.3; }
.mm-item-detail { font-size: 12.5px; color: var(--silver-600); line-height: 1.35; }
.mm-group[data-next] .mm-item-label { color: var(--silver-600); }
.status-tag {
  display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 4px;
  font: 600 10px/1 var(--font-data); letter-spacing: 0.05em; text-transform: uppercase;
}
.status-tag[data-status="roadmap"] { color: var(--warn); background: var(--warn-bg); }
.status-tag[data-status="concept"] { color: #5747bd; background: #e7e4f0; }
.dd { width: 220px; padding: 8px; background: var(--pearl-0); border: 1px solid var(--silver-200); border-radius: 10px; box-shadow: var(--sh-lg); }
.dd[data-menu="solutions"] { left: calc(50% - 68px); }
.dd[data-menu="resources"] { left: calc(50% + 44px); }
.dd a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: 14px; }
.dd a:hover, .dd a[aria-current="page"] { background: rgba(11, 11, 12, 0.05); }
@media (max-width: 1080px) { .mm, .dd { display: none; } }
.menu { overflow-y: auto; }
/* Links centered in the bar: logo and CTA take equal side columns. Below 1081px
   the links collapse into the burger menu, so the bar stays a plain flex row. */
@media (min-width: 1081px) {
  .nav:not(.nav--focused) .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav:not(.nav--focused) .nav-links { margin: 0; }
  .nav:not(.nav--focused) .nav-cta { justify-self: end; }
}
.nav-cta { gap: 8px; }
.nav-burger span { background: var(--ink); }
.nav .btn--solid, .nav .btn--solid:hover { color: var(--pearl-0); background: var(--ink); box-shadow: none; }
.nav .btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }

.menu { background: rgba(248, 247, 245, 0.97); }
.menu a { font-family: var(--font-brand); font-weight: 500; letter-spacing: -0.03em; color: var(--silver-600); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); }

/* ---------- buttons: black pill, line pill ---------- */
.btn {
  height: 44px; padding: 0 20px; gap: 8px;
  font-family: var(--font-product); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid transparent; will-change: auto;
  transition: transform 0.14s var(--ease), opacity 0.14s var(--ease), background-color 0.14s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--solid, .btn--solid:hover { color: var(--pearl-0); background: var(--ink); box-shadow: none; transform: none; }
.btn--solid:hover { opacity: 0.88; }
.btn--ghost, .btn--ghost:hover { color: var(--ink); background: transparent; border-color: var(--silver-300); box-shadow: none; transform: none; }
.btn--ghost:hover { background: rgba(11, 11, 12, 0.04); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.link-arrow { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--silver-300); text-underline-offset: 4px; }
.link-arrow:hover { text-decoration-color: var(--ink); }

/* ---------- surfaces: white, hairline, soft shadow ---------- */
.glass {
  background: #fff;
  border: 1px solid var(--silver-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.glass:hover { border-color: var(--silver-300); box-shadow: var(--sh); }
a.glass:hover { transform: translateY(-2px); }
.card p { color: var(--slate); }
.card-icon { background: var(--pearl-50); border: 1px solid var(--silver-200); box-shadow: none; color: var(--ink); }
.hr { background: linear-gradient(90deg, transparent, var(--silver-300), transparent); }

.chip { background: #fff; border: 1px solid var(--silver-200); color: var(--slate); font-size: 12px; letter-spacing: 0.02em; font-weight: 500; }
.chip .dot { background: var(--silver-500); box-shadow: none; }
.chip--blue { color: var(--ink); background: #fff; border-color: var(--silver-300); }
.chip--blue .dot { background: var(--ink); box-shadow: none; }
.chip--good { color: var(--good); background: var(--good-bg); border-color: transparent; }
.chip--warn { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.chip--risk { color: var(--risk); background: var(--risk-bg); border-color: transparent; }

/* ---------- product windows: white app surfaces, as on the homepage ---------- */
.window {
  background: #fff;
  border: 1px solid var(--silver-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.window::before { display: none; }
.window-bar { background: var(--pearl-50); border-bottom: 1px solid var(--silver-200); }
.window-dots i { background: var(--silver-300); }
.window-title { color: var(--silver-600); letter-spacing: 0.1em; }

/* ---------- forms ---------- */
.field label { color: var(--silver-600); letter-spacing: 0.1em; }
.field input, .field select, .field textarea {
  background-color: #fff; border: 1px solid var(--silver-300); border-radius: 999px;
  color: var(--ink); box-shadow: none; padding: 0.8rem 1.1rem;
}
.field textarea { border-radius: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--silver-500); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.1); }
input[type="range"] { background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--silver-200) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { background: #fff; border: 1px solid var(--silver-300); box-shadow: 0 0 0 4px rgba(11, 11, 12, 0.08), 0 3px 8px rgba(11, 11, 12, 0.18); }
input[type="range"]::-moz-range-thumb { background: #fff; border: 1px solid var(--silver-300); }

/* ---------- tables ---------- */
.cmp th, .cmp td { border-bottom-color: var(--silver-200); }
.cmp thead th { color: var(--silver-600); border-bottom-color: var(--silver-300); }
.cmp .col-us { background: rgba(11, 11, 12, 0.035); }
.cmp thead .col-us { color: var(--ink); }

/* ---------- footer: the homepage footer ---------- */
.footer {
  margin-top: clamp(3rem, 8vh, 6rem);
  background: transparent;
  color: var(--slate);
  border-top: 1px solid var(--silver-200);
}
.footer-inner { padding-block: 56px 28px; gap: 40px; }
.footer-top { grid-template-columns: 1.4fr repeat(4, minmax(120px, 1fr)); gap: 28px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--slate); font-size: 14px; max-width: 26em; margin: 0; }
.footer-col { gap: 8px; }
.footer-col .footer-h { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--silver-600); margin-bottom: 6px; }
.footer-col a { color: var(--ink); font-size: 14.5px; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--silver-200); color: var(--slate); font-size: 13.5px; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-links a { transition: none; }
}

/* ---------- the recessed band (was the dark .phantom ground) ---------- */
.phantom {
  background: rgba(255, 255, 255, 0.5);
  border-block: 1px solid var(--silver-200);
}
.phantom .h2 em, .phantom .display em { color: var(--silver-600); }

/* ---------- long-form text ---------- */
/* os.css made every <li> a two-column grid, so a list item holding a bold lead,
   a link and plain text split into three columns. A dash marker is positioned
   instead, and the content flows as one line of text. */
.prose li { display: block; position: relative; padding-left: 1.7rem; }
.prose li::before { position: absolute; left: 0; top: 0; color: var(--silver-500); font-family: var(--font-product); }
.prose p, .prose li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.65; letter-spacing: -0.01em; }
.prose h2 { font-family: var(--font-brand); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.prose h3 { font-family: var(--font-brand); font-weight: 500; letter-spacing: -0.025em; }
.prose a { text-decoration: underline; text-decoration-color: var(--silver-300); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose blockquote { border-left: 2px solid var(--ink); font-family: var(--font-brand); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.post h3 { font-family: var(--font-brand); font-weight: 500; letter-spacing: -0.025em; }

/* ---------- page hero shares the content column's left edge ---------- */
.page-hero .wrap.page-hero-inner { max-width: min(var(--max), 100% - 2 * var(--gutter)); }
.page-hero-inner .display { max-width: 16em; }

/* ---------- stray dark-ground greys ---------- */
.op-zone-label, .ex-note { color: var(--silver-600); }
.attrib-avatar { background: var(--ink); }

/* ---------- focused signup page (/waitlist) ---------- */
.nav--focused .nav-inner { justify-content: space-between; }
.focused-back { color: var(--slate); font-size: 14px; font-weight: 500; }
.focused-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer--focused { background: transparent; border-top: 1px solid var(--silver-200); }
.footer-focused-inner { color: var(--slate); font-size: 13.5px; }
.footer-focused-inner a { color: var(--ink); }
.footer-focused-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.waitlist-fit-note { color: var(--slate); }

/* ---------- one left edge: logo, hero and content share the content column ---------- */
.nav-inner, .footer-inner, .waitlist-focus-grid { width: min(var(--max), 100% - 2 * var(--gutter)); }

/* narrow reading columns (FAQ, changelog, post headers) hang off the same left edge as everything else */
.wrap[style*="max-width"] { margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2)) auto; }

/* ---------- liquid glass on pearl ---------- */
/* Surfaces are translucent, never white: the pearl shows through them, exactly as
   it does on the homepage (site.css, "Liquid glass on pearl"). */
:root {
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 55%, rgba(255, 255, 255, 0.58) 100%);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(24, 20, 14, 0.04),
    0 1px 2px rgba(24, 20, 14, 0.04),
    0 28px 56px -32px rgba(24, 20, 14, 0.22);
  --glass-blur: blur(22px) saturate(1.7);
}
.glass, .window, .graph-row, .ba-col {
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.glass:hover { border-color: #fff; box-shadow: var(--glass-shadow); }
.window-bar { background: rgba(255, 255, 255, 0.35); border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.chip, .chip--blue { background: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chip--good { background: var(--good-bg); }
.chip--warn { background: var(--warn-bg); }
.chip--risk { background: var(--risk-bg); }
.field input, .field select, .field textarea {
  background-color: rgba(255, 255, 255, 0.55);
  border-color: rgba(11, 11, 12, 0.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card-icon { background: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.8); }
.phantom { background: transparent; border-block: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 1px 0 rgba(24, 20, 14, 0.05); }
.footer, .footer--focused { border-top: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 -1px 0 rgba(24, 20, 14, 0.05); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .window, .graph-row, .ba-col { background: rgba(255, 255, 255, 0.72); }
}

/* ---------- status: first release, roadmap, concept (same legend as the homepage) ---------- */
.status-tag {
  display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 4px;
  font: 600 10px/1 var(--font-product); letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 2px;
  background: var(--warn-bg); color: #8a560f;
}
.status-tag[data-status="concept"] { background: #e7e4f0; color: #5747bd; }
.status-tag[data-status="v1"] { background: var(--good-bg); color: var(--good); }
.status-note {
  display: flex; align-items: flex-start; gap: 12px; max-width: 46em; margin: 0 0 clamp(1.5rem, 4vh, 2.5rem);
  padding: 14px 18px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2);
  background: var(--glass-fill); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.status-note .status-tag { flex: none; margin-top: 3px; }
.status-note a { text-decoration: underline; text-decoration-color: var(--silver-300); text-underline-offset: 3px; }

/* One content width site-wide, matching the homepage grid, so headings, cards
   and the footer share a left edge instead of jumping between 1180 and 1360. */
:root { --max: 1200px; --max-wide: 1200px; }
/* Tighter section rhythm: back-to-back sections no longer stack ~300px of empty pearl. */
.section { padding-block: clamp(3.5rem, 8vh, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vh, 4rem); }
.section-head { margin-bottom: clamp(2rem, 4vh, 3rem); }
/* The orbit is a centred grid item with auto margins, which shrink-wrapped it to ~230px in a 580px column. */
.orbit { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
