/* getvelvet.tv. Tokens follow docs/BRAND-LANGUAGE.md. One accent: Quiet Champagne.
   Theatrical Oxblood lives only inside the two drape gradients (.hero-drape, .cla-drape). */

@font-face {
  font-family: "Newsreader Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-display.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-variable.woff2") format("woff2");
}

:root {
  --canvas: #0a0908;
  --surface: #12100e;
  --control: #1c1815;
  --ink: #f2efea;
  --body: #dcd6cc;
  --stone: #bdb6ab;
  --pewter: #8e877d;
  --accent: #e9dabb;
  --ok: #9ac8a2;
  --error: #e5a09a;
  --divider: rgb(242 239 234 / 0.14);
  --rule: rgb(242 239 234 / 0.08);
  --plate: rgb(242 239 234 / 0.065);
  --display: "Newsreader Display", "Newsreader", Georgia, "Times New Roman", serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: 32px;
  --press: 120ms;
  color-scheme: dark;
}

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

html {
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgb(233 218 187 / 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--press), text-decoration-color var(--press);
}
a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow {
  max-width: calc(860px + 2 * var(--gutter));
}
/* Heading at the left, content at the right: the roadmap and support sections. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 88px;
  align-items: start;
}
.split-head > .caps {
  margin-bottom: 18px;
}
.split-body > .section-lede:first-child {
  margin-top: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  color: var(--surface);
}

/* Micro-caps: the brand's caption voice. */
.caps {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pewter);
}
.dot {
  color: var(--pewter);
  padding-inline: 0.35em;
}

/* ---- Navigation ---------------------------------------------------------------------- */

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav-mark {
  display: block;
  /* The master keeps 24 units of clear space inside its viewBox; pull the glyphs to the gutter. */
  margin-left: -7px;
  border-radius: 6px;
}
.nav-mark img {
  width: 114px;
  height: 44px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.nav-links a {
  color: var(--stone);
  text-decoration: none;
  padding: 10px 0;
}
.nav-links a:hover {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgb(242 239 234 / 0.18);
  border-radius: 10px;
  background: var(--plate);
  color: var(--ink);
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--press), border-color var(--press), color var(--press);
}
.button:hover {
  background: rgb(242 239 234 / 0.11);
  border-color: rgb(242 239 234 / 0.3);
  color: var(--ink);
}
/* Fill follows focus: the one primary action is solid ivory with a lamp bloom. */
.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  box-shadow: 0 10px 34px -12px rgb(233 218 187 / 0.42);
}
.button-primary:hover {
  background: #fffdf9;
  border-color: #fffdf9;
  color: var(--surface);
}
.button-block {
  width: 100%;
}
.link-button {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--stone);
  font: 400 14px/1.4 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgb(189 182 171 / 0.5);
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover {
  color: var(--ink);
}

/* ---- Hero: the curtain has just parted ------------------------------------------------- */

.hero {
  position: relative;
  padding: 176px 0 104px;
  text-align: center;
  overflow: hidden;
}
.hero-drape {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1040px;
  pointer-events: none;
  background:
    radial-gradient(44% 34% at 50% 0%, rgb(233 218 187 / 0.11), transparent 72%),
    radial-gradient(40% 44% at 50% 30%, rgb(78 18 29 / 0.5), transparent 74%),
    linear-gradient(90deg, rgb(92 20 32 / 0.66) 0%, rgb(78 18 29 / 0.46) 8%, rgb(34 8 13 / 0.6) 19%, transparent 37%),
    linear-gradient(270deg, rgb(92 20 32 / 0.66) 0%, rgb(78 18 29 / 0.46) 8%, rgb(34 8 13 / 0.6) 19%, transparent 37%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 100%);
}
/* Pleats: soft vertical folds, only where the drape hangs. */
.hero-drape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgb(0 0 0 / 0) 0,
    rgb(0 0 0 / 0.34) 22px,
    rgb(0 0 0 / 0) 46px,
    rgb(122 29 45 / 0.16) 62px,
    rgb(0 0 0 / 0) 84px
  );
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.55) 14%, transparent 34%, transparent 66%, rgb(0 0 0 / 0.55) 86%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.55) 14%, transparent 34%, transparent 66%, rgb(0 0 0 / 0.55) 86%, #000 100%);
}
.hero-inner {
  position: relative;
}
.hero-eyebrow {
  color: var(--stone);
  margin-bottom: 28px;
}
.hero h1,
.cla-masthead h1,
.message h1 {
  font: 400 clamp(2.55rem, 5vw + 0.9rem, 5.25rem) / 1.03 var(--display);
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-line {
  display: block;
  color: var(--accent);
}
.hero-lede {
  max-width: 43em;
  margin: 28px auto 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.screen img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--divider), 0 60px 120px -50px rgb(0 0 0 / 0.95);
  background: var(--surface);
}
.hero-screen {
  position: relative;
  margin-top: 84px;
}
/* The proscenium hairline from the poster, drawn around the screen. */
.hero-screen::before {
  content: "";
  position: absolute;
  inset: -14px -14px 28px;
  border: 1px solid rgb(233 218 187 / 0.13);
  border-radius: 18px;
  pointer-events: none;
}
.hero-screen figcaption {
  margin-top: 30px;
}

/* ---- Sections ------------------------------------------------------------------------ */

.section {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
}
.section-last {
  padding-bottom: 136px;
}
.section > .wrap > .caps {
  margin-bottom: 18px;
}
.section h2 {
  max-width: 20em;
  font: 400 clamp(2.1rem, 2.2vw + 1.3rem, 3rem) / 1.08 var(--display);
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.section-lede {
  max-width: 40em;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* Architecture: four unboxed columns on drafting hairlines. */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--divider);
}
.fact {
  padding: 28px 28px 0 0;
}
.fact + .fact {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
.fact-label {
  margin-bottom: 18px;
}
.fact h3,
.track h3 {
  font: 500 23px/1.22 var(--serif);
  letter-spacing: -0.008em;
  color: var(--ink);
}
/* Two lines reserved so the four paragraphs start on one baseline. */
.fact h3 {
  min-height: 2.44em;
}
.fact p:last-child {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--stone);
}

/* ---- Install tabs -------------------------------------------------------------------- */

.tabs {
  margin-top: 48px;
}
.tablist {
  display: none;
  gap: 40px;
  border-bottom: 1px solid var(--divider);
}
.js .tablist {
  display: flex;
}
.tablist [role="tab"] {
  position: relative;
  padding: 14px 0 15px;
  border: 0;
  background: none;
  color: var(--stone);
  font: 500 17px/1.2 var(--sans);
  cursor: pointer;
  transition: color var(--press);
}
.tablist [role="tab"]:hover {
  color: var(--ink);
}
.tablist [role="tab"][aria-selected="true"] {
  color: var(--ink);
}
/* The active tab takes the same ivory rule the TV tab bar draws. */
.tablist [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--ink);
}
.panel {
  margin-top: 28px;
  padding: 36px 40px 40px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
}
.panel[hidden] {
  display: none;
}
.panel > p {
  max-width: 44em;
}
.panel-title {
  margin-bottom: 12px;
  font: 500 24px/1.2 var(--serif);
  color: var(--ink);
}
.js .panel-title {
  display: none;
}
.panel-note {
  color: var(--stone);
  font-size: 15px;
}

.cmd {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  border: 1px solid var(--divider);
  border-radius: 10px;
  background: var(--canvas);
}
.cmd pre {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  font: 400 14px/1.75 var(--mono);
  color: var(--ink);
  white-space: normal;
  border-radius: 10px;
}
/* A long command wraps under itself with a hanging indent; nothing hides off-screen. */
.cmd-line {
  display: block;
  padding-left: 2ch;
  text-indent: -2ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cmd pre code {
  font-size: inherit;
}
.copy {
  display: none;
  flex: none;
  align-items: center;
  min-width: 76px;
  min-height: 36px;
  margin: 9px;
  padding: 0 14px;
  justify-content: center;
  border: 1px solid rgb(242 239 234 / 0.14);
  border-radius: 8px;
  background: var(--control);
  color: var(--ink);
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  transition: border-color var(--press), color var(--press);
}
.js .copy {
  display: inline-flex;
}
.copy:hover {
  border-color: rgb(242 239 234 / 0.34);
}
.copy[data-copied] {
  border-color: var(--accent);
  color: var(--accent);
}
.copy-inline {
  margin: 0 0 0 10px;
}

.tv-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  margin-top: 30px;
}
.tv-col {
  min-width: 0;
  padding-right: 44px;
}
.tv-col + .tv-col {
  padding: 0 0 0 44px;
  border-left: 1px solid var(--rule);
}
.tv-label {
  margin-bottom: 14px;
  color: var(--accent);
}
.steps {
  padding-left: 1.3em;
  color: var(--body);
}
.steps li {
  padding-left: 4px;
  margin: 6px 0;
}
.steps li::marker {
  color: var(--pewter);
  font-variant-numeric: tabular-nums;
}
.tv-code {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.tv-code dt {
  margin-bottom: 8px;
}
.code-digits {
  font: 400 60px/1 var(--display);
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
}
.code-pending {
  font: 400 34px/1.1 var(--display);
  letter-spacing: -0.015em;
  color: var(--stone);
}
.tv-url {
  display: flex;
  align-items: center;
  font: 400 18px/1.3 var(--mono);
  color: var(--ink);
}

/* ---- Gallery ------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 64px;
}
.gallery-main {
  display: grid;
  gap: 48px;
}
.gallery figcaption {
  max-width: 40em;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
}
.gallery figcaption .caps {
  display: block;
  margin-bottom: 6px;
}
.gallery-phone img {
  border-radius: 16px;
}

/* ---- Roadmap probe ------------------------------------------------------------------- */

.tracks {
  list-style: none;
  padding: 0;
  margin-top: 0;
  border-top: 1px solid var(--divider);
}
.track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.track-text p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--stone);
}
.track-text .track-count {
  margin-top: 8px;
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.toggle-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgb(242 239 234 / 0.18);
  border-radius: 10px;
  background: var(--plate);
  color: var(--ink);
  font: 600 14px/1 var(--sans);
  transition: background-color var(--press), border-color var(--press), color var(--press);
}
.toggle:hover .toggle-face {
  border-color: rgb(242 239 234 / 0.32);
}
.toggle-on {
  display: none;
}
.toggle-on::before {
  content: "\2713\00a0";
}
.toggle input:checked + .toggle-face {
  border-color: var(--accent);
  background: rgb(233 218 187 / 0.12);
  color: var(--accent);
}
.toggle input:checked + .toggle-face .toggle-off {
  display: none;
}
.toggle input:checked + .toggle-face .toggle-on {
  display: inline;
}
.toggle input:focus-visible + .toggle-face {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.notify {
  margin-top: 36px;
}
.notify label {
  display: block;
  margin-bottom: 12px;
  color: var(--body);
}
.notify-row {
  display: flex;
  gap: 12px;
  max-width: 520px;
}
input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgb(142 135 125 / 0.55);
  border-radius: 10px;
  background: var(--control);
  color: var(--ink);
  font: 400 16px/1.2 var(--sans);
}
input[type="email"]::placeholder {
  color: var(--stone);
  opacity: 0.72;
}
input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.notify-hint {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--pewter);
}
.probe-status {
  min-height: 1.6em;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ok);
}
.probe-status[data-state="error"] {
  color: var(--error);
}
.turnstile-slot:not(:empty) {
  margin-top: 14px;
}

.notice {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.notice-error {
  border-color: rgb(229 160 154 / 0.4);
  background: rgb(229 160 154 / 0.07);
  color: var(--error);
}
.notice-ok {
  border-color: rgb(154 200 162 / 0.4);
  background: rgb(154 200 162 / 0.07);
  color: var(--ok);
}

.support-actions {
  justify-content: flex-start;
}
.support-links {
  margin-top: 30px;
  font-size: 15px;
  color: var(--stone);
}

/* ---- Footer -------------------------------------------------------------------------- */

.footer {
  padding: 36px 0 56px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
}
.footer-note {
  max-width: 34em;
  color: var(--pewter);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
}
.footer-links a {
  color: var(--stone);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}

/* ---- Contributor agreement ----------------------------------------------------------- */

.cla-masthead,
.message {
  position: relative;
  padding: 176px 0 72px;
  overflow: hidden;
}
.message {
  min-height: 72vh;
}
/* A quieter drape than the front page: the throw from above and a faint oxblood valance. */
.cla-drape {
  position: absolute;
  inset: 0 0 auto 0;
  height: 460px;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgb(233 218 187 / 0.08), transparent 72%),
    radial-gradient(90% 100% at 50% -24%, rgb(92 20 32 / 0.5), rgb(34 8 13 / 0.34) 52%, transparent 80%);
}
.cla-masthead .wrap,
.message .wrap {
  position: relative;
}
.cla-masthead h1,
.message h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 3.4vw + 1.1rem, 4.25rem);
}
.cla-lede,
.message .hero-lede {
  margin-left: 0;
}
.message .hero-actions {
  justify-content: flex-start;
}

.cla-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 408px;
  gap: 80px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 136px;
}
.sign-panel {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 32px;
  padding: 32px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: var(--surface);
  scroll-margin-top: 32px;
}
.agreement {
  grid-column: 1;
  grid-row: 1;
  max-width: 41em;
  font-size: 17px;
  line-height: 1.7;
}
.sign-kicker {
  margin-bottom: 12px;
  color: var(--accent);
}
.sign-kicker-ok {
  color: var(--ok);
}
.sign-panel h2 {
  font: 500 27px/1.18 var(--serif);
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.sign-panel > p,
.sign-done > p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--stone);
}
.sign-pr {
  color: var(--body);
}
.sign-steps {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}
.sign-steps > li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(142 135 125 / 0.7);
  border-radius: 50%;
  color: var(--stone);
  font: 600 13px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.sign-steps h3 {
  font: 600 15.5px/1.4 var(--sans);
  color: var(--stone);
  padding-top: 3px;
}
.sign-steps p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--stone);
}
.sign-steps .button {
  margin-top: 12px;
}
/* The action row spans the whole panel: the human check needs 300px, more than the text column has. */
.sign-steps .step-wide {
  grid-column: 1 / -1;
  margin-top: 0;
}
.sign-steps .step-wide .button {
  margin-top: 0;
}
.sign-steps .turnstile-slot:not(:empty) {
  margin: 0 0 14px;
  min-height: 65px;
}
.sign-steps .is-current .step-n {
  border-color: var(--accent);
  color: var(--accent);
}
.sign-steps .is-current h3,
.sign-steps .is-done h3 {
  color: var(--ink);
}
.sign-steps .is-done .step-n {
  border-color: var(--ok);
  background: rgb(154 200 162 / 0.12);
  color: var(--ok);
}
.confirm {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
  cursor: pointer;
}
.confirm input {
  /* 24px is the smallest pointer target WCAG 2.2 allows. */
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--accent);
}
.signout {
  margin-top: 10px;
}
.sign-done .button {
  margin-top: 6px;
}

.agreement-kicker {
  margin-bottom: 22px;
}
.agreement > p {
  margin-top: 16px;
}
.agreement h2 {
  margin-top: 52px;
  font: 500 27px/1.2 var(--serif);
  letter-spacing: -0.012em;
  color: var(--ink);
}
.agreement h2 + p {
  margin-top: 12px;
}
.agreement ul,
.agreement ol {
  margin-top: 14px;
  padding-left: 1.35em;
}
.agreement li {
  margin: 10px 0;
  padding-left: 4px;
}
.agreement li::marker {
  color: var(--pewter);
}
.agreement-version {
  margin-top: 56px !important;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--pewter);
}
.agreement-version a {
  color: var(--stone);
}

/* ---- Narrower screens ---------------------------------------------------------------- */

@media (max-width: 1040px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }
  .fact,
  .fact + .fact {
    padding: 28px 28px 36px 0;
    border-left: 0;
    border-top: 1px solid var(--divider);
  }
  .fact:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--rule);
  }
  .cla-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .fact h3 {
    min-height: 0;
  }
  .sign-panel,
  .agreement {
    grid-column: auto;
    grid-row: auto;
  }
  .sign-panel {
    position: static;
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .nav-wide {
    display: none;
  }
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-phone {
    max-width: 320px;
  }
  .tv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-col,
  .tv-col + .tv-col {
    padding: 0;
    border-left: 0;
  }
  .tv-col + .tv-col {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
  .nav-row {
    height: 76px;
  }
  .nav-links {
    gap: 22px;
  }
  .hero {
    padding: 128px 0 72px;
  }
  .hero-drape {
    height: 760px;
    background:
      radial-gradient(90% 30% at 50% 0%, rgb(233 218 187 / 0.1), transparent 72%),
      radial-gradient(80% 40% at 50% 26%, rgb(78 18 29 / 0.5), transparent 74%),
      linear-gradient(90deg, rgb(92 20 32 / 0.6) 0%, rgb(34 8 13 / 0.5) 16%, transparent 34%),
      linear-gradient(270deg, rgb(92 20 32 / 0.6) 0%, rgb(34 8 13 / 0.5) 16%, transparent 34%);
  }
  .hero-eyebrow {
    margin-bottom: 22px;
  }
  .eyebrow-wide {
    display: none;
  }
  .split {
    gap: 36px;
  }
  .hero-line {
    display: inline;
  }
  .hero-lede {
    font-size: 17px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .hero-screen {
    margin-top: 60px;
  }
  .hero-screen::before {
    inset: -8px -8px 34px;
    border-radius: 12px;
  }
  .screen img {
    border-radius: 6px;
  }
  .gallery-phone img {
    border-radius: 14px;
  }
  .section {
    padding: 80px 0;
  }
  .section-lede {
    font-size: 17px;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 44px;
  }
  .fact,
  .fact + .fact,
  .fact:nth-child(even) {
    padding: 24px 0 28px;
    border-left: 0;
  }
  .tablist {
    gap: 0;
    justify-content: space-between;
  }
  .tablist [role="tab"] {
    font-size: 16px;
  }
  .panel {
    padding: 24px 20px 26px;
    border-radius: 12px;
  }
  .cmd pre {
    font-size: 13px;
    padding: 14px;
  }
  .code-digits {
    font-size: 52px;
  }
  .gallery {
    gap: 40px;
    margin-top: 44px;
  }
  .gallery-main {
    gap: 40px;
  }
  .cmd {
    flex-direction: column;
  }
  .cmd pre {
    width: 100%;
    padding-bottom: 6px;
  }
  .cmd > .copy {
    align-self: flex-end;
  }
  .toggle-face {
    min-width: 112px;
  }
  .footer-row {
    flex-direction: column;
  }
  .cla-masthead,
  .message {
    padding: 124px 0 44px;
  }
  .cla-layout {
    gap: 48px;
    padding-top: 8px;
    padding-bottom: 88px;
  }
  .sign-panel {
    padding: 24px 20px;
  }
  .agreement {
    font-size: 16.5px;
  }
  .agreement h2 {
    margin-top: 44px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }
}
