@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}
/* The app's own palette (its Graphite and Paper themes), so the site looks like what you get. */
:root {
  --bg: #090909;
  --panel: #0f0f0f;
  --raised: #151515;
  --edge: #1d1d1d;
  --edge-strong: #2a2a2a;
  --fg: #f2f2f2;
  --body: #dedede;
  --muted: #8f8f94;
  --accent: #80a7e8;
  --accent-soft: rgb(128 167 232 / 0.12);
  --ok: #8dceaa;
  --ok-soft: rgb(141 206 170 / 0.12);
  --bad: #dd9396;
  --bad-soft: rgb(221 147 150 / 0.12);
  --wait: #e8b45d;
  --wait-soft: rgb(232 180 93 / 0.12);
  --violet: #c9b3f0;
  --violet-soft: rgb(201 179 240 / 0.14);
  --merge: #1f7a42;
  --button-bg: #f2f2f2;
  --button-fg: #111111;
  --shadow: rgb(0 0 0 / 0.7);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* The app's own surfaces, pills, diff and syntax colors, for the drawings of it. */
  --app-sidebar: #0f0f0f;
  --app-input: #151515;
  --app-hover: #1a1a1a;
  --app-selected: #222222;
  --app-file-head: #171717;
  --app-edge-file: #333333;
  --app-code: #080808;
  --app-branch: #ec7a68;
  --diff-add: #122018;
  --diff-del: #211519;
  --syn-keyword: #ff7b72;
  --syn-string: #a5d6ff;
  --syn-constant: #79c0ff;
  --syn-title: #d2a8ff;
  --pill-green-bg: #17251d;
  --pill-green-fg: #9fdfb9;
  --pill-purple-bg: #231c2d;
  --pill-purple-fg: #c9b3f0;
  --pill-neutral-bg: #2b2b2b;
  --pill-neutral-fg: #d4d4d4;
  --pill-red-bg: #2b1c1e;
  --pill-red-fg: #e3a3a3;
  --pill-amber-bg: #2a2214;
  --claude: #d97757;
  color-scheme: dark;
}
/* Light: only when picked with the theme button (set before paint by the script in <head>). */
:root[data-theme="light"] {
  --bg: #ffffff;
  --panel: #f7f7f8;
  --raised: #efeff1;
  --edge: #e4e4e7;
  --edge-strong: #d4d4d8;
  --fg: #18181b;
  --body: #27272a;
  --muted: #5c5c66;
  --accent: #2f5fb3;
  --accent-soft: rgb(47 95 179 / 0.1);
  --ok: #1a7f4b;
  --ok-soft: rgb(26 127 75 / 0.1);
  --bad: #c03b42;
  --bad-soft: rgb(192 59 66 / 0.1);
  --wait: #a76a00;
  --wait-soft: rgb(167 106 0 / 0.1);
  --violet: #6b46c1;
  --violet-soft: rgb(107 70 193 / 0.1);
  --button-bg: #18181b;
  --button-fg: #ffffff;
  --shadow: rgb(0 0 0 / 0.18);
  --app-sidebar: #f7f7f8;
  --app-input: #ffffff;
  --app-hover: #f0f0f2;
  --app-selected: #e8e8eb;
  --app-file-head: #f6f6f7;
  --app-edge-file: #d4d4d8;
  --app-code: #ffffff;
  --app-branch: #c4553f;
  --diff-add: #e6f6ec;
  --diff-del: #fcebec;
  --syn-keyword: #cf222e;
  --syn-string: #0a3069;
  --syn-constant: #0550ae;
  --syn-title: #8250df;
  --pill-green-bg: #e3f4ea;
  --pill-green-fg: #1a6b3f;
  --pill-purple-bg: #efe7fb;
  --pill-purple-fg: #6b46c1;
  --pill-neutral-bg: #e8e8eb;
  --pill-neutral-fg: #3f3f46;
  --pill-red-bg: #fbe8e9;
  --pill-red-fg: #a8323a;
  --pill-amber-bg: #fbf1dc;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font:
    16px/1.6 "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-variant-ligatures: none;
}
code,
kbd {
  font-size: 0.85em;
}
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 1px 6px;
  border: 1px solid var(--edge-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--fg);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Top bar */
body > nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
body > nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.2px;
}
.brand {
  font-size: 17px;
}
/* The icon's wax seal alone: the full icon's dark tile disappears on the dark bar. */
/* Bigger than the bar on purpose: it hangs over the bottom edge like a seal on a letter. The negative
   margin keeps the bar's height. */
.brand img {
  align-self: flex-start;
  width: 72px;
  height: 72px;
  margin: 6px 0 -18px;
  filter: drop-shadow(0 6px 14px rgb(181 42 31 / 0.4));
}
@media (max-width: 760px) {
  .brand img {
    width: 62px;
    height: 62px;
    margin: 6px 0 -16px;
  }
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--button-bg);
  color: var(--button-fg);
}
.skip:focus {
  top: 12px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--fg);
}
.theme-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
/* Pinned to the window's right edge, outside the centered container. */
body > nav .theme-toggle {
  position: absolute;
  top: 13px;
  right: 12px;
}
/* Where the container reaches the edge, it leaves room for the button. */
@media (max-width: 1220px) {
  body > nav .wrap {
    padding-right: 38px;
  }
}
.theme-toggle:hover {
  background: var(--raised);
  color: var(--fg);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
/* The icon shows the theme a click switches to. */
:root[data-theme="light"] .theme-toggle .sun,
:root:not([data-theme="light"]) .theme-toggle .moon {
  display: none;
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  body > nav .button {
    margin-left: auto;
  }
}
/* Too narrow for both: the Download button wins, and the footer keeps the switch. */
@media (max-width: 480px) {
  body > nav .theme-toggle {
    display: none;
  }
  body > nav .wrap {
    padding-right: 0;
  }
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.link-button:hover {
  color: var(--fg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--button-bg);
  color: var(--button-fg);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 120ms,
    opacity 120ms;
}
.button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.button.small {
  padding: 7px 14px;
  font-size: 14px;
}
.button.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--edge-strong);
}
.button svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  /* A faint instrument-panel grid behind the title. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--edge) 1px, transparent 1px), linear-gradient(90deg, var(--edge) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 65%);
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 420px;
  left: 50%;
  width: 900px;
  height: 500px;
  translate: -50% 0;
  background: radial-gradient(ellipse, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.app-icon {
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 36px rgb(181 42 31 / 0.3));
}
.app-icon.small {
  margin-bottom: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--edge-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  color: var(--muted);
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}
h1 {
  margin: 0 auto 16px;
  color: var(--fg);
  font-size: clamp(40px, 5.6vw, 64px);
  text-wrap: balance;
  line-height: 1.03;
  letter-spacing: -2.4px;
  font-weight: 800;
}
/* Its own line: two lines on a laptop instead of three. */
h1 em {
  display: block;
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--ok));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 auto 26px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}
.lead b {
  color: var(--fg);
  font-weight: 600;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.trust li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}

/* The demo: a working drawing of the app. */
.demo-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 30px 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.demo-hint b {
  color: var(--fg);
  font-weight: 600;
}
.demo-hint::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 var(--accent);
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}
.console {
  position: relative;
  text-align: left;
  border: 1px solid var(--edge-strong);
  border-radius: 12px;
  background: var(--bg);
  box-shadow:
    0 40px 100px -40px var(--shadow),
    0 0 0 1px rgb(255 255 255 / 0.02) inset;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
}
.console button {
  cursor: pointer;
  font: inherit;
}
.console svg,
.illus svg {
  flex: none;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deck {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  height: 520px;
}
/* Sidebar, as in the app: window buttons in its top row, the account, search, tabs, lists. */
.rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--edge);
  padding: 10px 10px 0;
  background: var(--app-sidebar);
}
.rail-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
}
.lights {
  display: flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ec6a5e;
}
.lights i:nth-child(2) {
  background: #f4be4f;
}
.lights i:nth-child(3) {
  background: #61c454;
}
.beta {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--app-input);
  color: var(--body);
  font-size: 9px;
}
.fresh {
  margin-left: auto;
}
.me {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
.me b {
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
}
.rail .search {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: var(--app-input);
  color: var(--muted);
}
.console kbd {
  padding: 0 5px;
  border: 1px solid var(--edge-strong);
  border-radius: 4px;
  font: 9.5px/1.6 inherit;
  color: var(--muted);
}
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 4px;
}
.segment button {
  padding: 6px;
  border: 0;
  border-radius: 7px;
  background: var(--app-input);
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}
.segment button.on {
  background: var(--app-selected);
  color: var(--fg);
}
.segment .n {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.count {
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 99px;
  background: #3b82f6;
  color: white;
  font-size: 10px;
}
.rail-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 6px;
  color: var(--fg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.group .n {
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 600;
}
.row {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  text-align: left;
  color: var(--body);
}
.row:hover {
  background: var(--app-hover);
}
.row.on {
  background: var(--app-selected);
}
.row.moved {
  animation: flash 1.2s;
}
@keyframes flash {
  0% {
    background: var(--violet-soft);
  }
}
.row .l1 {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.row .l1 b {
  color: var(--fg);
  font-size: 11px;
}
.row .repo {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row .icons {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.row .l2 {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ic-ok,
.ic-bad,
.ic-wait,
.ic-muted {
  display: inline-flex;
}
.ic-ok {
  color: var(--ok);
}
.ic-bad {
  color: var(--bad);
}
.ic-wait {
  color: var(--wait);
}
.ic-muted {
  color: var(--muted);
}
.spin {
  animation: spin 0.8s linear infinite;
}
.rail-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  color: var(--muted);
}
.rail-foot .tools {
  display: flex;
  gap: 10px;
  margin: 0 auto;
}
/* Pills: small in the sidebar, large in the PR header (the app's Pill). */
.pill-sm,
.pill-lg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  border: 0;
  border-radius: 20px;
  white-space: nowrap;
}
.pill-sm {
  padding: 1px 7px;
  font-size: 9px;
}
.pill-lg {
  padding: 4px 11px;
  font-size: 12px;
}
.tone-green {
  background: var(--pill-green-bg);
  color: var(--pill-green-fg);
}
.tone-purple {
  background: var(--pill-purple-bg);
  color: var(--pill-purple-fg);
}
.tone-neutral {
  background: var(--pill-neutral-bg);
  color: var(--pill-neutral-fg);
}
.tone-red {
  background: var(--pill-red-bg);
  color: var(--pill-red-fg);
}
.tone-amber {
  background: var(--pill-amber-bg);
  color: var(--wait);
}
/* The PR: crumbs, branches, the header line, title, tabs, then the view. */
.main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.main-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 10px 18px 0;
}
.crumbs {
  color: var(--muted);
  font-size: 11px;
}
.crumbs b {
  color: var(--body);
  font-weight: 600;
}
.branches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.br {
  padding: 1px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--app-branch) 14%, transparent);
  color: var(--app-branch);
  font-family: var(--mono);
  font-size: 10px;
}
.branches .side {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.branches .side span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.head > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.head .h-right {
  justify-content: flex-end;
}
.num {
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.h-mid .people {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}
.pr-title {
  color: var(--fg);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.pen {
  color: var(--muted);
}
.why {
  color: var(--muted);
  font-size: 11px;
}
.merge-split {
  display: inline-flex;
}
.merge {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--merge);
  color: white;
  font-weight: 600;
  transition: background 150ms;
}
.merge-split .merge {
  border-radius: 7px 0 0 7px;
}
.merge-split .caret {
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-left: 1px solid rgb(0 0 0 / 0.3);
  border-radius: 0 7px 7px 0;
  background: var(--merge);
  color: white;
}
.merge.armed {
  background: #9a6a1d;
}
.merge:disabled,
.merge:disabled + .caret {
  opacity: 0.4;
  cursor: not-allowed;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 12px 0 10px;
}
.tabs button,
.tabs .tab-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--edge-strong);
  border-radius: 7px;
  background: none;
  color: var(--body);
  font-weight: 500;
}
.tabs button.on {
  background: var(--app-selected);
  color: var(--fg);
  font-weight: 600;
}
.tabs .k {
  color: var(--muted);
  font-size: 10.5px;
}
.tabs .claude-btn {
  color: var(--fg);
  font-weight: 600;
}
.tabs .claude-btn i {
  color: var(--claude);
  font-style: normal;
}
.tabs .end {
  margin-left: auto;
}
.tabs .merge-split .merge {
  padding: 6px 12px;
  border: 0;
  border-radius: 7px 0 0 7px;
  background: var(--merge);
  color: white;
  font-weight: 600;
}
.plus {
  color: var(--ok);
}
.minus {
  color: var(--bad);
}
.view {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 14px;
}
/* Changes: a toolbar, then one block per file with a header and numbered lines. */
.ch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 10px;
  color: var(--body);
  font-size: 11px;
}
.ch-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ch-bar .k {
  color: var(--muted);
}
.ch-bar .find {
  padding: 3px 10px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: var(--muted);
}
.ch-bar .comments {
  padding: 3px 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.ch-bar .end {
  margin-left: auto;
  color: var(--muted);
}
.fblock {
  border: 1px solid var(--edge);
  border-radius: 8px;
  overflow: hidden;
}
.fblock + .fblock {
  margin-top: 8px;
}
.fhead {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  background: var(--app-file-head);
  color: var(--body);
  font-family: var(--mono);
  font-size: 10.5px;
}
.fhead .chev {
  color: var(--muted);
  width: 8px;
}
.fhead .lang {
  color: #4d9fe8;
  font-size: 8.5px;
  font-weight: 700;
}
.fhead .path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.badge {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--app-input);
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 9.5px;
}
.badge.ok {
  background: color-mix(in srgb, var(--ok) 15%, transparent);
  color: var(--ok);
}
.badge.wait {
  background: color-mix(in srgb, var(--wait) 15%, transparent);
  color: var(--wait);
}
.viewed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--body);
  font-family: Inter, sans-serif;
  font-size: 11px;
}
.viewed i {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid var(--muted);
  border-radius: 3px;
  font-size: 9px;
  font-style: normal;
}
.viewed i.on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}
.diff {
  padding: 4px 0;
  font-variant-ligatures: none;
  background: var(--app-code);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
}
.dl {
  display: grid;
  grid-template-columns: 30px 30px 1fr;
}
.dl .ln {
  padding-right: 8px;
  color: var(--muted);
  text-align: right;
  opacity: 0.7;
}
.dl .cd {
  overflow: hidden;
  color: var(--body);
  white-space: pre;
}
.dl.a {
  background: var(--diff-add);
}
.dl.d {
  background: var(--diff-del);
}
.sk {
  color: var(--syn-keyword);
}
.ss {
  color: var(--syn-string);
}
.sc {
  color: var(--syn-constant);
}
.st {
  color: var(--syn-title);
}
.d-thread {
  margin: 6px 12px 8px 60px;
  padding: 9px 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--bg);
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  max-width: 520px;
}
.d-thread .who,
.card .who {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.d-thread .who b,
.card .who b {
  color: var(--fg);
}
.d-thread p {
  margin: 5px 0 8px;
  color: var(--body);
}
.reply {
  padding: 5px 9px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 11px;
}
.term-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.term-bar .end {
  margin-left: auto;
}
/* Shared with the feature drawings below. */
.search {
  padding: 6px 10px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  color: var(--muted);
}
.branch {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 0;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.chip.ok {
  background: var(--pill-green-bg);
  color: var(--pill-green-fg);
}
.chip.wait {
  background: var(--pill-amber-bg);
  color: var(--wait);
}
.chip.bad {
  background: var(--pill-red-bg);
  color: var(--pill-red-fg);
}
.chip.accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.chip.violet {
  background: var(--pill-purple-bg);
  color: var(--pill-purple-fg);
}
.chip.plain {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--app-input);
  color: var(--muted);
  font-size: 10px;
}
.pane {
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}
.pane-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--edge);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
}
.code {
  margin: 0;
  padding: 6px 0;
  background: var(--app-code);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
}
.code span {
  display: block;
  padding: 0 10px;
  white-space: pre;
  overflow: hidden;
}
.code .a {
  background: var(--diff-add);
  color: var(--body);
}
.code .d {
  background: var(--diff-del);
  color: var(--muted);
}
.code .c {
  color: var(--muted);
}
.thread {
  margin: 6px 10px 10px;
  padding: 8px 10px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--panel);
  color: var(--body);
}
.thread b {
  color: var(--fg);
}
.thread .tools {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.card {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--panel);
}
.card + .card {
  margin-top: 10px;
}
.card p {
  margin: 6px 0 0;
}
/* The Discussion's cards: a faint rule down the left marks where each one starts. */
.card.disc {
  border-left: 3px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 0 8px 8px 0;
  background: var(--app-sidebar);
}
.overview {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: start;
}
.stack-list {
  display: grid;
  gap: 2px;
}
.stack-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 8px;
  padding: 5px 4px;
  border-radius: 6px;
  position: relative;
}
.stack-row.on {
  background: var(--app-selected);
}
.stack-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  z-index: 1;
}
.stack-row.on i,
.stack-row.merged i {
  background: var(--accent);
}
.stack-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  height: 100%;
  border-left: 2px solid var(--accent);
}
.stack-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.floating {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: start center;
  padding-top: 120px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(3px);
}
.floating[hidden] {
  display: none;
}
.float-panel {
  width: min(460px, 92%);
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: var(--app-sidebar);
  box-shadow: 0 30px 80px -30px var(--shadow);
  overflow: hidden;
}
.fp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge);
  font-size: 11px;
}
.fp-head b {
  color: var(--fg);
  font-size: 12px;
}
.fp-head .time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}
.fp-head .end {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--muted);
}
.checks {
  padding: 6px 12px 10px;
  display: grid;
  gap: 2px;
}
.check {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--body);
}
.check .time {
  font-family: var(--mono);
  font-size: 10px;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mini-btn {
  padding: 4px 10px;
  border: 1px solid var(--edge-strong);
  border-radius: 7px;
  background: none;
  color: var(--fg);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.mini-btn.primary {
  background: var(--button-bg);
  border-color: var(--button-bg);
  color: var(--button-fg);
}
.mini-btn.approve {
  background: var(--merge);
  border-color: var(--merge);
  color: white;
}
.confetti {
  position: fixed;
  z-index: 50;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  pointer-events: none;
  animation: burst 900ms ease-out forwards;
}
@keyframes burst {
  to {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}
@media (max-width: 860px) {
  .deck {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .rail-top,
  .rail .me,
  .rail .search,
  .rail-foot {
    display: none;
  }
  .rail {
    max-height: 250px;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--edge);
  }
  .main {
    height: 600px;
  }
  .head {
    grid-template-columns: 1fr auto;
  }
  .head .h-mid,
  .branches .side,
  .tabs .claude-btn,
  .ch-bar .find,
  .term-bar {
    display: none;
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .d-thread {
    margin-left: 12px;
  }
}

/* Works with */
.works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  margin: 44px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.works b {
  color: var(--fg);
  font-weight: 600;
}

/* Sections */
section {
  padding: 88px 0;
  border-top: 1px solid var(--edge);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 16px;
  max-width: 22ch;
  color: var(--fg);
  font-size: clamp(30px, 4.4vw, 46px);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 750;
}
.intro {
  margin: 0 0 44px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

/* The problem: one review, seven tabs. */
.tabs-mess {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tabs-mess li {
  padding: 9px 14px;
  border: 1px solid var(--edge);
  border-radius: 9px 9px 2px 2px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-color: var(--bad);
  text-decoration-thickness: 2px;
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--ok);
  border-radius: 12px;
  background: var(--ok-soft);
  color: var(--fg);
  font-weight: 600;
}
.cards {
  display: grid;
  /* Four across, else two by two, else stacked: never three and a straggler. */
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.tile {
  padding: 20px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--panel);
}
.tile q {
  display: block;
  margin-bottom: 10px;
  color: var(--fg);
  font-weight: 600;
  quotes: "“" "”";
}
.tile h3 {
  margin: 0 0 8px;
  color: var(--fg);
  font-size: 16px;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Browser vs Mergiato */
.versus {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  font-size: 15px;
}
.versus th,
.versus td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
}
.versus tr:last-child td {
  border-bottom: 0;
}
.versus thead th {
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.versus thead th:last-child {
  color: var(--accent);
}
.versus td:first-child {
  width: 20%;
  color: var(--fg);
  font-weight: 600;
}
.versus td:nth-child(2) {
  width: 36%;
  color: var(--muted);
}
.versus td:last-child {
  background: var(--accent-soft);
  color: var(--fg);
}
@media (max-width: 700px) {
  .versus,
  .versus tbody,
  .versus tr,
  .versus td {
    display: block;
    width: 100% !important;
  }
  .versus thead {
    display: none;
  }
  .versus tr {
    border-bottom: 1px solid var(--edge);
  }
  .versus td {
    border: 0;
    padding: 6px 16px;
  }
  .versus td:first-child {
    padding-top: 14px;
  }
  .versus td:nth-child(2)::before {
    content: "In the browser: ";
    font-weight: 600;
  }
  .versus td:last-child {
    padding-bottom: 14px;
  }
  .versus td:last-child::before {
    content: "Mergiato: ";
    color: var(--accent);
    font-weight: 600;
  }
}

/* Features with a drawing beside, alternating. */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 56px;
  padding: 44px 0;
}
.feature + .feature {
  border-top: 1px dashed var(--edge);
}
.feature:nth-child(even) {
  /* The drawing comes first on these rows, and keeps the wider column. */
  grid-template-columns: 1.25fr 1fr;
}
.feature:nth-child(even) .copy {
  order: 2;
}
.feature .eyebrow {
  margin-bottom: 8px;
}
.feature h3 {
  margin: 0 0 12px;
  color: var(--fg);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
.feature p {
  margin: 0 0 14px;
  color: var(--muted);
}
.feature ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.feature li::before {
  content: "→ ";
  color: var(--accent);
}
@media (max-width: 860px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature:nth-child(even) .copy {
    order: 0;
  }
}
/* Drawn panels: the app's own pieces, in the demo's style. A real screenshot can take a panel's place. */
.illus {
  margin: 0;
  border: 1px solid var(--edge-strong);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 30px 80px -40px var(--shadow);
  overflow: hidden;
  font-size: 12.5px;
}
.illus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--edge);
  color: var(--muted);
}
.illus-head b {
  color: var(--fg);
  font-weight: 650;
}
.end {
  margin-left: auto;
}
.illus-body {
  padding: 10px 14px 14px;
  display: grid;
  gap: 6px;
}
.line {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--bg);
}
.line .name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--body);
  font-family: var(--mono);
  font-size: 11.5px;
}
.line .meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.line.fail {
  border-color: color-mix(in srgb, var(--bad) 45%, transparent);
  background: var(--bad-soft);
}
.line.faded {
  opacity: 0.5;
}
.tick {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--edge-strong);
  display: grid;
  place-items: center;
  font-size: 10px;
  line-height: 1;
}
.tick.on {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--bg);
  font-weight: 800;
}
.bar {
  height: 6px;
  border-radius: 99px;
  background: var(--raised);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--ok));
}
.inbox-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
}
.inbox-row.on {
  background: var(--raised);
}
.inbox-row .name {
  font-size: 12.5px;
}
.inbox-row .who {
  color: var(--muted);
  font-size: 11px;
}
.avatar {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.menu {
  margin: 0 14px 14px auto;
  width: min(290px, calc(100% - 28px));
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 20px 50px -20px var(--shadow);
  overflow: hidden;
}
.menu div {
  padding: 9px 12px;
  border-bottom: 1px solid var(--edge);
}
.menu div:last-child {
  border-bottom: 0;
}
.menu small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.menu .sel {
  background: var(--raised);
  color: var(--fg);
}
@media (max-width: 560px) {
  .wide-only {
    display: none;
  }
}

/* Mid-page call to action */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding: 26px 30px;
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
  background: radial-gradient(ellipse at 0% 0%, var(--accent-soft), transparent 60%), var(--panel);
}
.band p {
  margin: 0;
  color: var(--muted);
}
.band strong {
  display: block;
  color: var(--fg);
  font-size: 20px;
  letter-spacing: -0.3px;
}

/* Small things */
.small-things {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.thing {
  padding: 16px 18px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
}
.thing b {
  display: block;
  margin-bottom: 2px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

/* Security */
.secure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .secure {
    grid-template-columns: 1fr;
  }
}
.secure .intro {
  margin-bottom: 16px;
}
.flow {
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--panel);
  font-family: var(--mono);
  font-size: 13px;
}
.flow .hop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
}
.flow .hop small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.flow .link {
  padding: 8px 0 8px 26px;
  border-left: 2px dashed var(--edge-strong);
  margin-left: 22px;
  color: var(--muted);
  font-size: 12px;
}
.flow .nope {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--edge);
  display: grid;
  gap: 6px;
  color: var(--muted);
}
.flow .nope span::before {
  content: "✕ ";
  color: var(--bad);
  font-weight: 700;
}
.quote {
  margin: 8px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  color: var(--fg);
  font-size: 17px;
  font-weight: 600;
}
.quote small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

/* Keyboard */
.keys {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--edge);
  border-radius: 11px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
}
.key span:last-child {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* Price and install */
.get {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .get {
    grid-template-columns: 1fr;
  }
}
.price {
  padding: 26px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: radial-gradient(ellipse at 100% 0%, var(--accent-soft), transparent 70%), var(--panel);
}
.price .amount {
  color: var(--fg);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.price .amount small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.price ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 14px;
}
.price li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}
.price .button {
  width: 100%;
  justify-content: center;
}
.price .fine {
  text-align: center;
}
.steps {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--panel);
  font-size: 15px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
}
.steps strong {
  color: var(--fg);
}
.steps p {
  margin: 0;
}
.cmd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 8px 0 0;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--edge-strong);
  border-radius: 8px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
}
.cmd button {
  padding: 3px 8px;
  border: 1px solid var(--edge-strong);
  border-radius: 6px;
  background: var(--raised);
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.needs {
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq {
  max-width: 820px;
}
details {
  border-bottom: 1px solid var(--edge);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  color: var(--fg);
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
details[open] summary::after {
  content: "−";
}
details p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

/* From the maker */
.maker {
  display: grid;
  max-width: 760px;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--panel);
}
.maker p:last-child {
  margin: 0;
  color: var(--body);
  font-size: 17px;
}

/* Closing */
.closing {
  text-align: center;
}
.closing h2,
.closing .intro {
  margin-inline: auto;
}
footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 13px;
}
footer .footer-pages {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  gap: 10px 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--edge);
}
footer .footer-pages span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}
footer .footer-pages b {
  color: var(--fg);
  font-weight: 600;
}
footer .privacy-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--fg);
}

/* After the click: what happens next, while the .dmg downloads. */
dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
  background: var(--panel);
  color: var(--body);
  box-shadow: 0 40px 120px -30px var(--shadow);
}
dialog::backdrop {
  background: rgb(0 0 0 / 0.55);
  backdrop-filter: blur(4px);
}
.dlg {
  padding: 26px 26px 22px;
}
.dlg h3 {
  margin: 0 0 6px;
  color: var(--fg);
  font-size: 22px;
  letter-spacing: -0.4px;
}
.dlg > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.dlg .steps li {
  padding: 14px 16px;
  font-size: 14px;
}
.dlg-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  translate: -50% 0;
  padding: 10px 16px;
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: var(--raised);
  color: var(--fg);
  font-size: 14px;
  box-shadow: 0 20px 50px -20px var(--shadow);
}

/* Inner pages: a short hero, then text at reading width. */
.page-hero {
  padding: 56px 0 8px;
}
.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a {
  color: var(--muted);
}
.page-hero h1 {
  margin: 0 0 18px;
  max-width: 21ch;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -1.6px;
  text-wrap: balance;
}
.page-hero .lead {
  margin: 0 0 28px;
  max-width: 64ch;
}
.page-hero .actions {
  justify-content: flex-start;
}
.page-hero .fine {
  text-align: left;
}
.page {
  padding: 40px 0 88px;
  border-top: 0;
}
/* One reading column for the whole page, hero included. */
.page-hero .wrap,
.page .wrap {
  width: min(780px, 100% - 32px);
}
/* A table of facts, not a comparison: no highlighted last column. */
.versus.facts thead th:last-child {
  color: var(--muted);
}
.versus.facts td:last-child {
  background: none;
  color: var(--body);
}
.prose h2 {
  margin: 56px 0 14px;
  max-width: none;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.7px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 28px 0 8px;
  color: var(--fg);
  font-size: 18px;
}
.prose p,
.prose li {
  color: var(--body);
  font-size: 16.5px;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose li + li {
  margin-top: 6px;
}
.prose .versus {
  margin: 20px 0 8px;
}
.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--edge-strong);
  border-radius: 12px;
  background: var(--panel);
}
.callout > :first-child {
  margin-top: 0;
}
.callout > :last-child {
  margin-bottom: 0;
}
.checked {
  color: var(--muted);
  font-size: 13px;
}
.page .flow {
  margin: 24px 0;
}
.page .band {
  margin-top: 64px;
}

/* A link from a home section to its own page. */
.more {
  margin: 16px 0 0;
  font-weight: 600;
}
.more a {
  color: var(--accent);
  text-decoration: none;
}
.more a:hover {
  text-decoration: underline;
}

/* Real app media: screenshots in the page's own theme, and short videos that play while on screen. */
.media {
  margin: 0;
}
/* Videos fill their column; screenshots keep their own size (they're taken at 2x) and only shrink. */
.media video,
.media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--edge-strong);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 30px 80px -40px var(--shadow);
}
.media img {
  width: auto;
  max-width: 100%;
}
.media .stacked + .stacked {
  margin-top: 14px;
}
.media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
:root[data-theme="light"] .media .dark-only,
:root:not([data-theme="light"]) .media .light-only {
  display: none;
}
.hero-media {
  margin: 40px auto 0;
  max-width: 1120px;
}
.hero-media video {
  border-radius: 14px;
}
.prose .media {
  margin: 24px 0;
}
