:root {
  color-scheme: light dark;
  --cream: #f8f5ed;
  --surface: #ede6d8;
  --surface-strong: #e5dccd;
  --navy: #2d3851;
  --navy-muted: #626a7a;
  --purple: #8b7bc7;
  --teal: #5bafa0;
  --pink: #e07a8e;
  --yellow: #e8b647;
  --red-piece: #e5484d;
  --orange-piece: #f76b15;
  --yellow-piece: #f0b429;
  --green-piece: #46a758;
  --teal-piece: #12a594;
  --blue-piece: #3d8beb;
  --indigo-piece: #5b5bd6;
  --purple-piece: #8e4ec6;
  --pink-piece: #e93d82;
  --hairline: rgb(45 56 81 / 16%);
  --shadow-screen: 0 24px 52px rgb(45 56 81 / 16%);
  --shadow-small: 0 10px 24px rgb(45 56 81 / 12%);
  --page: min(1240px, calc(100vw - 48px));
  --reading: 66ch;
  --radius-control: 12px;
  --radius-screen: 26px;
  --font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main {
  overflow-x: clip;
}

::selection {
  background: var(--yellow-piece);
  color: #202b42;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--pink-piece);
}

a:focus-visible,
button:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--blue-piece);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 6.7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h2 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4.7vw, 4.5rem);
}

h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

p {
  max-width: var(--reading);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease-out;
}

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

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

.section-space {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.kicker {
  margin-bottom: 1rem;
  color: var(--purple-piece);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  gap: 0.45rem;
  align-items: center;
  font-weight: 800;
}

.text-link span {
  color: var(--purple-piece);
  transition: transform 180ms ease-out;
}

.text-link:hover span {
  transform: translateX(3px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--navy);
  box-shadow: 0 6px 0 rgb(45 56 81 / 16%);
  color: var(--cream);
  font-weight: 850;
  text-decoration: none;
  transition: box-shadow 180ms ease-out, transform 180ms ease-out;
}

.button:hover {
  box-shadow: 0 3px 0 rgb(45 56 81 / 16%);
  transform: translateY(3px);
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  display: flex;
  width: var(--page);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand-link {
  display: inline-flex;
  min-width: 64px;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.wordmark {
  display: grid;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1.25;
}

.wordmark__line {
  display: flex;
  gap: 0.18em;
  align-items: center;
}

.wordmark__dot {
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  flex: 0 0 auto;
  border-radius: 50%;
}

.wordmark__dot--pink { background: var(--pink-piece); }
.wordmark__dot--yellow { background: var(--yellow-piece); }

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

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: clamp(0.55rem, 1.2vw, 0.85rem);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0.7rem;
  bottom: 4px;
  left: 0.7rem;
  height: 3px;
  border-radius: 999px;
  background: var(--pink-piece);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Homepage hero */
.hero {
  display: grid;
  grid-template-areas:
    "copy capture"
    "logic capture";
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.53fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  row-gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.hero__copy {
  grid-area: copy;
  max-width: 700px;
}

.hero h1 span {
  display: inline-block;
  font-size: 0.72em;
  white-space: nowrap;
}

.hero__rule {
  max-width: 40ch;
  margin-bottom: 1.4rem;
  color: var(--navy-muted);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 650;
  line-height: 1.45;
}

.value-colors {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.36rem, 0.8vw, 0.62rem);
  margin-bottom: 2.1rem;
}

.value-color {
  width: clamp(17px, 2vw, 24px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / 12%);
}

.value-color--red { background: var(--red-piece); }
.value-color--orange { background: var(--orange-piece); }
.value-color--yellow { background: var(--yellow-piece); }
.value-color--green { background: var(--green-piece); }
.value-color--teal { background: var(--teal-piece); }
.value-color--blue { background: var(--blue-piece); }
.value-color--indigo { background: var(--indigo-piece); }
.value-color--purple { background: var(--purple-piece); }
.value-color--pink { background: var(--pink-piece); }

.release-status {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 0.9rem;
  align-items: center;
}

.release-status__mark {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 7px 0 rgb(139 123 199 / 17%);
}

.release-status__mark img {
  width: 100%;
  height: 100%;
}

.release-status strong,
.release-status small {
  display: block;
}

.release-status strong {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.25;
}

.release-status small {
  margin-top: 0.15rem;
  color: var(--navy-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero__capture {
  grid-area: capture;
  position: relative;
  width: min(100%, 352px);
  justify-self: end;
  margin: 0;
}

.hero__capture picture,
.screen-proof picture,
.prelaunch__capture picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-screen);
  box-shadow: var(--shadow-screen);
}

.hero__capture img,
.screen-proof img,
.prelaunch__capture img {
  width: 100%;
  height: auto;
}

.hero__capture figcaption {
  margin-top: 0.8rem;
  color: var(--navy-muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
}

/* Rule ledger */
.hero__logic {
  grid-area: logic;
  width: 100%;
  max-width: 700px;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 2px solid var(--navy);
}

.hero__logic h2 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.hero__logic-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__logic-steps li {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding-right: 1rem;
}

.hero__logic-steps li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--hairline);
}

.hero__logic-steps strong {
  font-size: 0.98rem;
}

.hero__logic-steps span {
  color: var(--navy-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Screenshot-led stories */
.product-story--play {
  background: var(--surface);
}

.story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.story-heading h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.story-heading > p {
  margin-bottom: 0.35rem;
  color: var(--navy-muted);
  font-size: 1.1rem;
}

.screen-reel {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.screen-reel--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-proof {
  min-width: 0;
  margin: 0;
}

.screen-proof picture {
  width: 100%;
}

.screen-proof figcaption {
  display: grid;
  gap: 0.3rem;
  padding-top: 1.15rem;
}

.screen-proof figcaption strong {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.3;
}

.screen-proof figcaption span {
  color: var(--navy-muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.screen-proof--notes {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.screen-proof--stats {
  margin-top: clamp(0.75rem, 2vw, 1.75rem);
}

.offline-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.3rem;
  align-items: center;
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-block: 1.5rem;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--hairline);
}

.offline-proof__mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-piece);
}

.offline-proof__mark svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.offline-proof div > strong,
.offline-proof div > span {
  display: block;
}

.offline-proof strong {
  line-height: 1.3;
}

.offline-proof div span {
  color: var(--navy-muted);
  font-size: 0.9rem;
}

.offline-proof a {
  display: inline-flex;
  min-height: 44px;
  gap: 0.4rem;
  align-items: center;
  font-weight: 800;
}

/* Accessibility */
.access-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.access-story__copy {
  align-self: center;
}

.access-story__copy h2 {
  max-width: 10ch;
}

.access-story__copy > p:not(.kicker) {
  color: var(--navy-muted);
  font-size: 1.1rem;
}

.plain-features {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.plain-features li {
  padding-block: 0.8rem;
  border-top: 1px solid var(--hairline);
  font-weight: 750;
}

.plain-features li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.screen-pair .screen-proof:last-child {
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

/* Appearance */
.appearance-story {
  background: #1a1e27;
  color: #e8eaf1;
}

.appearance-story h2,
.appearance-story .screen-proof figcaption strong {
  color: #f2f3f7;
}

.appearance-story .kicker {
  color: #c7b7f1;
}

.appearance-story .story-heading > p,
.appearance-story .screen-proof figcaption span {
  color: #b9beca;
}

.appearance-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.screen-proof--settings {
  width: min(100%, 330px);
  justify-self: end;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.screen-proof--dark {
  width: min(100%, 420px);
}

.appearance-proof .screen-proof picture {
  box-shadow: 0 28px 64px rgb(0 0 0 / 38%);
}

/* Prelaunch */
.prelaunch {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  gap: clamp(3rem, 10vw, 9rem);
  align-items: center;
}

.prelaunch__capture {
  width: min(100%, 330px);
  justify-self: center;
  margin: 0;
}

.prelaunch__copy h2 {
  max-width: 12ch;
}

.prelaunch__copy > p:not(.kicker) {
  max-width: 50ch;
  color: var(--navy-muted);
  font-size: 1.1rem;
}

.prelaunch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  overflow: hidden;
  background: var(--surface);
}

.site-footer__landscape {
  height: clamp(170px, 30vw, 390px);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.site-footer__landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

@media (prefers-color-scheme: light) {
  .site-footer__landscape img {
    mix-blend-mode: multiply;
  }
}

.site-footer__inner {
  display: grid;
  width: var(--page);
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-inline: auto;
  padding-block: 2.5rem 2rem;
  border-top: 1px solid var(--hairline);
}

.site-footer__inner > div p {
  margin: 0.8rem 0 0;
  color: var(--navy-muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy-muted);
  font-size: 0.78rem;
}

/* Privacy */
.document {
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(6rem, 10vw, 9rem);
}

.document__header {
  max-width: 900px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.document__header h1,
.support-hero h1 {
  max-width: 13ch;
}

.document__lede {
  max-width: 58ch;
  color: var(--navy-muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.document__date {
  margin: 2rem 0 0;
  color: var(--navy-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.document__body {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
}

.document__contents {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}

.document__contents p {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document__contents a {
  display: flex;
  min-height: 40px;
  align-items: center;
  color: var(--navy-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.document__contents a:hover {
  color: var(--navy);
}

.prose {
  max-width: var(--reading);
}

.prose section {
  padding-block: 0 3.25rem;
  scroll-margin-top: 2rem;
}

.prose section + section {
  padding-top: 3.25rem;
  border-top: 1px solid var(--hairline);
}

.prose h2 {
  max-width: 20ch;
  margin-bottom: 1.35rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.prose p {
  color: var(--navy-muted);
  font-size: 1.03rem;
}

.prose a {
  color: var(--navy);
  font-weight: 800;
}

/* Support */
.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.support-hero > div > p:last-child {
  max-width: 42ch;
  color: var(--navy-muted);
  font-size: 1.18rem;
}

.support-contact {
  display: grid;
  min-height: 44px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 16px;
  background: var(--yellow);
  box-shadow: var(--shadow-small);
  color: #2d3851;
  text-decoration: none;
  transition: box-shadow 180ms ease-out, transform 180ms ease-out;
}

.support-contact:hover {
  box-shadow: 0 7px 16px rgb(45 56 81 / 12%);
  transform: translateY(3px);
}

.support-contact span {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-contact strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 2.7vw, 1.9rem);
  line-height: 1.2;
}

.support-contact small {
  margin-top: 1rem;
  color: #414b61;
  font-size: 0.85rem;
  line-height: 1.5;
}

.faq {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
  border-top: 2px solid var(--navy);
}

.faq__header {
  position: sticky;
  top: 2rem;
}

.faq__header h2,
.bug-report h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.faq__item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 1.2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--hairline);
}

.faq__item:first-child {
  padding-top: 0;
}

.faq__item p {
  margin-bottom: 0;
  color: var(--navy-muted);
}

.faq__dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--red-piece);
}

.faq__item:nth-child(9n + 2) .faq__dot { background: var(--orange-piece); }
.faq__item:nth-child(9n + 3) .faq__dot { background: var(--yellow-piece); }
.faq__item:nth-child(9n + 4) .faq__dot { background: var(--green-piece); }
.faq__item:nth-child(9n + 5) .faq__dot { background: var(--teal-piece); }
.faq__item:nth-child(9n + 6) .faq__dot { background: var(--blue-piece); }
.faq__item:nth-child(9n + 7) .faq__dot { background: var(--indigo-piece); }
.faq__item:nth-child(9n + 8) .faq__dot { background: var(--purple-piece); }

.bug-report {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 3rem 6rem;
  align-items: start;
  border-top: 2px solid var(--navy);
}

.bug-report ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--navy-muted);
}

.bug-report li + li {
  margin-top: 0.65rem;
}

.bug-report .button {
  width: fit-content;
}

/* 404 */
.not-found {
  display: grid;
  min-height: 70svh;
  place-content: center;
  justify-items: start;
  padding-block: 5rem 9rem;
}

.not-found__board {
  display: grid;
  width: 180px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 3rem;
  border: 3px solid var(--navy);
}

.not-found__board > span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--hairline);
}

.piece-dot::after {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red-piece);
  content: "";
}

.piece-dot--teal::after { background: var(--teal-piece); }
.piece-dot--yellow::after { background: var(--yellow-piece); }
.piece-dot--blue::after { background: var(--blue-piece); }
.piece-dot--pink::after { background: var(--pink-piece); }

.not-found > p:not(.kicker) {
  color: var(--navy-muted);
  font-size: 1.15rem;
}

/* One authored entrance: the real app screen settles onto the page. */
.motion-ready .hero__capture {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready.motion-play .hero__capture {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #14171b;
    --surface: #24272d;
    --surface-strong: #30343b;
    --navy: #e8eaf1;
    --navy-muted: #a7abb8;
    --purple: #b09ee3;
    --teal: #7bcdbe;
    --pink: #ed8e9e;
    --yellow: #f4c961;
    --hairline: rgb(232 234 241 / 17%);
    --shadow-screen: 0 24px 52px rgb(0 0 0 / 36%);
    --shadow-small: 0 10px 24px rgb(0 0 0 / 28%);
  }

  .button {
    background: #e8eaf1;
    box-shadow: 0 6px 0 rgb(232 234 241 / 12%);
    color: #242c3d;
  }

  .button:hover {
    box-shadow: 0 3px 0 rgb(232 234 241 / 12%);
  }

  .support-contact,
  .support-contact strong {
    color: #2d3851;
  }
}

@media (max-width: 899px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .hero {
    min-height: 0;
    grid-template-areas:
      "copy"
      "capture"
      "logic";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2.75rem;
    padding-block: clamp(3rem, 7vw, 4.5rem) 5rem;
  }

  .hero__copy {
    max-width: 650px;
  }

  .hero__capture {
    width: min(78vw, 330px);
    justify-self: center;
  }

  .story-heading,
  .access-story,
  .support-hero,
  .faq,
  .document__body {
    grid-template-columns: 1fr;
  }

  .story-heading {
    gap: 1.5rem;
  }

  .story-heading > p {
    max-width: 52ch;
  }

  .screen-reel--three {
    display: flex;
    width: var(--page);
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.25rem 0.25rem 1.5rem;
    scroll-padding-inline: 0.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--navy-muted) transparent;
  }

  .screen-reel--three .screen-proof {
    width: min(72vw, 320px);
    flex: 0 0 min(72vw, 320px);
    margin-top: 0;
    scroll-snap-align: start;
  }

  .access-story {
    gap: 3.5rem;
  }

  .access-story__copy {
    max-width: 620px;
  }

  .screen-pair {
    width: min(100%, 650px);
    justify-self: center;
  }

  .appearance-proof {
    grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1fr);
    gap: 2rem;
  }

  .screen-proof--settings {
    margin-top: 3rem;
  }

  .prelaunch {
    grid-template-columns: minmax(230px, 0.6fr) 1fr;
    gap: 3rem;
  }

  .document__contents,
  .faq__header {
    position: static;
  }

  .document__contents {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem 1rem;
  }

  .document__contents p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  :root {
    --page: calc(100% - 32px);
    --radius-screen: 20px;
  }

  body {
    font-size: 0.98rem;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .wordmark {
    font-size: 0.69rem;
    letter-spacing: 0.2em;
  }

  .brand-link {
    min-width: 54px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 0.48rem;
    font-size: 0.78rem;
  }

  .site-nav a::after {
    right: 0.48rem;
    left: 0.48rem;
  }

  .hero {
    gap: 2.5rem;
    padding-block: 2.75rem 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.2rem);
  }

  .hero h1 span {
    font-size: 0.78em;
    white-space: normal;
  }

  .hero__rule {
    font-size: 1.08rem;
  }

  .hero__capture {
    width: min(77vw, 290px);
  }

  .release-status {
    align-items: flex-start;
  }

  .release-status__mark {
    width: 3.25rem;
    height: 3.25rem;
  }

  .hero__logic {
    padding-top: 1.5rem;
  }

  .hero__logic-steps {
    grid-template-columns: 1fr;
  }

  .hero__logic-steps li {
    grid-template-columns: minmax(6.2rem, 0.42fr) 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--hairline);
  }

  .hero__logic-steps li + li {
    padding-left: 0;
    border-left: 0;
  }

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

  .screen-reel--three {
    width: calc(100% - 16px);
    margin-left: 16px;
  }

  .screen-reel--three .screen-proof {
    width: min(76vw, 290px);
    flex-basis: min(76vw, 290px);
  }

  .offline-proof {
    grid-template-columns: auto 1fr;
  }

  .offline-proof a {
    grid-column: 2;
  }

  .screen-pair {
    display: flex;
    width: calc(100vw - 16px);
    gap: 1.15rem;
    overflow-x: auto;
    padding: 0.25rem 16px 1.5rem 0;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
  }

  .screen-pair .screen-proof {
    width: min(72vw, 285px);
    flex: 0 0 min(72vw, 285px);
    margin-top: 0;
    scroll-snap-align: start;
  }

  .appearance-proof {
    display: flex;
    width: calc(100vw - 16px);
    gap: 1.15rem;
    overflow-x: auto;
    padding: 0.25rem 16px 1.5rem 0;
    scroll-snap-type: x mandatory;
  }

  .appearance-proof .screen-proof {
    width: min(72vw, 285px);
    flex: 0 0 min(72vw, 285px);
    margin-top: 0;
    scroll-snap-align: start;
  }

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

  .prelaunch__capture {
    width: min(72vw, 285px);
  }

  .prelaunch__actions {
    align-items: flex-start;
  }

  .site-footer__inner,
  .bug-report {
    grid-template-columns: 1fr;
  }

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

  .faq__item {
    grid-template-columns: 1rem 1fr;
    gap: 0.8rem;
  }
}

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

  .skip-link,
  .text-link span,
  .button,
  .site-nav a::after,
  .support-contact,
  .motion-ready .hero__capture {
    transition: none;
  }

  .motion-ready .hero__capture {
    opacity: 1;
    transform: none;
  }
}
