/* LetsFocus website: brand "The Hold". Tokens mirror branding/the-hold/README.md in the app repo. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --night: #09090a;
  --bone: #eeeef1;
  --graphite: #1b1b1e;
  --graphite-hi: #232327;
  --rule: #2c2c31;
  --muted: #8c8c96;
  --sub: #a3a3ad;
  --body: #c9c9d1;
  --blue: #4c97ff;
  --blue-hover: #6aa9ff;
  --blue-deep: #0b6be8;
  --ember: #ff8f4f;
  --dusk: #13264a;
  --dusk-deep: #0b1222;

  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 24px;
  --header-h: 68px;

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

::selection {
  background: rgba(76, 151, 255, 0.35);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
}

.skip:focus {
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  color: var(--sub);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(238, 238, 241, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  padding: 6px 0;
}

.brand img {
  width: 124px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--sub);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--bone);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Brand rule: Night text on Focus Blue, never white. */
.btn-primary {
  background: var(--blue);
  color: var(--night);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: #46464e;
  background: rgba(238, 238, 241, 0.04);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

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

.glow-top {
  background:
    radial-gradient(120% 70% at 50% -18%, var(--dusk) 0%, var(--dusk-deep) 42%, rgba(9, 9, 10, 0) 78%),
    var(--night);
}

.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(60px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.tagline {
  margin-bottom: 22px;
  color: var(--bone);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.hero .lead {
  max-width: 34em;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  list-style: none;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

/* Concentric rings, as in the Play feature graphic. They breathe slowly. */
.rings {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.rings span {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid rgba(238, 238, 241, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 9s ease-in-out infinite;
}

.rings span:nth-child(1) { width: 420px; height: 420px; }
.rings span:nth-child(2) { width: 620px; height: 620px; animation-delay: -1.5s; }
.rings span:nth-child(3) { width: 840px; height: 840px; animation-delay: -3s; }
.rings span:nth-child(4) { width: 1080px; height: 1080px; animation-delay: -4.5s; }

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.55; }
}

.phone {
  position: relative;
  width: min(300px, 74vw);
  margin: 0;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #26262b, #121214);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -24px rgba(0, 0, 0, 0.8);
}

.phone img {
  width: 100%;
  border-radius: 37px;
  background: #000;
}

.hero .phone {
  width: clamp(250px, 27vw, 320px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -24px rgba(0, 0, 0, 0.8),
    0 0 140px -30px rgba(76, 151, 255, 0.35);
}

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

  .hero-media {
    padding-top: 24px;
  }

  .hero .phone {
    width: min(280px, 72vw);
  }
}

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

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

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

.section-head h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -0.04em;
}

.section-head .lead {
  margin: 0;
}

.section-head.center .lead {
  margin-inline: auto;
  max-width: 36em;
}

/* ---------- The gap (how it works) ---------- */

.mark-lg {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.steps li {
  padding: 32px 28px 30px;
  border: 1px solid rgba(238, 238, 241, 0.05);
  border-radius: var(--radius);
  background: var(--graphite);
}

.step-n {
  display: block;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.steps h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--sub);
  font-size: 16px;
}

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

  .step-n {
    margin-bottom: 20px;
  }
}

/* ---------- Feature rows ---------- */

.features {
  display: grid;
  gap: clamp(88px, 12vw, 160px);
}

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

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

.feature h3 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.04em;
}

.feature .lead {
  margin-bottom: 28px;
}

.ticks {
  display: grid;
  gap: 14px;
  list-style: none;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.5;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

/* A tiny Hold mark: ring and point. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px),
    radial-gradient(circle, transparent 0 4.5px, var(--sub) 5px 6.5px, transparent 7px);
}

.feature-media {
  position: relative;
  display: grid;
  place-items: center;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: 8% -4%;
  background: radial-gradient(closest-side, rgba(76, 151, 255, 0.16), transparent);
  pointer-events: none;
}

/* Ember belongs to countdowns: the pause screen is one. */
.feature-media.ember::before {
  background: radial-gradient(closest-side, rgba(255, 143, 79, 0.14), transparent);
}

/* Breathing pause demo: the ring fills in Ember while "Open" counts down, as on the app's pause
   page. The gap sits at half past one (36°), as in the mark. CSS only: no script on this site. */
@property --pd-fill {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --pd-secs {
  syntax: "<integer>";
  inherits: false;
  initial-value: 10;
}

.pause-demo {
  position: relative;
  width: min(340px, 86vw);
  padding: 40px 28px 32px;
  border-radius: 40px;
  background: linear-gradient(180deg, #0b0c10 0%, #0e1830 100%);
  box-shadow:
    inset 0 0 0 1px rgba(238, 238, 241, 0.07),
    0 40px 80px -24px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.pd-meta {
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pd-ring {
  position: relative;
  width: 136px;
  height: 136px;
  margin: 0 auto 26px;
}

.pd-ring::before {
  --pd-fill: 0deg;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 63deg,
    var(--ember) 0deg var(--pd-fill),
    var(--rule) var(--pd-fill) 324deg,
    transparent 324deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 17px), #000 calc(100% - 16px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 17px), #000 calc(100% - 16px));
  animation: pd-fill 12s linear infinite;
}

.pd-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  background: var(--bone);
  animation: pd-breathe 8s ease-in-out infinite;
}

.pd-breath {
  display: grid;
  margin-bottom: 6px;
  color: var(--sub);
  font-size: 14px;
}

.pd-breath span {
  grid-area: 1 / 1;
  animation: pd-in 8s ease-in-out infinite;
}

.pd-breath span + span {
  animation-name: pd-out;
}

.pd-title {
  margin-bottom: 6px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pd-sub {
  margin-bottom: 24px;
  color: var(--sub);
  font-size: 14.5px;
}

.pd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.pd-primary {
  margin-bottom: 10px;
  background: var(--bone);
  color: var(--night);
}

.pd-open {
  gap: 0.35em;
  border: 1px solid var(--rule);
  color: var(--muted);
  animation: pd-unlock 12s linear infinite;
}

.pd-count::after {
  --pd-secs: 10;
  counter-reset: pd var(--pd-secs);
  content: "0:" counter(pd, decimal-leading-zero);
  font-family: var(--mono);
  animation: pd-count 12s steps(10, end) infinite;
}

@keyframes pd-fill {
  0% { --pd-fill: 0deg; }
  83.333%, 100% { --pd-fill: 324deg; }
}

@keyframes pd-count {
  0% { --pd-secs: 10; }
  83.333%, 100% { --pd-secs: 0; }
}

@keyframes pd-unlock {
  0%, 83.2% { border-color: var(--rule); color: var(--muted); }
  83.4%, 100% { border-color: var(--bone); color: var(--bone); }
}

@keyframes pd-breathe {
  0%, 100% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
}

@keyframes pd-in {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pd-out {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-ring::before { --pd-fill: 210deg; }
  .pd-count::after { --pd-secs: 4; }
  .pd-breath span + span { opacity: 0; }
}

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

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

  .feature-media .phone {
    width: min(280px, 72vw);
  }
}

/* ---------- Everything else (cards) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 28px 26px 26px;
  border: 1px solid rgba(238, 238, 241, 0.05);
  border-radius: var(--radius);
  background: var(--graphite);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--graphite-hi);
  box-shadow: inset 0 0 0 1px rgba(238, 238, 241, 0.06);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--sub);
  font-size: 15.5px;
  line-height: 1.55;
}

.countdown {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 143, 79, 0.1);
  color: var(--ember);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 1040px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- Privacy band ---------- */

.privacy-panel {
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(76, 151, 255, 0.16);
  border-radius: 32px;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(19, 38, 74, 0.9), rgba(11, 18, 34, 0.6) 50%, rgba(9, 9, 10, 0) 100%),
    #0c0d11;
}

.privacy-panel .section-head {
  margin-bottom: 48px;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  list-style: none;
}

.points h3 {
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.points p {
  margin: 0;
  color: var(--sub);
  font-size: 15.5px;
}

.a11y-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(238, 238, 241, 0.08);
}

.a11y-note h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.a11y-note p {
  max-width: 44em;
  margin: 0;
  color: var(--body);
}

@media (max-width: 1040px) {
  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

/* ---------- Pricing ---------- */

.price-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(238, 238, 241, 0.06);
  border-radius: 32px;
  background: var(--graphite);
}

.track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
  gap: 6px;
  margin-bottom: 40px;
}

.track span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--graphite-hi);
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--sub);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.track span.forever {
  background: var(--bone);
  box-shadow: none;
  color: var(--night);
  font-weight: 600;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 40px;
  list-style: none;
}

.perks h3 {
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.perks p {
  margin: 0;
  color: var(--sub);
  font-size: 15.5px;
}

.price-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.price-foot p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

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

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

  .track span.forever {
    grid-column: 1 / -1;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}

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

.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(var(--sub), var(--sub)) center / 16px 2px no-repeat,
    linear-gradient(var(--sub), var(--sub)) center / 2px 16px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover::after {
  background:
    linear-gradient(var(--bone), var(--bone)) center / 16px 2px no-repeat,
    linear-gradient(var(--bone), var(--bone)) center / 2px 16px no-repeat;
}

.faq .answer {
  padding: 0 48px 24px 0;
  color: var(--body);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

.faq a,
.prose a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* ---------- Closing band ---------- */

.closing {
  position: relative;
  overflow: hidden;
  overflow: clip;
  text-align: center;
}

.closing .rings span {
  border-color: rgba(238, 238, 241, 0.05);
}

.closing-inner {
  position: relative;
}

.closing h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: -0.05em;
}

.closing .lead {
  margin-bottom: 32px;
}

.closing .mark-lg {
  width: 72px;
  height: 72px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(238, 238, 241, 0.06);
  color: var(--muted);
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand img {
  width: 112px;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
}

.footer-links a {
  color: var(--sub);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--bone);
}

.footer-legal {
  margin-top: 36px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-legal p {
  margin: 0 0 6px;
  max-width: 60em;
}

/* ---------- Privacy policy page ---------- */

.legal-hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -0.05em;
}

.meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  max-width: 780px;
  padding-bottom: clamp(72px, 10vw, 120px);
  color: var(--body);
}

.prose h2 {
  margin: 64px 0 16px;
  color: var(--bone);
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.025em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose h2 .num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.prose h3 {
  margin: 32px 0 10px;
  color: var(--bone);
  font-size: 19px;
  letter-spacing: -0.01em;
}

.prose ul {
  display: grid;
  gap: 10px;
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.prose li::marker {
  color: var(--muted);
}

.prose strong {
  color: var(--bone);
  font-weight: 600;
}

.summary {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(76, 151, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(19, 38, 74, 0.75), rgba(9, 9, 10, 0) 70%),
    #0c0d11;
}

.summary h2 {
  margin-top: 0;
  font-size: 22px;
}

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

.summary li {
  position: relative;
  padding-left: 28px;
}

.summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px),
    radial-gradient(circle, transparent 0 4.5px, var(--sub) 5px 6.5px, transparent 7px);
}

.toc {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--graphite);
}

.toc p {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 1.4em;
  font-size: 15.5px;
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  color: var(--body);
  text-decoration: none;
}

.toc a:hover {
  color: var(--bone);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
}

.data-table {
  width: 100%;
  margin: 8px 0 24px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.data-table th {
  padding: 0 14px 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.data-table td:first-child {
  width: 30%;
  color: var(--bone);
  font-weight: 600;
}

@media (max-width: 680px) {
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
  }

  .data-table td,
  .data-table td:first-child {
    width: 100%;
    padding: 0 0 8px;
    border: 0;
  }

  .data-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 200px);
  padding: 96px 0;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 16px;
  font-size: clamp(56px, 10vw, 112px);
  letter-spacing: -0.05em;
}

.not-found .lead {
  margin-bottom: 32px;
}

/* ---------- Motion ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
