/* Dink Club — the page is the club: navy banners, ball-yellow lettering, renders from the game. */

@font-face {
  font-family: "Lilita One";
  src: url("/assets/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Navy ramp, from the club's banners */
  --night-0: #070e1b;
  --night-1: #0b1527;
  --night-2: #101c33;
  --night-3: #172741;
  --night-4: #1f3253;

  /* Text on navy */
  --chalk: #fbf3e4;
  --chalk-2: #b7b3ac;
  --chalk-3: #8f9095;
  --line: rgba(251, 243, 228, 0.09);
  --line-2: rgba(251, 243, 228, 0.16);

  /* Ink on the golden sky */
  --ink: #0e1a30;
  --ink-2: #16233b;
  --ink-line: rgba(18, 33, 58, 0.28);

  /* The club's colours: the ball is the one accent */
  --ball: #ffe34d;
  --ball-hover: #ffea70;
  --teal: #4cc3b6;
  --clay: #e58b5c;

  /* Skies sampled from the renders, so the page continues them */
  --sky-golden: #9f8f9d;
  --sky-golden-phone: #87819c;
  --sky-night: #0e1330;
  --sky-night-phone: #0c112c;

  --display: "Lilita One", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 10vw, 128px);
  --bar: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --quick: 160ms;
  --enter: 420ms;
}

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

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

body {
  margin: 0;
  background: var(--night-1);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ball);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--quick) var(--ease);
}

.skip:focus-visible {
  transform: translateY(80px);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px 2px;
  border: 0;
  border-radius: 14px;
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease),
    transform var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}

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

/* The game's PLAY button: yellow with a navy label and a lip */
.btn-ball {
  background: var(--ball);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 rgba(18, 33, 58, 0.18);
}

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

/* The club banner: navy with yellow lettering, for the golden sky */
.btn-banner {
  background: var(--ink);
  color: var(--ball);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
}

.btn-banner:hover {
  background: #1a2d4d;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink-line);
}

.btn-line:hover {
  background: rgba(18, 33, 58, 0.08);
}

.btn-quiet {
  background: var(--night-3);
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-quiet:hover {
  background: var(--night-4);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px 1px;
  border-radius: 11px;
  font-size: 1rem;
}

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

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--bar);
  color: var(--ink);
  transition: background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.bar nav ul {
  display: flex;
  gap: 4px;
}

.bar nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--quick) var(--ease);
}

.bar nav a:hover {
  background: rgba(18, 33, 58, 0.08);
}

.bar .btn-small {
  background: var(--ink);
  color: var(--ball);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
}

.bar .btn-small:hover {
  background: #1a2d4d;
}

.bar.is-solid,
.bar.is-open {
  background: rgba(11, 21, 39, 0.96);
  color: var(--chalk);
  box-shadow: inset 0 -1px 0 var(--line);
}

.bar.is-solid nav a:hover,
.bar.is-open nav a:hover {
  background: rgba(251, 243, 228, 0.07);
}

.bar.is-solid .btn-small,
.bar.is-open .btn-small {
  background: var(--ball);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(18, 33, 58, 0.18);
}

.bar.is-solid .btn-small:hover,
.bar.is-open .btn-small:hover {
  background: var(--ball-hover);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .close {
  display: none;
}

.bar.is-open .menu-toggle .open {
  display: none;
}

.bar.is-open .menu-toggle .close {
  display: block;
}

@media (max-width: 860px) {
  .bar-inner {
    gap: 12px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .bar nav {
    position: absolute;
    inset: var(--bar) 0 auto;
    display: none;
    padding: 8px var(--gutter) 20px;
    background: rgba(11, 21, 39, 0.98);
    box-shadow: inset 0 -1px 0 var(--line);
  }

  .bar.is-open nav {
    display: block;
  }

  .bar nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .bar nav a {
    padding: 12px 8px;
    font-size: 1.0625rem;
  }
}

/* ---------- Scoreline: the running score down the page ---------- */

.scoreline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--chalk-2);
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px 0 8px;
  border-radius: 8px;
  background: var(--night-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--chalk);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* the serve dot, as on the game's scoreboard */
.score::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ball);
}

.score i {
  font-style: normal;
  opacity: 0.6;
}

/* ---------- Hero: the club at golden hour ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--sky);
  background: linear-gradient(180deg, #938496 0%, var(--sky-golden) 100%) top / 100% var(--sky) no-repeat,
    var(--sky-golden);
  color: var(--ink);
  --sky: max(150px, calc(560px - 26.4vw));
}

.scene {
  position: relative;
  z-index: -1;
  display: block;
}

.scene img {
  width: 100%;
  /* on wide, short screens keep the court in view and let the sky band carry the top */
  max-height: calc(100svh - var(--sky) + 140px);
  object-fit: cover;
  object-position: 50% 70%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%);
}

/* the court fades into the page below */
.scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(11, 21, 39, 0) 0%, var(--night-1) 100%);
}

.hero-copy {
  position: absolute;
  inset: calc(var(--bar) + clamp(24px, 4vw, 56px)) 0 auto;
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.hero-copy .kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.875rem, 1.4rem + 4.9vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
}

.hero .lead {
  max-width: 34rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .hero {
    --sky: 112px;
    background: var(--sky-golden-phone);
  }

  .hero .lead {
    color: var(--ink);
  }

  .hero-copy {
    inset: calc(var(--bar) + 12px) 0 auto;
    gap: 16px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero .lead {
    max-width: 22rem;
  }

  .actions .btn {
    flex: 1 1 0;
    padding-inline: 16px;
  }

  .actions {
    width: 100%;
    max-width: 22rem;
  }
}

/* ---------- Calls ticker ---------- */

.calls {
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  background: var(--night-1);
}

.calls-track {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.calls:hover .calls-track {
  animation-play-state: paused;
}

.calls ul {
  display: flex;
  align-items: center;
}

.calls li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.2;
  color: var(--chalk);
  white-space: nowrap;
}

/* a pickleball between calls */
.calls li::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ball);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

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

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

.section-head {
  display: grid;
  gap: 16px;
  max-width: 44rem;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.005em;
}

.section-head .lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  color: var(--chalk-2);
}

/* Screens from the game */

.screen {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--night-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1206 / 2622;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* How a point goes */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  counter-reset: step;
}

.step {
  display: grid;
  align-content: start;
  gap: 12px;
}

.step .screen {
  width: min(100%, 300px);
  margin-bottom: 16px;
}

.step h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.625rem;
  line-height: 1.1;
}

.step h3::before {
  counter-increment: step;
  content: counter(step);
  color: var(--ball);
}

.step p {
  max-width: 22rem;
  color: var(--chalk-2);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 300px);
    gap: 20px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .steps::-webkit-scrollbar {
    display: none;
  }

  .step {
    scroll-snap-align: start;
  }
}

/* The ladder */

.rivals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.rival {
  display: grid;
  align-content: start;
  gap: 4px;
}

.rival img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line);
}

.rival-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--chalk-3);
  font-variant-numeric: tabular-nums;
}

.rival-meta .light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rival-meta .light::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ball);
}

.rival[data-light="dusk"] .light::before {
  background: var(--clay);
}

.rival[data-light="night"] .light::before {
  background: var(--chalk);
}

.rival h3 {
  margin-top: 2px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.rival .tagline {
  color: var(--chalk-2);
  font-size: 1rem;
  line-height: 1.45;
}

.rival .stats {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--chalk-3);
  font-variant-numeric: tabular-nums;
}

.final {
  margin: clamp(48px, 7vw, 80px) 0 0;
}

.final img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line);
}

.final figcaption {
  max-width: 40rem;
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--chalk-2);
}

@media (max-width: 960px) {
  .rivals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 420px) {
  .rival h3 {
    font-size: 1.3125rem;
  }

  .rival .tagline {
    font-size: 0.9375rem;
  }
}

/* Between matches */

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

.kit .section-head {
  margin-bottom: 32px;
}

.kit-list {
  display: grid;
  gap: 28px;
}

.kit-list h3 {
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: 8px;
}

.kit-list p {
  color: var(--chalk-2);
}

.kit-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

.kit-screens .screen:last-child {
  margin-top: clamp(40px, 8vw, 96px);
}

@media (max-width: 860px) {
  .kit {
    grid-template-columns: none;
  }

  .kit-screens {
    max-width: 560px;
  }
}

/* Online */

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

.online .section-head {
  margin-bottom: 28px;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts li {
  display: flex;
  gap: 12px;
  color: var(--chalk-2);
}

.facts li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--teal);
}

.room {
  justify-self: center;
  width: min(100%, 380px);
  padding: 28px 24px 24px;
  border-radius: 32px;
  background: var(--night-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.room-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--chalk-3);
}

.room h3 {
  margin-top: 4px;
  font-size: 1.75rem;
  line-height: 1.1;
}

.code {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 24px;
}

.code span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  border-radius: 14px;
  background: var(--night-3);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--ball);
  font-variant-numeric: tabular-nums;
}

.seats {
  display: grid;
  gap: 8px;
  text-align: left;
}

.seats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--night-3);
  font-weight: 600;
}

.seats .avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
}

.seats .waiting {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--chalk-3);
  font-weight: 500;
}

.seats .waiting .avatar {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.seats small {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--chalk-3);
}

.room-rules {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--chalk-3);
}

@media (max-width: 860px) {
  .online {
    grid-template-columns: none;
  }

  .room {
    justify-self: start;
  }
}

/* Where to play: court passes */

.passes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 920px;
}

.pass {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 32px;
  border-radius: 22px;
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* the tear-off edge of a pass */
.pass::before,
.pass::after {
  content: "";
  position: absolute;
  top: 60px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--night-1);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.pass::before {
  left: -10px;
  clip-path: inset(0 0 0 50%);
}

.pass::after {
  right: -10px;
  clip-path: inset(0 50% 0 0);
}

.pass-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1.5px dashed var(--line-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--chalk-3);
}

.pass-open .pass-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.pass h3 {
  font-size: 1.75rem;
  line-height: 1.1;
}

.pass p {
  color: var(--chalk-2);
}

.pass .btn {
  justify-self: start;
  margin-top: 12px;
}

.pass-soon {
  background: transparent;
}

.pass-soon h3 {
  color: var(--chalk-2);
}

@media (max-width: 720px) {
  .passes {
    grid-template-columns: none;
  }
}

/* ---------- Closing: the same view at night ---------- */

.closing {
  position: relative;
  isolation: isolate;
  padding-top: var(--sky);
  background: linear-gradient(180deg, var(--night-1) 0%, var(--sky-night) 100%) top / 100% var(--sky) no-repeat,
    var(--sky-night);
  --sky: max(150px, calc(560px - 26.4vw));
}

.closing .scene::after {
  background: linear-gradient(180deg, rgba(7, 14, 27, 0) 0%, var(--night-0) 100%);
}

.closing-copy {
  position: absolute;
  inset: clamp(56px, 7vw, 96px) 0 auto;
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.closing h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem);
  line-height: 0.96;
}

.closing .lead {
  max-width: 32rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);
  color: var(--chalk-2);
}

.closing .btn {
  margin-top: 6px;
}

@media (max-width: 720px) {
  .closing {
    --sky: 96px;
    background: linear-gradient(180deg, var(--night-1) 0%, var(--sky-night-phone) 100%) top / 100% var(--sky) no-repeat,
      var(--sky-night-phone);
  }

  .closing-copy {
    inset: 40px 0 auto;
  }
}

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

.foot {
  padding: 56px 0 48px;
  background: var(--night-0);
  color: var(--chalk-2);
  font-size: 0.9375rem;
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: start;
}

.foot .brand {
  color: var(--chalk);
  margin-bottom: 12px;
}

.foot p {
  max-width: 26rem;
}

.foot nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 40px;
}

.foot nav a {
  text-decoration: none;
  color: var(--chalk-2);
  transition: color var(--quick) var(--ease);
}

.foot nav a:hover {
  color: var(--chalk);
}

.foot .legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--chalk-3);
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .foot-inner {
    grid-template-columns: none;
  }
}

/* ---------- Text pages: support and privacy ---------- */

.page {
  padding: calc(var(--bar) + clamp(48px, 7vw, 88px)) 0 var(--section);
}

.page-head {
  display: grid;
  gap: 16px;
  max-width: 44rem;
  margin-bottom: 48px;
}

.page-head h1 {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
}

.page-head .lead {
  font-size: 1.1875rem;
  color: var(--chalk-2);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 48px 0 12px;
  font-size: 1.625rem;
  line-height: 1.15;
}

.prose p,
.prose li {
  color: var(--chalk-2);
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.prose li {
  display: flex;
  gap: 12px;
}

.prose li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.7em;
  border-radius: 50%;
  background: var(--chalk-3);
}

.prose a {
  color: var(--chalk);
  text-decoration-color: var(--ball);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose .date {
  color: var(--chalk-3);
}

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

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

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

  .calls-track {
    animation: none;
  }

  .calls {
    overflow-x: auto;
  }

  .btn,
  .bar {
    transition: none;
  }
}
