@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* The desk under the paper, the paper, and the inks of the app. */
  --desk: #eef1f6;
  --paper: #ffffff;
  --raised: #f7f8fb;
  --text: #1d1d1f;
  --muted: #5d636f;
  --line: rgba(29, 29, 31, 0.1);
  --rule: rgba(35, 71, 184, 0.2);
  --dot: rgba(29, 29, 31, 0.22);
  --ink: #1d1d1f;
  --ink-agent: #2347b8;
  --accent: #2347b8;
  --accent-hover: #1b3a9c;
  --on-accent: #ffffff;
  --sticky: #ffde6b;
  --on-sticky: #3b3000;
  --heading-from: #000000;
  --heading-to: #666666;
  --focus: #2347b8;
  --field-line: rgba(29, 29, 31, 0.22);
  --danger: #b42318;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --pen: cubic-bezier(0.3, 0.1, 0.55, 1);

  /* Spacing scale (px): 2 4 8 12 16 24 32 40 48 64 80 96 */
  --s25: 2px;
  --s50: 4px;
  --s75: 8px;
  --s100: 12px;
  --s200: 16px;
  --s300: 24px;
  --s400: 32px;
  --s500: 40px;
  --s600: 48px;
  --s700: 64px;
  --s800: 80px;
  --s900: 96px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --desk: #000000;
    --paper: #1f1f1f;
    --raised: #181818;
    --text: #f2f2f2;
    --muted: #a3a3a3;
    --line: rgba(255, 255, 255, 0.12);
    --rule: rgba(126, 162, 255, 0.22);
    --dot: rgba(255, 255, 255, 0.2);
    --ink: #f2f2f7;
    --ink-agent: #7ea2ff;
    --accent: #5b8cff;
    --accent-hover: #7ea2ff;
    --on-accent: #000000;
    --heading-from: #ffffff;
    --heading-to: #9b9b9b;
    --focus: #7ea2ff;
    --field-line: rgba(255, 255, 255, 0.24);
    --danger: #ff8a80;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--desk);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: var(--s200);
  left: var(--s200);
  z-index: 50;
  padding: var(--s75) var(--s100);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 500ms var(--ease);
}
.skip:focus {
  transform: none;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--s75);
  padding: var(--s75) var(--s100);
  border-radius: 9999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 500ms var(--ease),
    transform 500ms var(--ease);
}
.button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.98);
}
.button-small {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Island nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: var(--s300) var(--s200) 0;
  pointer-events: none;
}

.nav-pill {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s300);
  width: max-content;
  max-width: 100%;
  padding: var(--s75) var(--s75) var(--s75) var(--s100);
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s75);
  font-weight: 600;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: var(--s50);
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: var(--s50) var(--s100);
  border-radius: 9999px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  transition:
    color 500ms var(--ease),
    background-color 500ms var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--line);
}
.nav-links a[aria-current="true"] {
  color: var(--text);
  background: var(--line);
}

.burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.burger-line {
  position: absolute;
  top: 19px;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 700ms var(--ease);
}
.burger-top {
  transform: translateY(-4px);
}
.burger-bottom {
  transform: translateY(4px);
}
.burger[aria-expanded="true"] .burger-top {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger-bottom {
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: var(--s900) var(--s300) var(--s300);
  background: color-mix(in srgb, var(--desk) 80%, transparent);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.menu[hidden] {
  display: none;
}
.menu.is-open {
  opacity: 1;
}
.menu ul {
  display: grid;
  gap: var(--s200);
  padding: 0;
  list-style: none;
}
.menu a {
  display: block;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}
.menu.is-open a {
  opacity: 1;
  transform: none;
}
.menu li:nth-child(1) a { transition-delay: 100ms; }
.menu li:nth-child(2) a { transition-delay: 150ms; }
.menu li:nth-child(3) a { transition-delay: 200ms; }
.menu li:nth-child(4) a { transition-delay: 250ms; }
.menu li:nth-child(5) a { transition-delay: 300ms; color: var(--accent); }

/* Layout */

main {
  display: block;
}

.hero,
.section,
.tagline,
.final,
.footer {
  width: min(1280px, 100% - 2 * var(--s300));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  align-items: center;
  gap: var(--s700);
  min-height: 100svh;
  /* Room for the floating nav: 96 + 32. */
  padding-block: calc(var(--s900) + var(--s400)) var(--s800);
}

.gradient-text {
  background: linear-gradient(90deg, var(--heading-from), var(--heading-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  max-width: 680px;
  font-size: 3.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 680px;
  margin-top: var(--s300);
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* Waitlist form: the hero's call to action. The success note lands like the agent's sticky. */

.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s200);
  max-width: 560px;
  margin-top: var(--s500);
}
.join[hidden] {
  display: none;
}
.join-title {
  grid-column: 1 / -1;
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.join-intro {
  grid-column: 1 / -1;
  margin-top: calc(-1 * var(--s100));
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.field {
  display: grid;
  align-content: start;
  gap: var(--s50);
  min-width: 0;
}
.field-wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.field-optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: var(--s100) var(--s200);
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
  transition:
    border-color 500ms var(--ease),
    box-shadow 500ms var(--ease);
}
.field input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
.field input:hover,
.field select:hover {
  border-color: var(--muted);
}
.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.field input[aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 24%, transparent);
}
.select {
  position: relative;
  display: block;
}
.field select {
  appearance: none;
  padding-right: var(--s500);
  cursor: pointer;
}
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--s200);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.field-error {
  color: var(--danger);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.join-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s100) var(--s200);
  margin-top: var(--s75);
}
.join .button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.join .button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}
.join-status {
  flex: 1 1 200px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.join-status[data-tone="error"] {
  color: var(--danger);
}
.join-check:empty {
  display: none;
}

.join-done {
  max-width: 420px;
  margin-top: var(--s500);
  padding: var(--s200) var(--s300);
  border-radius: 4px;
  background: var(--sticky);
  color: var(--on-sticky);
  box-shadow: 0 12px 24px -12px rgba(59, 48, 0, 0.45);
  transform: rotate(-1.5deg);
  animation: land 800ms var(--ease) both;
}
.join-done:focus-visible {
  outline-offset: 6px;
}
.join-done[hidden] {
  display: none;
}
.join-done-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.join-done p + p {
  margin-top: var(--s50);
}
@keyframes land {
  from {
    opacity: 0;
    transform: translateY(-16px) rotate(-5deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(-1.5deg);
  }
}

/* Paper */

.hero-sheet,
.sheet {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.hero-sheet {
  padding: var(--s200) var(--s300) var(--s400);
  box-shadow:
    0 1px 2px rgba(15, 36, 98, 0.06),
    0 24px 48px -24px rgba(15, 36, 98, 0.28);
}

.sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s200);
  padding-bottom: var(--s200);
  margin-bottom: var(--s200);
  border-bottom: 1px solid var(--line);
}
.sheet-title {
  font-weight: 600;
}
.sheet-path {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
}
.segmented {
  display: flex;
  padding: var(--s25);
  border-radius: 9999px;
  background: var(--line);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.segmented span {
  padding: var(--s50) var(--s100);
  border-radius: 9999px;
}
.segmented .is-on {
  background: var(--accent);
  color: var(--on-accent);
}

.rules line {
  stroke: var(--rule);
  stroke-width: 1;
}
.dots circle {
  fill: var(--dot);
}
.ink path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ink-owner path {
  stroke: var(--ink);
}
.ink-agent path {
  stroke: var(--ink-agent);
}

/* The one orchestrated moment: the hero page writes itself, stroke by stroke. */
.writing .ink path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: write var(--l) var(--pen) var(--d) forwards;
}
@keyframes write {
  to {
    stroke-dashoffset: 0;
  }
}

.sticky {
  position: absolute;
  right: calc(-1 * var(--s300));
  bottom: calc(-1 * var(--s500));
  width: 232px;
  padding: var(--s100) var(--s200);
  border-radius: 4px;
  background: var(--sticky);
  color: var(--on-sticky);
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow: 0 12px 24px -12px rgba(59, 48, 0, 0.45);
  transform: rotate(2deg);
  animation: stick 800ms var(--ease) calc(var(--at-agent, 4s) - 0.4s) both;
}
.sticky-meta {
  margin-top: var(--s50);
  font-size: 0.75rem;
  line-height: 1rem;
  opacity: 0.7;
}
@keyframes stick {
  from {
    opacity: 0;
    transform: translateY(-16px) rotate(6deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(2deg);
  }
}

/* Tagline: words go from muted to full ink as they cross the middle of the screen. */

.tagline {
  padding-block: var(--s900);
}
.tagline-text {
  /* Wider than the hero cap so each sentence keeps to its own line at text-6xl. */
  max-width: 960px;
  font-size: 3.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}
.tagline-text .word {
  color: color-mix(in srgb, var(--text) 28%, transparent);
  transition: color 700ms var(--ease);
}
.tagline-text .word.is-lit {
  color: var(--text);
}

/* Sections */

.section {
  padding-block: var(--s900);
}

.section-head {
  display: grid;
  gap: var(--s200);
  max-width: 680px;
  margin-bottom: var(--s600);
}
.section-head h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.pages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--s300) var(--s400);
}
/* Sheets and captions share rows across both figures, so the captions line up. */
.page {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
}
/* A sheet shorter than its row centers its page. */
.sheet-flat {
  display: grid;
  align-content: center;
  padding: var(--s300);
}
.sheet-board {
  padding: var(--s200);
}
.page h3,
.steps h3,
.places h3 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.page figcaption p,
.steps p,
.places p {
  margin-top: var(--s50);
  color: var(--muted);
}

.footnote {
  max-width: 680px;
  margin-top: var(--s500);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.agent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s700);
  align-items: center;
}

.steps {
  display: grid;
  gap: var(--s400);
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: var(--s600);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--paper);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 48px -24px rgba(15, 36, 98, 0.28);
}
.shot img {
  width: 100%;
  height: auto;
}
.shot-wide {
  margin-top: var(--s600);
}

.places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s400);
  padding: 0;
  list-style: none;
}
.places .icon {
  width: 24px;
  height: 24px;
  margin-bottom: var(--s100);
  color: var(--accent);
}

/* FAQ */

.faq {
  max-width: 800px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s200);
  padding: var(--s300) 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: var(--s50);
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-4px) rotate(45deg);
  transition: transform 500ms var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.faq summary:hover {
  color: var(--accent);
}
.faq details p {
  max-width: 680px;
  padding-bottom: var(--s300);
  color: var(--muted);
}

/* Final call */

.final {
  display: grid;
  justify-items: center;
  gap: var(--s300);
  padding-block: var(--s900);
  text-align: center;
}
.final img {
  border-radius: 16px;
}
.final h2 {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.final p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s200);
  padding-block: var(--s400) var(--s500);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.footer nav {
  display: flex;
  gap: var(--s300);
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* "Made by" credit: Aly's handwritten signature, the same glyphs as aly.engineer.
   Drawn at rest; main.js sets data-write when it scrolls in, and the backwards
   fill hides each letter until its pen reaches it. */
.footer-credit {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  padding-top: var(--s300);
}
.footer .credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s75);
  padding: var(--s75) var(--s100);
  border-radius: 8px;
  color: var(--ink);
  transition: color 700ms var(--ease);
}
.footer .credit:hover {
  color: var(--ink-agent);
  text-decoration: none;
}
.credit-made {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-right: -0.3em;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3em;
}
.credit-heart {
  width: 1.15em;
  height: 1.15em;
  margin-left: -0.15em; /* offsets the letter spacing after "COM" so the heart sits centered */
  fill: var(--ink-agent);
}
.credit-signature {
  width: auto;
  height: var(--s600);
  overflow: visible;
}
.credit-signature path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.credit-signature[data-write] path {
  animation: credit-write 1.4s var(--pen) calc(var(--i) * 0.18s) both;
}
@keyframes credit-write {
  0% {
    stroke-dashoffset: 1;
    fill-opacity: 0;
  }
  55% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .credit-heart {
    animation: credit-beat 1.6s ease-in-out infinite;
  }
}
@keyframes credit-beat {
  0%,
  60%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.25);
  }
  30% {
    transform: scale(0.95);
  }
  45% {
    transform: scale(1.15);
  }
}

/* Privacy and 404 pages */

.doc {
  display: grid;
  gap: var(--s200);
  width: min(680px, 100% - 2 * var(--s300));
  margin-inline: auto;
  padding-block: var(--s700) var(--s900);
}
.doc .brand {
  justify-self: start;
  margin-bottom: var(--s400);
}
.doc h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
}
.doc h2 {
  margin-top: var(--s300);
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.doc p,
.doc ul {
  color: var(--muted);
}
.doc ul {
  display: grid;
  gap: var(--s50);
  margin: 0;
  padding-left: var(--s300);
}
.doc-date {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.doc-back {
  margin-top: var(--s400);
}
.doc-missing {
  min-height: 100svh;
  align-content: center;
}
.doc-missing .brand {
  margin-bottom: var(--s200);
}

/* Scroll reveal (main.js adds .is-in); without JS everything is visible. */

.js .reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(64px);
  transition:
    opacity 900ms var(--ease),
    filter 900ms var(--ease),
    transform 900ms var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Narrow screens */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: var(--s600);
  }
  .agent,
  .pages {
    grid-template-columns: minmax(0, 1fr);
  }
  .places {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s300);
  }
  .sticky {
    right: calc(-1 * var(--s75));
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .nav-pill {
    gap: var(--s400);
  }
  .hero h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .join {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-sheet {
    padding: var(--s100) var(--s200) var(--s300);
  }
  .sticky {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    margin: var(--s200) var(--s200) 0 var(--s400);
  }
  .tagline-text,
  .final h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .section-head h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .section,
  .tagline,
  .final {
    padding-block: var(--s700);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .tagline-text .word {
    color: var(--text);
  }
}
