@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-400-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-700-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f5f1;
  --paper-2: #efeee8;
  --ink: #14211d;
  --ink-2: #4b5a54;
  --ash: #8d958f;
  --hair: rgba(31,49,52,.14);
  --sage: #6e9a84;
  --sage-deep: #4f7a66;
  --glass: rgba(255,255,255,.44);
  --glass-edge: rgba(255,255,255,.75);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Schibsted Grotesk", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --gutter: clamp(24px, 4.5vw, 72px);
}

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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  z-index: 0;
  margin: 0;
  min-width: 320px;
  background: transparent;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(246,245,241,.14), rgba(246,245,241,.14)), url("../img/sky.jpg") center / cover no-repeat;
  content: "";
  pointer-events: none;
}

main {
  background: linear-gradient(180deg, rgba(246,245,241,0) 0, rgba(246,245,241,0) 75vh, rgba(246,245,241,.55) 180vh, rgba(246,245,241,.62) 100%);
}

.attribution,
.site-foot {
  background: rgba(246,245,241,.62);
}

html[lang="en"] [data-l="zh"],
html[lang="zh-CN"] [data-l="en"] {
  display: none;
}

/* #dl-alt carries one label per language per target; the script sets
   data-region to the target it does NOT point at. */
#dl-alt [data-region] { display: none; }
#dl-alt[data-region="mirror"] [data-l="en"][data-region="github"],
#dl-alt[data-region="mirror"] [data-l="zh"][data-region="github"],
#dl-alt[data-region="github"] [data-l="en"][data-region="mirror"],
#dl-alt[data-region="github"] [data-l="zh"][data-region="mirror"] { display: inline; }
html[lang="en"] #dl-alt [data-l="zh"][data-region],
html[lang^="zh"] #dl-alt [data-l="en"][data-region] { display: none; }

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(110,154,132,.22);
  color: var(--ink);
}

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), backdrop-filter 300ms var(--ease);
}

.site-head.is-scrolled {
  border-bottom-color: var(--hair);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.site-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink-2);
  font-size: 13px;
}

.site-nav a,
.github-link,
.foot-nav a {
  transition: color 220ms var(--ease);
}

.site-nav a:hover,
.github-link:hover,
.foot-nav a:hover {
  color: var(--sage-deep);
}

.head-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--hair);
}

.lang-toggle button {
  min-width: 32px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--ash);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.lang-toggle button[aria-pressed="true"] {
  color: var(--sage-deep);
}

.github-link {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#hero {
  position: relative;
  min-height: 100svh;
  min-height: max(760px, 100svh);
  padding: 0 var(--gutter);
  overflow: hidden;
}

#hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 500px;
  max-width: 500px;
  padding-top: 22vh;
}

.eyebrow,
.meta,
.tag,
.seg-hint,
.download-mark {
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
}

.hero-copy h1 {
  max-width: 500px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.hero-copy h1 [data-l] > span {
  white-space: nowrap;
}

.hero-copy .sub {
  max-width: 54ch;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.72;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.btn-primary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.btn-primary {
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--sage-deep);
  border-radius: 8px;
  background: var(--sage-deep);
  color: var(--paper);
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}

.btn-primary:hover {
  border-color: var(--sage);
  background: var(--sage);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-text {
  position: relative;
  min-height: 40px;
  color: var(--ink-2);
}

.btn-text::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--hair);
  content: "";
  transition: background-color 220ms var(--ease);
}

.btn-text:hover {
  color: var(--sage-deep);
}

.btn-text:hover::after {
  background: var(--sage);
}

.meta {
  margin-top: 20px;
}

.wind-hint {
  position: absolute;
  z-index: 3;
  top: calc(var(--doll-y, 30vh) - 8px);
  left: calc(var(--doll-x, 72vw) - 240px);
  width: 200px;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.wind-hint::before {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  width: 32px;
  height: 1px;
  background: var(--ash);
  content: "";
  opacity: .55;
}

.wind-hint.is-gone {
  opacity: 0;
  transform: translateY(-4px);
}

.shot {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shot > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 24px 48px rgba(20,33,29,.16)) drop-shadow(0 2px 6px rgba(20,33,29,.08));
}

#hero-window {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  z-index: 1;
  top: max(50vh, 380px);
  left: max(620px, 46vw);
  width: min(1180px, 62vw);
  transform: perspective(1800px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-origin: 50% 50%;
  will-change: transform;
}

#epigraph {
  padding: 12vh var(--gutter);
  text-align: center;
}

.quote {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 13px;
}

.quote-src {
  margin-top: 10px;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.thesis {
  max-width: 780px;
  margin: 28px auto 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -.02em;
}

#film {
  padding: 12vh 0 10vh;
  scroll-margin-top: 72px;
  text-align: center;
}

.film-heading {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 var(--gutter);
}

.film-heading .tag {
  margin-bottom: 16px;
}

#film h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.film {
  position: relative;
  width: min(1200px, 92vw);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.film-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 8px 24px rgba(20,33,29,.12);
  color: var(--ink);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.film.is-playing .film-play {
  display: none;
}

.film-play:hover {
  background: rgba(255,255,255,.72);
}

.film-play svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.film-progress {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 7%;
  left: 7%;
  height: 2px;
  background: rgba(255,255,255,.32);
  pointer-events: none;
}

.film-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left center;
}

.film-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1200px, 92vw);
  min-height: 36px;
  margin: 14px auto 0;
}

.film-sound {
  min-height: 36px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ash);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.film-sound:hover,
.film-sound[aria-pressed="true"] {
  color: var(--sage-deep);
}

.chapter {
  position: relative;
  padding: 14vh var(--gutter);
  scroll-margin-top: 72px;
}

.chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: clamp(48px, 6vw, 96px);
}

.chapter-layout.is-reversed {
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
}

.chapter-layout > .chapter-copy {
  grid-column: 1;
  grid-row: 1;
}

.chapter-layout > .chapter-media {
  grid-column: 2;
  grid-row: 1;
}

.chapter-layout.is-reversed > .chapter-copy {
  grid-column: 2;
  justify-self: end;
}

.chapter-layout.is-reversed > .chapter-media {
  grid-column: 1;
}

.chapter-copy {
  max-width: 470px;
}

.chapter-media {
  width: 100%;
  min-width: 0;
}

.tag {
  margin-bottom: 18px;
}

.nb {
  display: inline-block;
  white-space: nowrap;
}

.chapter h2,
#download h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.chapter .body {
  max-width: 26em;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

.delegation {
  display: inline-flex;
  margin-top: 24px;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: rgba(246,245,241,.36);
  gap: 2px;
}

.seg {
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 11px;
}

.seg[aria-checked="true"] {
  background: rgba(110,154,132,.14);
  box-shadow: inset 0 0 0 1px rgba(110,154,132,.28);
  color: var(--sage-deep);
}

.seg-hint {
  margin-top: 10px;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}

#agents {
  padding-top: 8vh;
  padding-bottom: 8vh;
}

.agents-inner {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  gap: clamp(40px, 6vw, 88px);
}

.agents-heading {
  max-width: 480px;
}

.agents-heading .tag {
  margin-bottom: 14px;
}

.agents-heading .body {
  margin-top: 14px;
  font-size: 17px;
}

#agents h2 {
  font-size: clamp(30px, 3.2vw, 48px);
}

.pairing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
  gap: 20px;
}

.pair-readout {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.pair-lead,
.pair-heads {
  color: var(--sage-deep);
}

.pair-hint {
  color: var(--ash);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: right;
}

.providers {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.providers li {
  min-width: 0;
}

.prov {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.prov img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
}

.prov span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prov:hover img,
.prov.is-lead img,
.prov.is-head img {
  filter: grayscale(1);
  opacity: 1;
}

.prov.is-lead,
.prov.is-head {
  background: rgba(110,154,132,.06);
}

.prov.is-lead::after,
.prov.is-head::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.prov.is-head::after {
  background: var(--ash);
}

.sidebar-features {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  gap: 16px 32px;
}

.sidebar-feature {
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
  gap: 8px;
}

.sidebar-feature > img,
.sidebar-glyph {
  width: 18px;
  height: 18px;
  opacity: .62;
}

.sidebar-glyph {
  position: relative;
  display: block;
  flex: 0 0 18px;
}

.sidebar-projects {
  border: 1px solid var(--ink-2);
  border-radius: 3px;
}

.sidebar-projects::before,
.sidebar-projects::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink-2);
  content: "";
  transform: translate(-50%, -50%);
}

.sidebar-projects::before {
  width: 8px;
  height: 1px;
}

.sidebar-projects::after {
  width: 1px;
  height: 8px;
}

.sidebar-archive {
  border: 1px solid var(--ink-2);
  border-radius: 3px;
}

.sidebar-archive::before {
  position: absolute;
  top: 4px;
  right: 3px;
  left: 3px;
  height: 1px;
  background: var(--ink-2);
  box-shadow: 0 3px 0 var(--ink-2), 0 6px 0 var(--ink-2);
  content: "";
}

#download {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8vh var(--gutter) 14vh;
  scroll-margin-top: 88px;
  text-align: center;
}

.download-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 22px;
}

#download .actions {
  justify-content: center;
}

.reqs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 440px;
  margin: 40px auto 0;
  gap: 32px;
}

.reqs dt {
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reqs dd {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.install-steps {
  display: flex;
  justify-content: center;
  max-width: 560px;
  margin: 24px auto 0;
  padding: 0;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  list-style: none;
  counter-reset: install;
  gap: 32px;
}

.install-steps li {
  counter-increment: install;
}

.install-steps li::before {
  margin-right: 8px;
  color: var(--ash);
  content: "0" counter(install);
}

.update-note {
  margin-top: 28px;
  color: var(--ash);
  font-size: 13px;
}

.dl-sha {
  margin-top: 20px;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.download-mark {
  position: absolute;
  right: 28px;
  bottom: 24px;
}

.download-mark::before {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  background: var(--ash);
  content: "";
  vertical-align: middle;
  opacity: .6;
}

.site-foot {
  padding: 36px var(--gutter) 28px;
  border: 0;
  color: var(--ink-2);
  font-size: 12px;
}

.attribution {
  max-width: 800px;
  margin: 0 auto 32px;
  color: var(--ash);
  font-size: 11px;
  line-height: 1.75;
  text-align: center;
}

.attribution a {
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-underline-offset: 3px;
}

.foot-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 32px;
}

.foot-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.filings {
  display: flex;
  align-items: flex-end;
  color: var(--ash);
  font-size: 11px;
  text-align: right;
  flex-direction: column;
  gap: 4px;
}

.filing-public {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  opacity: .5;
}

.filing-public:hover {
  opacity: 1;
}

.filing-public img {
  width: 14px;
  height: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  #hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-copy {
    width: min(100%, 500px);
  }

  .wind-hint {
    display: none;
  }

  #hero-window {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-top: 64px;
  }

  .chapter-layout {
    gap: 48px;
  }

  .agents-inner {
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 40px;
  }

  .pairing {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .pair-hint {
    text-align: left;
  }

  .foot-row {
    grid-template-columns: 1fr auto;
  }

  .foot-nav {
    justify-content: flex-end;
  }

  .filings {
    grid-column: 1 / -1;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-head {
    grid-template-columns: 1fr 1fr;
    height: 64px;
  }

  .site-nav {
    display: none;
  }

  #hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-copy {
    width: min(100%, 500px);
    padding-top: 144px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 5.2vw, 68px);
  }

  .hero-copy .sub {
    max-width: 58ch;
  }

  .wind-hint {
    display: none;
  }

  #hero-window {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-top: 64px;
  }

  .chapter {
    padding: 12vh var(--gutter);
  }

  .chapter-layout,
  .chapter-layout.is-reversed {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .chapter-layout > .chapter-copy,
  .chapter-layout.is-reversed > .chapter-copy,
  .chapter-layout > .chapter-media,
  .chapter-layout.is-reversed > .chapter-media {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .chapter-copy,
  .agents-heading {
    max-width: 680px;
  }

  .chapter h2,
  #agents h2,
  #download h2 {
    font-size: 32px;
  }

  .sidebar-features {
    justify-content: flex-start;
    margin-top: 0;
  }

  #agents {
    padding-top: 8vh;
    padding-bottom: 8vh;
  }

  .agents-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .agents-interaction {
    max-width: 680px;
  }

  .film-heading {
    margin-bottom: 32px;
  }

  #download {
    margin: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .site-head {
    padding: 0 20px;
  }

  .head-tools {
    gap: 12px;
  }

  .github-link {
    display: none;
  }

  .lang-toggle {
    padding-left: 0;
    border-left: 0;
  }

  .hero-copy {
    padding-top: 128px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 5.2vw, 68px);
    line-height: 1.07;
  }

  .hero-copy .sub {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
  }

  .actions {
    align-items: flex-start;
    gap: 16px;
  }

  .btn-primary {
    padding-right: 16px;
    padding-left: 16px;
  }

  .btn-text {
    font-size: 12px;
  }

  #hero-window {
    margin-top: 48px;
  }

  .quote {
    font-size: 11px;
  }

  .thesis {
    margin-top: 24px;
    font-size: 22px;
  }

  .chapter .body {
    font-size: 17px;
  }

  .nb {
    white-space: normal;
  }

  .tag {
    font-size: 10px;
  }

  .delegation {
    display: flex;
    width: 100%;
  }

  .seg {
    min-width: 0;
    padding: 7px 6px;
    flex: 1;
  }

  .seg-hint {
    font-size: 10px;
    white-space: normal;
  }

  .sidebar-features {
    gap: 14px 20px;
  }

  .providers {
    gap: 4px;
  }

  .prov {
    width: 34px;
    min-height: 34px;
  }

  .film-play {
    width: 56px;
    height: 56px;
  }

  #download {
    padding: 8vh 20px 14vh;
  }

  #download .actions {
    align-items: center;
    flex-direction: column;
  }

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

  .install-steps {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .download-mark {
    right: 16px;
    bottom: 16px;
  }

  .site-foot {
    padding-right: 20px;
    padding-left: 20px;
  }

  .attribution {
    text-align: left;
  }

  .foot-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .foot-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .filings {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 [data-l] > span { white-space: normal; }
}
