/*
 * commission.sh, the marketing site. Plain CSS, no build step. The look is the
 * app's (COM-185, Ink and Vermilion): the ribbon wall behind clear glass, a
 * sheet that everything else floats on. Colours are copied from
 * packages/design-tokens/src/tokens.ts, and each has one job: ink for actions,
 * vermilion only for what needs you, blue for live indicators. Light and dark
 * follow the system. Figtree and JetBrains Mono are self-hosted (the CSP allows
 * same-origin fonts only, and no inline styles).
 */
@font-face {
  font-family: Figtree;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/figtree-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --bg: #fdfdfc;
  --el: #ffffff;
  --fg: #16181b;
  --sec: #3f4347;
  --mut: #5a5f63;
  --line: #ecece8;
  --line-strong: #cfcfca;
  --soft: #eff0ee;
  --a: #16181b;
  --oa: #ffffff;
  --a-hover: #000000;
  --tint: #f5f5f3;
  --focus: #1f6fc4;
  --check: #0f6e47;
  --ready: #12794f;
  --code-bg: #f3f4f5;
  --code-fg: #24282c;
  --code-line: #e2e4e6;
  --needs: #ff5a36;
  --live: #2b86e6;
  --wall-base: #16263f;
  --wall-img: url("/img/wall-light.svg");
  --veil-top: rgba(10, 18, 32, 0.5);
  --veil-mid: rgba(10, 18, 32, 0.38);
  --veil-end: rgba(10, 18, 32, 0.12);
  --veil-flat: rgba(10, 18, 32, 0.28);
  --shot: 0 24px 70px rgba(20, 24, 40, 0.22), 0 0 0 1px rgba(20, 24, 40, 0.08);
  --card: 0 1px 2px rgba(20, 19, 18, 0.05), 0 8px 24px rgba(20, 19, 18, 0.05);
  /* Ink panels are dark in both themes. */
  --ink: #14171b;
  --ink-fg: #eef0ee;
  --ink-mut: #92989c;
  --foot: #101215;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16191d;
    --el: #1e2227;
    --fg: #f1f3f2;
    --sec: #ccd1d1;
    --mut: #a4abae;
    --line: #2a2f35;
    --line-strong: #464d55;
    --soft: #2a2f35;
    --a: #f1f3f2;
    --oa: #16181b;
    --a-hover: #ffffff;
    --tint: #24282e;
    --focus: #6fb1ff;
    --check: #4bd190;
    --ready: #4bd190;
    --code-bg: #101316;
    --code-fg: #dfe3e6;
    --code-line: #30363c;
    --live: #6fb1ff;
    --wall-base: #0a1220;
    --wall-img: url("/img/wall-dark.svg");
    --veil-top: rgba(6, 10, 20, 0.66);
    --veil-mid: rgba(6, 10, 20, 0.5);
    --veil-end: rgba(6, 10, 20, 0.3);
    --veil-flat: rgba(10, 18, 32, 0.28);
    --shot: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.09);
    --card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Figtree,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--foot);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  color: inherit;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
code,
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}
img {
  display: block;
}
picture {
  display: contents;
}
h1,
h2,
h3,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.close :focus-visible,
.vault :focus-visible,
.site-footer :focus-visible {
  outline-color: #ffffff;
}
.menu-panel :focus-visible {
  outline-color: var(--focus);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--el);
  color: var(--fg);
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}

/* ---- The wall: the app's ribbon, huge ---- */
.clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.wall {
  position: absolute;
  left: 50%;
  top: -430px;
  width: 2300px;
  height: 2300px;
  margin-left: -1320px;
  background: var(--wall-img) center / 100% 100% no-repeat;
}
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--veil-top),
    var(--veil-mid) 42%,
    var(--veil-mid) 58%,
    var(--veil-end) 76%
  );
}

/* ---- Header: a glass bar ---- */
.site-header {
  padding: 16px 28px 0;
}
.site-header.over {
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.site-header.band {
  position: relative;
  padding-bottom: 66px;
  background: var(--wall-base);
}
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 1124px;
  margin: 0 auto;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 30px rgba(6, 10, 20, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 24px;
  height: 24px;
}
.nav-extra {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}
.nav-extra:hover {
  background: rgba(255, 255, 255, 0.14);
}
.nav-extra[aria-current="page"] {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
}

/* A <details>, so the mobile menu works without the script. */
.menu {
  display: none;
}
.menu summary {
  -webkit-tap-highlight-color: transparent;
  list-style: none;
  width: 44px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  color: #ffffff;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 8px;
  border-radius: 22px;
  color: var(--fg);
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 48px rgba(6, 10, 20, 0.3);
  display: flex;
  flex-direction: column;
}
.menu-panel a {
  padding: 13px 14px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
  background: var(--soft);
}
.menu-panel a:last-child {
  margin-top: 6px;
  text-align: center;
  background: var(--a);
  color: var(--oa);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-white {
  background: #ffffff;
  color: #16181b;
  box-shadow: 0 8px 22px rgba(6, 10, 20, 0.3);
}
.btn-white:hover {
  background: #eef0f3;
}
.btn-glass {
  background: rgba(10, 18, 32, 0.45);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover {
  background: rgba(10, 18, 32, 0.62);
}
.btn-primary {
  background: var(--a);
  color: var(--oa);
}
.btn-primary:hover {
  background: var(--a-hover);
}
.btn-ghost {
  background: var(--soft);
  color: var(--fg);
  font-weight: 600;
}
.btn-ghost:hover {
  background: var(--line-strong);
}
.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Install command: an ink panel ---- */
.cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 16px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  max-width: 100%;
  background: var(--ink);
  color: var(--ink-fg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cmd .prompt {
  color: var(--ink-mut);
}
.cmd .text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1em;
}
.cmd .copy {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-mut);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cmd .copy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink-fg);
}
.cmd .copy:focus-visible {
  outline-color: #ffffff;
  outline-offset: -2px;
}
.cmd .copy[data-done] {
  color: #4bd190;
}

/* ---- Home: the hero ---- */
.hero {
  position: relative;
  color: #ffffff;
  padding: 86px 0 0;
  background: var(--wall-base);
}
.herotext {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 28px 44px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  font-size: 13.5px;
  font-weight: 600;
}
.hero h1 {
  margin: 18px 0 0;
  font-size: 76px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.038em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 10, 20, 0.28);
}
.lede {
  margin: 20px auto 0;
  max-width: 760px;
  font-size: 19px;
  line-height: 1.5;
  color: #ffffff;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(6, 10, 20, 0.3);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 8px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 13.5px;
  color: #ffffff;
}
.chips li + li::before {
  content: "·";
  margin-right: 8px;
}
.phone-only {
  display: none;
}
@media (pointer: coarse) and (max-width: 720px) {
  .phone-only {
    display: flex;
  }
  .desktop-only {
    display: none !important;
  }
}
.phone-cta {
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 22px;
  text-align: left;
  background: rgba(10, 18, 32, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.phone-cta p {
  font-size: 16px;
  line-height: 1.5;
}
.phone-cta .btn {
  flex: 1 1 100%;
}

.stage {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto -150px;
  padding: 0 28px;
}
.window {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 50px rgba(6, 10, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}
.window img {
  width: 100%;
  height: auto;
}
.phone {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 214px;
  border-radius: 38px;
  overflow: hidden;
  background: #000000;
  padding: 6px;
  box-shadow:
    0 30px 80px rgba(6, 10, 20, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}
.phone.inline {
  display: none;
}

/* ---- The sheet: everything else floats on it, as in the app ---- */
.sheet {
  position: relative;
  z-index: 1;
  margin-top: -36px;
  background: var(--bg);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -10px 40px rgba(6, 10, 20, 0.2);
}
.sheet.home {
  padding-top: 214px;
}
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  font-size: 14px;
  color: var(--mut);
}
.strip-group strong {
  font-weight: 700;
  color: var(--fg);
  margin-right: 4px;
}
.strip-group span + span::before {
  content: "· ";
}
.sec {
  padding-top: 92px;
  scroll-margin-top: 16px;
}
.center {
  text-align: center;
}
.kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--mut);
}
.sec h2,
.vault h2 {
  margin: 8px 0 0;
  font-size: 50px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.sub {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 18px;
  color: var(--sec);
  text-wrap: pretty;
}
.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Home: features ---- */
.feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  margin-top: 64px;
}
.feat.flip .art {
  order: -1;
}
.feat h3 {
  font-size: 30px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.feat p {
  margin: 12px 0 0;
  color: var(--sec);
  font-size: 16.5px;
  text-wrap: pretty;
}
.ticks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15px;
  color: var(--sec);
}
.ticks li {
  position: relative;
  padding-left: 24px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--check);
  border-bottom: 2.5px solid var(--check);
  transform: rotate(-45deg);
}
.more-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.more-link:hover {
  text-decoration: underline;
}
.shot {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shot);
}
.caption {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
}
.art-figure {
  margin: 18px 0 0;
}
.art-figure figcaption {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
}

/* Scenes built from the app's own parts */
.scene {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--wall-base);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: var(--card);
}
.scene.short {
  min-height: 300px;
}
.scene .wall {
  left: -520px;
  top: -170px;
  margin: 0;
  width: 1500px;
  height: 1500px;
}
.scene .veil {
  background: var(--veil-flat);
}
.scene .caption {
  position: relative;
  align-self: stretch;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 10px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(6, 10, 20, 0.6);
}
.notif {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 14px;
  border-radius: 26px;
  color: #ffffff;
  background: rgba(16, 14, 12, 0.72);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 22px 50px rgba(6, 10, 20, 0.4);
}
.notif .top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e4e1da;
}
.notif .now {
  margin-left: auto;
}
.mk {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #14171b;
  display: grid;
  place-items: center;
  flex: none;
}
.mk img {
  width: 17px;
  height: 17px;
}
.notif .what {
  display: block;
  margin-top: 9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.ink {
  background: #14171b;
  color: #eef0ee;
  border-radius: 12px;
  padding: 10px 13px;
  font: 500 13.5px/21px var(--mono);
  overflow-wrap: anywhere;
}
.ink .d {
  color: #a4abae;
}
.ink .f {
  color: #7cc4ff;
}
.ink .k {
  color: #ffc857;
}
.ink .s {
  color: #8fe3b0;
}
.notif .ink {
  margin-top: 9px;
  background: rgba(0, 0, 0, 0.5);
}
.acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.acts span {
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 14.5px;
}
.acts span.go {
  background: #ffffff;
  color: #16181b;
  font-weight: 700;
}
.stack {
  position: relative;
  width: 100%;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.fleet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.m {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px 11px 10px;
  border-radius: 18px;
  background: var(--el);
  color: var(--fg);
  box-shadow: 0 10px 30px rgba(6, 10, 20, 0.28);
}
.m.need {
  box-shadow:
    0 0 0 1.5px var(--needs),
    0 10px 30px rgba(6, 10, 20, 0.28);
}
.m svg {
  flex: none;
}
.m .n {
  flex: 1;
  min-width: 0;
}
.m .n > span {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 18px;
}
.m small {
  display: block;
  font-size: 12.5px;
  line-height: 16px;
  color: var(--mut);
}
.ring-track {
  stroke: var(--live);
  stroke-opacity: 0.2;
}
.ring-fill {
  stroke: var(--live);
}
.m.need .ring-track {
  stroke: var(--needs);
}
.m.need .ring-fill {
  stroke: var(--needs);
}
.spaces {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  width: 100%;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #16181b;
  font-size: 13.5px;
  font-weight: 600;
}
/* Space colours; a shade under the app's so the white letter stays AA. */
.t {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
}
.t-blue {
  background: #1f70ca;
}
.t-violet {
  background: #7350ea;
}
.t-teal {
  background: #087c72;
}
.t-rose {
  background: #cc3066;
}

/* ---- Home: details ---- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.grid3.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid3.six .dt {
  grid-column: span 2;
}
.grid3.six .dt:nth-last-child(-n + 2) {
  grid-column: span 3;
}
.dt {
  padding: 18px 18px 19px;
  border-radius: 18px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  font-size: 14px;
  line-height: 1.5;
  color: var(--mut);
  text-wrap: pretty;
}
.dt strong,
.dt h3 {
  display: block;
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.55;
  color: var(--fg);
}
.dt p {
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Comparison tables ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
}
.sec .table-wrap {
  margin-top: 36px;
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  color: var(--sec);
}
.compare-table thead th {
  border-top: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--fg);
  width: 210px;
}
.compare-table thead th:first-child,
.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--el);
}
.compare-table .ours,
.compare-table thead .ours {
  background: var(--tint);
  color: var(--fg);
  font-weight: 600;
}
.compare-table .yes::before,
.compare-table .no::before,
.compare-table .part::before {
  display: inline-block;
  width: 1.3em;
  font-weight: 700;
}
.compare-table .yes::before {
  content: "✓";
  color: var(--check);
}
.compare-table .no::before {
  content: "–";
  color: var(--mut);
}
.compare-table .part::before {
  content: "◐";
  color: var(--mut);
}
.compare-table code {
  font-size: 0.86em;
}
.compare-table.where-table {
  min-width: 0;
}
.compare-note a {
  color: var(--fg);
}
.compare-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--mut);
  max-width: 880px;
}

/* ---- Home: setup ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.step {
  padding: 20px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
}
.num {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--a);
  color: var(--oa);
  font-weight: 800;
  font-size: 16px;
}
.step h3 {
  margin-top: 13px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.step p {
  margin: 7px 0 0;
  font-size: 14.5px;
  color: var(--sec);
  text-wrap: pretty;
}
.install-label {
  display: block;
  margin: 20px 0 8px;
  font-size: 14px;
  color: var(--mut);
}
.steps-more {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}
.steps-more a {
  text-decoration: none;
}
.steps-more a:hover {
  text-decoration: underline;
}

/* ---- Home: security, on ink ---- */
.vault {
  position: relative;
  overflow: hidden;
  margin-top: 92px;
  padding: 60px 56px;
  border-radius: 32px;
  background: var(--ink);
  color: #f1f3f2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  scroll-margin-top: 16px;
}
.vault .kicker {
  color: #a4abae;
}
.vault .sub {
  color: #c6cbcc;
}
.vault .grid3 {
  margin-top: 32px;
}
.vault .dt {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #c6cbcc;
}
.vault .dt h3 {
  color: #f1f3f2;
}
.fine {
  margin: 18px 0 0;
  font-size: 14px;
  color: #a8aeb2;
  max-width: 780px;
}

/* ---- Home: FAQ ---- */
.faq-list {
  margin: 36px auto 0;
  max-width: 840px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  overflow: hidden;
  text-align: left;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary:focus-visible {
  outline-offset: -3px;
  border-radius: 14px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2.25px solid var(--mut);
  border-bottom: 2.25px solid var(--mut);
  transform: translateY(-2px) rotate(45deg);
}
.faq-list details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.faq-list p {
  padding: 0 20px 16px;
  color: var(--sec);
  font-size: 15px;
  text-wrap: pretty;
}

/* ---- Home: the close ---- */
.close {
  position: relative;
  overflow: hidden;
  margin-top: 92px;
  background: var(--wall-base);
  color: #ffffff;
}
.close .wall {
  left: 0;
  top: -1500px;
  margin: 0 0 0 -760px;
  width: 3300px;
  height: 3300px;
}
.close .veil {
  /* Dark enough behind the words for AA, lifting so the ribbon shows at the edges. */
  background: radial-gradient(
    ellipse 780px 320px at 50% 50%,
    rgba(10, 18, 32, 0.58) 66%,
    rgba(10, 18, 32, 0.1) 100%
  );
}
.closein {
  position: relative;
  text-align: center;
  padding: 96px 28px 104px;
}
.closein h2 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 10, 20, 0.28);
}
.closein p {
  margin: 12px 0 0;
  font-size: 18px;
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--foot);
  color: #c6cbcc;
  font-size: 14px;
  padding: 44px 0 40px;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 32px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}
.site-footer .who {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.site-footer strong {
  color: #ffffff;
  font-weight: 700;
}
.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 32px;
}
.foot-cols div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot-cols strong {
  margin-bottom: 9px;
}
.foot-cols a {
  padding: 3px 0;
  text-decoration: none;
}
.foot-cols a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ---- Docs: guides, setup, compare, changelog ---- */
.doc {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding-top: 48px;
  padding-bottom: 96px;
}
.doc main {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.doc h1,
.got h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.doc .intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doc .intro p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--sec);
}
.doc section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 24px;
}
.doc h2 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.024em;
}
.doc h3 {
  font-size: 19px;
  font-weight: 700;
}
.doc p,
.doc ol.plain,
.doc ul.plain {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--sec);
}
.doc ol.plain,
.doc ul.plain {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc strong {
  color: var(--fg);
}
.doc p.note,
.checked,
.doc .checked,
.byline,
.doc .byline,
.doc .intro .byline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mut);
}
.doc code,
.other code {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--code-bg);
  color: var(--code-fg);
  box-shadow: inset 0 0 0 1px var(--code-line);
  overflow-wrap: anywhere;
}
.doc .cmd code {
  padding: 0;
  background: none;
  color: inherit;
  box-shadow: none;
}
.guide-answer {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--soft);
}
.doc .guide-answer p {
  font-size: 16.5px;
  color: var(--fg);
}
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.needs-grid .need,
.faq {
  padding: 18px;
  border-radius: 18px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.needs-grid .need strong,
.faq strong {
  font-size: 15.5px;
  font-weight: 700;
}
.needs-grid .need span,
.faq span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mut);
}
.substeps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: sub;
}
.substeps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--sec);
  counter-increment: sub;
}
.substeps li::before {
  content: counter(sub, lower-alpha);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--a);
  color: var(--oa);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.related a {
  padding: 15px 17px;
  border-radius: 18px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.related a:hover {
  background: var(--soft);
}
.guide-next {
  padding: 26px;
  border-radius: 24px;
  background: var(--soft);
}
.doc figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc figcaption {
  font-size: 14px;
  color: var(--mut);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--fg);
  text-decoration: underline;
}
.crumbs span[aria-current] {
  color: var(--fg);
}

/* Every doc on the left, this page's sections under it */
.docnav {
  flex: 0 0 256px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 2px;
}
.docnav .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mut);
  padding: 18px 12px 6px;
}
.docnav .label:first-child {
  padding-top: 0;
}
.docnav a {
  padding: 7px 12px;
  border-radius: 11px;
  color: var(--mut);
  text-decoration: none;
}
.docnav a:hover {
  background: var(--soft);
  color: var(--fg);
}
.docnav a[aria-current="page"] {
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  color: var(--fg);
  font-weight: 700;
}
.docnav :focus-visible {
  outline-offset: -2px;
}
.toc-sub {
  display: flex;
  flex-direction: column;
  margin: 6px 0 8px 14px;
  border-left: 2px solid var(--line);
}
.toc-sub a {
  margin-left: -2px;
  border-left: 2px solid transparent;
  border-radius: 0 11px 11px 0;
  font-size: 14px;
  padding: 5px 12px;
}
.toc-sub a.on {
  border-left-color: var(--a);
  color: var(--fg);
}

/* ---- Pages without the sidebar: Mac, guides list, 404 ---- */
.got {
  padding-top: 56px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.got > .kicker,
.got .mac-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  font-size: 18px;
  font-weight: 400;
  color: var(--sec);
}
.got .kicker p:not(.note) {
  font-size: 18px;
}
.got h1 {
  color: var(--fg);
}
.got .eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--mut);
}
.got .badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sec);
}
.got .badge svg {
  flex: none;
  color: var(--check);
}
.mac-hero .note,
.mac-terminal .note {
  font-size: 14.5px;
  color: var(--mut);
}
.got-h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.phone-cta-light {
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
}
.phone-cta-light p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mut);
}
.phone-cta-light strong {
  color: var(--fg);
}
.mac-terminal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.install-steps li {
  padding: 20px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.install-steps .pic {
  height: 140px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #c6cbcc;
}
.install-steps .pic.checklist {
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.install-steps .pic.checklist strong {
  color: var(--ink-fg);
  font-size: 15px;
}
.install-steps .pic.checklist .checks {
  display: flex;
  gap: 14px;
}
.install-steps .pic.checklist .checks > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ready {
  background: #4bd190;
}
.install-steps .stepno {
  font-size: 14px;
  font-weight: 700;
  color: var(--mut);
}
.install-steps h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.install-steps p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--sec);
}
.others {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.other {
  padding: 20px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.other h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.other p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--sec);
}
.other .cmd {
  align-self: stretch;
  font-size: 13px;
}
.other .cmd code {
  padding: 0;
  background: none;
  color: inherit;
  box-shadow: none;
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 12px;
}
.guide-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}
.guide-card:hover {
  background: var(--soft);
}
.guide-card h2 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.guide-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mut);
}

/* ---- Narrower windows ---- */
@media (max-width: 1240px) {
  .phone {
    right: 6px;
  }
}
@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(44px, 7vw, 76px);
  }
  .sec h2,
  .vault h2 {
    font-size: clamp(34px, 5vw, 50px);
  }
  .closein h2 {
    font-size: clamp(36px, 5.2vw, 56px);
  }
  .feat {
    gap: 36px;
  }
  .install-steps,
  .others {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 980px) {
  .doc {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
    padding-top: 28px;
  }
  .doc main {
    flex: none;
    max-width: none;
  }
  .docnav {
    position: sticky;
    top: 0;
    z-index: 5;
    flex: none;
    max-height: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 8px var(--gutter);
    background: var(--bg);
    overflow: visible;
  }
  .docnav > .label,
  .docnav > a {
    display: none;
  }
  .toc-sub {
    flex-direction: row;
    gap: 6px;
    margin: 0;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .toc-sub a,
  .toc-sub a.on {
    flex-shrink: 0;
    margin: 0;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--soft);
    color: var(--fg);
    white-space: nowrap;
  }
  .toc-sub a.on {
    background: var(--a);
    color: var(--oa);
  }
  .doc section {
    scroll-margin-top: 72px;
  }
}
@media (max-width: 860px) {
  .nav-extra {
    display: none;
  }
  .menu {
    display: block;
  }
  .nav-cta {
    margin-right: 2px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }
  .site-header {
    padding: 16px 10px 0;
  }
  .nav {
    padding: 6px 6px 6px 14px;
  }
  .site-header.band {
    padding-bottom: 56px;
  }
  .hero {
    padding-top: 72px;
  }
  /* The text runs longer here: keep the ribbon's pale face below it, behind the phone. */
  .hero > .clip > .wall {
    top: -200px;
  }
  .herotext {
    padding: 34px 16px 28px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .lede {
    font-size: 17px;
  }
  .chips {
    flex-direction: column;
  }
  .chips li + li::before {
    content: none;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .stage {
    padding: 0 12px;
    margin-bottom: -110px;
  }
  .window {
    display: none;
  }
  .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(290px, 78vw);
    margin: 0 auto;
  }
  .sheet {
    margin-top: -26px;
    border-radius: 26px 26px 0 0;
  }
  .sheet.home {
    padding-top: 150px;
  }
  .strip {
    justify-content: flex-start;
  }
  .sec {
    padding-top: 64px;
  }
  .sec h2,
  .vault h2 {
    font-size: 34px;
  }
  .sub {
    font-size: 16.5px;
  }
  .feat h3 {
    font-size: 25px;
  }
  .feat {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 44px;
  }
  .feat.flip .art {
    order: 0;
  }
  .scene,
  .scene.short {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
  }
  .grid3,
  .grid3.six,
  .steps,
  .fleet,
  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid3.six .dt,
  .grid3.six .dt:nth-last-child(-n + 2) {
    grid-column: auto;
  }
  .shot.wide {
    display: none;
  }
  .phone.inline {
    display: block;
    width: min(290px, 78vw);
    margin: 0 auto;
    box-shadow: var(--shot);
  }
  .vault {
    margin-top: 64px;
    padding: 36px 20px;
    border-radius: 24px;
  }
  .close {
    margin-top: 64px;
  }
  .closein {
    padding: 64px 16px 72px;
  }
  .closein h2 {
    font-size: 36px;
  }
  .cmd {
    font-size: 12.5px;
  }
  .compare-table {
    min-width: 640px;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px;
  }
  .compare-table tbody th {
    width: 112px;
    min-width: 112px;
    box-shadow: 1px 0 0 var(--line);
  }
  .doc {
    padding-bottom: 64px;
  }
  .got {
    padding-top: 36px;
    padding-bottom: 64px;
  }
  .guide-next {
    padding: 20px;
  }
}
@media (max-width: 560px) {
  .compare-table.where-table th,
  .compare-table.where-table td {
    padding: 12px 10px;
  }
  .compare-table.where-table tbody th {
    width: auto;
    min-width: 0;
    box-shadow: none;
    position: static;
  }
}
@media (max-width: 380px) {
  .nav-cta {
    display: none;
  }
  .hero h1 {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- Teams page (/teams/): the plan and its waitlist form ---- */
.teams .team-sec {
  scroll-margin-top: 16px;
}
.teams .steps,
.teams .grid3 {
  margin-top: 24px;
}
.teams .vault {
  margin-top: 0;
}
.teams .faq-list {
  margin: 24px 0 0;
}
.got .badge .state-dot.live {
  background: var(--live);
}
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}
.waitlist-intro p {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--sec);
  text-wrap: pretty;
}
.waitlist-intro .note {
  font-size: 14px;
  color: var(--mut);
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--mut);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--fg);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}
.field textarea {
  resize: vertical;
  min-height: 88px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.check input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--sec);
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--a);
}
.waitlist-form .btn {
  align-self: flex-start;
  cursor: pointer;
  font-family: inherit;
}
.waitlist-form .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14.5px;
  color: var(--sec);
}
.form-status.ok {
  color: var(--ready);
  font-weight: 600;
}
.form-status.bad {
  color: var(--needs);
  font-weight: 600;
}
.waitlist-form.done .field,
.waitlist-form.done .field-row,
.waitlist-form.done .check,
.waitlist-form.done .btn {
  display: none;
}
/* The honeypot: hidden from people, filled in by form bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .waitlist {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .waitlist-form {
    padding: 18px;
  }
}
/* ---- Coordinate (COM-245): home band and /coordinate/ ---- */
.coord {
  padding-top: 92px;
  scroll-margin-top: 16px;
}
.coord .head {
  text-align: center;
}
.coord .head .sub {
  margin-left: auto;
  margin-right: auto;
}
.coord h2 {
  margin: 8px 0 0;
  font-size: 50px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.tally {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
}
.tally li {
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
  font-size: 14px;
  color: var(--mut);
  font-weight: 600;
}
.tally b {
  display: block;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.tally-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--mut);
  text-align: center;
  text-wrap: pretty;
}
.vault .tally li {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #a8aeb2;
}
.vault .tally b {
  color: #f1f3f2;
}
.vault .tally-note {
  color: #a8aeb2;
  text-align: left;
}
.duo {
  position: relative;
  margin: 40px auto 0;
  max-width: 1080px;
  padding-right: 120px;
}
.duo .phone {
  right: 0;
  bottom: -40px;
  width: 200px;
}
.feat .duo {
  margin-top: 0;
  padding-right: 70px;
}
.feat .duo .phone {
  width: 150px;
  bottom: -30px;
  border-radius: 30px;
  padding: 5px;
}
.feat .duo .phone img {
  border-radius: 25px;
}
.steps.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
}
.coord-more {
  margin-top: 22px;
  text-align: center;
}
.coord-page .feat:first-of-type {
  margin-top: 40px;
}
.coord-page .vault p {
  max-width: 760px;
  color: #c6cbcc;
  font-size: 17px;
  text-wrap: pretty;
}
.coord-page .team-sec {
  margin-top: 88px;
}
@media (max-width: 1100px) {
  .coord h2 {
    font-size: clamp(34px, 5vw, 50px);
  }
  .tally b {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  .coord {
    padding-top: 64px;
  }
  .coord h2 {
    font-size: 34px;
  }
  .tally {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tally li:last-child {
    grid-column: 1 / -1;
  }
  .duo,
  .feat .duo {
    padding-right: 0;
  }
  .duo .phone,
  .feat .duo .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(290px, 78vw);
    margin: 0 auto;
    border-radius: 38px;
    padding: 6px;
  }
  .feat .duo .phone img {
    border-radius: 32px;
  }
  .duo .shot.wide {
    display: none;
  }
  .steps.four {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px;
  }
}
/* ---- Coordinate: how it works underneath ---- */
.under .sub {
  max-width: 760px;
}
.under-fig {
  margin: 36px 0 0;
}
.under-fig img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.under-fig figcaption {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--mut);
  text-align: center;
  text-wrap: pretty;
}
.under .feat p + p {
  margin-top: 10px;
}
.under .feat p code {
  overflow-wrap: anywhere;
}
.kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.kinds > div {
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: var(--el);
  box-shadow:
    0 0 0 1px var(--line),
    var(--card);
}
.kinds .label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--mut);
}
.kinds dl {
  margin: 10px 0 0;
}
.kinds dt {
  margin-top: 12px;
  font-weight: 700;
  font-size: 15.5px;
}
.kinds dt:first-child {
  margin-top: 0;
}
.kinds dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  color: var(--sec);
  text-wrap: pretty;
}
.under-note {
  margin: 64px 0 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--tint);
  border-left: 4px solid var(--needs);
}
.under-note h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.under-note p {
  margin: 10px 0 0;
  max-width: 820px;
  color: var(--sec);
  font-size: 16.5px;
  text-wrap: pretty;
}
.term {
  margin: 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--ink-fg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  overflow-x: auto;
  max-width: 100%;
}
.term code {
  font-size: 1em;
}
.term .c {
  color: var(--ink-mut);
}
.coord-under {
  margin: 28px auto 0;
  max-width: 680px;
  text-align: center;
  color: var(--sec);
  font-size: 16px;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .kinds {
    grid-template-columns: minmax(0, 1fr);
  }
  .under-note {
    margin-top: 48px;
    padding: 20px 18px;
  }
  .term {
    font-size: 12px;
    padding: 16px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 700px) {
  .under-fig img {
    max-width: 360px;
  }
}
/* ---- Home: a day in Commission (the tour) ---- */
.tour {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 0;
  border-radius: 24px;
  background: var(--tint);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  scroll-margin-top: 16px;
}
.tile h3 {
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.tile p {
  margin: 8px 0 0;
  color: var(--sec);
  font-size: 16px;
  text-wrap: pretty;
}
.tile .more-link {
  margin-top: 10px;
}
.tile-art {
  margin-top: auto;
  padding-top: 24px;
}
.tile:not(.wide) .shot {
  border-radius: 12px 12px 0 0;
}
.tile.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
  padding: 40px;
}
.tile.wide h3 {
  font-size: 32px;
}
.tile.wide p {
  font-size: 17px;
}
.tile.wide .tile-art {
  margin: 0;
  padding: 0;
}
.tile.wide.flip .tile-art {
  order: -1;
}
.tile-scene .scene {
  min-height: 0;
  padding: 28px;
}
.tour-phones {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.tour-phone {
  width: 200px;
  border-radius: 34px;
  padding: 6px;
  background: #000000;
  box-shadow: var(--shot);
}
.tour-phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--ink-fg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-align: left;
  font-size: 18px;
}
.mid-cta strong {
  color: #ffffff;
}
.mid-cta .buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vault .fine a {
  color: #f1f3f2;
  font-weight: 700;
  text-decoration: none;
}
.vault .fine a:hover {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .tour {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 32px;
  }
  .tile {
    padding: 22px 20px 0;
    border-radius: 20px;
  }
  .tile h3,
  .tile.wide h3 {
    font-size: 23px;
  }
  .tile.wide {
    display: flex;
    gap: 22px;
    padding: 22px 20px;
  }
  .tile.wide.flip .tile-art {
    order: 0;
  }
  .tile-scene .scene {
    padding: 16px;
  }
  .tour-phones {
    gap: 12px;
  }
  .tour-phone {
    width: calc(50% - 6px);
    max-width: 200px;
    border-radius: 28px;
    padding: 5px;
  }
  .tour-phone img {
    border-radius: 23px;
  }
  .mid-cta {
    padding: 22px 20px;
    font-size: 17px;
  }
  .mid-cta .buttons-row,
  .mid-cta .btn {
    flex: 1 1 100%;
  }
}

/* ---- Features pages (/features/…) ---- */
.feat.text-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}
.feature-page .kicker .crumbs {
  font-size: 14px;
}
.feature-page > .duo,
.feature-page > picture .shot {
  margin-top: 0;
}
.phone.solo {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(250px, 70vw);
  margin: 0 auto;
  box-shadow: var(--shot);
}
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
}
.phone-row .phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(250px, 30vw);
  box-shadow: var(--shot);
}
.phone-row .phone:nth-child(2) {
  margin-bottom: 36px;
}
.foot-cols {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1fr);
}
@media (max-width: 760px) {
  .phone-row {
    gap: 12px;
  }
  .phone-row .phone {
    width: min(200px, 42vw);
    border-radius: 28px;
    padding: 4px;
  }
  .phone-row .phone img {
    border-radius: 24px;
  }
  .phone-row .phone:nth-child(2) {
    margin-bottom: 0;
  }
  .phone-row .phone:nth-child(3) {
    display: none;
  }
}
@media (max-width: 560px) {
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
