/* The landing page, on its own: the documentation's pages keep styles.css and docs.css.

   Two themes, light (paper) and dark (night), from one set of tokens written once each with
   light-dark(): the page follows the system's theme until the visitor presses the switch, which sets
   data-theme on the root (the head's script restores it before the first paint). The hero window is
   the same in both themes, as the application's own window is.

   No remote font is loaded, as on the rest of the site: each stack names the face the page was drawn
   with first (Space Grotesk, Inter, IBM Plex Mono), used where the visitor has it installed, then the
   system's own. */

:root {
  color-scheme: light dark;

  --bg: light-dark(#f4efe4, #161717);
  --surface: light-dark(#fffaf2, #1f2120);
  --band: light-dark(#ebe3d3, #1b1c1b);
  --line: light-dark(#ddd5c4, #33362f);
  --ink: light-dark(#1c1d1d, #f2ece1);
  --soft: light-dark(#4a4a45, #c4beb2);
  --quiet: light-dark(#6b6a63, #9a958b);
  --accent: light-dark(#a8432c, #e07a62);
  --accent-hover: light-dark(#8e3825, #ef9a85);
  --accent-ink: light-dark(#fffaf2, #161717);
  --teal: light-dark(#1f6f7a, #6cc8d4);
  --shadow: light-dark(rgba(28, 29, 29, 0.22), rgba(0, 0, 0, 0.55));
  --halo: light-dark(rgba(168, 67, 44, 0.08), rgba(224, 122, 98, 0.1));
  --hover-lift: light-dark(rgba(28, 29, 29, 0.1), rgba(0, 0, 0, 0.4));
  /* Where the download band meets the page: on night, the same colour, so a line says the edge. */
  --download-edge: light-dark(transparent, #33362f);

  /* The application's window and the download band: one look in both themes. */
  --logo: #e07a62;
  --night: #161717;
  --night-ink: #f2ece1;
  --night-soft: #c4beb2;
  --night-quiet: #9a958b;
  --night-line: #33362f;
  --night-raised: #202320;
  --night-outline: #6b6a63;
  --coral: #e07a62;
  --coral-hover: #ef9a85;
  --window: #141515;
  --window-line: #2c2f2a;
  --window-panel: #1c1e1c;
  --window-terminal: #191b1a;
  --window-dot: #3a3d36;
  --window-text: #d8d5cd;
  --window-rail-text: #b9b5ab;
  --window-quiet: #8d8f89;
  --window-loud: #f5efe7;
  --window-paper: #f0ebe0;
  --window-sheet: #fffaf2;
  --window-sheet-line: #ddd5c4;
  --window-chip: #ebe3d3;
  --window-ink: #1c1d1d;
  --window-ink-soft: #4a4a45;
  --window-ink-quiet: #6b6a63;
  --window-added: #dcebe8;
  --window-added-ink: #1f4f55;
  --window-removed: #f3d9d1;
  --window-removed-ink: #7d2f1f;
  --window-teal: #1f6f7a;
  --window-coral-ink: #a8432c;
  --window-waiting: #2a201d;
  --green: #7fd18b;
  --amber: #e3c35a;
  --cyan: #42c4d5;

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
/* The sticky bar would cover a section's heading reached by its link. */
[id] { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.download :focus-visible, .window-agents :focus-visible { outline-color: var(--coral); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { max-width: 1180px; margin: 0 auto; padding-right: 32px; padding-left: 32px; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.quiet { color: var(--quiet); }
.soft { color: var(--soft); }
.teal { color: var(--teal); }
.accent-text { color: var(--accent); }
.spread { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(30px, 2.2vw + 14px, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.centred { text-align: center; }
p { margin: 0; }

/* Buttons ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button.small { min-height: 44px; padding: 10px 18px; font-size: 15px; line-height: 1.6; }
.button.large { min-height: 60px; padding: 17px 30px; font-size: 18px; line-height: 1.4; }
.button.accent { color: var(--accent-ink); background: var(--accent); }
.button.accent:hover { background: var(--accent-hover); }
.button.outline { padding: 16px 26px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500; }
.button.outline:hover { color: var(--bg); background: var(--ink); }
.button.coral { color: var(--night); background: var(--coral); }
.button.coral:hover { background: var(--coral-hover); }
.button.outline-dark { padding: 16px 26px; border: 1.5px solid var(--night-outline); color: var(--night-ink); font-weight: 500; }
.button.outline-dark:hover { border-color: var(--night-ink); }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* The bar at the top ---------------------------------------------------------- */

.top-bar { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: var(--bg); }
.top-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.ring { flex: none; color: var(--logo); }
.top-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 15px; }
.top-links > a:not(.button) { padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.top-links > a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.top-links .button { margin-left: 4px; }

.theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.theme-switch:hover { border-color: var(--ink); }
/* The sun on night (switching to the light theme), the moon on paper. Without scripts the switch does
   nothing, so it is not drawn. */
:root:not(.js) .theme-switch { display: none; }
.theme-switch .sun { display: none; }
:root[data-theme="dark"] .theme-switch .sun { display: block; }
:root[data-theme="dark"] .theme-switch .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-switch .sun { display: block; }
  :root:not([data-theme="light"]) .theme-switch .moon { display: none; }
}

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

.hero { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 80px; padding-bottom: 48px; text-align: center; }
/* Two lines, one sentence each: "Your agents do the work." / "You keep it." A sentence wraps only
   where the window is too narrow to hold it. */
.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw + 12px, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 span { display: block; }
@media (min-width: 760px) { .hero h1 span { white-space: nowrap; } }
.hero-line { max-width: 36ch; color: var(--soft); font-size: 21px; }
.hero .actions { margin-top: 6px; }
.small-print { color: var(--quiet); font-size: 14px; }

/* The loop: the application's window, playing ------------------------------------------- */

.loop { display: flex; flex-direction: column; gap: 22px; max-width: 1240px; margin: 0 auto; padding: 8px 32px 72px; }
.window {
  padding: 10px;
  border: 1px solid var(--window-line);
  border-radius: 20px;
  background: var(--window);
  box-shadow: 0 40px 80px var(--shadow), 0 0 0 6px var(--halo);
}
.window-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px 12px; color: var(--window-quiet); font-family: var(--mono); font-size: 12px; }
.window-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--window-dot); }
.window-name { display: flex; align-items: center; gap: 8px; margin-left: 10px; color: var(--window-text); }
.window-mode { margin-left: auto; color: var(--green); }
/* The Folders sheet's chip beside the folder's name: what waits in the project's other windows. */
.window-elsewhere { padding: 1px 9px; border: 1px solid var(--window-line); border-radius: 999px; color: var(--window-text); }
.window-body { display: flex; flex-wrap: wrap; gap: 8px; min-height: 470px; }
.window .amber { color: var(--amber); }
.window .coral { color: var(--coral); }
.window .green, .feature-card .green { color: var(--green); }
.window .muted, .feature-card .muted { color: var(--window-quiet); }

.window-rail {
  display: flex;
  flex: 0 1 210px;
  flex-direction: column;
  gap: 7px;
  padding: 16px 14px;
  border-radius: 12px;
  color: var(--window-rail-text);
  background: var(--window-panel);
  font-family: var(--mono);
  font-size: 13px;
}
.window-views { display: flex; gap: 4px; margin-bottom: 8px; padding: 3px; border-radius: 999px; background: var(--window); font-size: 11px; }
.window-views span { flex: 1; padding: 3px 0; border-radius: 999px; text-align: center; }
.window-views .on { color: var(--window-loud); background: var(--window-line); }
.window-rail .inner { padding-left: 12px; }
.window-rail .dim { color: var(--window-quiet); }
.window-mark { color: var(--cyan); }

.window-paper {
  display: flex;
  flex: 1 1 380px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 26px 28px;
  border-radius: 12px;
  color: var(--window-ink);
  background: var(--window-paper);
}
.window-caption { color: var(--window-ink-quiet); font-family: var(--mono); font-size: 12px; }
.window-agents .window-caption { color: var(--window-quiet); }
.window-code {
  padding: 14px 16px;
  border: 1px solid var(--window-sheet-line);
  border-radius: 10px;
  color: var(--window-ink-quiet);
  background: var(--window-sheet);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}
.window-code > div { white-space: pre-wrap; overflow-wrap: anywhere; }
.window-code .change { margin: 0 -6px; padding: 0 6px; border-radius: 4px; }
.window-code .added, .window-code .fixed { color: var(--window-added-ink); background: var(--window-added); }
.window-code .removed { color: var(--window-removed-ink); background: var(--window-removed); }
.window-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.window-chips span { padding: 5px 9px; border-radius: 6px; background: var(--window-chip); }
.window-chips .put-back { color: var(--window-coral-ink); }
.window-trigger { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--window-sheet-line); }
.window-trigger-title { font-family: var(--display); font-size: 16px; font-weight: 700; }
.armed { margin-left: 6px; padding: 3px 8px; border-radius: 6px; color: var(--window-teal); background: var(--window-added); font-family: var(--sans); font-size: 12px; font-weight: 500; }
.window-trigger-line { color: var(--window-ink-soft); font-family: var(--mono); font-size: 13px; }

.window-agents {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-radius: 12px;
  color: var(--window-text);
  background: var(--window-panel);
  font-size: 14px;
}
.asked { align-self: flex-end; max-width: 88%; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: var(--window-line); }
.agent-step { color: var(--window-quiet); font-family: var(--mono); font-size: 12px; }
.agent-step b { margin-right: 4px; font-weight: 400; }
.reply { padding-left: 12px; border-left: 2px solid var(--cyan); }
.tests {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--window-line);
  border-radius: 10px;
  background: var(--window);
  font-family: var(--mono);
  font-size: 12px;
}
.review { color: var(--window-quiet); font-family: var(--mono); font-size: 12px; }
.waiting { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 12px; border: 1px solid var(--coral); border-radius: 12px; background: var(--window-waiting); }
.waiting-said { color: var(--window-loud); }
.waiting-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.waiting-buttons span { padding: 7px 14px; border: 1px solid var(--window-dot); border-radius: 8px; }
.waiting-buttons .approve { border-color: var(--coral); color: var(--night); background: var(--coral); font-weight: 600; }

/* The stages. A stack lays its variants over each other, so it is as tall as the tallest and the
   window never changes size; the variant for the stage shows. With no stage set (no scripts, or less
   motion asked for) the last frame is drawn. */
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
[data-shown-at] { visibility: hidden; opacity: 0; }
:root:not([data-loop-stage]) [data-shown-at~="5"],
:root[data-loop-stage="0"] [data-shown-at~="0"],
:root[data-loop-stage="1"] [data-shown-at~="1"],
:root[data-loop-stage="2"] [data-shown-at~="2"],
:root[data-loop-stage="3"] [data-shown-at~="3"],
:root[data-loop-stage="4"] [data-shown-at~="4"],
:root[data-loop-stage="5"] [data-shown-at~="5"] { visibility: visible; opacity: 1; }

:root[data-loop-ahead~="1"] [data-from="1"],
:root[data-loop-ahead~="2"] [data-from="2"],
:root[data-loop-ahead~="3"] [data-from="3"],
:root[data-loop-ahead~="4"] [data-from="4"],
:root[data-loop-ahead~="5"] [data-from="5"] { visibility: hidden; opacity: 0; }

/* Before the turn changes anything, the lines it will change read as the others do. */
:root[data-loop-ahead~="1"] .window-code .added,
:root[data-loop-ahead~="1"] .window-code .removed,
:root[data-loop-ahead~="4"] .window-code .fixed { color: var(--window-ink-quiet); background: transparent; }

@media (prefers-reduced-motion: no-preference) {
  [data-shown-at], [data-from] { transition: opacity 0.35s ease, visibility 0.35s; }
  .window-code .change, .loop-steps li { transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease; }
}

/* The steps under the window: done, then the current one, then those to come. */
.loop-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.loop-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}
.loop-steps li span { font-family: var(--display); }
:root[data-loop-ahead~="1"] .loop-steps [data-at="1"],
:root[data-loop-ahead~="2"] .loop-steps [data-at="2"],
:root[data-loop-ahead~="3"] .loop-steps [data-at="3"],
:root[data-loop-ahead~="5"] .loop-steps [data-at="5"] { color: var(--quiet); background: transparent; }
:root:not([data-loop-stage]) .loop-steps [data-at="5"],
:root[data-loop-stage="0"] .loop-steps [data-at="0"],
:root[data-loop-stage="1"] .loop-steps [data-at="1"],
:root[data-loop-stage="2"] .loop-steps [data-at="2"],
:root[data-loop-stage="3"] .loop-steps [data-at="3"],
:root[data-loop-stage="5"] .loop-steps [data-at="5"] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }

/* Works with ---------------------------------------------------------------- */

.works-with { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works-with-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--soft);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}
.works-with-said { color: var(--quiet); font-family: var(--sans); font-size: 14px; font-weight: 500; }

/* Sections, cards ---------------------------------------------------------------- */

.section { display: flex; flex-direction: column; gap: 32px; padding-top: 88px; padding-bottom: 88px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
}
.card:hover { border-color: var(--accent); box-shadow: 0 10px 24px var(--hover-lift); }
.card p { color: var(--soft); }
@media (prefers-reduced-motion: no-preference) {
  .card { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
  .card:hover { transform: translateY(-2px); }
}

.three-steps, .box, .docs-links { margin: 0; padding: 0; list-style: none; }
.three-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.three-steps h3 { font-size: 20px; }
.step-number { color: var(--accent); font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.3; }

/* The four features: words and a picture, the picture first on every other row. */
.features { display: flex; flex-direction: column; gap: 80px; padding-top: 24px; padding-bottom: 96px; }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; }
.feature.flip .feature-words { order: 2; }
.feature-words { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.eyebrow { color: var(--accent); font-weight: 600; }
.feature-words > p:not(.eyebrow) { color: var(--soft); }
.more { color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.feature-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow-wrap: anywhere; }
.feature-card.mono { gap: 10px; font-size: 14px; }
.feature-card .verified { margin-top: 8px; }
.file-row { padding: 10px; border-radius: 8px; background: var(--bg); font-size: 13px; }
.feature-card.terminal { color: var(--window-text); background: var(--window-terminal); }
.feature-card.terminal .coral { color: var(--coral); }
.feature-card.channel { gap: 10px; font-size: 15px; }
.channel-question { padding: 12px; border: 1px solid var(--accent); border-radius: 10px; }
/* The Folders sheet: this window's folder first, then the longest wait, chosen. */
.feature-card.folders { gap: 6px; font-size: 15px; }
.folder-row { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; }
.folder-row.chosen { border-color: var(--accent); background: var(--bg); }
.folder-name { font-family: var(--mono); font-weight: 600; }
.feature-card.folders > .small:last-child { margin-top: 6px; }

/* Everything else in the box. */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); }
.box { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.box .card { gap: 6px; padding: 22px; border-color: transparent; border-radius: 14px; }
.box .card:hover { border-color: var(--accent); }
.box h3 { font-size: 17px; }
.box p { font-size: 15px; }

/* Nothing runs until you say so, and where to read more. */
.docs-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.docs-words { display: flex; flex-direction: column; gap: 14px; }
.docs-words h2 { font-size: clamp(28px, 1.8vw + 14px, 38px); }
.docs-words p { color: var(--soft); }
.docs-links { display: flex; flex-direction: column; gap: 10px; }
.docs-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
  text-decoration: none;
}
.docs-links a:hover { border-color: var(--accent); }
.docs-links .arrow { color: var(--quiet); font-weight: 400; }

/* The download band, and the site's navigation under it ------------------------------------ */

.download { border-top: 1px solid var(--download-edge); color: var(--night-ink); background: var(--night); }
.download-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.download h2 { max-width: 16ch; font-size: clamp(36px, 3.6vw + 16px, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.download-line { color: var(--night-soft); font-size: 19px; }
.download-detail { color: var(--night-quiet); font-size: 14px; }
.download-detail a, .licence a { color: var(--night-ink); text-underline-offset: 3px; }
.install-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 6px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: var(--night-raised);
}
.install-line code { color: var(--window-text); font-family: var(--mono); font-size: 13px; text-align: left; overflow-wrap: anywhere; }
.copy {
  min-width: 6.5em;
  min-height: 40px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  color: var(--night-ink);
  background: var(--night-line);
  cursor: pointer;
}
.copy:hover { background: var(--night-outline); }
:root:not(.js) .copy { display: none; }
.licence { color: var(--night-quiet); font-size: 14px; }

.site-foot { border-top: 1px solid var(--night-line); color: var(--night-soft); background: var(--night); font-size: 15px; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding-top: 18px; padding-bottom: 18px; }
.site-foot a { padding: 10px 12px; text-decoration: none; }
.site-foot a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 4px; }
.site-foot :focus-visible { outline-color: var(--coral); }

/* Narrower windows ---------------------------------------------------------------- */

@media (max-width: 860px) {
  .feature, .docs-block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.flip .feature-words { order: 0; }
  .features { gap: 64px; }
}

@media (max-width: 640px) {
  .wrap { padding-right: 20px; padding-left: 20px; }
  /* One row: the page's own sections are a scroll away, so the bar keeps what leaves the page. */
  .top-bar-row { flex-wrap: nowrap; gap: 8px; padding: 10px 14px; }
  .brand { gap: 8px; font-size: 20px; }
  .top-links { flex-wrap: nowrap; gap: 2px; }
  .top-links .in-page { display: none; }
  .top-links > a:not(.button) { padding: 10px 8px; }
  .button.small { padding: 10px 14px; white-space: nowrap; }
  .works-with-row { gap: 10px 22px; }
  .works-with-said { flex-basis: 100%; text-align: center; }
  .hero { gap: 20px; padding-top: 48px; padding-bottom: 36px; }
  .hero-line { font-size: 19px; }
  .button.large { width: 100%; }
  .loop { padding: 0 12px 56px; }
  .window { padding: 8px; border-radius: 16px; }
  .window-bar > span:nth-child(5) { display: none; }
  .window-body { min-height: 0; }
  .window-rail { flex-basis: 100%; }
  .window-paper { padding: 18px 16px; }
  .window-code { padding: 12px; font-size: 12px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .features { padding-bottom: 64px; }
  .feature-card { padding: 20px; }
  .download-inner { padding-top: 64px; padding-bottom: 64px; }
  .install-line { padding: 12px; }
}
