/* SPDX-License-Identifier: GPL-3.0-only */

:root {
  color-scheme: dark;
  --void: #090b0e;
  --bg: #0d1115;
  --panel: #141a20;
  --rise: #1a222b;
  --line: #27313b;
  --line-strong: #3a4652;
  --ink: #f0efeb;
  --dim: #a5adb7;
  --faint: #8f98a4;
  --brass: #d9a648;
  --brass-light: #efbd56;
  --brass-ink: #211803;
  --ok-text: #7fc294;
  --display: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --data: "Cascadia Mono", Consolas, monospace;
  --shell: min(1280px, calc(100vw - 48px));
  --focus: 0 0 0 2px var(--void), 0 0 0 4px var(--brass);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

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

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

button,
summary {
  font: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  translate: 0 -160%;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 800;
}

.skip-link:focus {
  translate: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgb(217 166 72 / 20%);
  background: rgb(7 10 13 / 76%);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgb(7 10 13 / 94%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 35%);
}

.header-inner {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 12px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.primary-nav a,
.site-footer nav a {
  position: relative;
  color: var(--dim);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 2px;
  scale: 0 1;
  background: var(--brass);
  content: "";
  transition: scale 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.site-footer nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  scale: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.version-chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--faint);
  font-family: var(--data);
  font-size: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #f1bd55;
  border-radius: 3px;
  background: linear-gradient(180deg, #efb94e, var(--brass));
  box-shadow: 0 8px 28px rgb(217 166 72 / 16%), inset 0 1px rgb(255 255 255 / 25%);
  color: var(--brass-ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(217 166 72 / 25%), inset 0 1px rgb(255 255 255 / 30%);
  filter: brightness(1.05);
}

.button svg,
.source-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.button--small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 11px;
}

.button--small svg {
  width: 17px;
}

.button--large {
  min-height: 62px;
  padding: 9px 24px;
  gap: 14px;
}

.button--large > svg {
  width: 27px;
}

.button--large span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.button--large strong {
  font-size: 14px;
}

.button--large small {
  font-family: var(--data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.72;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  padding-bottom: 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--void);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0 0 auto;
  height: 860px;
}

.hero-art {
  background: url("assets/reveille-hero.png") center top / cover no-repeat;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(4 7 9 / 52%) 0%, rgb(4 7 9 / 12%) 50%, rgb(4 7 9 / 4%) 100%),
    linear-gradient(180deg, rgb(4 7 9 / 12%) 0%, transparent 57%, var(--void) 97%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
  padding: 150px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow,
.kicker {
  color: var(--brass-light);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgb(217 166 72 / 20%);
  border-radius: 3px;
  gap: 9px;
  background: rgb(9 11 14 / 58%);
}

.eyebrow i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
}

.hero h1 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(52px, 5.2vw, 77px);
  font-weight: 800;
  letter-spacing: 0.018em;
  line-height: 0.93;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 3px 25px rgb(0 0 0 / 60%);
}

.hero h1 em {
  color: var(--brass-light);
  font-style: normal;
}

.hero-promise {
  max-width: 600px;
  margin-top: 26px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 14px #000;
}

.hero-lede {
  max-width: 590px;
  margin-top: 14px;
  color: #bdc3ca;
  font-size: 17px;
  line-height: 1.65;
  text-shadow: 0 2px 10px #000;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--dim);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-link:hover {
  border-color: var(--brass);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 12px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  width: 18px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.7;
}

.preview-wrap {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 45px;
  left: 0;
}

.preview-wrap {
  position: relative;
  z-index: 4;
}

/* Four real frames cross-fade on one 16s loop; each step's caption lights with its frame. */
.clip {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0e1318;
  box-shadow: 0 25px 70px rgb(0 0 0 / 60%);
}

.clip__frames {
  display: grid;
  aspect-ratio: 1920 / 1140;
}

.clip__frames img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  animation: clip-frame 16s infinite;
  opacity: 0;
}

.clip__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.clip__steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  animation: clip-step 16s infinite;
}

.clip__steps li:last-child {
  border-right: 0;
}

.clip__steps li::after {
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  scale: 0 1;
  transform-origin: left;
  background: var(--brass);
  content: "";
  animation: clip-bar 16s linear infinite;
}

.clip__steps b {
  display: grid;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--data);
  font-size: 11px;
  font-weight: 400;
}

.clip__frames img:nth-child(2),
.clip__steps li:nth-child(2),
.clip__steps li:nth-child(2)::after {
  animation-delay: 4s;
}

.clip__frames img:nth-child(3),
.clip__steps li:nth-child(3),
.clip__steps li:nth-child(3)::after {
  animation-delay: 8s;
}

.clip__frames img:nth-child(4),
.clip__steps li:nth-child(4),
.clip__steps li:nth-child(4)::after {
  animation-delay: 12s;
}

@keyframes clip-frame {
  0% { opacity: 0; }
  3%, 25% { opacity: 1; }
  28%, 100% { opacity: 0; }
}

@keyframes clip-step {
  0%, 25% { color: var(--ink); }
  26%, 100% { color: var(--faint); }
}

@keyframes clip-bar {
  0% { scale: 0 1; }
  25% { scale: 1 1; }
  25.01%, 100% { scale: 0 1; }
}

.shot {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgb(0 0 0 / 45%);
}

.label {
  color: var(--faint);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.section-heading {
  max-width: 620px;
}

.section--features .section-heading {
  max-width: 820px;
}

.section-heading h2,
.final-cta h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-heading h2 + p,
.section-heading > p:last-child {
  max-width: 560px;
  margin-top: 20px;
  color: var(--dim);
  font-size: 17px;
}

.section--features {
  background:
    linear-gradient(180deg, transparent, rgb(0 0 0 / 18%)),
    radial-gradient(circle at 82% 20%, rgb(217 166 72 / 6%), transparent 30%),
    var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.feature-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 44px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), #11161b);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom left, #000, transparent 55%);
  pointer-events: none;
}

.feature-card--wide {
  display: grid;
  grid-template-columns: 52px minmax(0, 480px) 1fr;
  gap: 0 32px;
  align-items: center;
  grid-column: span 2;
  min-height: 310px;
}

.feature-number {
  position: relative;
  z-index: 1;
  align-self: start;
  color: var(--brass);
  font-family: var(--data);
  font-size: 12px;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.feature-card p {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin-top: 18px;
  color: var(--dim);
}

.mini-list {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  border: 1px solid var(--line);
  background: rgb(8 11 14 / 65%);
}

.mini-list span {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  padding: 8px 12px;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--data);
  font-size: 11px;
}

.mini-list span:last-child {
  border-bottom: 0;
}

.mini-list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mini-list .on-disk {
  background: var(--ok-text);
}

.mini-list .to-get {
  border: 1px solid var(--brass);
}

.mini-list b {
  color: var(--faint);
  font-weight: 400;
}

.package {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgb(8 11 14 / 65%);
  color: var(--dim);
  font-family: var(--data);
  font-size: 11px;
}

.package svg {
  width: 28px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
}

.package i {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--brass) 72%, var(--line) 72%);
}

.feature-card:not(.feature-card--wide) {
  padding-bottom: 170px;
}

.feature-card--shot .shot {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 540px);
}

.feature-card--launch .launch-button {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  width: auto;
}

.feature-card--menu {
  padding-bottom: 230px;
}

.shot--float {
  position: absolute;
  right: 34px;
  bottom: -1px;
  width: min(62%, 372px);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.launch-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--brass-ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 40px rgb(217 166 72 / 18%);
}

.section--steps {
  border-block: 1px solid var(--line);
  background: #0a0e12;
}

.steps-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 140px);
}

.section-heading--sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.requirement {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgb(217 166 72 / 35%);
  border-left: 2px solid var(--brass);
  background: rgb(217 166 72 / 5%);
}

.requirement svg {
  width: 24px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.7;
}

.requirement p {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.55;
}

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

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps--short li {
  align-items: center;
  padding: 26px 0;
}

.steps--short p {
  margin-top: 4px;
}

.steps li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--data);
  font-size: 13px;
}

.steps h3 {
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.steps p {
  max-width: 560px;
  margin-top: 10px;
  color: var(--dim);
}

.section--then {
  padding: 60px 0 110px;
  background: var(--void);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center > p:last-child {
  margin-inline: auto;
}

.then-now {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  padding: 0;
  margin: 60px 0 0;
  border: 1px solid var(--line);
  list-style: none;
}

.then-now li {
  padding: 30px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, #141a20, #0e1318);
}

.then-now li:last-child {
  border-right: 0;
}

.then-now--reveille {
  box-shadow: inset 0 2px var(--brass);
}

.then-now__year {
  color: var(--brass);
  font-family: var(--data);
  font-size: 11px;
}

.then-now h3 {
  margin: 6px 0 22px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 6px;
}

.chain span {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--dim);
  font-family: var(--data);
  font-size: 12px;
  white-space: nowrap;
}

.chain span + span {
  position: relative;
  margin-left: 16px;
}

.chain span + span::before {
  position: absolute;
  left: -17px;
  color: var(--faint);
  content: "→";
}

.chain__go {
  border-color: var(--brass) !important;
  background: var(--brass);
  color: var(--brass-ink) !important;
  font-weight: 700;
}

.chain__fail {
  border-color: rgb(224 122 95 / 55%) !important;
  color: #e89a84 !important;
}

.section--works {
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgb(217 166 72 / 7%), transparent 34%), var(--bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 56px 0 0;
  border: 1px solid var(--line);
  list-style: none;
}

.works-grid li {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, #171d23, #0e1318);
}

.works-grid li:last-child {
  border-right: 0;
}

.works-grid h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.1;
  text-transform: uppercase;
}

.works-grid h3 a {
  border-bottom: 1px solid rgb(217 166 72 / 45%);
}

.works-grid h3 a:hover {
  color: var(--brass-light);
}

.works-grid p {
  margin-top: 10px;
  color: var(--faint);
  font-size: 13px;
}

.section--admins {
  border-top: 1px solid var(--line);
  background: #0a0e12;
}

.admins-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.admin-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.admin-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.admin-list b {
  color: var(--brass);
  font-family: var(--data);
  font-size: 12px;
  font-weight: 400;
}

.admin-list h3 {
  font-family: var(--display);
  font-size: 21px;
  text-transform: uppercase;
}

.admin-list p {
  margin-top: 8px;
  color: var(--dim);
}

code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--void);
  color: var(--brass-light);
  font-family: var(--data);
  font-size: 0.86em;
}

.section--faq {
  border-top: 1px solid var(--line);
  background: #0a0e12;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 8vw, 130px);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

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

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 8px;
  color: var(--brass);
  content: "+";
  font-family: var(--data);
  font-size: 24px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  padding: 0 52px 24px 0;
  color: var(--dim);
  font-size: 14px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid rgb(217 166 72 / 25%);
  background: radial-gradient(circle at 50% 30%, rgb(217 166 72 / 15%), transparent 38%), #090c0f;
  text-align: center;
}

.final-cta__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(217 166 72 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(217 166 72 / 5%) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle, #000, transparent 65%);
}

.final-cta__inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.final-mark {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  object-fit: contain;
}

.final-cta h2 {
  margin-top: 10px;
  font-size: clamp(48px, 6vw, 78px);
}

.final-cta__inner > p:not(.kicker) {
  margin-top: 14px;
  color: var(--dim);
}

.final-cta .button {
  margin-top: 30px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--void);
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand--small {
  font-size: 20px;
}

.brand--small .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-inner > p {
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .version-chip {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

  .feature-card {
    padding: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .site-header {
    background: rgb(7 10 13 / 94%);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 3px;
    gap: 5px;
    background: var(--panel);
    color: var(--ink);
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: rotate 160ms ease, translate 160ms ease, opacity 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    translate: 0 6px;
    rotate: 45deg;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    translate: 0 -6px;
    rotate: -45deg;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #090d11;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-art,
  .hero-shade {
    height: 780px;
  }

  .hero-art {
    background-position: 62% top;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgb(4 7 9 / 72%) 0%, rgb(4 7 9 / 30%) 75%), linear-gradient(180deg, transparent 45%, var(--void) 98%);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 120px;
  }

  .hero-copy {
    max-width: 610px;
  }

  .hero h1 {
    font-size: clamp(48px, 10vw, 68px);
  }

  .section {
    padding: 100px 0;
  }

  .feature-card--wide {
    grid-template-columns: 40px 1fr;
  }

  .feature-card--shot .shot {
    grid-column: 2;
    justify-self: start;
    margin-top: 28px;
  }

  .clip__steps {
    grid-template-columns: 1fr 1fr;
  }

  .clip__steps li:nth-child(2) {
    border-right: 0;
  }

  .clip__steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .then-now,
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .then-now--long {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid var(--line);
  }

  .then-now li:nth-child(2) {
    border-right: 0;
  }

  .works-grid li:nth-child(2) {
    border-right: 0;
  }

  .works-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps-layout,
  .faq-layout,
  .admins-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section-heading--sticky {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .hero-art {
    background-position: 68% top;
  }

  .hero-inner {
    align-items: start;
    padding-top: 105px;
  }

  .eyebrow {
    flex-wrap: wrap;
    width: auto;
    padding-inline: 7px;
    gap: 5px;
    font-size: 8px;
  }

  .hero h1 {
    margin-top: 18px;
    max-width: 100%;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 0.96;
  }

  .hero-promise {
    font-size: 19px;
  }

  .hero-lede {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .button--large {
    width: 100%;
  }

  .trust-row {
    display: grid;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .preview-wrap {
    min-width: 0;
  }

  .clip__frames {
    aspect-ratio: 1;
  }

  /* A phone is too narrow for the whole window, so show the columns and pane that tell the story. */
  .clip__frames img {
    height: 100%;
    object-fit: cover;
    object-position: 100% 0;
  }

  .clip__steps li {
    padding: 10px;
    font-size: 11px;
  }

  .then-now,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .then-now li,
  .works-grid li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .then-now li:last-child,
  .works-grid li:last-child {
    border-bottom: 0;
  }

  .then-now--long {
    grid-row: auto;
  }

  .shot--float {
    right: 20px;
    width: calc(100% - 40px);
  }

  .feature-card--menu {
    padding-bottom: 250px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .feature-card,
  .feature-card--wide {
    display: block;
    grid-column: auto;
    min-height: 390px;
    padding: 28px;
  }

  .feature-card--wide {
    min-height: auto;
  }

  .feature-card--wide .feature-number,
  .feature-card .feature-number {
    margin-bottom: 36px;
  }

  .feature-card--launch {
    padding-bottom: 120px;
  }

  .feature-card--launch .launch-button {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .mini-list,
  .package {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .steps li > span {
    width: 38px;
    height: 38px;
  }

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

  .faq-list summary {
    font-size: 16px;
  }

  .final-cta {
    padding: 90px 0;
  }

  .final-cta h2 {
    font-size: 48px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .clip__frames img,
  .clip__steps li {
    animation-timing-function: step-end;
  }

  .clip__steps li::after {
    animation: none;
  }

  @keyframes clip-frame {
    0% { opacity: 1; }
    25%, 100% { opacity: 0; }
  }

  @keyframes clip-step {
    0% { color: var(--ink); }
    25%, 100% { color: var(--faint); }
  }

}
