@font-face {
  font-family: "Bashni Sans";
  src: url("assets/fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bashni Sans";
  src: url("assets/fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bashni Display";
  src: url("assets/fonts/RobotoCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --deep-water: #0c2536;
  --volga: #173b57;
  --river: #315a73;
  --birch: #d2b06f;
  --porcelain: #f0ebdd;
  --madder: #b9473f;
  --slate: #6f8796;
  --ink: #081b28;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --content: 88rem;
  --header-height: 5.25rem;
  --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--deep-water);
  color: var(--porcelain);
  font-family: "Bashni Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 12%, rgb(49 90 115 / 25%), transparent 26rem),
    var(--deep-water);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--birch);
  color: var(--deep-water);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--porcelain);
  font-family: "Bashni Display", Impact, sans-serif;
  line-height: 0.96;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.4rem, 7.2vw, 7.6rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5.2vw, 5.5rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.015em;
}

p {
  color: rgb(240 235 221 / 74%);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  background: var(--porcelain);
  color: var(--deep-water);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--porcelain);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding-inline: var(--page-pad);
  border-bottom: 1px solid transparent;
  background: rgb(12 37 54 / 8%);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(111 135 150 / 20%);
  background: rgb(12 37 54 / 88%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--porcelain);
  font-family: "Bashni Display", Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  border-radius: 0.55rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.site-nav a,
.site-footer nav a {
  color: rgb(240 235 221 / 72%);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--porcelain);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.84fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  min-height: min(100svh, 62rem);
  margin-inline: auto;
  overflow: clip;
  padding: calc(var(--header-height) + 4rem) var(--page-pad) 5rem;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 0.1rem;
  height: 42rem;
  background: rgb(210 176 111 / 13%);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.hero::before {
  top: 0;
  left: 50%;
}

.hero::after {
  right: 4%;
  bottom: 1%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--birch);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 2.5rem;
  height: 0.18rem;
  margin-right: 0.85rem;
  border-radius: 10rem;
  background: var(--madder);
  content: "";
  vertical-align: 0.23em;
}

.hero-lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  line-height: 1.65;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 12rem;
  min-height: 4rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgb(240 235 221 / 72%);
  border-radius: 0.85rem;
  background: var(--porcelain);
  color: var(--deep-water);
  line-height: 1.05;
  text-decoration: none;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.store-button svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  fill: currentColor;
}

.store-button span {
  font-size: 1.06rem;
  font-weight: 500;
}

.store-button small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.store-button[href]:hover {
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 25%);
  transform: translateY(-3px);
}

.store-button[aria-disabled="true"] {
  border-color: rgb(240 235 221 / 24%);
  background: rgb(240 235 221 / 8%);
  color: rgb(240 235 221 / 64%);
  cursor: default;
}

.availability-note {
  margin: 1rem 0 0;
  color: rgb(240 235 221 / 52%);
  font-size: 0.8rem;
}

.tower-stage {
  position: relative;
  aspect-ratio: 0.93;
  width: min(100%, 40rem);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgb(111 135 150 / 32%);
  border-radius: 1.8rem;
  background: var(--volga);
  box-shadow:
    0 3rem 7rem rgb(3 15 23 / 32%),
    inset 0 1px rgb(240 235 221 / 5%);
  isolation: isolate;
  transform: rotate(1.3deg);
}

.board-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.27;
  background:
    linear-gradient(45deg, rgb(210 176 111 / 40%) 25%, transparent 25%, transparent 75%, rgb(210 176 111 / 40%) 75%),
    linear-gradient(45deg, rgb(210 176 111 / 40%) 25%, transparent 25%, transparent 75%, rgb(210 176 111 / 40%) 75%);
  background-position:
    0 0,
    4.75rem 4.75rem;
  background-size: 9.5rem 9.5rem;
}

.board-grid::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(12 37 54 / 8%), rgb(12 37 54 / 72%) 83%);
  content: "";
}

.piece {
  display: block;
  width: clamp(4.25rem, 8.4vw, 7rem);
  aspect-ratio: 1;
  border: clamp(0.23rem, 0.4vw, 0.38rem) solid var(--ink);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.18rem rgb(240 235 221 / 18%),
    0 0.5rem 0 var(--ink),
    0 1rem 1.35rem rgb(4 17 26 / 30%);
}

.piece-red {
  background: var(--madder);
}

.piece-ivory {
  background: var(--porcelain);
}

.piece-gold {
  background: var(--birch);
}

.piece-top {
  position: relative;
}

.piece-top i,
.piece-top i::before,
.piece-top i::after {
  position: absolute;
  background: var(--porcelain);
  content: "";
}

.piece-top i {
  top: 50%;
  left: 50%;
  width: 42%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(45deg);
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}

.capture-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgb(240 235 221 / 72%);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.capture-route-line {
  stroke-dasharray: 2.4 3.4;
}

.capture-route-arrow {
  stroke-dasharray: none;
}

.landing-marker {
  position: absolute;
  top: 18%;
  left: 70%;
  width: clamp(4.25rem, 8.4vw, 7rem);
  aspect-ratio: 1;
  border: 0.16rem solid rgb(210 176 111 / 74%);
  border-radius: 0.8rem;
  box-shadow: 0 0 0 0.18rem rgb(12 37 54 / 58%);
  transform: scale(1.08);
}

.landing-marker::before,
.landing-marker::after {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-color: var(--birch);
  content: "";
}

.landing-marker::before {
  top: -0.24rem;
  left: -0.24rem;
  border-top: 0.2rem solid;
  border-left: 0.2rem solid;
}

.landing-marker::after {
  right: -0.24rem;
  bottom: -0.24rem;
  border-right: 0.2rem solid;
  border-bottom: 0.2rem solid;
}

.victim-piece {
  position: absolute;
  top: 42%;
  left: 43%;
  opacity: 0;
  transform: scale(1);
}

.demo-tower {
  position: absolute;
  top: 18%;
  left: 70%;
  z-index: 3;
  width: clamp(4.25rem, 8.4vw, 7rem);
  aspect-ratio: 1;
}

.demo-tower .piece {
  position: absolute;
  top: 0;
  left: 0;
}

.demo-top-layer {
  z-index: 2;
}

.demo-captured-layer {
  z-index: 1;
  opacity: 1;
  transform: translateY(16%);
}

.mechanic-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(240 235 221 / 24%);
}

.mechanic-caption span {
  color: var(--birch);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mechanic-caption strong {
  color: var(--porcelain);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}

.mechanic-section {
  padding: clamp(6rem, 12vw, 11rem) var(--page-pad);
  background: var(--porcelain);
  color: var(--deep-water);
}

.mechanic-section h2,
.mechanic-section h3 {
  color: var(--deep-water);
}

.mechanic-section p {
  color: rgb(12 37 54 / 68%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 2rem 5rem;
  width: min(100%, var(--content));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  align-self: end;
  max-width: 33rem;
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}

.mechanic-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.8vw, 2.5rem);
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mechanic-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.6rem;
  border-top: 1px solid rgb(12 37 54 / 22%);
}

.step-index {
  display: block;
  margin-bottom: 1rem;
  color: var(--madder);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.mini-board {
  position: relative;
  aspect-ratio: 1.65;
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--volga);
  background-image:
    linear-gradient(45deg, rgb(210 176 111 / 58%) 25%, transparent 25%, transparent 75%, rgb(210 176 111 / 58%) 75%),
    linear-gradient(45deg, rgb(210 176 111 / 58%) 25%, transparent 25%, transparent 75%, rgb(210 176 111 / 58%) 75%);
  background-position: 0 0, 2rem 2rem;
  background-size: 4rem 4rem;
}

.diagram-piece {
  position: absolute;
  z-index: 2;
  display: block;
  width: clamp(3rem, 4.8vw, 4.4rem);
  aspect-ratio: 1;
  border: 0.24rem solid var(--deep-water);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.12rem rgb(240 235 221 / 20%),
    0 0.35rem 0 var(--deep-water),
    0 0.7rem 1rem rgb(4 17 26 / 18%);
}

.diagram-red {
  background: var(--madder);
}

.diagram-ivory {
  background: var(--porcelain);
}

.capture-game-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}

.capture-landing {
  position: absolute;
  z-index: 1;
  bottom: 1.5%;
  left: 2.1%;
  width: 11.6%;
  aspect-ratio: 1;
  border: 0.13rem solid var(--birch);
  border-radius: 0.3rem;
  box-shadow:
    inset 0 0 0 0.1rem rgb(12 37 54 / 60%),
    0 0 0 0.08rem rgb(240 235 221 / 34%);
}

.capture-notation {
  position: absolute;
  z-index: 2;
  right: 0.7rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.42rem;
  border: 1px solid rgb(240 235 221 / 20%);
  border-radius: 0.3rem;
  background: rgb(12 37 54 / 86%);
  color: var(--birch);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.55rem, 0.9vw, 0.68rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.diagram-tower {
  position: absolute;
  display: block;
  width: clamp(3rem, 4.8vw, 4.4rem);
  aspect-ratio: 1;
}

.diagram-tower .diagram-piece {
  top: 0;
  left: 0;
}

.diagram-buried {
  z-index: 1;
  transform: translateY(17%);
}

.diagram-top {
  z-index: 2;
}

.stack-result {
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flip-before {
  top: 42%;
  left: 23%;
  transform: translate(-50%, -50%);
}

.flip-after {
  top: 42%;
  right: 23%;
  transform: translate(50%, -50%);
}

.flip-after .diagram-piece {
  box-shadow:
    inset 0 0 0 0.12rem rgb(240 235 221 / 20%),
    0 0.35rem 0 var(--deep-water),
    0 0 0 0.26rem var(--birch);
}

.flip-arrow {
  position: absolute;
  top: 46%;
  left: 50%;
  width: clamp(3rem, 5vw, 4.5rem);
  height: 0.18rem;
  border-radius: 10rem;
  background: var(--birch);
  color: transparent;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.flip-arrow::after {
  position: absolute;
  top: 50%;
  right: -0.08rem;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.65rem solid var(--birch);
  content: "";
  transform: translateY(-50%);
}

.mechanic-steps li > p {
  max-width: 23rem;
  margin-bottom: 0;
}

.screens-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.6fr) minmax(34rem, 1.4fr);
  gap: clamp(3rem, 6vw, 7rem);
  min-height: 65rem;
  padding: clamp(6rem, 11vw, 10rem) var(--page-pad);
  background: var(--volga);
}

.screens-copy {
  width: min(100%, 31rem);
  margin-left: max(0px, calc((100vw - var(--content) - 2 * var(--page-pad)) / 2));
  padding-top: clamp(1rem, 6vw, 5rem);
}

.screens-copy h2 {
  max-width: 8ch;
}

.screens-copy > p:not(.eyebrow) {
  max-width: 30rem;
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  border-top: 1px solid rgb(240 235 221 / 24%);
}

.feature-list div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(240 235 221 / 16%);
}

.feature-list dt {
  color: var(--birch);
  font-family: "Bashni Display", Impact, sans-serif;
  font-size: 2rem;
}

.feature-list dd {
  margin: 0;
  color: rgb(240 235 221 / 72%);
  font-size: 0.9rem;
}

.phone-gallery {
  position: relative;
  align-self: center;
  min-height: 47rem;
  margin-right: max(0px, calc((100vw - var(--content) - 2 * var(--page-pad)) / 2));
}

.phone {
  position: absolute;
  width: clamp(13rem, 19vw, 18rem);
  margin: 0;
}

.phone img {
  width: 100%;
  height: auto;
  border: 0.45rem solid var(--ink);
  border-radius: 2rem;
  background: var(--ink);
  box-shadow: 0 2rem 5rem rgb(4 17 26 / 35%);
}

.phone figcaption {
  margin-top: 0.8rem;
  color: rgb(240 235 221 / 65%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}

.phone-left {
  top: 9%;
  left: 0;
  transform: rotate(-5deg);
}

.phone-center {
  top: 0;
  left: 34%;
  z-index: 2;
}

.phone-right {
  top: 14%;
  right: 0;
  transform: rotate(5deg);
}

.details-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 8rem) var(--page-pad);
}

.detail-card {
  padding: 1.6rem clamp(1rem, 2vw, 2rem) 1rem;
  border-top: 1px solid rgb(111 135 150 / 34%);
}

.detail-card + .detail-card {
  border-left: 1px solid rgb(111 135 150 / 20%);
}

.detail-card svg {
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 3.5rem;
  fill: none;
  stroke: var(--birch);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.detail-card h3 {
  font-size: 1.4rem;
  line-height: 1.05;
}

.detail-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48rem;
  overflow: hidden;
  padding: 8rem var(--page-pad);
  background: var(--porcelain);
  color: var(--deep-water);
  text-align: center;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgb(23 59 87 / 6%) 25%, transparent 25%, transparent 75%, rgb(23 59 87 / 6%) 75%),
    linear-gradient(45deg, rgb(23 59 87 / 6%) 25%, transparent 25%, transparent 75%, rgb(23 59 87 / 6%) 75%);
  background-position: 0 0, 7rem 7rem;
  background-size: 14rem 14rem;
  content: "";
}

.final-cta > div:last-child {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  max-width: 11ch;
  margin-inline: auto;
  color: var(--deep-water);
}

.final-cta p:not(.eyebrow) {
  color: rgb(12 37 54 / 67%);
  font-size: 1.08rem;
}

.final-cta .eyebrow::before {
  display: none;
}

.final-cta .store-button {
  border-color: var(--deep-water);
  background: var(--deep-water);
  color: var(--porcelain);
}

.final-cta .store-button[aria-disabled="true"] {
  border-color: rgb(12 37 54 / 28%);
  background: rgb(12 37 54 / 7%);
  color: rgb(12 37 54 / 58%);
}

.store-actions-centered {
  justify-content: center;
  margin-top: 2rem;
}

.final-tower {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7rem;
  opacity: 0.055;
  transform: translate(-50%, -50%) scale(3.5) rotate(-6deg);
}

.final-tower .piece + .piece {
  margin-top: -81%;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem 2rem;
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  margin-inline: auto;
  padding: 2rem var(--page-pad);
}

.brand-footer {
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  gap: 1.3rem;
}

.site-footer .copyright {
  color: rgb(240 235 221 / 42%);
}

.legal-page {
  background:
    linear-gradient(90deg, transparent 0, transparent 49.9%, rgb(111 135 150 / 10%) 50%, transparent 50.1%),
    var(--deep-water);
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  margin-inline: auto;
  padding: 2rem var(--page-pad);
}

.legal-header {
  border-bottom: 1px solid rgb(111 135 150 / 20%);
}

.back-link,
.legal-footer a {
  color: rgb(240 235 221 / 68%);
  font-size: 0.85rem;
  font-weight: 500;
  text-underline-offset: 0.25rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(28rem, 1.25fr);
  gap: clamp(4rem, 10vw, 10rem);
  width: min(100%, calc(var(--content) + 2 * var(--page-pad)));
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 9rem) var(--page-pad);
}

.legal-intro {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.legal-intro h1 {
  max-width: 8ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 6vw, 6rem);
}

.legal-intro > p:last-child {
  max-width: 29rem;
  font-size: 1.08rem;
}

.effective-date {
  margin-bottom: 4rem;
  color: var(--birch);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-copy section {
  padding: 0 0 2.8rem;
  border-bottom: 1px solid rgb(111 135 150 / 20%);
}

.legal-copy section + section {
  padding-top: 2.8rem;
}

.legal-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1;
}

.legal-copy p {
  max-width: 45rem;
  margin-bottom: 1rem;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-copy a {
  color: var(--porcelain);
  text-underline-offset: 0.25rem;
}

.legal-footer {
  border-top: 1px solid rgb(111 135 150 / 20%);
}

.legal-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 650ms var(--ease-out),
    transform 650ms var(--ease-out);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mechanic-steps .reveal:nth-child(2),
.details-section .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.mechanic-steps .reveal:nth-child(3),
.details-section .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.details-section .reveal:nth-child(4) {
  transition-delay: 270ms;
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: var(--porcelain);
  color: var(--deep-water);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .demo-tower {
    animation: capture-move 6.5s var(--ease-out) infinite;
  }

  .demo-captured-layer {
    animation: captured-layer 6.5s var(--ease-out) infinite;
  }

  .victim-piece {
    animation: capture-victim 6.5s var(--ease-out) infinite;
  }

  .capture-route-line {
    animation: capture-route 6.5s linear infinite;
  }

  @keyframes capture-move {
    0%, 18% {
      top: 63%;
      left: 15%;
      opacity: 1;
    }
    50%, 82% {
      top: 18%;
      left: 70%;
      opacity: 1;
    }
    89% {
      top: 18%;
      left: 70%;
      opacity: 0;
    }
    90%, 96% {
      top: 63%;
      left: 15%;
      opacity: 0;
    }
    100% {
      top: 63%;
      left: 15%;
      opacity: 1;
    }
  }

  @keyframes captured-layer {
    0%, 36% {
      opacity: 0;
      transform: translateY(0);
    }
    46%, 82% {
      opacity: 1;
      transform: translateY(16%);
    }
    89%, 100% {
      opacity: 0;
      transform: translateY(0);
    }
  }

  @keyframes capture-victim {
    0%, 31% {
      opacity: 1;
      transform: scale(1);
    }
    42%, 89% {
      opacity: 0;
      transform: scale(0.58);
    }
    90%, 100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes capture-route {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -23.2; }
  }
}

@media (max-width: 72rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.82fr);
    gap: 3rem;
  }

  .screens-section {
    grid-template-columns: minmax(18rem, 0.58fr) minmax(29rem, 1.42fr);
    gap: 2.5rem;
  }

  .phone {
    width: clamp(12rem, 20vw, 15rem);
  }

  .phone-gallery {
    min-height: 42rem;
  }

  .details-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-card:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 54rem) {
  :root {
    --header-height: 4.5rem;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero-copy {
    padding-top: 0;
  }

  .tower-stage {
    width: min(100%, 35rem);
    justify-self: center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading h2 {
    max-width: 12ch;
  }

  .mechanic-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mechanic-steps li {
    display: grid;
    grid-template-columns: minmax(11rem, 0.8fr) 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 2rem;
  }

  .step-index {
    grid-column: 2;
    grid-row: 1;
  }

  .mini-board {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
  }

  .mechanic-steps h3,
  .mechanic-steps li > p {
    grid-column: 2;
  }

  .screens-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .screens-copy {
    width: min(100%, 38rem);
    margin-left: 0;
    padding-top: 0;
  }

  .screens-copy h2 {
    max-width: 11ch;
  }

  .phone-gallery {
    min-height: 45rem;
    margin-right: 0;
  }

  .phone {
    width: clamp(12rem, 29vw, 15rem);
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
  }

  .site-footer > p:nth-of-type(1) {
    display: none;
  }

  .legal-page {
    background: var(--deep-water);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .legal-intro {
    position: static;
  }

  .legal-intro h1 {
    max-width: 10ch;
  }
}

@media (max-width: 38rem) {
  .site-header {
    background: rgb(12 37 54 / 68%);
    backdrop-filter: blur(12px);
  }

  .site-nav a:last-child {
    padding: 0.5rem 0.8rem;
    border: 1px solid rgb(240 235 221 / 28%);
    border-radius: 0.55rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .hero {
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .store-button {
    min-width: 0;
    min-height: 3.8rem;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
  }

  .store-button svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .store-button span {
    font-size: 0.83rem;
  }

  .store-button small {
    font-size: 0.52rem;
  }

  .tower-stage {
    border-radius: 1.25rem;
  }

  .mechanic-caption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .mechanic-caption strong {
    max-width: 11rem;
    font-size: 0.76rem;
  }

  .mechanic-steps li {
    display: block;
  }

  .mini-board {
    margin-bottom: 1.5rem;
  }

  .phone-gallery {
    min-height: 32rem;
  }

  .phone {
    width: 42%;
  }

  .phone-left {
    top: 8%;
  }

  .phone-center {
    left: 29%;
  }

  .phone-right {
    top: 10%;
  }

  .phone img {
    border-width: 0.3rem;
    border-radius: 1.2rem;
  }

  .phone figcaption {
    display: none;
  }

  .details-section {
    grid-template-columns: 1fr;
  }

  .detail-card + .detail-card {
    border-left: 0;
  }

  .detail-card svg {
    margin-bottom: 2rem;
  }

  .final-cta {
    min-height: 42rem;
    padding-block: 6rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer .copyright {
    text-align: right;
  }

  .legal-header,
  .legal-footer {
    padding-block: 1.5rem;
  }

  .legal-header .brand span {
    display: none;
  }

  .legal-layout {
    padding-block: 4rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
