/* DropBay website. One stylesheet, no build step. Colours come from the app icon. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol-950: #001822;
  --petrol-900: #00263a;
  --petrol-800: #00344b;
  --azure: #00658c;
  --signal: #7ccff5;
  --tray: #e6c279;
  --violet: #c9a3f0;
  --amber: #eab65c;

  --bg: #eef3f5;
  --surface: #ffffff;
  --ink: #0b2431;
  --muted: #4a6371;
  --line: #d3dee4;
  --link: #00658c;

  --on-dark: #e8f2f6;
  --on-dark-muted: #a8c2cd;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);

  --phone-shadow: 0 40px 70px -30px rgba(0, 28, 44, 0.55), 0 16px 30px -18px rgba(0, 28, 44, 0.45);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #04141c;
    --surface: #0a202b;
    --ink: #e3edf1;
    --muted: #9ab1bc;
    --line: #183443;
    --link: #7ccff5;
    --phone-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 16px 30px -18px rgba(0, 0, 0, 0.6);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.125rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 600;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

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

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--on-dark);
}

@media (max-width: 720px) {
  .nav__secondary {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 88% 18%, rgba(0, 101, 140, 0.55) 0%, rgba(0, 101, 140, 0) 60%),
    linear-gradient(180deg, var(--petrol-900) 0%, var(--petrol-950) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px);
}

.hero h1 {
  font-size: clamp(2.75rem, 1.55rem + 4.7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
}

.play-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
}

.play-badge img {
  /* Google's artwork carries its own transparent margin; this trims it visually. */
  height: 72px;
  width: auto;
  max-width: none;
  margin: -10px -10px;
}

.hero__note {
  max-width: 22em;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Hero stage: a phone and a NAS with drive bays ---------- */

.stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 100 / 82;
  justify-self: end;
}

@media (max-width: 900px) {
  .stage {
    justify-self: center;
  }
}

.phone {
  position: absolute;
  margin: 0;
  background: #0a1216;
  border-radius: 5.6cqw;
  padding: 1.1cqw;
  box-shadow:
    0 0 0 0.25cqw #2a3a42,
    var(--phone-shadow);
}

.phone img {
  width: 100%;
  border-radius: 4.6cqw;
  aspect-ratio: 1080 / 2424;
  object-fit: cover;
  background: #f4f7f8;
}

.stage .phone {
  left: 0;
  top: 2cqw;
  width: 36cqw;
  z-index: 2;
}

.tap {
  position: absolute;
  z-index: 3;
  left: 18cqw;
  top: 73.6cqw;
  width: 7cqw;
  height: 7cqw;
  margin: -3.5cqw 0 0 -3.5cqw;
  border-radius: 50%;
  background: rgba(124, 207, 245, 0.45);
  opacity: 0;
  pointer-events: none;
}

.nas {
  position: absolute;
  right: 0;
  top: 9cqw;
  width: 57cqw;
  padding: 2.6cqw 2.6cqw 3.4cqw;
  border-radius: 3.4cqw;
  background: linear-gradient(165deg, #1b3441 0%, #0c1d26 55%, #09161d 100%);
  box-shadow:
    inset 0 0.2cqw 0 rgba(255, 255, 255, 0.08),
    0 0 0 0.2cqw rgba(0, 0, 0, 0.35),
    0 5cqw 9cqw -3cqw rgba(0, 0, 0, 0.6);
  font-size: 1.9cqw;
  line-height: 1.3;
  font-feature-settings: "tnum" 1;
}

.nas__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2cqw;
  margin-bottom: 2.2cqw;
  padding-inline: 0.6cqw;
}

.nas__vent {
  flex: 1;
  height: 100%;
  margin-right: 2.6cqw;
  border-radius: 1cqw;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0.34cqw, transparent 0.42cqw);
  background-size: 1.55cqw 1.55cqw;
  background-position: center;
}

.nas__power {
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 1.6cqw var(--signal);
}

.bays {
  display: grid;
  gap: 1.3cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bay {
  position: relative;
  display: grid;
  grid-template-columns: 2.2cqw 1.4cqw minmax(0, 1fr);
  align-items: center;
  column-gap: 1.8cqw;
  height: 10.4cqw;
  padding: 0 2.2cqw 0 1.6cqw;
  border-radius: 1.6cqw;
  background: linear-gradient(180deg, #13303d 0%, #0f2733 100%);
  box-shadow:
    inset 0 0.18cqw 0 rgba(255, 255, 255, 0.06),
    inset 0 -0.2cqw 0 rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.bay__handle {
  height: 6.4cqw;
  border-radius: 0.6cqw;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0 0.28cqw, transparent 0.28cqw 0.9cqw);
}

.bay__led {
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: var(--led, var(--signal));
  box-shadow: 0 0 1.4cqw var(--led, var(--signal));
}

.bay--seeding {
  --led: var(--violet);
}

.bay__body {
  min-width: 0;
}

.bay__title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #eef6f9;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bay__meta {
  display: block;
  margin-top: 0.3cqw;
  color: #8fb0bd;
  font-size: 1.55cqw;
}

.bay__bar {
  position: absolute;
  left: 7cqw;
  right: 2.2cqw;
  bottom: 1.3cqw;
  height: 0.5cqw;
  border-radius: 0.5cqw;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bay__bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--led, var(--signal));
}

.bay__empty {
  position: absolute;
  inset: 1cqw;
  display: grid;
  place-items: center;
  border: 0.22cqw dashed rgba(255, 255, 255, 0.16);
  border-radius: 1.1cqw;
  color: #6f8f9c;
  font-size: 1.55cqw;
  opacity: 0;
}

.bays > :nth-child(1) {
  --p: 69%;
}

.bays > :nth-child(2) {
  --p: 34%;
}

.bays > :nth-child(3) {
  --p: 100%;
}

.bays > :nth-child(4) {
  --p: 6%;
}

/* The script moves .drop sideways and .drop__chip up and down, which makes the arc. */
.drop {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  pointer-events: none;
}

.drop__chip {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 1.2cqw 2cqw 1.2cqw 1.4cqw;
  border-radius: 99cqw;
  background: var(--tray);
  color: #2b2006;
  font-size: 1.9cqw;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 1.6cqw 3cqw -1cqw rgba(0, 0, 0, 0.55);
  opacity: 0;
}

.drop svg {
  width: 2.4cqw;
  height: 2.4cqw;
}

/* Before the drop lands (script running, motion allowed), the last bay stands empty. */
.is-armed .bay--new:not(.is-landed) .bay__led,
.is-armed .bay--new:not(.is-landed) .bay__body,
.is-armed .bay--new:not(.is-landed) .bay__bar,
.is-armed .bay--new:not(.is-landed) .bay__handle {
  opacity: 0;
}

.is-armed .bay--new:not(.is-landed) {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0.3cqw 0.8cqw rgba(0, 0, 0, 0.45);
}

.is-armed .bay--new:not(.is-landed) .bay__empty {
  opacity: 1;
}

.bay--new.is-landed .bay__handle,
.bay--new.is-landed .bay__led,
.bay--new.is-landed .bay__body,
.bay--new.is-landed .bay__bar {
  opacity: 1;
  transition: opacity 0.35s ease 0.15s;
}

.bay--new.is-landed {
  animation: bay-seat 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
}

.bay--new.is-landed .bay__empty {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bay--new.is-landed .bay__led {
  animation: led-wake 1.4s ease-out 0.2s both;
}

.bay--new.is-landed .bay__bar i {
  animation: bar-start 2.6s cubic-bezier(0.3, 0.7, 0.3, 1) 0.4s both;
}

@keyframes bay-seat {
  0% {
    transform: translateX(14%);
  }
  100% {
    transform: none;
  }
}

@keyframes led-wake {
  0%,
  30%,
  60% {
    opacity: 1;
  }
  15%,
  45% {
    opacity: 0.2;
  }
}

@keyframes bar-start {
  from {
    width: 0;
  }
  to {
    width: var(--p);
  }
}

/* Disk activity: the busy bays' lights flicker, as a real NAS's do. */
.bay--busy .bay__led {
  animation: disk 2.9s steps(1, end) infinite;
}

.bay--busy + .bay--busy .bay__led {
  animation-duration: 3.7s;
  animation-delay: -1.2s;
}

@keyframes disk {
  0%,
  8%,
  14%,
  52%,
  58% {
    opacity: 1;
  }
  4%,
  11%,
  55% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bay--busy .bay__led,
  .bay--new.is-landed,
  .bay--new.is-landed .bay__led,
  .bay--new.is-landed .bay__bar i {
    animation: none;
  }
}

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

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

.section__head {
  max-width: 40rem;
}

.section__head p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.55;
}

/* How it works: a real sequence, so it is numbered. */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 76px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--azure);
}

.step::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: calc(-1 * clamp(28px, 4vw, 56px) + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--line) 0 60%, transparent);
}

.step:last-child::after {
  display: none;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  .step::before {
    color: var(--signal);
  }
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    padding-top: 0;
    padding-left: 64px;
  }

  .step::before {
    font-size: 2.5rem;
  }

  .step::after {
    display: none;
  }
}

/* Feature rows: a big real screenshot beside plain words. */

.features {
  padding-top: 0;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.feature + .feature {
  margin-top: clamp(72px, 10vw, 128px);
}

.feature__text {
  max-width: 30rem;
}

.feature__text p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.125rem;
}

.feature__points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature__points li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--line);
}

.feature__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--azure);
  border-bottom: 2px solid var(--azure);
  transform: rotate(-45deg);
}

@media (prefers-color-scheme: dark) {
  .feature__points li::before {
    border-color: var(--signal);
  }
}

.feature__shot {
  display: flex;
  justify-content: center;
}

.feature__shot .phone {
  position: relative;
  width: min(300px, 70vw);
  border-radius: 40px;
  padding: 8px;
}

.feature__shot .phone img {
  border-radius: 33px;
}

.feature--flip .feature__shot {
  order: -1;
}

/* Two phones: the folder picker stands behind the file picker. */
.feature__shot--duo {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 520 / 720;
}

.feature__shot--duo .phone {
  position: absolute;
}

.feature__shot--duo .phone:first-child {
  right: 0;
  top: 0;
  width: 46%;
}

.feature__shot--duo .phone:last-child {
  left: 0;
  bottom: 0;
  width: 56%;
}

@media (max-width: 820px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--flip .feature__shot {
    order: 0;
  }
}

/* The rest of the app: a strip people can swipe or scroll. */

.more {
  border-top: 1px solid var(--line);
}

.more__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.more__buttons {
  display: flex;
  gap: 8px;
}

.more__buttons button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.more__buttons button:hover {
  border-color: var(--muted);
}

.more__buttons button:disabled {
  opacity: 0.35;
  cursor: default;
}

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: clamp(24px, 3vw, 40px);
  /* Runs out to the window's right edge, so the next phone shows there is more. */
  margin: 40px calc(50% - 50vw) 0 calc(-1 * var(--gutter));
  padding: 16px var(--gutter) 16px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}

.strip > li {
  scroll-snap-align: start;
}

.strip .phone {
  position: relative;
  border-radius: 36px;
  padding: 7px;
}

.strip .phone img {
  border-radius: 30px;
}

.strip h3 {
  margin-top: 28px;
  font-size: 1.125rem;
}

.strip p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.strip .phone .notification {
  position: absolute;
  left: -14px;
  top: 64px;
  width: calc(100% + 28px);
  max-width: none;
  aspect-ratio: auto;
  border-radius: 18px;
  background: none;
  box-shadow: 0 18px 30px -12px rgba(0, 28, 44, 0.45);
}

/* Privacy band */

.privacy {
  position: relative;
  color: var(--on-dark);
  background: linear-gradient(180deg, var(--petrol-900), var(--petrol-950));
}

.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.privacy .wrap {
  position: relative;
}

.privacy .section__head p {
  color: var(--on-dark-muted);
}

.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 96px);
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.promise {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  column-gap: 20px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.promise svg {
  width: 32px;
  height: 32px;
  color: var(--tray);
}

.promise p {
  grid-column: 2;
  margin-top: 8px;
  color: var(--on-dark-muted);
}

.privacy__link {
  display: inline-block;
  margin-top: 40px;
  color: var(--signal);
  font-weight: 500;
}

@media (max-width: 760px) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq__grid .section__head {
  position: sticky;
  top: 32px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

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

.qa summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.qa[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.qa p {
  max-width: 38rem;
  padding-bottom: 24px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__grid .section__head {
    position: static;
  }
}

/* Closing call to action */

.closing {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.closing__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.closing__brand img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.closing p {
  margin-top: 6px;
  color: var(--muted);
}

/* Footer */

.footer {
  padding-block: 48px 56px;
  background: var(--petrol-950);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: var(--on-dark);
}

.footer__legal {
  max-width: 48rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer__legal p + p {
  margin-top: 8px;
}

/* ---------- Text pages: privacy, terms, support, 404 ---------- */

.page-head {
  color: var(--on-dark);
  background: linear-gradient(180deg, var(--petrol-900), var(--petrol-950));
}

.page-head__title {
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px);
}

.page-head h1 {
  font-size: clamp(2.5rem, 1.7rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.page-head p {
  margin-top: 16px;
  color: var(--on-dark-muted);
}

.page-head p a {
  color: var(--signal);
}

.prose {
  max-width: 42rem;
  padding-block: clamp(48px, 7vw, 88px) var(--section);
}

.prose h2 {
  margin-top: 56px;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin: 16px 0 0;
}

.prose ul {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 8px;
}

.prose .summary {
  padding: 24px 28px;
  border-left: 3px solid var(--tray);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9375rem;
}
