@font-face {
  font-family: "Geist Var";
  src: url("/static/geist-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono Var";
  src: url("/static/geist-mono-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --grad-a { syntax: "<color>"; inherits: true; initial-value: #2f6fd0; }
@property --grad-b { syntax: "<color>"; inherits: true; initial-value: #6b52c4; }
@property --grad-la { syntax: "<color>"; inherits: true; initial-value: #5aa2f0; }
@property --grad-lb { syntax: "<color>"; inherits: true; initial-value: #9b7ef0; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ----------------------------------------------------------------
   Palettes. One ink ramp, one border weight, one shadow, at every
   stop. Only the page tint and the accent move, so the four themes
   read as a family rather than four arguments.
   ---------------------------------------------------------------- */

:root {
  color-scheme: dark;
  --ink-1: #f2f1ee;
  --ink-2: #b5b3ac;
  --ink-muted: #7f7d76;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);
  --good: #34c05e;
  --add-bg: rgba(52, 192, 94, 0.11);
  --add-ink: #b7e2c0;
  --syn-num: #c9a97e;
  --syn-str: #9ec49a;
  --glow-strength: 0.18;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 60px rgba(0, 0, 0, 0.5);

  --radius: 12px;
  --font: "Geist Var", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono Var", ui-monospace, "SF Mono", Menlo, monospace;

  /* sqldash default, hue 210 */
  --page: #09090a;
  --surface: #131315;
  --well: #0e0e10;
  --accent: #5aa2f0;
  --accent-soft: rgba(90, 162, 240, 0.12);
  --on-accent: #06121f;
  --syn-key: #7ab3ef;
  --grad-a: #2f6fd0;
  --grad-b: #6b52c4;
  --grad-la: #5aa2f0;
  --grad-lb: #9b7ef0;
  --grad-ink: #ffffff;
  --glow-a: #3987e5;
  --glow-b: #7c5cd6;
}

/* Neon observatory, hue 270 */
:root[data-theme="neon"] {
  --page: #0b0910;
  --surface: #16121f;
  --well: #100c18;
  --accent: #b48cf5;
  --accent-soft: rgba(180, 140, 245, 0.13);
  --on-accent: #140a24;
  --syn-key: #c5a6ff;
  --grad-a: #6b3fd0;
  --grad-b: #2f8ec4;
  --grad-la: #c5a6ff;
  --grad-lb: #8fe3e8;
  --grad-ink: #ffffff;
  --glow-a: #8a5fe0;
  --glow-b: #35c6d8;
}

/* Ember, hue 15 */
:root[data-theme="ember"] {
  --page: #0f0a0d;
  --surface: #1b1317;
  --well: #130d11;
  --accent: #f2794f;
  --accent-soft: rgba(242, 121, 79, 0.13);
  --on-accent: #24090a;
  --syn-key: #ffa06b;
  --grad-a: #d9452f;
  --grad-b: #c43f86;
  --grad-la: #ffa06b;
  --grad-lb: #ff9ecf;
  --grad-ink: #ffffff;
  --glow-a: #d95c34;
  --glow-b: #b03a86;
}

/* Amber terminal, hue 45 */
:root[data-theme="terminal"] {
  --page: #0c0a07;
  --surface: #17130d;
  --well: #100d09;
  --accent: #edc074;
  --accent-soft: rgba(237, 192, 116, 0.11);
  --on-accent: #14100a;
  --syn-key: #edc074;
  --grad-a: #e0a84a;
  --grad-b: #c9d95f;
  --grad-la: #edc074;
  --grad-lb: #d8e88a;
  --grad-ink: #14100a;
  --glow-a: #cfa257;
  --glow-b: #8a6a2a;
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--page);
  color: var(--ink-1);
  line-height: 1.55;
  min-height: 100vh;
}

/* The whole surface cross-fades when the palette changes. Components
   that declare their own transition still win on specificity, so this
   governs the theme change and nothing else. */
body, body *, body *::before, body *::after {
  transition: background-color 0.9s ease, border-color 0.9s ease,
              color 0.9s ease, fill 0.9s ease, stroke 0.9s ease,
              box-shadow 0.9s ease, opacity 0.9s ease;
}
:root {
  transition: --grad-a 0.9s ease, --grad-b 0.9s ease,
              --grad-la 0.9s ease, --grad-lb 0.9s ease;
}

/* Atmosphere: blurred blobs, because background-color cross-fades
   cleanly where a gradient's colour stops would jump. */
.atmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmos i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(110px);
  opacity: var(--glow-strength);
}
/* A star field behind everything, parallaxed on scroll. Three depths, moved by
   transform only so it stays on the compositor. */
.stars {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  border-radius: 50%;
  background: transparent;
  will-change: transform;
}
.stars-far {
  box-shadow:
    1852px 1907px 0 0 rgba(255,255,255,.24),
    2080px 777px 0 0 rgba(255,255,255,.34),
    2096px 1948px 0 0 rgba(255,255,255,.34),
    385px 1829px 0 0 rgba(255,255,255,.24),
    580px 371px 0 0 rgba(255,255,255,.34),
    2438px 1622px 0 0 rgba(255,255,255,.24),
    2521px 645px 0 0 rgba(255,255,255,.34),
    2164px 258px 0 0 rgba(255,255,255,.34),
    146px 779px 0 0 rgba(255,255,255,.34),
    2456px 123px 0 0 rgba(255,255,255,.24),
    1336px 1804px 0 0 rgba(255,255,255,.34),
    2126px 957px 0 0 rgba(255,255,255,.24),
    2047px 18px 0 0 rgba(255,255,255,.34),
    1873px 1139px 0 0 rgba(255,255,255,.24),
    2257px 340px 0 0 rgba(255,255,255,.24),
    1291px 940px 0 0 rgba(255,255,255,.24),
    121px 287px 0 0 rgba(255,255,255,.34),
    1640px 441px 0 0 rgba(255,255,255,.24),
    1583px 273px 0 0 rgba(255,255,255,.34),
    2px 874px 0 0 rgba(255,255,255,.34),
    214px 1925px 0 0 rgba(255,255,255,.24),
    1627px 1719px 0 0 rgba(255,255,255,.34),
    2319px 813px 0 0 rgba(255,255,255,.24),
    1379px 356px 0 0 rgba(255,255,255,.24),
    1362px 62px 0 0 rgba(255,255,255,.24),
    483px 551px 0 0 rgba(255,255,255,.34),
    413px 44px 0 0 rgba(255,255,255,.34),
    1904px 1994px 0 0 rgba(255,255,255,.34),
    2290px 771px 0 0 rgba(255,255,255,.24),
    2084px 781px 0 0 rgba(255,255,255,.34),
    1717px 1571px 0 0 rgba(255,255,255,.34),
    1617px 1723px 0 0 rgba(255,255,255,.34),
    1px 1105px 0 0 rgba(255,255,255,.24),
    80px 863px 0 0 rgba(255,255,255,.34),
    1614px 410px 0 0 rgba(255,255,255,.34),
    599px 873px 0 0 rgba(255,255,255,.24),
    1057px 39px 0 0 rgba(255,255,255,.24),
    1213px 1581px 0 0 rgba(255,255,255,.34),
    304px 369px 0 0 rgba(255,255,255,.34),
    2386px 995px 0 0 rgba(255,255,255,.34),
    2462px 1510px 0 0 rgba(255,255,255,.24),
    2548px 1856px 0 0 rgba(255,255,255,.34),
    2405px 1981px 0 0 rgba(255,255,255,.34),
    1581px 748px 0 0 rgba(255,255,255,.34),
    1273px 935px 0 0 rgba(255,255,255,.34),
    777px 649px 0 0 rgba(255,255,255,.34),
    1590px 1976px 0 0 rgba(255,255,255,.34),
    1726px 194px 0 0 rgba(255,255,255,.34),
    446px 158px 0 0 rgba(255,255,255,.24),
    976px 1604px 0 0 rgba(255,255,255,.24),
    1723px 2011px 0 0 rgba(255,255,255,.24),
    2130px 718px 0 0 rgba(255,255,255,.34),
    517px 935px 0 0 rgba(255,255,255,.24),
    2291px 303px 0 0 rgba(255,255,255,.24),
    869px 835px 0 0 rgba(255,255,255,.34),
    283px 1102px 0 0 rgba(255,255,255,.24),
    1825px 1020px 0 0 rgba(255,255,255,.34),
    190px 721px 0 0 rgba(255,255,255,.24),
    1510px 2174px 0 0 rgba(255,255,255,.34),
    377px 1483px 0 0 rgba(255,255,255,.34),
    1844px 1355px 0 0 rgba(255,255,255,.34),
    2416px 143px 0 0 rgba(255,255,255,.34),
    1944px 1464px 0 0 rgba(255,255,255,.24),
    137px 87px 0 0 rgba(255,255,255,.34),
    1975px 275px 0 0 rgba(255,255,255,.24),
    1306px 559px 0 0 rgba(255,255,255,.34),
    308px 1855px 0 0 rgba(255,255,255,.24),
    182px 530px 0 0 rgba(255,255,255,.24),
    1441px 347px 0 0 rgba(255,255,255,.24),
    318px 1708px 0 0 rgba(255,255,255,.34),
    2047px 59px 0 0 rgba(255,255,255,.24),
    1553px 50px 0 0 rgba(255,255,255,.34),
    328px 371px 0 0 rgba(255,255,255,.34),
    1053px 1704px 0 0 rgba(255,255,255,.24),
    1591px 1874px 0 0 rgba(255,255,255,.24),
    1894px 343px 0 0 rgba(255,255,255,.34),
    1270px 359px 0 0 rgba(255,255,255,.24),
    91px 942px 0 0 rgba(255,255,255,.34),
    2036px 1991px 0 0 rgba(255,255,255,.24),
    46px 1507px 0 0 rgba(255,255,255,.24),
    586px 829px 0 0 rgba(255,255,255,.34),
    1402px 1810px 0 0 rgba(255,255,255,.24),
    989px 1339px 0 0 rgba(255,255,255,.24),
    1026px 813px 0 0 rgba(255,255,255,.24),
    820px 877px 0 0 rgba(255,255,255,.24),
    899px 1296px 0 0 rgba(255,255,255,.34),
    557px 551px 0 0 rgba(255,255,255,.24),
    1436px 166px 0 0 rgba(255,255,255,.34),
    1133px 692px 0 0 rgba(255,255,255,.34),
    1845px 1930px 0 0 rgba(255,255,255,.24),
    876px 1695px 0 0 rgba(255,255,255,.24),
    2563px 2129px 0 0 rgba(255,255,255,.24),
    1291px 1853px 0 0 rgba(255,255,255,.24),
    305px 128px 0 0 rgba(255,255,255,.24),
    2488px 169px 0 0 rgba(255,255,255,.24),
    2337px 1450px 0 0 rgba(255,255,255,.24),
    2310px 78px 0 0 rgba(255,255,255,.34),
    1659px 1862px 0 0 rgba(255,255,255,.34),
    101px 1091px 0 0 rgba(255,255,255,.34),
    577px 192px 0 0 rgba(255,255,255,.34),
    1828px 446px 0 0 rgba(255,255,255,.24),
    319px 811px 0 0 rgba(255,255,255,.34),
    1946px 1048px 0 0 rgba(255,255,255,.34),
    44px 1934px 0 0 rgba(255,255,255,.34),
    733px 927px 0 0 rgba(255,255,255,.24),
    1416px 2131px 0 0 rgba(255,255,255,.34),
    1611px 917px 0 0 rgba(255,255,255,.34),
    1681px 1589px 0 0 rgba(255,255,255,.34),
    1845px 1857px 0 0 rgba(255,255,255,.34),
    2562px 27px 0 0 rgba(255,255,255,.24),
    2252px 2058px 0 0 rgba(255,255,255,.24),
    1899px 1337px 0 0 rgba(255,255,255,.34),
    405px 505px 0 0 rgba(255,255,255,.34),
    992px 1598px 0 0 rgba(255,255,255,.34),
    1269px 2199px 0 0 rgba(255,255,255,.24),
    1072px 64px 0 0 rgba(255,255,255,.24),
    2067px 339px 0 0 rgba(255,255,255,.34),
    1805px 1401px 0 0 rgba(255,255,255,.24),
    1127px 1996px 0 0 rgba(255,255,255,.34),
    894px 262px 0 0 rgba(255,255,255,.24),
    143px 708px 0 0 rgba(255,255,255,.24),
    575px 1927px 0 0 rgba(255,255,255,.34),
    2115px 2122px 0 0 rgba(255,255,255,.24),
    2017px 352px 0 0 rgba(255,255,255,.34),
    1799px 2157px 0 0 rgba(255,255,255,.24),
    2300px 673px 0 0 rgba(255,255,255,.24),
    1276px 1561px 0 0 rgba(255,255,255,.34),
    1247px 578px 0 0 rgba(255,255,255,.24),
    2346px 2038px 0 0 rgba(255,255,255,.34),
    1683px 2195px 0 0 rgba(255,255,255,.34),
    2061px 20px 0 0 rgba(255,255,255,.24),
    113px 180px 0 0 rgba(255,255,255,.24),
    2228px 499px 0 0 rgba(255,255,255,.24),
    381px 683px 0 0 rgba(255,255,255,.34),
    2206px 1879px 0 0 rgba(255,255,255,.24),
    1655px 1102px 0 0 rgba(255,255,255,.34),
    1938px 2019px 0 0 rgba(255,255,255,.34),
    1391px 1776px 0 0 rgba(255,255,255,.24),
    2150px 1299px 0 0 rgba(255,255,255,.34),
    784px 1718px 0 0 rgba(255,255,255,.34);
  animation: twinkle-a 7s ease-in-out infinite alternate;
}
.stars-mid {
  box-shadow:
    1065px 530px 0 0.3px rgba(255,255,255,.66),
    145px 795px 0 0.3px rgba(255,255,255,.66),
    930px 48px 0 0.3px rgba(255,255,255,.46),
    1319px 1455px 0 0.3px rgba(255,255,255,.66),
    2538px 2043px 0 0.3px rgba(255,255,255,.66),
    2046px 502px 0 0.3px rgba(255,255,255,.46),
    809px 2172px 0 0.3px rgba(255,255,255,.46),
    95px 1539px 0 0.3px rgba(255,255,255,.46),
    2168px 654px 0 0.3px rgba(255,255,255,.66),
    2585px 2187px 0 0.3px rgba(255,255,255,.66),
    2169px 885px 0 0.3px rgba(255,255,255,.66),
    952px 1423px 0 0.3px rgba(255,255,255,.66),
    1293px 1290px 0 0.3px rgba(255,255,255,.66),
    893px 796px 0 0.3px rgba(255,255,255,.66),
    548px 980px 0 0.3px rgba(255,255,255,.66),
    361px 1062px 0 0.3px rgba(255,255,255,.46),
    397px 1780px 0 0.3px rgba(255,255,255,.46),
    2225px 516px 0 0.3px rgba(255,255,255,.66),
    1649px 72px 0 0.3px rgba(255,255,255,.66),
    823px 1464px 0 0.3px rgba(255,255,255,.46),
    472px 2071px 0 0.3px rgba(255,255,255,.46),
    2059px 774px 0 0.3px rgba(255,255,255,.66),
    1974px 434px 0 0.3px rgba(255,255,255,.66),
    153px 2108px 0 0.3px rgba(255,255,255,.46),
    600px 776px 0 0.3px rgba(255,255,255,.66),
    470px 835px 0 0.3px rgba(255,255,255,.66),
    647px 1159px 0 0.3px rgba(255,255,255,.66),
    2374px 253px 0 0.3px rgba(255,255,255,.66),
    1892px 317px 0 0.3px rgba(255,255,255,.66),
    1338px 1601px 0 0.3px rgba(255,255,255,.46),
    1746px 2110px 0 0.3px rgba(255,255,255,.46),
    1761px 860px 0 0.3px rgba(255,255,255,.46),
    54px 167px 0 0.3px rgba(255,255,255,.66),
    742px 1670px 0 0.3px rgba(255,255,255,.46),
    1472px 1516px 0 0.3px rgba(255,255,255,.46),
    799px 676px 0 0.3px rgba(255,255,255,.66),
    2099px 63px 0 0.3px rgba(255,255,255,.46),
    347px 1656px 0 0.3px rgba(255,255,255,.66),
    2065px 1396px 0 0.3px rgba(255,255,255,.46),
    1144px 476px 0 0.3px rgba(255,255,255,.66),
    1661px 545px 0 0.3px rgba(255,255,255,.46),
    2207px 1514px 0 0.3px rgba(255,255,255,.46),
    743px 1661px 0 0.3px rgba(255,255,255,.66),
    757px 288px 0 0.3px rgba(255,255,255,.46),
    1235px 1920px 0 0.3px rgba(255,255,255,.66),
    43px 1456px 0 0.3px rgba(255,255,255,.66),
    950px 1118px 0 0.3px rgba(255,255,255,.46),
    1383px 884px 0 0.3px rgba(255,255,255,.46),
    2332px 745px 0 0.3px rgba(255,255,255,.66),
    1595px 2108px 0 0.3px rgba(255,255,255,.46),
    873px 489px 0 0.3px rgba(255,255,255,.46),
    2354px 93px 0 0.3px rgba(255,255,255,.66),
    2520px 442px 0 0.3px rgba(255,255,255,.66),
    1051px 1817px 0 0.3px rgba(255,255,255,.46),
    2067px 206px 0 0.3px rgba(255,255,255,.66),
    1538px 44px 0 0.3px rgba(255,255,255,.66),
    1059px 1027px 0 0.3px rgba(255,255,255,.46),
    1396px 2080px 0 0.3px rgba(255,255,255,.46),
    2132px 408px 0 0.3px rgba(255,255,255,.46),
    312px 184px 0 0.3px rgba(255,255,255,.46),
    655px 1580px 0 0.3px rgba(255,255,255,.46),
    692px 2029px 0 0.3px rgba(255,255,255,.66),
    1759px 2025px 0 0.3px rgba(255,255,255,.46),
    1165px 2157px 0 0.3px rgba(255,255,255,.46),
    2448px 1279px 0 0.3px rgba(255,255,255,.46),
    2172px 1170px 0 0.3px rgba(255,255,255,.46),
    1104px 1161px 0 0.3px rgba(255,255,255,.46),
    110px 57px 0 0.3px rgba(255,255,255,.66),
    2399px 175px 0 0.3px rgba(255,255,255,.66),
    1674px 1597px 0 0.3px rgba(255,255,255,.66),
    1290px 1629px 0 0.3px rgba(255,255,255,.66),
    2382px 1307px 0 0.3px rgba(255,255,255,.66),
    916px 1759px 0 0.3px rgba(255,255,255,.46),
    1027px 998px 0 0.3px rgba(255,255,255,.66),
    2143px 403px 0 0.3px rgba(255,255,255,.46),
    591px 1004px 0 0.3px rgba(255,255,255,.66),
    206px 1708px 0 0.3px rgba(255,255,255,.46),
    483px 834px 0 0.3px rgba(255,255,255,.66),
    1461px 2163px 0 0.3px rgba(255,255,255,.66),
    509px 1488px 0 0.3px rgba(255,255,255,.46);
  animation: twinkle-b 5.5s ease-in-out infinite alternate;
}
.stars-near {
  box-shadow:
    572px 1707px 2px 1px var(--accent),
    2461px 1073px 2px 1px var(--accent),
    2384px 1718px 2px 1px var(--accent),
    2174px 561px 2px 1px var(--accent),
    527px 976px 2px 1px var(--accent),
    466px 2060px 2px 1px var(--accent),
    2078px 1471px 2px 1px var(--accent),
    1112px 778px 2px 1px var(--accent),
    1141px 980px 2px 1px rgba(255,255,255,.95),
    1019px 2056px 2px 1px var(--accent),
    802px 161px 2px 1px var(--accent),
    248px 38px 2px 1px var(--accent),
    1062px 1741px 2px 1px rgba(255,255,255,.95),
    2553px 155px 2px 1px rgba(255,255,255,.95),
    911px 1139px 2px 1px rgba(255,255,255,.95),
    354px 658px 2px 1px var(--accent),
    961px 1528px 2px 1px var(--accent),
    1960px 1450px 2px 1px rgba(255,255,255,.95),
    1385px 1407px 2px 1px var(--accent),
    546px 304px 2px 1px rgba(255,255,255,.95),
    1832px 873px 2px 1px var(--accent),
    1738px 1057px 2px 1px var(--accent),
    617px 1511px 2px 1px rgba(255,255,255,.95),
    2443px 1332px 2px 1px var(--accent),
    2247px 753px 2px 1px var(--accent),
    1512px 397px 2px 1px var(--accent),
    1327px 321px 2px 1px var(--accent),
    340px 1769px 2px 1px var(--accent),
    2326px 1985px 2px 1px var(--accent),
    1898px 1224px 2px 1px rgba(255,255,255,.95),
    311px 1270px 2px 1px rgba(255,255,255,.95),
    2472px 334px 2px 1px var(--accent),
    1244px 2026px 2px 1px var(--accent),
    1343px 1158px 2px 1px rgba(255,255,255,.95);
  animation: twinkle-a 4s ease-in-out infinite alternate;
}
@keyframes twinkle-a { from { opacity: .6; } to { opacity: 1; } }
@keyframes twinkle-b { from { opacity: 1; } to { opacity: .55; } }

.atmos i:first-child {
  width: 760px; height: 520px; top: -190px; left: 12%;
  background: var(--glow-a);
  animation: drift-a 34s ease-in-out infinite alternate;
}
.atmos i:last-child {
  width: 620px; height: 480px; top: 60px; right: 4%;
  background: var(--glow-b);
  animation: drift-b 27s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: none; }
  to   { transform: translate3d(70px, 40px, 0) scale(1.14); }
}
@keyframes drift-b {
  from { transform: none; }
  to   { transform: translate3d(-56px, 76px, 0) scale(0.9); }
}

/* Light streaks among the stars, shown in proportion to scroll speed. At rest
   they are invisible; scroll hard and the field reads as motion. */
.atmos .streaks {
  position: absolute; inset: 0; opacity: 0;
  transform-origin: 50% 50%; will-change: opacity, transform;
  /* The page-wide theme cross-fade puts a 0.9s opacity transition on every
     element. Here that smeared each per-frame value, so streaks lagged the
     scroll by a second and lingered after it stopped. The script already
     eases velocity, so this layer takes its values directly. */
  transition: none;
}
.atmos .streaks u {
  position: absolute; width: 1px; height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.85), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .atmos .streaks { display: none; }
  .stars { transform: none !important; }
}

::selection { background: var(--accent); color: var(--on-accent); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

code { font-family: var(--mono); font-size: 0.88em; color: var(--accent); }

/* ---------- nav ---------- */

body > nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(150%) blur(14px);
  background: color-mix(in srgb, var(--page) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink-1); font-weight: 560; font-size: 15px; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .mark, .foot-brand .mark { width: 22px; height: 22px; display: block; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 6px 11px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink-1); background: var(--surface); text-decoration: none; }
/* Cloud is announced, not shipped. In the nav it is a plain word in the same muted
   ink as its neighbours, with "soon" a size down in the accent. No box: two badge
   treatments were tried and rejected. */
.soon {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-muted); font-size: 13px; letter-spacing: -0.01em;
  padding: 6px 11px; cursor: default; user-select: none;
}
/* "soon" sits to the right of Cloud, centred on its line, and dimmed: a feature that is not here yet */
.soon .soon-word {
  opacity: 0.78; filter: saturate(0.85);
  font-size: 10px; letter-spacing: 0.01em; line-height: 1; padding: 3px 6px; border-radius: 6px;
  border: 1px solid transparent;
  /* three layers: gradient text, a faint wash of the gradient inside the box, and the same gradient as a real 1px border */
  background:
    linear-gradient(120deg, var(--grad-la), var(--grad-lb)),
    linear-gradient(120deg, color-mix(in srgb, var(--grad-la) 16%, var(--page)), color-mix(in srgb, var(--grad-lb) 16%, var(--page))),
    linear-gradient(120deg, var(--grad-la), var(--grad-lb));
  -webkit-background-clip: text, padding-box, border-box;
  background-clip: text, padding-box, border-box;
  background-origin: border-box;
}
.soon-word {
  font-size: 11px; font-weight: 500;
  /* the same text gradient as the waitlist arrow and the headline */
  background: linear-gradient(120deg, var(--grad-la), var(--grad-lb));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* the waitlist arrow carries the same gradient as Get started and the headline */
.grad-arrow {
  display: inline-block;
  margin-left: 2px;
  background: linear-gradient(120deg, var(--grad-la), var(--grad-lb));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 600;
}
.nav-links .cta {
  color: var(--grad-ink);
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  font-weight: 580;
  margin-left: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.nav-links .cta:hover {
  color: var(--grad-ink);
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  filter: brightness(1.1);
}

/* ---------- typography ---------- */

section.block { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--border); }
.sec-head { max-width: 620px; }
.label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 20px;
}
h1 .era { color: var(--grad-la); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  h1 .era {
    background: linear-gradient(100deg, var(--grad-la), var(--grad-lb));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
h3 { font-size: 15px; font-weight: 620; letter-spacing: -0.02em; }
.lede { color: var(--ink-2); max-width: 620px; font-size: 15.5px; }
.lede + .lede { margin-top: 12px; }
.sec-more { margin-top: 20px; font-size: 13.5px; color: var(--ink-muted); }
.sec-more a + a { margin-left: 18px; }

/* ---------- hero ---------- */

.hero { padding-top: 62px; padding-bottom: 76px; }
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-copy p { color: var(--ink-2); font-size: 17px; max-width: 560px; margin-bottom: 28px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font: inherit; font-size: 14px; font-weight: 560; letter-spacing: -0.01em;
  border: 1px solid transparent; border-radius: 8px; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: var(--grad-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { color: var(--ink-1); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.btn-waitlist[hidden] { display: none; }
/* the form drops open under the buttons: its row grows from nothing while it fades
   and settles down a few pixels, and the arrow turns to point at it */
.waitlist {
  display: grid; grid-template-rows: 0fr;
  margin-top: 0; opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.32s;
}
.waitlist.open, .waitlist:target {
  grid-template-rows: 1fr; margin-top: 12px; opacity: 1; transform: none; visibility: visible;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease 0.06s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.waitlist-inner { min-height: 0; overflow: hidden; padding: 4px; margin: -4px; }
.btn-waitlist .grad-arrow { transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-waitlist[aria-expanded="true"] .grad-arrow { transform: rotate(90deg); }
.waitlist-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.waitlist input[type="email"] {
  flex: 1 1 240px; min-width: 0; max-width: 320px; height: 38px;
  padding: 0 14px;
  font: inherit; font-size: 14px; color: var(--ink-1);
  background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 8px;
}
.waitlist input[type="email"]::placeholder { color: var(--ink-muted); }
.waitlist input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.waitlist button { cursor: pointer; background: none; }
.waitlist button:disabled { cursor: default; opacity: 0.6; }
.waitlist-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hero-copy .waitlist-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-muted); }
.hero-copy .waitlist-note.bad { color: var(--ink-2); }
.waitlist.done .waitlist-row { display: none; }
.hero-copy .waitlist.done .waitlist-note { margin-top: 0; font-size: 14px; color: var(--ink-1); }

.contact {
  width: min(460px, calc(100vw - 32px)); margin: auto; padding: 0;
  color: var(--ink-1); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact:target { display: block; position: fixed; inset: 0; z-index: 50; }
.contact::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); }
.contact[open] { animation: contact-in 0.26s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes contact-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.contact-form { display: flex; flex-direction: column; padding: 22px 22px 20px; }
.contact-head { display: flex; justify-content: space-between; align-items: center; }
.contact-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.contact-close { font-size: 22px; line-height: 1; color: var(--ink-muted); padding: 2px 6px; border-radius: 6px; }
.contact-close:hover { color: var(--ink-1); text-decoration: none; }
.contact-sub { margin: 6px 0 16px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.contact label { font-size: 12px; color: var(--ink-muted); margin: 0 0 6px; }
.contact input[type="email"], .contact textarea {
  width: 100%; margin-bottom: 14px; padding: 9px 12px;
  font: inherit; font-size: 14px; color: var(--ink-1);
  background: var(--page); border: 1px solid var(--border-strong); border-radius: 8px;
}
.contact textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.contact input::placeholder { color: var(--ink-muted); }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-note { font-size: 12.5px; color: var(--ink-2); }
.contact button { cursor: pointer; border: 0; }
.contact button:disabled { cursor: default; opacity: 0.6; }
.contact.sent .contact-form > :not(.contact-head):not(.contact-foot) { display: none; }
.contact.sent button { display: none; }
.contact.sent .contact-note { margin-top: 10px; font-size: 14px; color: var(--ink-1); }
@media (prefers-reduced-motion: reduce) { .contact[open] { animation: none; } }

.hero-demo {
  background: var(--well);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hd-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted);
}
.hd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hd-body {
  position: relative;
  padding: 13px 14px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  min-height: 236px;
}
.hd-scene { position: absolute; inset: 13px 14px 14px; display: flex; flex-direction: column; gap: 5px; }
.hd-l { opacity: 0; animation: hd-in 27s infinite; white-space: pre-wrap; }
@keyframes hd-in {
  0%        { opacity: 0; transform: translateY(4px); }
  1.5%      { opacity: 1; transform: none; }
  25%       { opacity: 1; transform: none; }
  27%, 100% { opacity: 0; transform: translateY(-3px); }
}
.hd-q { color: var(--good); }
.hd-scene .hd-l:first-child { color: var(--ink-1); }
.hd-call {
  color: var(--ink-muted);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 9px;
  margin: 3px 0;
  line-height: 1.55;
}
.hd-call i { font-style: normal; color: var(--ink-2); }
.hd-t { color: var(--accent); }
.hd-dim { color: var(--ink-muted); opacity: 0.85; }
.hd-rows { display: grid; grid-template-columns: 1fr auto 52px; gap: 14px; padding: 0 9px; }
.hd-rows span:nth-child(3) { text-align: right; color: var(--good); }
.hd-rows span.dn { color: #e0705f; }
.hd-rows span.flat { color: var(--ink-muted); }
.hd-rows span:first-child { color: var(--ink-muted); }
.hd-rows span:nth-child(2) { color: var(--ink-2); text-align: right; }
.hd-ans { color: var(--ink-2); margin-top: 4px; }
.hd-caret {
  display: inline-block; width: 6px; height: 12px; margin-left: 5px;
  vertical-align: -2px; background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* the real thing, and the file that made it */
.serve { margin-top: 60px; position: relative; }
.serve-shot {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--well);
}
.serve-shot img { display: block; width: 100%; height: auto; }
.serve-yaml {
  position: absolute;
  right: 30px;
  bottom: 40px;
  width: 336px;
  max-width: 42%;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(122, 179, 239, 0.22);
  border-left: 2px solid #3987e5;
  border-radius: 10px;
  padding: 15px 17px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.66;
  color: #b9b8b0;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.serve-yaml code { color: inherit; font-size: inherit; }
.serve-yaml .fn, .serve-yaml .p { color: #83817a; }
.serve-yaml .k { color: #7ab3ef; }
.serve-yaml .n { color: #c9a97e; }
.serve-yaml .s { color: #9ec49a; }
.serve figcaption { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-muted); }

/* ---------- dashboard captures ---------- */

.shot { margin-top: 44px; }
.shot-frame {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--well);
  box-shadow: var(--shadow);
}
.shot-frame img, .shot-frame video { display: block; width: 100%; height: auto; }
.shot figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ---------- two-column body ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.split-copy { display: flex; flex-direction: column; }
.split-copy .pr { margin-top: auto; padding-top: 0; }
.split-copy .lede:last-of-type { margin-bottom: 28px; }
.split > * { min-width: 0; }

/* ---------- diffs ---------- */

.pr-stack { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.pr { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--well); }
.pr-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11.5px;
}
.pr-branch { color: var(--ink-1); }
.pr-files { color: var(--ink-muted); font-size: 11px; }
.pr-diff { padding: 10px 0 11px; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; overflow-x: auto; }
.pr-diff code { color: inherit; display: block; font-size: inherit; }
.pr-diff .ctx, .pr-diff .add { display: block; padding: 0 14px; color: var(--ink-muted); }
.pr-diff .add { color: var(--add-ink); background: var(--add-bg); }

/* ---------- mcp: the original hub and spoke ---------- */
/* align-items: center is load-bearing. The wires converge at 50% of the tallest
   column, and the hub is centred against that same axis, so they meet. */

.mx-flow { display: flex; align-items: center; justify-content: center; margin-top: 44px; }
.mx-col { display: flex; flex-direction: column; gap: 14px; }

.mx-repo {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 258px;
  overflow: hidden;
}
.mx-rhead {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 13px 9px;
  font-size: 14px; font-weight: 620; color: var(--ink-1); letter-spacing: -0.015em;
}
.mx-rhead svg { flex: none; stroke: var(--hue); }
.mx-rsub { font-size: 10.5px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; margin-left: auto; }
.mx-tree {
  margin: 0 12px 12px; padding: 9px 12px;
  background: var(--well); border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--mono); font-size: 11px; line-height: 1.75;
  color: var(--ink-2); white-space: pre;
}
.mx-tree b { font-weight: 500; color: var(--hue); }
.mx-rfoot {
  border-top: 1px solid var(--border);
  background: var(--well);
  padding: 8px 13px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mx-rfoot span { color: var(--good); }

.mx-conn { width: 96px; align-self: stretch; flex: none; }
.mx-conn-out { align-self: center; height: 300px; }
.mx-conn svg { width: 100%; height: 100%; display: block; }
.mx-wire {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  animation: mx-flow 1.6s linear infinite;
  vector-effect: non-scaling-stroke;
}
.mx-wire-out { stroke: color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes mx-flow { to { stroke-dashoffset: -10; } }

.mx-hub {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 12px;
  padding: 14px 17px;
  width: 236px;
}
.mx-hub-t { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-1); }
.mx-hub-s { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); margin-top: 4px; }
.mx-chips { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; align-items: flex-start; }
.mx-chip {
  font-family: var(--mono); font-size: 10.5px;
  padding: 3px 9px; border-radius: 999px;
  color: var(--hue);
  border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent);
  background: color-mix(in srgb, var(--hue) 10%, transparent);
}

.mx-clients { display: flex; flex-direction: column; gap: 7px; width: 200px; }
.mx-clients-t {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1px;
}
.mx-client {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13px; font-weight: 560; letter-spacing: -0.01em; color: var(--ink-1);
}
.mx-client span { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--ink-muted); margin-top: 2px; }
.mx-client-any { border-style: dashed; color: var(--ink-2); font-weight: 500; }
.mx-clients-f { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); margin-top: 3px; }

.mx-final {
  margin: 30px auto 0;
  padding: 11px 18px;
  width: fit-content; max-width: 100%;
  background: var(--well);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-1);
  white-space: nowrap; overflow-x: auto;
}
.mx-final b { color: var(--good); font-weight: 500; }
#mcp .sec-more, #interop .sec-more { text-align: center; }

/* interop: the command is typed in the middle, and the wire it uses lights up */
.io { margin-top: 56px; }
.io-flow { position: relative; display: grid; grid-template-columns: 210px minmax(0, 380px) 210px; justify-content: center; align-items: center; column-gap: 96px; }
.io-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.io-wires path { fill: none; stroke: var(--border-strong); stroke-width: 1.4; stroke-dasharray: 5 5; transition: stroke 0.4s; }
.io-wires path.on { stroke: var(--accent); animation: io-flow 1s linear infinite; }
@keyframes io-flow { to { stroke-dashoffset: -20; } }
.io-col { position: relative; display: flex; flex-direction: column; gap: 10px; }
.io-t { position: absolute; left: 0; bottom: calc(100% + 8px); font: 500 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.io-node {
  position: relative; padding: 9px 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface);
  font-size: 13px; font-weight: 520; color: var(--ink-2);
  transition: border-color 0.4s, color 0.4s, background-color 0.4s;
}
.io-node.on { color: var(--ink-1); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.io-hub { position: relative; background: var(--well); border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.io-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.io-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.io-bar span { margin-left: 8px; font: 10.5px var(--mono); color: var(--ink-muted); }
.io-body { padding: 14px 16px 16px; font: 12.5px/1.8 var(--mono); color: var(--ink-1); min-height: 86px; }
.io-body .p { color: var(--good); }
.io-note { color: var(--ink-muted); opacity: 0; transition: opacity 0.4s; }
.io-note.on { opacity: 1; }
.io-caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink-1); animation: io-blink 1s steps(1) infinite; }
@keyframes io-blink { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .io-flow { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .io-wires { display: none; }
  .io-t { position: static; margin-bottom: 2px; }
}
@media (prefers-reduced-motion: reduce) { .io-wires path.on, .io-caret { animation: none; } }

/* ---------- defined as code: each definition file edits itself, and lint checks the result ---------- */

.wl { margin-top: 40px; }
.wl-cap { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-height: 24px; margin-bottom: 12px; }
.wl-cap b { font: 500 11px var(--mono); color: var(--accent); }
.wl-cap strong { font-size: 15px; font-weight: 620; color: var(--ink-1); letter-spacing: -0.02em; }
.wl-cap span { font-size: 13px; color: var(--ink-muted); }
.wl-stage { position: relative; }
.wl-file { background: var(--well); border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.wl-path { font: 10.5px var(--mono); color: var(--ink-muted); padding: 9px 16px; border-bottom: 1px solid var(--border); }
.wl-yaml { font: 12px/1.8 var(--mono); color: var(--ink-2); padding: 12px 16px 16px; min-height: 360px; }
.wl-yaml div { white-space: pre; border-radius: 3px; padding: 0 4px; margin: 0 -4px; }
.wl-yaml .k { color: var(--syn-key); }
.wl-yaml .new { background: color-mix(in srgb, var(--good) 13%, transparent); }
.wl-yaml .gone { color: #e0707a; text-decoration: line-through; opacity: 0.7; }
.wl-yaml .gone .k { color: inherit; }
.wl-yaml .hide { display: none; }
.wl-term {
  margin: 14px 0 0; padding: 12px 14px; white-space: pre-wrap;
  background: var(--page); border: 1px solid var(--border-strong); border-radius: 8px;
  font: 11.5px/1.7 var(--mono); color: var(--ink-1);
}
.wl-term .bad { color: #e0707a; }
.wl-term .p { color: var(--good); }
.wl-term .o { color: #a8a59d; }
.wl-term .up { color: var(--good); }
@media (max-width: 880px) {
  .wl-yaml { min-height: 0; font-size: 11px; overflow-x: auto; }
}

/* ---------- code blocks ---------- */

pre.code {
  padding: 18px 20px;
  background: var(--well);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  font: 12px/1.75 var(--mono);
  color: var(--ink-2);
}
pre.code code { color: inherit; font-size: inherit; }
pre.code .k { color: var(--syn-key); }
pre.code .s { color: var(--syn-str); }
pre.code .n { color: var(--syn-num); }
pre.code .c { color: var(--ink-muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- the five steps: the bento grid ---------- */


/* ---------- sources ---------- */

/* the source config, one engine at a time, on radios so it needs no script */
.src-switch { position: relative; margin-top: 36px; }
.sw-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sw-tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.sw-tab {
  font-family: var(--mono); font-size: 12px; color: var(--ink-muted);
  padding: 10px 14px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.sw-tab:hover { color: var(--ink-2); }
#src-snowflake:checked ~ .sw-tabs .sw-t-snowflake,
#src-bigquery:checked ~ .sw-tabs .sw-t-bigquery,
#src-databricks:checked ~ .sw-tabs .sw-t-databricks,
#src-postgres:checked ~ .sw-tabs .sw-t-postgres,
#src-duckdb:checked ~ .sw-tabs .sw-t-duckdb,
#src-anything:checked ~ .sw-tabs .sw-t-anything { color: var(--ink-1); border-bottom-color: var(--accent); }
#src-snowflake:focus-visible ~ .sw-tabs .sw-t-snowflake,
#src-bigquery:focus-visible ~ .sw-tabs .sw-t-bigquery,
#src-databricks:focus-visible ~ .sw-tabs .sw-t-databricks,
#src-postgres:focus-visible ~ .sw-tabs .sw-t-postgres,
#src-duckdb:focus-visible ~ .sw-tabs .sw-t-duckdb,
#src-anything:focus-visible ~ .sw-tabs .sw-t-anything { outline: 2px solid var(--accent); outline-offset: -2px; }
.sw-pane { display: none; border-radius: 0 0 var(--radius) var(--radius); border-top: 0; min-height: 218px; }
#src-snowflake:checked ~ .sw-panes .sw-p-snowflake,
#src-bigquery:checked ~ .sw-panes .sw-p-bigquery,
#src-databricks:checked ~ .sw-panes .sw-p-databricks,
#src-postgres:checked ~ .sw-panes .sw-p-postgres,
#src-duckdb:checked ~ .sw-panes .sw-p-duckdb,
#src-anything:checked ~ .sw-panes .sw-p-anything { display: block; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.facts > * { min-width: 0; }
.facts h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.facts p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ---------- comparisons ---------- */


/* ---------- next to dbt Charts ---------- */

/* the same revenue line chart written both ways: SQL inside the board, or a
   tile naming a metric, with the link between the two files drawn in */

/* ---------- get started ---------- */

.gs-switch { position: relative; }
.gs-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.gs-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; margin-top: 44px; }
.gs-steps { display: flex; flex-direction: column; gap: 4px; }
.gs-step {
  display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start;
  padding: 12px; margin: 0 -12px; border-radius: 8px;
  cursor: pointer;
  --chip-ink: var(--ink-muted);
  --chip-border: var(--border-strong);
  --chip-bg: transparent;
  --label-ink: var(--ink-muted);
  --cmd-ink: var(--ink-muted);
}
.gs-step > * { min-width: 0; }
.gs-step:hover { background: var(--surface); }
.gs-chip {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-ink);
  font: 600 11px var(--mono);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.gs-chip .gs-ok { display: none; }
.gs-label { font-size: 14px; font-weight: 620; letter-spacing: -0.01em; color: var(--label-ink); }
.gs-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.gs-cmd { font-family: var(--mono); font-size: 12px; color: var(--cmd-ink); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#gs2:checked ~ .gs-grid .gs-s1,
#gs3:checked ~ .gs-grid .gs-s1,
#gs3:checked ~ .gs-grid .gs-s2 {
  --chip-ink: var(--good); --chip-border: color-mix(in srgb, var(--good) 45%, transparent); --label-ink: var(--ink-2);
}
#gs2:checked ~ .gs-grid .gs-s1 .gs-num,
#gs3:checked ~ .gs-grid .gs-s1 .gs-num,
#gs3:checked ~ .gs-grid .gs-s2 .gs-num { display: none; }
#gs2:checked ~ .gs-grid .gs-s1 .gs-ok,
#gs3:checked ~ .gs-grid .gs-s1 .gs-ok,
#gs3:checked ~ .gs-grid .gs-s2 .gs-ok { display: block; }

#gs1:checked ~ .gs-grid .gs-s1,
#gs2:checked ~ .gs-grid .gs-s2,
#gs3:checked ~ .gs-grid .gs-s3 {
  --chip-ink: var(--on-accent); --chip-bg: var(--accent); --chip-border: var(--accent);
  --label-ink: var(--ink-1); --cmd-ink: var(--ink-2);
}
#gs1:focus-visible ~ .gs-grid .gs-s1,
#gs2:focus-visible ~ .gs-grid .gs-s2,
#gs3:focus-visible ~ .gs-grid .gs-s3 { outline: 2px solid var(--accent); outline-offset: 2px; }

.gs-term { background: var(--well); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.gs-bar { background: var(--surface); padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--border); }
.gs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.gs-title { font-size: 11px; color: var(--ink-muted); margin: 0 auto; font-family: var(--mono); }
.gs-body { padding: 18px 20px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow-x: auto; min-height: 232px; }

.gs-b { display: none; --cp: var(--ink-muted); --cc: var(--ink-muted); --co: var(--ink-muted); }
.gs-b + .gs-b { margin-top: 0.6rem; }
.gs-b .gs-p { color: var(--cp); }
.gs-b .gs-c { color: var(--cc); }
.gs-b .gs-o { color: var(--co); }
.gs-b .gs-caret { display: none; }

#gs1:checked ~ .gs-grid .gs-b1,
#gs2:checked ~ .gs-grid .gs-b1,
#gs2:checked ~ .gs-grid .gs-b2,
#gs3:checked ~ .gs-grid .gs-b1,
#gs3:checked ~ .gs-grid .gs-b2,
#gs3:checked ~ .gs-grid .gs-b3 { display: block; }

#gs1:checked ~ .gs-grid .gs-b1,
#gs2:checked ~ .gs-grid .gs-b2,
#gs3:checked ~ .gs-grid .gs-b3 { --cp: var(--good); --cc: var(--ink-1); --co: var(--accent); }
#gs1:checked ~ .gs-grid .gs-b1 .gs-caret,
#gs2:checked ~ .gs-grid .gs-b2 .gs-caret,
#gs3:checked ~ .gs-grid .gs-b3 .gs-caret { display: inline-block; }

.gs-caret { width: 7px; height: 14px; margin-left: 6px; vertical-align: -2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
.gs-alt { margin-top: 26px; display: flex; flex-direction: column; gap: 7px; }
.gs-alt p { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--border); padding: 48px 0 44px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 36ch) repeat(4, auto); justify-content: space-between; gap: 40px; padding-bottom: 36px; }
.foot-grid h4 .soon-word { margin-left: 5px; line-height: 0; font-family: var(--font); font-size: 11px; letter-spacing: 0; text-transform: none; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-1); font-weight: 560; font-size: 15px; letter-spacing: -0.02em; }
.foot-brand:hover { text-decoration: none; }

.foot-grid p { margin-top: 10px; font-size: 13px; color: var(--ink-muted); max-width: 36ch; line-height: 1.6; }
.foot-grid p strong { display: block; color: var(--ink-2); font-weight: 560; margin-bottom: 2px; }
.foot-grid h4 {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 12px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-grid ul a { font-size: 13px; color: var(--ink-2); }
.foot-grid ul a:hover { color: var(--ink-1); }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--ink-muted);
}

/* ---------- docs ---------- */

/* three columns, like most developer docs: the sidebar, the page, and an
   "On this page" list that follows along. No panel behind the text. */
.docs {
  display: grid; grid-template-columns: 192px minmax(0, 1fr) 176px; gap: 40px;
  padding-top: 44px; padding-bottom: 96px; min-height: 60vh;
}
.side, .toc { align-self: start; position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; }
.side { padding-bottom: 24px; margin-left: -10px; }
.side h4 {
  margin: 24px 0 6px; padding-left: 10px;
  font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.side h4:first-child { margin-top: 0; }
.side a { display: block; padding: 6px 10px; border-radius: 7px; font-size: 13.5px; color: var(--ink-2); }
.side a:hover { color: var(--ink-1); background: color-mix(in srgb, var(--ink-1) 5%, transparent); text-decoration: none; }
.side a.on { color: var(--ink-1); font-weight: 560; background: color-mix(in srgb, var(--ink-1) 9%, transparent); }

.toc { font-size: 13px; padding-left: 14px; border-left: 1px solid var(--border); }
.toc-title { margin-bottom: 10px; font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.toc a { display: block; padding: 4px 0; color: var(--ink-muted); line-height: 1.4; }
.toc a:hover { color: var(--ink-1); text-decoration: none; }
.toc a.toc-3 { padding-left: 12px; font-size: 12.5px; }
.toc a.on { color: var(--ink-1); }

.doc { max-width: 740px; min-width: 0; }
.doc .eyebrow { margin-bottom: 8px; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.doc .title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.doc h1 { font-size: 36px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.12; margin: 0; }
.page-actions { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; }
.page-actions a, .page-actions button {
  font: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--border-strong); background: transparent;
}
.doc .page-actions a { color: var(--ink-2); }
.page-actions a:hover, .page-actions button:hover { color: var(--ink-1); border-color: var(--ink-muted); text-decoration: none; }

.doc h2, .doc h3 { position: relative; scroll-margin-top: 84px; }
.doc h2 {
  font-size: 24px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.25;
  margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--border);
}
.doc .title-row + p + h2, .doc .title-row + h2 { margin-top: 36px; }
.doc h3 { font-size: 17px; font-weight: 620; letter-spacing: -0.015em; margin: 32px 0 10px; }
.doc h4 { font-size: 14.5px; font-weight: 620; margin: 24px 0 8px; color: var(--ink-1); }
.doc .h-link { color: inherit; }
.doc .h-link:hover { text-decoration: none; color: inherit; }
.doc .h-link::after { content: "#"; margin-left: 10px; font-weight: 400; color: var(--ink-muted); opacity: 0; transition: opacity 0.15s; }
.doc .h-link:hover::after, .doc .h-link:focus-visible::after { opacity: 1; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink-1) 78%, var(--ink-2)); font-size: 15.5px; line-height: 1.72; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 12px 0 0 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink-1); font-weight: 600; }
.doc a { color: var(--accent); }
.doc :not(pre) > code { overflow-wrap: anywhere; font-size: 0.86em; color: var(--ink-1); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }

/* code blocks: a header with the file or shell name and a copy button */
.doc .code-block { margin: 18px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--well); overflow: hidden; }
.doc .code-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 14px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--ink-1) 3%, var(--well));
}
.doc .code-title { font: 12px var(--mono); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc .copy {
  font: 500 11.5px var(--font); color: var(--ink-2); cursor: pointer;
  padding: 3px 9px; border-radius: 6px; border: 1px solid transparent; background: transparent;
}
.doc .copy:hover { color: var(--ink-1); border-color: var(--border-strong); }
.doc .code-block pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 13px/1.7 var(--mono); color: var(--ink-2); }
.doc .code-block code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.doc .code-block .k { color: var(--syn-key); }
.doc .code-block .s { color: var(--syn-str); }
.doc .code-block .n { color: var(--syn-num); }
.doc .code-block .c { color: var(--ink-muted); }

/* tabs: a group of code blocks shown one at a time, labelled by their titles */
.doc .tabs { margin: 18px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--well); overflow: hidden; }
.doc .tab-bar { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--border); overflow-x: auto; background: color-mix(in srgb, var(--ink-1) 3%, var(--well)); }
.doc .tab-bar button {
  position: relative; flex: none; font: inherit; font-size: 13px; color: var(--ink-muted); cursor: pointer;
  padding: 9px 10px; border: 0; background: transparent;
}
.doc .tab-bar button:hover { color: var(--ink-1); }
.doc .tab-bar button.on { color: var(--ink-1); }
.doc .tab-bar button.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.doc .tabs .code-block { margin: 0; border: 0; border-radius: 0; }
.doc .tabs .code-block:not(.on) { display: none; }
.doc .tabs .code-head { background: transparent; }

/* callouts from > [!NOTE], > [!TIP], > [!WARNING] */
.doc .callout { margin: 18px 0; padding: 12px 16px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.doc .callout-title { margin-bottom: 4px; font: 600 12px var(--font); letter-spacing: 0.02em; color: var(--accent); }
.doc .callout p { font-size: 14.5px; margin: 0; }
.doc .callout p + p { margin-top: 8px; }
.doc .callout-warning { border-left-color: #e0a44a; background: color-mix(in srgb, #e0a44a 7%, transparent); }
.doc .callout-warning .callout-title { color: #e0a44a; }
.doc .callout-tip { border-left-color: var(--good); background: color-mix(in srgb, var(--good) 6%, transparent); }
.doc .callout-tip .callout-title { color: var(--good); }

/* numbered steps: wrap h3 steps in <div class="steps"> */
.doc .steps { counter-reset: step; margin: 22px 0 8px; padding-left: 44px; border-left: 1px solid var(--border); margin-left: 14px; }
.doc .steps > h3 { counter-increment: step; margin-top: 30px; }
.doc .steps > h3:first-child { margin-top: 0; }
.doc .steps > h3::before {
  content: counter(step); position: absolute; left: -59px; top: -2px;
  width: 28px; height: 28px; display: grid; place-items: center;
  font: 600 12.5px var(--mono); color: var(--ink-1);
  background: var(--page); border: 1px solid var(--border-strong); border-radius: 50%;
}

.doc .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.doc .card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; color: inherit; transition: border-color 0.15s, background-color 0.15s; }
.doc .card:hover { text-decoration: none; border-color: var(--border-strong); background: color-mix(in srgb, var(--ink-1) 3%, transparent); }
.doc .card strong { font-size: 14.5px; }
.doc .card span { font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 560px) { .doc .cards { grid-template-columns: minmax(0, 1fr); } }
.doc table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.doc th { color: var(--ink-muted); font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border-bottom-color: var(--border-strong); }
.doc td:first-child :not(pre) > code, .doc th code { overflow-wrap: normal; }
.doc td:first-child > code { white-space: nowrap; }
@media (min-width: 561px) { .doc td:first-child wbr { display: none; } }
.doc td:not(:first-child) { overflow-wrap: anywhere; }
.doc blockquote { border-left: 2px solid var(--border-strong); padding: 2px 0 2px 14px; margin: 16px 0; }
.doc blockquote p { color: var(--ink-muted); }

.doc .shot-video { margin: 20px 0 8px; }
.doc .shot-video video { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--well); }
.doc .theme-stack { display: grid; gap: 22px; margin: 20px 0; }
.doc .theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.doc figure { margin: 0; }
.doc figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 8px; }
.doc figcaption { margin-top: 6px; font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.doc .chart-shot { margin: 18px 0 14px; }
/* chart images are tile screenshots that already carry the tile's own border and corners */
.doc .chart-shot img { border: 0; border-radius: 0; }
.doc .chart-small { max-width: 320px; }

/* MCP setup: client tabs over one generated block, with two small settings in its header */
.doc .mcp-helper { margin: 18px 0; }
.doc .mh-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 10px; font-size: 13px; color: var(--ink-muted); }
.doc .mh-settings label { display: inline-flex; align-items: center; gap: 8px; }
.doc .mh-toggle { display: inline-flex; padding: 2px; border-radius: 8px; border: 1px solid var(--border-strong); }
.doc .mh-toggle button { font: inherit; font-size: 12.5px; color: var(--ink-muted); padding: 3px 10px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.doc .mh-toggle button.on { color: var(--ink-1); background: color-mix(in srgb, var(--ink-1) 10%, transparent); }
.doc .mh-settings input {
  width: 150px; height: 28px; padding: 0 10px; font: 12.5px var(--mono); color: var(--ink-1);
  background: transparent; border: 1px solid var(--border-strong); border-radius: 7px;
}
.doc .mh-settings input.mh-path { width: 250px; }
.doc .mh-settings input:focus { outline: none; border-color: var(--accent); }
.doc .mh-settings input:disabled { opacity: 0.4; }
.doc .mh-where { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--ink-muted); border-top: 1px solid var(--border); }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
.pager-next { margin-left: auto; }

@media (max-width: 1100px) {
  .docs { grid-template-columns: 200px minmax(0, 1fr); gap: 44px; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .side { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 2px; margin-left: 0; }
  .side h4 { width: 100%; margin: 12px 0 2px; }
  .side h4:first-child { margin-top: 0; }
  .doc h1 { font-size: 30px; }
  .doc .steps { padding-left: 32px; margin-left: 12px; }
  .doc .steps > h3::before { left: -46px; width: 24px; height: 24px; }
  .doc .theme-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
}
@media (max-width: 620px) {
}
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-demo { max-width: 460px; }
  .serve-yaml { position: static; width: auto; max-width: none; margin-top: 12px; backdrop-filter: none; }
}
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: repeat(4, auto); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .compare > div { grid-template-columns: 1fr; gap: 8px; }
  .mx-flow { flex-direction: column; gap: 18px; }
  .mx-conn { display: none; }
  .mx-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .gs-grid { grid-template-columns: 1fr; gap: 28px; }
  .gs-body { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.cta), .nav-links .soon { display: none; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  section.block { padding-top: 60px; padding-bottom: 60px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waitlist, .waitlist.open, .btn-waitlist .grad-arrow { transition: none; }
  .hd-l { animation: none; opacity: 1; }
  .hd-caret, .gs-caret, .mx-wire { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .atmos i:first-child, .atmos i:last-child { animation: none; }
  .stars { animation: none; transform: none !important; }
  body, body *, body *::before, body *::after { transition-duration: 0.01ms; }
}
