:root {
  --bg: #0b0c0d;
  --bg-2: #101214;
  --surface: #16181a;
  --surface-2: #1d2022;
  --line: #272b2e;
  --text: #f2f3f0;
  --muted: #a3a8a4;
  --faint: #868b87;
  --accent: #b8f04a;
  --accent-ink: #121606;
  --accent-soft: rgba(184, 240, 74, 0.12);
  --sun: #ffb347;
  --coral: #ff7a59;
  --sea: #2bb3a3;
  --ok: #7ee787;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
code {
  font-family: var(--mono);
  font-size: 0.92em;
}
.muted {
  color: var(--muted);
}

/* ── top bar ── */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 13, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
}
.brand img {
  width: 30px;
  height: 30px;
}
.brand b {
  font-weight: inherit;
}
.brand span {
  color: var(--accent);
}
.nav nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.nav nav a:hover {
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--faint);
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn.primary:hover {
  background: #c9f76e;
}
.btn.small {
  padding: 8px 16px;
  font-size: 14px;
}

/* ── hero: sunset over the line-up ── */
.hero {
  position: relative;
  padding: 76px 0 0;
  text-align: center;
  overflow: hidden;
}
.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 46% at 50% 0%, rgba(255, 179, 71, 0.13), transparent 70%), radial-gradient(40% 30% at 50% 6%, rgba(255, 122, 89, 0.1), transparent 70%);
}
.sun {
  position: absolute;
  left: 50%;
  top: 660px;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.55), rgba(255, 122, 89, 0.3) 55%, rgba(184, 240, 74, 0.06));
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px);
  mask-image: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px);
  opacity: 0.7;
  pointer-events: none;
}
.hero .fine {
  color: #b9b2a6;
}
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-2);
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  position: relative;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 780;
  max-width: 980px;
  margin: 22px auto 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  position: relative;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 690px;
  margin: 0 auto;
}
.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 14px;
}
.fine {
  position: relative;
  font-size: 13px;
  color: var(--faint);
}

/* ── shared app chrome for the illustrations ── */
.win {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
  text-align: left;
  font-size: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #33383b;
}
.seg {
  margin: 0 auto;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.seg span,
.seg button {
  padding: 3px 12px;
  border-radius: 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.seg button:hover {
  color: var(--text);
}
.seg .on {
  background: var(--surface-2);
  color: var(--text);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.chip img,
.ico {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  padding: 1.5px;
  object-fit: contain;
  flex: none;
}
.live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  animation-play-state: var(--motion, paused);
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

/* hero app */
.hero .win {
  margin-top: 56px;
  margin-bottom: 96px;
  border-radius: 16px;
  background: rgba(16, 18, 20, 0.82);
  border-color: rgba(184, 240, 74, 0.22);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(184, 240, 74, 0.06), 0 0 80px rgba(184, 240, 74, 0.08);
}
.hero .win .win-bar,
.hero .win .rail,
.hero .win .chat,
.hero .win .tabs,
.hero .win .addr {
  border-color: rgba(255, 255, 255, 0.08);
}
.hero .win .me,
.hero .win .tabs .on,
.hero .win .seg .on,
.hero .win .rail i {
  background: rgba(255, 255, 255, 0.07);
}
.hero .win .rail i.on {
  background: var(--accent-soft);
}
.hero .win .tool,
.hero .win .composer,
.hero .win .seg,
.hero .win .chip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.hero .win .addr span {
  background: rgba(0, 0, 0, 0.3);
}
.app {
  display: grid;
  grid-template-columns: 46px minmax(0, 0.9fr) minmax(0, 1.3fr);
  min-height: 470px;
}
.rail {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}
.rail i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  color: var(--muted);
}
.rail i.on {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.chat {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
}
.tabs .on {
  background: var(--surface-2);
  color: var(--text);
}
.thread {
  flex: 1;
  padding: 12px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.me {
  align-self: flex-end;
  max-width: 90%;
  padding: 8px 11px;
  border-radius: 12px 12px 3px 12px;
  background: var(--surface-2);
  color: var(--text);
}
.tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.tool strong {
  font: 600 11.5px var(--sans);
  color: var(--text);
}
.tool u {
  margin-left: auto;
  text-decoration: none;
  color: var(--ok);
}
.say {
  color: var(--text);
  padding: 2px 2px 0;
}
.say code {
  color: var(--accent);
}
.spent {
  color: var(--faint);
  font-size: 10.5px;
  padding: 0 2px;
}
.composer {
  margin: 8px 10px 10px;
  padding: 10px 10px 8px;
  border: 1px solid var(--accent) !important;
  border-radius: 13px;
  box-shadow: 0 0 0 3px rgba(184, 240, 74, 0.08);
}
.draft {
  color: var(--text);
  font-size: 12.5px;
  padding: 0 2px 9px;
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
  animation-play-state: var(--motion, paused);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.cbar {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.cbar svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.cbar .chip {
  font-family: var(--mono);
  font-size: 10.5px;
}
.grow {
  flex: 1;
}
.go {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.go svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}
/* the four views of the hero window */
.pane {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.pane.on {
  display: flex;
  animation: fadein 0.35s ease;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.pane .editor {
  flex: 1;
}
.ftabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11.5px;
}
.ftabs span {
  padding: 7px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ftabs .on {
  color: var(--text);
  box-shadow: inset 0 2px 0 var(--accent);
  background: rgba(255, 255, 255, 0.04);
}
.ln i {
  display: inline-block;
  width: 22px;
  margin-right: 12px;
  text-align: right;
  font-style: normal;
  color: var(--faint);
  text-decoration: none;
}
.docs {
  flex: 1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}
.doclist {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 2;
}
.doclist h5,
.doc h5 {
  margin: 8px 8px 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.doclist .f {
  padding: 0 8px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doclist .f.on {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.doc {
  padding: 20px 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.doc h4 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}
.doc h5 {
  margin: 16px 0 4px;
  color: var(--accent);
}
.doc pre {
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font: 11.5px/1.6 var(--mono);
  color: var(--text);
}
.planview {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ph {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  padding: 11px 14px 6px;
}
.pt {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text);
}
.pt span {
  color: var(--faint);
}
.ph .task {
  font-size: 12px;
  padding: 4px 0;
}
.ph .task b {
  width: 56px;
  font-size: 10px;
}

/* ── the install command in the hero ── */
.cli {
  position: relative;
  max-width: 640px;
  margin: 32px auto 16px;
  border: 1px solid rgba(184, 240, 74, 0.35);
  border-radius: 14px;
  background: rgba(8, 9, 10, 0.94);
  box-shadow: 0 0 0 4px rgba(184, 240, 74, 0.07), 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: left;
  overflow: hidden;
}
.cli-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.cli-os {
  margin-left: auto;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cli-os button {
  padding: 3px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font: 600 12.5px var(--sans);
  cursor: pointer;
}
.cli-os button.on {
  background: var(--accent);
  color: var(--accent-ink);
}
.cli-line {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 14px 18px;
}
.cli-line.on {
  display: flex;
}
.cli-line code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 15.5px;
  color: var(--text);
}
.cli-line code::before {
  content: '$ ';
  color: var(--accent);
  font-weight: 700;
}
.cli-line[data-cmd='win'] code::before {
  content: '> ';
}
.cli .copy {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  padding: 9px 16px;
}
.cli .copy:hover {
  background: #c9f76e;
}
.hero .fine {
  max-width: 640px;
  margin: 0 auto;
}

/* ── install ── */
.installer {
  margin-top: 38px;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.os {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.os button {
  flex: 1;
  padding: 13px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 14.5px var(--sans);
  cursor: pointer;
}
.os button.on {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
  background: var(--accent-soft);
}
.cmd {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 8px;
}
.cmd.on {
  display: flex;
}
.cmd code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text);
}
.cmd code::before {
  content: '$ ';
  color: var(--accent);
}
.cmd[data-cmd='win'] code::before {
  content: '> ';
}
.copy {
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: 600 13.5px var(--sans);
  cursor: pointer;
}
.copy:hover {
  border-color: var(--accent);
}
.note {
  display: none;
  padding: 6px 20px 20px;
  color: var(--muted);
  font-size: 14.5px;
}
.note.on {
  display: block;
}
.view {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}
.addr span {
  flex: 1;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

/* the example app in the preview: a surf forecast */
.swellcast {
  flex: 1;
  padding: 20px;
  color: #f2f7e8;
  background: linear-gradient(180deg, rgba(184, 240, 74, 0.14) 0%, rgba(184, 240, 74, 0.05) 60%, rgba(184, 240, 74, 0.02) 100%);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  align-content: start;
}
.swellcast h4 {
  font-size: 12px;
  font-weight: 600;
  color: #c9e88f;
  letter-spacing: 0.04em;
}
.sc-card {
  background: rgba(184, 240, 74, 0.07);
  border: 1px solid rgba(184, 240, 74, 0.2);
  border-radius: 12px;
  padding: 14px;
}
.sc-big {
  font-size: 48px;
  font-weight: 750;
  line-height: 1;
  margin: 8px 0 4px;
  letter-spacing: -0.03em;
}
.sc-big small {
  font-size: 16px;
  font-weight: 600;
  color: #c9e88f;
}
.sc-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 11px;
}
.sc-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 96px;
  margin-top: 12px;
}
.sc-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(184, 240, 74, 0.55), rgba(184, 240, 74, 0.22));
  opacity: 1;
}
.sc-chart i.best {
  background: linear-gradient(180deg, #d6ff7a, var(--accent));
  box-shadow: 0 0 24px rgba(184, 240, 74, 0.45);
  opacity: 1;
}
.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(184, 240, 74, 0.14);
  font-size: 11.5px;
}
.sc-row:first-of-type {
  border-top: 0;
}
.sc-row b {
  font-weight: 600;
}
.sc-row span {
  color: #c9e88f;
}

/* ── sections ── */
section {
  position: relative;
  padding: 104px 0;
}
.band {
  background: var(--bg-2);
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: '~';
  margin-right: 8px;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin: 12px 0 14px;
  max-width: 780px;
}
.sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}
.crest {
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: -1px;
  color: var(--bg-2);
}
.crest.flip {
  transform: scaleY(-1);
  margin: -1px 0 0;
}
.swell {
  position: relative;
  height: 120px;
  margin-top: -120px;
  pointer-events: none;
  overflow: hidden;
}
.swell svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}
.swell .w1 {
  color: rgba(184, 240, 74, 0.14);
}
.swell .w2 {
  transform: translateX(-18%);
  color: rgba(184, 240, 74, 0.22);
}
.swell .w3 {
  transform: translateX(-34%);
  color: var(--bg);
}
@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}
.two.rev > :first-child {
  order: 2;
}
.two h3 {
  font-size: 27px;
}
.checks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--muted);
}
.checks li strong {
  color: var(--text);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-3px);
}

/* ── the line-up: agents working side by side ── */
.lineup {
  padding: 18px;
}
.lead-card,
.helper {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
}
.lead-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.who {
  font-weight: 650;
  font-size: 13.5px;
  color: var(--text);
}
.role {
  color: var(--faint);
  font-size: 11.5px;
}
.lineup .chip {
  font-family: var(--mono);
  font-size: 10.5px;
}
.lead-card .chip {
  margin-left: auto;
}
.branches {
  display: block;
  width: 100%;
  height: 34px;
  color: #3a4044;
}
.helpers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.helper .chip {
  margin: 8px 0 0;
}
.owns {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 3px 7px;
  display: inline-block;
}
.prog {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  margin-top: 10px;
  overflow: hidden;
}
.prog i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.doing {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guard {
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px dashed rgba(255, 179, 71, 0.5);
  border-radius: 10px;
  color: var(--sun);
  font-size: 11.5px;
}

/* ── the quiver: models as boards ── */
.quiver {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px 14px;
  flex-wrap: wrap;
  /* Ten boards to a row. */
  max-width: 920px;
  margin: 50px auto 0;
}
.board {
  position: relative;
  width: 78px;
  height: 250px;
  border-radius: 50% 50% 46% 46% / 28% 28% 12% 12%;
  background: linear-gradient(180deg, var(--b1), var(--b2));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  transition: transform 0.2s ease;
}
.board:hover {
  transform: translateY(-10px) rotate(-2deg);
}
.board::before {
  content: '';
  position: absolute;
  top: 8%;
  bottom: 6%;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(0, 0, 0, 0.2);
}
.board img {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.board span {
  position: relative;
  margin-top: 14px;
  writing-mode: vertical-rl;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(8, 12, 10, 0.82);
}
.board.tall {
  height: 280px;
}
.board.short {
  height: 224px;
}
.board[data-tag]::after {
  content: attr(data-tag);
  position: absolute;
  bottom: 14px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(8, 12, 10, 0.7);
}
/* The empty board: bring your own provider. */
.board.custom {
  background: transparent;
  border: 2px dashed rgba(184, 240, 74, 0.55);
  box-shadow: none;
  text-decoration: none;
  color: var(--accent);
}
.board.custom::before {
  display: none;
}
.board.custom i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(184, 240, 74, 0.14);
}
.board.custom span,
.board.custom[data-tag]::after {
  color: var(--accent);
}
.board.custom:hover {
  background: rgba(184, 240, 74, 0.08);
}
.picker .search {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.picker .grp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.picker .opt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 14px 6px 38px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
}
.picker .opt.on {
  background: var(--accent-soft);
  color: var(--accent);
}
.picker .opt em {
  font: 11px var(--sans);
  color: var(--faint);
  white-space: nowrap;
}
.levels {
  display: flex;
  gap: 4px;
  padding: 12px 14px 14px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.levels span {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.levels .on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700;
}

/* ── what you can build ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}
.made {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.made .art {
  height: 210px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.made h3 {
  font-size: 17px;
  padding: 16px 18px 4px;
}
.made p {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14.5px;
}
.said {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: 80%;
  padding: 6px 10px;
  border-radius: 10px 10px 10px 3px;
  background: rgba(11, 12, 13, 0.86);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11.5px;
}
.a-web {
  background: linear-gradient(135deg, #1b2a4a, #3a2a5c);
}
.a-web .pane {
  width: 78%;
  height: 70%;
  border-radius: 9px;
  background: #f7f5ef;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
  align-content: start;
  transform: translateY(-10px);
}
.a-web .pane b {
  grid-column: 1 / -1;
  height: 9px;
  width: 45%;
  border-radius: 3px;
  background: #22263a;
}
.a-web .pane i {
  height: 44px;
  border-radius: 6px;
  background: #e4e0d4;
}
.a-web .pane i:nth-child(3) {
  background: #6b7cff;
}
.a-phone {
  background: linear-gradient(160deg, #ff9d6c, #ff5f7a);
}
.phone {
  width: 104px;
  height: 190px;
  border-radius: 20px;
  background: #0e1012;
  padding: 9px 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(22px) rotate(-5deg);
}
.phone .scr {
  height: 100%;
  border-radius: 13px;
  background: linear-gradient(180deg, #fff5ec, #ffe3d4);
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone .scr b {
  height: 34px;
  border-radius: 8px;
  background: #ff7a59;
}
.phone .scr i {
  height: 9px;
  border-radius: 3px;
  background: #f0c9b8;
}
.phone .scr i:nth-child(3) {
  width: 70%;
}
.a-dash {
  background: linear-gradient(135deg, #0f2f2c, #134a3f);
}
.dash {
  width: 80%;
  height: 68%;
  border-radius: 9px;
  background: #0c1413;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  transform: translateY(-10px);
}
.dash i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--sea);
}
.dash i:nth-child(5) {
  background: var(--accent);
}
.a-game {
  background: linear-gradient(180deg, #2a1d4d, #13122b);
}
.a-game .px {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(184, 240, 74, 0.6);
}
.a-game .gnd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 4px;
  background: #6c5ce7;
}
.a-game .blk {
  position: absolute;
  bottom: 58px;
  width: 20px;
  border-radius: 3px;
  background: #ff7a59;
}
.a-cli {
  background: linear-gradient(135deg, #15181a, #23282b);
}
.term {
  width: 82%;
  border-radius: 9px;
  background: #07090a;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: 11px/1.7 var(--mono);
  color: #c9d1cc;
  transform: translateY(-12px);
}
.term .g {
  color: var(--accent);
}
.term .d {
  color: var(--faint);
}
.a-api {
  background: linear-gradient(135deg, #3b2412, #5a2f16);
}
.api {
  width: 82%;
  border-radius: 9px;
  background: #130d09;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  font: 11px/1.7 var(--mono);
  color: #f3dcc9;
  transform: translateY(-12px);
}
.api .m {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--sun);
  color: #2a1606;
  font-weight: 700;
  margin-right: 6px;
}
.api .k {
  color: var(--sun);
}

/* ── code + testing ── */
.editor {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.tree {
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 2;
}
.tree .f {
  padding: 0 8px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tree .f.on {
  background: var(--surface-2);
  color: var(--text);
}
.tree .f.m::after {
  content: 'M';
  float: right;
  color: var(--sun);
  font-weight: 700;
}
.code {
  font: 11.5px/1.75 var(--mono);
  padding: 12px 0;
  min-width: 0;
  overflow: hidden;
}
.ln {
  display: block;
  padding: 0 14px;
  white-space: pre;
  color: #c9d1cc;
}
.ln.add {
  background: rgba(126, 231, 135, 0.1);
  box-shadow: inset 2px 0 0 var(--ok);
}
.ln.del {
  background: rgba(255, 122, 89, 0.1);
  box-shadow: inset 2px 0 0 var(--coral);
  color: #8a8f8b;
  text-decoration: line-through;
}
.k1 {
  color: #c792ea;
}
.k2 {
  color: #82aaff;
}
.k3 {
  color: var(--accent);
}
.cm {
  color: var(--faint);
}
.termbar {
  border-top: 1px solid var(--line);
  padding: 9px 14px;
  font: 11px/1.7 var(--mono);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fix {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 89, 0.14);
  color: var(--coral);
  font: 600 11px var(--sans);
  white-space: nowrap;
}
.devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 30px 18px 22px;
  background: radial-gradient(70% 90% at 50% 100%, rgba(184, 240, 74, 0.14), transparent 70%);
}
.dev {
  border: 2px solid rgba(184, 240, 74, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(184, 240, 74, 0.12), rgba(184, 240, 74, 0.03));
  position: relative;
  overflow: hidden;
}
.dev.d1 {
  width: 220px;
  height: 138px;
}
.dev.d2 {
  width: 100px;
  height: 138px;
}
.dev.d3 {
  width: 60px;
  height: 120px;
  border-radius: 12px;
}
.dev i {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}
.dev i:nth-child(1) {
  top: 16%;
  right: 50%;
}
.dev i:nth-child(2) {
  top: 34%;
  height: 30%;
  background: rgba(184, 240, 74, 0.5);
}
.dev i:nth-child(3) {
  top: 74%;
  right: 34%;
}
.dev u {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #06250c;
  font: 800 11px/18px var(--sans);
  text-align: center;
  text-decoration: none;
}
.steps-log {
  border-top: 1px solid var(--line);
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── media ── */
.media {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  margin-top: 46px;
}
.mcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.mcard .cap {
  padding: 14px 18px 18px;
}
.mcard h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.mcard p {
  color: var(--muted);
  font-size: 14.5px;
}
.poster {
  position: relative;
  height: 230px;
  background: linear-gradient(180deg, #ffb347 0%, #ff7a59 36%, #7a3b8f 62%, #123840 62%, #0d2a2e 100%);
  overflow: hidden;
}
.poster::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  border-radius: 50%;
  background: #fff3d6;
  opacity: 0.92;
}
.poster svg {
  z-index: 1;
  position: absolute;
  left: -5%;
  bottom: 0;
  width: 110%;
  height: 52%;
}
.ratio {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.ratio span {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(11, 12, 13, 0.7);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}
.ratio .on {
  background: var(--accent);
  color: var(--accent-ink);
}
.voice {
  height: 230px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: radial-gradient(80% 80% at 50% 50%, rgba(184, 240, 74, 0.1), transparent 70%);
}
.bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 74px;
}
.bars i {
  flex: 1;
  border-radius: 2px;
  background: var(--accent);
}
@keyframes talk {
  50% {
    transform: scaleY(0.45);
  }
}
.voices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.voices span {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.voices .on {
  border-color: var(--accent);
  color: var(--accent);
}
.film {
  position: relative;
  height: 230px;
  background: linear-gradient(200deg, #1d4f5c, #0d2a2e 60%, #08181b);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.film svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  color: rgba(95, 224, 207, 0.35);
}
.play {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.play::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 18px;
  border-left: 18px solid #0d2a2e;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.timeline {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.timeline i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}

/* ── plan + memory ── */
.pm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 46px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 22px;
}
.card > h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-family: var(--mono);
  letter-spacing: 0;
}
.card > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.phase {
  font-size: 13px;
  font-weight: 650;
}
.bar {
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin: 8px 0 8px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--accent);
}
.task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13.5px;
}
.task b {
  flex: none;
  width: 62px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 0;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.task .s-done {
  color: var(--ok);
  border-color: rgba(126, 231, 135, 0.35);
}
.task .s-doing {
  color: var(--accent);
  border-color: rgba(184, 240, 74, 0.45);
}
.task .s-blocked {
  color: var(--sun);
  border-color: rgba(255, 179, 71, 0.4);
}
.mdfile {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 14px 16px;
  font: 12px/1.75 var(--mono);
  color: #c9d1cc;
  overflow: hidden;
}
.mdfile .h {
  color: var(--accent);
  font-weight: 700;
}
.mdfile .new {
  background: rgba(126, 231, 135, 0.1);
  box-shadow: inset 2px 0 0 var(--ok);
  display: block;
  margin: 0 -16px;
  padding: 0 16px;
}

/* ── everything list, steps, table, faq ── */
.all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 36px;
  margin-top: 44px;
}
.all h3 {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 10px;
}
.all ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.all li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
}
.tide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.tide b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  letter-spacing: 0;
}
.step h3 {
  font-size: 21px;
  margin: 14px 0 8px;
}
.step p {
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--faint);
  font-weight: 600;
  font-size: 13px;
}
td:first-child {
  color: var(--text);
  font-weight: 600;
  width: 26%;
}
td {
  color: var(--muted);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--accent);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 780px;
}

/* ── closing sunset ── */
.beta {
  text-align: center;
  padding: 120px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #1a1420 36%, #4a2440 60%, #b5532f 84%, #ffb347 100%);
}
.beta h2,
.beta .sub {
  margin-left: auto;
  margin-right: auto;
}
.beta .sub {
  color: #d9d3cf;
}
.beta .fine {
  color: #c7b9b0;
}
.horizon {
  position: relative;
  height: 300px;
  margin-top: 46px;
  overflow: hidden;
}
.horizon .disc {
  position: absolute;
  left: 50%;
  bottom: 60px;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff3d6, #ffd27a);
  box-shadow: 0 0 120px rgba(255, 210, 122, 0.6);
}
.horizon svg.h1,
.horizon svg.h2,
.horizon svg.h3 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 130px;
}
.horizon .h1 {
  color: #1d4f5c;
}
.horizon .h2 {
  transform: translateX(-22%);
  color: #123840;
}
.horizon .h3 {
  transform: translateX(-40%);
  color: var(--bg);
}
.rider {
  position: absolute;
  left: 50%;
  bottom: 84px;
  width: 150px;
  margin-left: -210px;
}
@keyframes bob {
  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}
footer {
  padding: 30px 0 44px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
footer .brand {
  font-size: 15px;
  color: var(--text);
}
footer nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
footer a:hover {
  color: var(--text);
}

@media (max-width: 940px) {
  /* On a phone the links move to a row of their own that scrolls sideways, so every page stays one tap away. */
  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 62px;
    row-gap: 0;
  }
  .nav nav {
    order: 3;
    flex: 0 0 100%;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 2px 0 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav nav::-webkit-scrollbar {
    display: none;
  }
  .nav nav a {
    padding: 6px 0;
  }
  .nav .btn {
    margin-left: auto;
  }
  .app {
    grid-template-columns: 1fr;
  }
  .app .rail,
  .app .view {
    display: none;
  }
  .chat {
    border-right: 0;
  }
  .two,
  .gallery,
  .media,
  .pm,
  .all,
  .steps {
    grid-template-columns: 1fr;
  }
  .two {
    gap: 30px;
  }
  .two.rev > :first-child {
    order: 0;
  }
  .helpers {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
  .branches {
    display: none;
  }
  .board {
    width: 56px;
    height: 186px !important;
    padding-top: 34px;
  }
  .board img {
    width: 32px;
    height: 32px;
  }
  .board span {
    font-size: 11px;
  }
  .editor,
  .docs {
    grid-template-columns: 1fr;
  }
  .doclist {
    display: none;
  }
  .cmd {
    flex-direction: column;
    align-items: stretch;
  }
  .tree {
    display: none;
  }
  .dev.d1 {
    width: 150px;
  }
  section {
    padding: 72px 0;
  }
  td:first-child {
    width: 38%;
  }
  .sun {
    width: 340px;
    height: 340px;
    margin-left: -170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .live,
  .caret,
  .pane.on,
  .swell svg,
  .horizon svg,
  .rider,
  .bars i {
    animation: none;
  }
  .btn,
  .board {
    transition: none;
  }
}

/* Motion runs only inside a block that is on screen (set from the page script). */
.in-view {
  --motion: running;
}

/* ── comparison and guide pages ── */
.article section {
  padding: 72px 0;
}
.crumbs {
  padding-top: 26px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs a:hover {
  color: var(--text);
}
.crumbs span {
  color: var(--muted);
}
.page-hero {
  padding-top: 34px;
  padding-bottom: 26px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 760;
  max-width: 920px;
  margin: 20px 0 18px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.page-hero .lead {
  margin: 0;
  max-width: 760px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.feature {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}
.feature.link:hover {
  border-color: var(--accent);
}
.checks.plain {
  max-width: 720px;
  margin-top: 22px;
  font-size: 17px;
}
.checks.plain li {
  color: var(--text);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pills a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 14.5px;
  color: var(--muted);
}
.pills a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.sitelinks {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.sitelinks b {
  color: var(--muted);
  font-weight: 600;
  width: 100%;
  margin-top: 6px;
}
@media (max-width: 940px) {
  .cols {
    grid-template-columns: 1fr;
  }
  .article section {
    padding: 52px 0;
  }
}
/* Things the app lacks get a plain dash, not a tick. */
.checks.missing li::before {
  top: 21px;
  width: 12px;
  height: 0;
  border-left: 0;
  border-bottom: 2px solid var(--faint);
  transform: none;
}

/* Sign in, next to Install in the header. */
header .signin {
  margin-right: -10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
header .signin:hover {
  color: var(--accent);
}
@media (max-width: 560px) {
  header .signin {
    margin-left: auto;
  }
}

/* The line under the hero window's tabs: fills while the current view is showing. */
.win-bar {
  position: relative;
}
.tour {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.in-view .tour.run {
  animation: tour 4.5s linear forwards;
}
@keyframes tour {
  to {
    transform: scaleX(1);
  }
}

/* ── compare mode: two results side by side ── */
.swords {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.duel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.duel-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.duel-bar span:not(.chip) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duel-sides {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.duel-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 0;
}
.duel-side + .duel-side {
  border-left: 1px solid var(--line);
}
.duel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.duel-head img {
  width: 15px;
  height: 15px;
  border-radius: 4px;
}
.duel-head b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duel-head .st {
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid rgba(184, 240, 74, 0.5);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10.5px;
  white-space: nowrap;
}
.duel-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.duel-facts em {
  font-style: normal;
}
.duel-facts .p {
  color: #3fb950;
}
.duel-facts .m {
  color: #f0655a;
}
.duel-shot {
  flex: 1;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.duel-shot h5 {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.duel-shot .big {
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
}
.duel-shot .big small {
  font-size: 12px;
  font-weight: 600;
}
.duel-shot .tag {
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
/* Result A: the dark card, a bar per day. */
.duel-shot.a {
  background: linear-gradient(180deg, rgba(184, 240, 74, 0.14), rgba(184, 240, 74, 0.03));
  color: #f2f7e8;
}
.duel-shot.a h5,
.duel-shot.a .big small {
  color: #c9e88f;
}
.duel-shot.a .tag {
  background: var(--accent);
  color: var(--accent-ink);
}
.duel-shot .bars {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 4px;
}
.duel-shot .bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(184, 240, 74, 0.3);
}
.duel-shot .bars .best {
  background: var(--accent);
}
/* Result B: a lighter take, a day picker and a swell line. */
.duel-shot.b {
  background: linear-gradient(160deg, #fdf6e3, #ffe2c2);
  color: #2b2118;
}
.duel-shot.b .days {
  display: flex;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 600;
}
.duel-shot.b .days span {
  flex: 1;
  padding: 2px 0;
  border-radius: 5px;
  text-align: center;
  background: rgba(43, 33, 24, 0.07);
}
.duel-shot.b .days .on {
  background: #2b2118;
  color: #ffe2c2;
}
.duel-shot.b .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.duel-shot.b h5 {
  color: #8a5a2b;
}
.duel-shot.b .tag {
  background: #ff7a59;
  color: #fff;
}
.duel-shot.b svg {
  flex: none;
  height: 64px;
  width: 100%;
  margin-top: auto;
}
.duel-shot.b svg path {
  fill: rgba(255, 122, 89, 0.28);
  stroke: #ff7a59;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.duel-shot.b svg circle {
  fill: #2b2118;
}
.duel-shot.b .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  font-size: 9.5px;
  color: #8a5a2b;
}
.duel-use {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 650;
  color: var(--muted);
}
.duel-side.chosen .duel-use {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.duel-side.chosen .duel-shot {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
@media (max-width: 560px) {
  .duel-sides {
    grid-template-columns: 1fr;
  }
  .duel-side + .duel-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ── blog ── */
.post-meta {
  display: block;
  margin-top: 14px;
  color: var(--faint);
  font-size: 13.5px;
}
.posts .post-meta {
  margin: 0 0 8px;
}
section.post {
  padding-top: 8px;
}
.prose {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.75;
  color: #d5d8d3;
}
.prose h2 {
  margin: 44px 0 14px;
  font-size: 28px;
  color: var(--text);
}
.prose h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  color: var(--text);
}
.prose p {
  margin: 0 0 18px;
}
.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.prose li {
  margin: 6px 0;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--text);
}
.prose code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
}
.table-scroll {
  margin: 0 0 24px;
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface);
  color: var(--text);
}

/* ── more providers, as a grid of small labelled icons ── */
.brands {
  margin-top: 56px;
}
.brands h3 {
  margin: 34px 0 14px;
  font-size: 20px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.brand-chip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.brand-chip img {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
}
.brand-chip b {
  font-size: 14.5px;
}
.brand-chip span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}
.brands .fine {
  margin-top: 16px;
}

/* ── videos: a large player with a gallery of thumbnails under it ── */
#watch {
  padding-top: 40px;
}
.theater {
  position: relative;
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(184, 240, 74, 0.250);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.600), 0 0 90px rgba(184, 240, 74, 0.070);
  aspect-ratio: 16 / 9;
}
.theater video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
/* What is shown before play is pressed: the still, a big play button, and what the video is. */
.theater-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 28px 32px;
  border: 0;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.820) 100%);
}
.theater-cover[hidden] {
  display: none;
}
.theater-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(184, 240, 74, 0.180), 0 18px 50px rgba(0, 0, 0, 0.500);
}
.theater-cover:hover .theater-play {
  box-shadow: 0 0 0 18px rgba(184, 240, 74, 0.220), 0 18px 50px rgba(0, 0, 0, 0.500);
}
.theater-play svg {
  width: 40px;
  height: 40px;
  margin-left: 5px;
  fill: var(--accent-ink);
}
.theater-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.theater-meta em,
.reel-card em {
  font-style: normal;
  font-size: 11.500px;
  font-weight: 700;
  letter-spacing: 0.080em;
  text-transform: uppercase;
  color: var(--accent);
}
.theater-meta b {
  font-size: 28px;
  letter-spacing: -0.020em;
  line-height: 1.150;
}
.theater-meta i {
  font-style: normal;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.780);
}
.theater-time,
.reel-time {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.720);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* The playlist: the player, and beside it the list of videos, exactly as tall as the player. */
#watch .wrap {
  max-width: 1320px;
}
.playlist {
  display: grid;
  grid-template-columns: minmax(0, 2.300fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}
.playlist .theater {
  margin-top: 0;
}
.pl-side {
  position: relative;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  overflow: hidden;
}
.pl-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
}
.pl-head span {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
/* Positioned rather than sized, so the list takes the player's height instead of stretching the row. */
.pl-scroll {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 6px;
}
.pl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px 7px 4px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pl-row:hover {
  background: var(--surface);
}
.pl-row.on {
  background: var(--accent-soft);
}
.pl-num {
  flex: none;
  width: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.pl-row.on .pl-num {
  font-size: 0;
}
.pl-row.on .pl-num::before {
  content: '▶';
  font-size: 11px;
  color: var(--accent);
}
.pl-thumb {
  position: relative;
  flex: none;
  width: 124px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pl-row.on .pl-thumb {
  border-color: var(--accent);
}
.pl-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pl-kind {
  position: absolute;
  left: 4px;
  top: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.720);
  color: var(--accent);
}
.pl-kind svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pl-dur {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.780);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pl-text {
  flex: 1;
  min-width: 0;
}
.pl-text b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.300;
}
.pl-text i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 940px) {
  .playlist {
    grid-template-columns: 1fr;
  }
  .pl-side {
    height: 400px;
  }
}
@media (max-width: 700px) {
  .theater {
    border-radius: 14px;
  }
  .theater-cover {
    padding: 14px 16px;
  }
  .theater-play {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
  .theater-play svg {
    width: 28px;
    height: 28px;
  }
  .theater-meta b {
    font-size: 18px;
  }
  .theater-meta i {
    display: none;
  }
}

/* Sections below the first screen are laid out only as they come near the viewport.
   On a phone this takes most of the work out of the first load of this long page. */
main > section,
main > .crest,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
main > .crest {
  contain-intrinsic-size: auto 46px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── documentation ─────────────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 90px;
}
.docs-nav {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  font-size: 14.5px;
  padding-right: 6px;
}
.docs-home {
  display: block;
  margin-bottom: 14px;
  font-weight: 650;
}
.docs-group {
  margin-bottom: 13px;
}
.docs-group span {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.docs-group a {
  display: block;
  padding: 3px 10px;
  margin-left: -10px;
  border-radius: 7px;
  color: var(--muted);
}
.docs-group a:hover {
  color: var(--text);
}
.docs-group a.on {
  background: var(--accent-soft);
  color: var(--accent);
}
.docs-body {
  max-width: 800px;
  min-width: 0;
}
.docs-body h1 {
  margin: 18px 0 16px;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 760;
  color: var(--text);
}
.docs-body .lead {
  margin: 0 0 26px;
  font-size: 19px;
  color: var(--muted);
}
.docs-body h2 {
  padding-top: 8px;
  scroll-margin-top: 90px;
}
.docs-body kbd {
  display: inline-block;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  font: 13px/1.7 var(--mono);
  color: var(--text);
}
.docs-body b {
  color: var(--text);
}
.docs-body ol.steps {
  display: block;
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}
.docs-body ol.steps[start='2'] { counter-reset: step 1; }
.docs-body ol.steps[start='3'] { counter-reset: step 2; }
.docs-body ol.steps[start='4'] { counter-reset: step 3; }
.docs-body ol.steps[start='5'] { counter-reset: step 4; }
.docs-body ol.steps li {
  position: relative;
  margin: 10px 0;
  padding-left: 42px;
  counter-increment: step;
}
.docs-body ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 14px/1 var(--sans);
}
.shot {
  margin: 8px 0 30px;
}
.shot a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0e0f;
  text-align: center;
}
.shot img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.shot figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.shot .legend {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mark;
}
.shot .legend li {
  position: relative;
  margin: 7px 0;
  padding-left: 34px;
  counter-increment: mark;
}
/* The same red, numbered badge as the arrows in the picture. */
.shot .legend li::before {
  content: counter(mark);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff3d57;
  color: #fff;
  font: 700 12.5px/1 var(--sans);
  box-shadow: 0 0 0 2px #fff;
}
.doc-video {
  margin: 0 0 34px;
}
.doc-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
}
.doc-video figcaption {
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted);
}
.docs-body .note {
  padding: 13px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 9px 9px 0;
  background: var(--accent-soft);
  font-size: 16px;
}
.docs-body .ask {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 14px;
  background: var(--surface);
  color: var(--text);
}
.docs-body .ask span {
  display: block;
  margin-bottom: 4px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.codeblock {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d0e0f;
  overflow: hidden;
}
.codeblock span {
  display: block;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}
.codeblock pre {
  margin: 0;
  padding: 13px 14px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
.prose .codeblock code {
  padding: 0;
  background: none;
}
.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.prose .docs-pager a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.docs-pager a span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--faint);
}
.docs-pager .next {
  text-align: right;
}
.docs-index h2 {
  margin: 34px 0 16px;
  font-size: 22px;
}
.docs-index h2:first-child {
  margin-top: 0;
}
@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .docs-nav {
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .docs-home,
  .docs-group span {
    display: none;
  }
  .docs-group {
    display: contents;
  }
  .docs-group a {
    margin-left: 0;
    padding: 3px 8px;
  }
}

/* docs: icons and search */
.dico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.docs-home,
.docs-group span,
.docs-group a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.docs-group span .dico {
  width: 13px;
  height: 13px;
}
.docs-group a .dico {
  opacity: 0.75;
}
.docs-group a.on .dico {
  opacity: 1;
}
.doc-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.doc-icon .dico {
  width: 21px;
  height: 21px;
}
.docs-body h1 {
  display: flex;
  align-items: center;
  gap: 16px;
}
.docs-body h1 .doc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
}
.docs-body h1 .doc-icon .dico {
  width: 27px;
  height: 27px;
}
.doc-card {
  position: relative;
}
.doc-card .doc-icon {
  margin-bottom: 14px;
}
.doc-card .with-video {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
}
.docs-index h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.docs-index h2 .dico {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.docs-search {
  position: relative;
  margin-bottom: 18px;
}
.docs-search label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--faint);
}
.docs-search label:focus-within {
  border-color: var(--accent);
  color: var(--text);
}
.docs-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
}
.docs-search input::-webkit-search-cancel-button {
  display: none;
}
.docs-search kbd {
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 12px/1.6 var(--mono);
}
.docs-search.big {
  max-width: 620px;
  margin: 28px 0 0;
}
.docs-search.big label {
  padding: 13px 16px;
  border-radius: 13px;
}
.docs-search.big input {
  font-size: 17px;
}
.docs-search.big .dico {
  width: 19px;
  height: 19px;
}
.docs-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 440px);
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.docs-results a {
  display: flex;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
}
.docs-results a .dico {
  margin-top: 3px;
  color: var(--accent);
}
.docs-results a.on,
.docs-results a:hover {
  background: var(--surface-2);
}
.docs-results b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
}
.docs-results b i {
  font-style: normal;
  color: var(--faint);
}
.docs-results small {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}
.docs-results mark {
  background: none;
  color: var(--accent);
}
.docs-results p {
  margin: 0;
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
}
.docs-results p a {
  display: inline;
  padding: 0;
  color: var(--accent);
}
@media (max-width: 900px) {
  .docs-nav .docs-search {
    flex-basis: 100%;
    margin-bottom: 6px;
  }
  .docs-group a .dico {
    display: none;
  }
}

/* The sidebar scrolls when the window is short, which would cut the results off: let them out while they show. */
.docs-nav:has(.docs-results:not([hidden])) {
  overflow: visible;
}
.dico {
  background: none;
  border-radius: 0;
}
@media (max-width: 900px) {
  .docs-home,
  .docs-group span {
    display: none;
  }
}

.docs-nav {
  z-index: 5;
}

/* The top menu: one line, always. */
.nav nav,
.nav nav a,
.nav .signin,
.nav .btn {
  white-space: nowrap;
}
.nav .brand,
.nav .signin,
.nav .btn {
  flex: none;
}
@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }
  .nav nav {
    gap: 16px;
  }
}

/* pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
}
.price-card.main {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.price-card h2,
.price-card h3 {
  font-size: 22px;
  color: var(--text);
}
.price-card .price b {
  font-size: 40px;
  font-weight: 760;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price-card:not(.main) .price b {
  font-size: 26px;
}
.price-list {
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  flex: 1;
  align-content: start;
}
.price-list li {
  position: relative;
  padding-left: 24px;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .btn {
  align-self: flex-start;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* Launch prices of the lifetime licence: the step that is open is lit. */
.price-steps {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 14px 0 16px;
}
.price-steps li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.price-steps li b {
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.price-steps li span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-steps li.now {
  border-color: var(--accent);
  background: var(--accent-soft, rgba(184, 240, 74, 0.12));
  color: var(--accent);
}
.price-steps li.now b {
  color: var(--accent);
}
.price-steps li.closed b {
  text-decoration: line-through;
  color: var(--faint, #6b706d);
}
.price-steps li.later {
  border-style: dashed;
}
.price .price-per,
.price > span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-note {
  margin-top: 26px;
  text-align: center;
}

/* For people who move with the keyboard: jump past the menu. Only seen when focused. */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
footer nav a,
.sitelinks a {
  padding: 6px 0;
}
