/* Colors from Tapetum's icon, the swatch fan, and the night blue of its gallery banner. */
:root {
  --night: #0b0e1a;
  --tile: #141827;
  --tile-2: #1b2033;
  --line: rgba(200, 211, 245, 0.12);
  --text: #eef0fa;
  --text-2: #a7adc8;
  --text-3: #8b91ad;
  --lavender: #9184d9;
  --lavender-soft: #b7adf0;
  --day: #fafbff;
  --day-tile: #f0f2f9;
  --ink: #1d2140;
  --ink-2: #555b7a;
  --violet: #c38ce8;
  --blue: #90b6f2;
  --teal: #34dfb5;
  --red: #ff6a5b;
  --green: #77e158;
  --amber: #f1b85f;
  --pink: #ff9ca9;
  --sky: #58aee8;
  --spectrum: linear-gradient(90deg, var(--violet), var(--blue), var(--teal), var(--green), var(--amber), var(--red),
      var(--pink));
  --swatches: linear-gradient(90deg, var(--violet) 0 12.5%, var(--blue) 0 25%, var(--teal) 0 37.5%, var(--red) 0 50%,
      var(--green) 0 62.5%, var(--amber) 0 75%, var(--pink) 0 87.5%, var(--sky) 0);

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --page: 1080px;
  --gutter: 22px;
  --nav-height: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lavender-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--lavender-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--night);
  font-weight: 600;
}

.skip:focus {
  top: 10px;
}

.wrap {
  width: min(var(--page), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 26, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--night);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.pill:hover {
  background: var(--lavender-soft);
  text-decoration: none;
}

.pill:active {
  transform: scale(0.98);
}

.pill-small {
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.pill-large {
  padding: 13px 26px;
  font-size: 17px;
}

.pill svg {
  width: 18px;
  height: 18px;
}

.pill-small svg {
  width: 14px;
  height: 14px;
}

.pill-small {
  gap: 6px;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

/* Sponsoring sits beside the main action, never above it: an outline in place of a fill. */
.pill-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(200, 211, 245, 0.28);
  color: var(--text);
}

.pill-ghost:hover {
  background: rgba(200, 211, 245, 0.08);
}

.pill-ghost svg {
  color: var(--pink);
}

.sponsor {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
  padding: 9px 18px;
  font-size: 15px;
}

.sponsor svg {
  width: 16px;
  height: 16px;
}

.more {
  white-space: nowrap;
}

.more::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.3em;
  border-top: 0.11em solid currentColor;
  border-right: 0.11em solid currentColor;
  transform: translateY(-0.06em) rotate(45deg);
}

.link-line {
  margin: 24px 0 0;
  font-size: 17px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--lavender-soft);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0.011em;
}

.headline {
  margin: 0;
  font-size: clamp(36px, 6.2vw, 64px);
  font-weight: 600;
  line-height: 1.0625;
  letter-spacing: -0.009em;
  text-wrap: balance;
}

.lede {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: clamp(19px, 2.1vw, 21px);
  font-weight: 600;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

p code,
li code {
  overflow-wrap: anywhere;
}

.center .lede {
  margin-inline: auto;
}

.spectrum-text {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero,
.closing {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero {
  padding: 72px 0 40px;
}

.hero::before,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(ellipse closest-side at 50% 68%, rgba(145, 132, 217, 0.22), rgba(145, 132, 217, 0));
}

.closing::before {
  background: radial-gradient(ellipse closest-side at 50% 42%, rgba(145, 132, 217, 0.18), rgba(145, 132, 217, 0));
}

.hero .wrap,
.closing .wrap {
  position: relative;
}

.hero-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7.6vw, 80px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.tagline {
  margin: 16px 0 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.006em;
  text-wrap: balance;
}

.hero .lede {
  max-width: 660px;
  margin: 22px auto 0;
  font-weight: 400;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 30px;
  margin-top: 34px;
}

.actions .more {
  font-size: 17px;
}

.requirements {
  margin: 18px 0 0;
  color: var(--text-3);
  font-size: 14px;
  letter-spacing: -0.016em;
}

.command {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-top: 26px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
}

.command code {
  font-size: 14px;
  white-space: nowrap;
}

.command code::before {
  content: "$ ";
  color: var(--lavender-soft);
}

.copy {
  flex: none;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.copy.done {
  background: var(--lavender);
  color: var(--night);
}

.shot {
  display: block;
}

.shot img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55);
}

.stage {
  margin-top: 56px;
}

.statement {
  padding: 110px 0 40px;
}

.statement p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-3);
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  text-align: center;
}

.statement strong {
  color: var(--text);
  font-weight: 600;
}

.statement .coda {
  margin-top: 32px;
  color: var(--text-2);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.25;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.tile {
  padding: 32px 34px 34px;
  border-radius: 28px;
  background: var(--tile);
  text-align: center;
}

.tile.span-2 {
  grid-column: span 2;
}

.tile.span-3 {
  grid-column: span 3;
}

.tile-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
}

.figure {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.fan {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.strip {
  width: 220px;
  height: 22px;
  border-radius: 11px;
  background: var(--swatches);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.tile h3 {
  margin: 24px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: 0.009em;
}

.tile p {
  margin: 8px 0 0;
  color: var(--text-2);
}

.feature-head {
  max-width: 900px;
}

.feature-head.center {
  margin-inline: auto;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.points h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0.012em;
}

.points .who {
  margin: 4px 0 0;
  color: var(--lavender-soft);
  font-size: 15px;
  font-weight: 500;
}

.points p {
  margin: 8px 0 0;
  color: var(--text-2);
}

/* Cards: the schemes and the install steps, centered like the highlights. */
.cards {
  gap: 20px;
}

.cards li {
  padding: 30px 26px 32px;
  border-top: 0;
  border-radius: 18px;
  background: var(--tile);
  text-align: center;
}

.cards h3 {
  font-size: 21px;
}

.scheme-colors {
  display: inline-flex;
  gap: 7px;
  margin-bottom: 20px;
  padding: 9px 13px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
}

.scheme-colors i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.divider {
  width: min(var(--page), 100% - 2 * var(--gutter));
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: var(--line);
}

/* The family browser: a chip per family, then that family's story, palette, and editor. */
.picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}

.picker button,
.toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.picker button {
  padding: 6px 13px 6px 7px;
}

.picker button:hover,
.toggle button:hover {
  border-color: rgba(200, 211, 245, 0.3);
  color: var(--text);
}

.picker button[aria-pressed="true"],
.toggle button[aria-pressed="true"] {
  border-color: var(--lavender);
  background: rgba(145, 132, 217, 0.14);
  color: var(--text);
}

.chip-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.browser {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
  margin-top: 48px;
  text-align: left;
}

.family {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.js .family:not(.active) {
  display: none;
}

.family .source {
  margin: 0;
  color: var(--lavender-soft);
  font-size: 15px;
  font-weight: 600;
}

.family h3 {
  margin: 6px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.scheme-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.family .story {
  margin: 18px 0 0;
  color: var(--text-2);
  line-height: 1.53;
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.palette li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 13px;
}

.palette i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.palette span {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.palette b {
  overflow: hidden;
  color: var(--text-2);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.palette code {
  color: var(--text-3);
  font-size: 12px;
}

.js .palette:not(.shown) {
  display: none;
}

.palette-note {
  margin: 14px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

.toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.toggle button {
  padding: 6px 14px;
}

.toggle button[hidden] {
  display: none;
}

.toggle.centered {
  justify-content: center;
  margin: 14px 0 0;
}

/* A VS Code window drawn in the chosen theme's own colours. */
.editor {
  overflow: hidden;
  border-radius: 12px;
  background: var(--e-bg, #04131c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 70px rgba(0, 0, 0, 0.55);
  color: var(--e-fg, #c6dce1);
  font-size: 13px;
  letter-spacing: 0;
  transition: background-color 0.3s var(--ease);
}

.editor-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  background: var(--e-title);
  color: var(--e-title-fg);
}

.editor-title i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.editor-title i:nth-child(2) {
  background: #febc2e;
}

.editor-title i:nth-child(3) {
  background: #28c840;
}

.editor-title span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  opacity: 0.85;
}

.editor-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 420px;
}

.editor-activity {
  display: flex;
  flex-direction: column;
  padding: 2px 0 6px;
  background: var(--e-activity);
  border-right: 1px solid var(--e-border, transparent);
}

.editor-activity .item {
  display: grid;
  place-items: center;
  height: 40px;
  color: var(--e-activity-idle);
}

.editor-activity .on {
  box-shadow: inset 2px 0 0 var(--e-activity-border);
  color: var(--e-activity-fg);
}

.editor-activity .end {
  margin-top: auto;
}

.editor-activity svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editor-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.editor-tabs {
  display: flex;
  background: var(--e-tabs);
  font-size: 12px;
}

.editor-tabs span {
  padding: 9px 16px;
  background: var(--e-tab-idle);
  color: var(--e-tab-idle-fg);
  white-space: nowrap;
}

.editor-tabs span.open {
  background: var(--e-tab);
  box-shadow: inset 0 1px 0 var(--e-tab-top, transparent);
  color: var(--e-tab-fg);
}

.editor-code {
  flex: 1;
  margin: 0;
  padding: 10px 0 14px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.editor-code .row {
  display: flex;
  white-space: pre;
}

.editor-code .row.current {
  background: var(--e-line-highlight, transparent);
}

.editor-code .n {
  flex: none;
  width: 44px;
  padding-right: 16px;
  color: var(--e-line);
  text-align: right;
  user-select: none;
}

.editor-code .row.current .n {
  color: var(--e-line-active);
}

.editor-code .i {
  font-style: italic;
}

.editor-code .b {
  font-weight: 700;
}

.editor-code .u {
  text-decoration: underline;
}

.editor-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 12px;
  background: var(--e-status);
  color: var(--e-status-fg);
  font-size: 11.5px;
  white-space: nowrap;
}

.editor-status span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-note {
  margin: 12px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

/* Real screenshots from VS Code. */
.gallery-toggle {
  justify-content: center;
  margin: 36px 0 0;
}

.gallery .shot {
  margin-top: 28px;
}

.gallery .shot img {
  transition: opacity 0.3s var(--ease);
}

.gallery .shot img.loading {
  opacity: 0.55;
}

.gallery-caption {
  margin: 16px 0 0;
  color: var(--text-3);
  font-size: 14px;
}

/* The light half, on a light ground between two strips of the fan's colours. */
.day {
  background: var(--day);
  color: var(--ink);
}

.day::before,
.day::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--swatches);
}

.day::before {
  top: 0;
}

.day::after {
  bottom: 0;
}

.day .eyebrow {
  color: #5b4fb0;
}

.day .lede {
  color: var(--ink-2);
}

.day .lede strong {
  color: var(--ink);
}

.day .gallery-caption {
  color: var(--ink-2);
}

.day .shot img {
  box-shadow: 0 0 0 1px rgba(29, 33, 64, 0.1), 0 30px 70px rgba(29, 33, 64, 0.22);
}

.day a {
  color: #5b4fb0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  text-align: center;
}

.stat {
  padding: 30px 32px 32px;
  border-radius: 24px;
  background: var(--tile);
}

.stat h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.stat p {
  margin: 10px 0 0;
  color: var(--text-2);
  line-height: 1.53;
}

.terminal {
  max-width: 860px;
  margin: 48px auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0b0e1a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 70px rgba(0, 0, 0, 0.55);
  color: #c8d3f5;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: left;
}

.terminal-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #141827;
}

.terminal-bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.terminal-bar i:nth-child(2) {
  background: #febc2e;
}

.terminal-bar i:nth-child(3) {
  background: #28c840;
}

.terminal-bar span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8e97bc;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
}

.terminal-lines {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 3ch;
  margin: 0;
  padding: 22px 24px 24px;
}

.terminal-lines dt,
.terminal-lines dd {
  margin: 0;
}

.terminal-lines code {
  font-size: 1em;
}

.terminal-lines dd {
  color: #7c84ac;
}

.terminal .p {
  color: #8ab4ff;
}

.snippet {
  width: fit-content;
  max-width: 100%;
  margin: 40px auto 0;
  overflow-x: auto;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--tile);
  box-shadow: 0 0 0 1px var(--line);
  color: #c8d3f5;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: 0;
  text-align: left;
}

.snippet .k {
  color: #8ab4ff;
}

.snippet .s {
  color: #4de0d0;
}

.snippet .c {
  color: #7c84ac;
}

.faq {
  max-width: 820px;
  margin: 56px auto 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.012em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--lavender-soft);
  transition: transform 0.3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  margin: -6px 0 26px;
  padding-right: 48px;
  color: var(--text-2);
  line-height: 1.53;
}

.closing {
  padding: 140px 0 120px;
}

.closing .hero-icon {
  width: 128px;
  height: 128px;
}

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  background: #080a13;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

footer li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 10px;
  vertical-align: -1px;
  background: rgba(255, 255, 255, 0.18);
}

footer a {
  color: var(--text-2);
}

footer p a {
  text-decoration: underline;
  text-decoration-color: rgba(167, 173, 200, 0.45);
  text-underline-offset: 3px;
}

footer p {
  margin: 0 0 10px;
}

footer .maker {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

footer .maker + nav ul {
  margin-top: 8px;
}

/* Only moved, never faded, so every line keeps its full contrast before it scrolls in. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transform: translateY(28px);
    transition: transform 1.1s var(--ease-out);
  }

  .js .reveal.shown {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1068px) {
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile.span-2,
  .tile.span-3 {
    grid-column: span 1;
  }

  .tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .browser {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

}

@media (max-width: 833px) {
  .nav-links {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Below 360px the brand and both buttons only fit with the heart alone. */
@media (max-width: 360px) {
  .nav-actions .label {
    display: none;
  }

  .nav-actions .pill-ghost {
    padding-inline: 9px;
  }
}

@media (max-width: 640px) {
  /* A wrapped row would end on a divider, so on a phone the links are spaced instead. */
  footer ul {
    gap: 10px 22px;
  }

  footer li:not(:last-child)::after {
    content: none;
  }

  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-icon {
    width: 84px;
    height: 84px;
  }

  .command {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border-radius: 20px;
  }

  .command code {
    white-space: normal;
  }

  .stage {
    margin-top: 40px;
  }

  .statement {
    padding-top: 72px;
  }

  .highlights {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .tile {
    padding: 26px 24px 28px;
  }

  .tile-art {
    height: 100px;
  }

  .figure {
    font-size: 54px;
  }

  .tile h3 {
    margin-top: 18px;
    font-size: 22px;
  }

  .points {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 44px;
  }

  .picker {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }

  .picker::-webkit-scrollbar {
    display: none;
  }

  .picker li {
    flex: none;
    scroll-snap-align: center;
  }

  .picker button {
    white-space: nowrap;
  }

  .family h3 {
    font-size: 34px;
  }

  .palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .editor-activity {
    display: none;
  }

  .editor-code {
    font-size: 11.5px;
  }

  .terminal {
    font-size: 13px;
  }

  .terminal-lines {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .terminal-lines dd {
    margin-bottom: 10px;
    padding-left: 2.5ch;
  }

  .faq summary {
    padding: 20px 40px 20px 0;
    font-size: 17px;
  }

  .faq details p {
    padding-right: 0;
  }

  .closing {
    padding: 96px 0 88px;
  }

  .closing .hero-icon {
    width: 100px;
    height: 100px;
  }
}
