/* ============================================================================
   Topline Creatives — website
   Palette and logo rules come from brand-kit/. One typeface, Schibsted Grotesk.

   The page has two acts. The first half is dark: the only colour on screen is
   the work itself. The second half is a light sheet (the brand's light mode,
   reserved for rate cards and embeds) that carries pricing, questions and booking.
   ============================================================================ */

:root {
  /* brand */
  --graphite: #101216;
  --surface: #171A1F;
  --surface-2: #1E2229;
  --border: #232830;
  --border-2: #303641;
  --ice: #E2E6EB;
  --muted: #828A94;
  --steel: #7E93AD;

  /* light mode */
  --paper: #E9EBEE;
  --paper-2: #F5F6F8;
  --paper-line: #D2D6DC;
  --ink: #14171C;
  --ink-muted: #5F6772;

  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: clamp(28px, 4vw, 52px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* a little more room on big desktop monitors; the headline and the week scale with it */
@media (min-width: 1720px) { :root { --container: 1360px; } }

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

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

body {
  margin: 0;
  background: var(--graphite);
  color: var(--ice);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ice); color: var(--graphite); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ice); color: var(--graphite); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

main { position: relative; z-index: 2; background: var(--graphite); }

/* ------------------------------------------------------------------ type */
.h2 {
  font-size: clamp(38px, 5.7vw, 84px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  text-wrap: balance;
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.42;
  color: var(--muted);
  max-width: 44ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; }

.btn--primary { background: var(--ice); color: var(--graphite); }
.btn--primary:hover { background: #fff; }

.btn--ghost { border-color: var(--border-2); color: var(--ice); }
.btn--ghost:hover { border-color: var(--muted); background: rgba(226, 230, 235, .06); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }

/* =================================================================== NAV */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }

.nav__pill {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter) + 16px, 1100px);
  height: 62px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 10px 0 24px;
  border-radius: 999px;
  background: rgba(23, 26, 31, .86);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(226, 230, 235, .09), 0 18px 44px -18px rgba(0, 0, 0, .7);
}

.nav__logo { display: block; flex: none; }
.nav__logo img { height: 25px; width: auto; }

.nav__links { display: none; gap: 2px; }
.nav__links a {
  padding: 8px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ice); }
.nav__links a.is-current { color: var(--ice); background: rgba(226, 230, 235, .09); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}
@media (max-width: 420px) {
  .nav__pill { padding-left: 18px; }
  .nav__logo img { height: 21px; }
}

/* ================================================================== HERO */
.hero { position: relative; padding-top: clamp(100px, 12vh, 140px); overflow: clip; }

/* a whisper of steel under the ring, so the cards lift off the page */
.hero::before {
  content: ""; position: absolute; left: 50%; top: clamp(300px, 44vh, 460px);
  width: 150vw; height: 720px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(126, 147, 173, .17), transparent 70%);
  pointer-events: none;
}

.hero__head { position: relative; display: grid; justify-items: center; text-align: center; container-type: inline-size; }

.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: clamp(18px, 2vw, 26px); padding: 7px 15px 7px 12px; border-radius: 999px;
  background: rgba(23, 26, 31, .7); box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 14px; font-weight: 600; color: var(--ice); text-decoration: none;
  transition: box-shadow .2s;
}
.hero__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--steel); animation: pulse 2.4s ease-out infinite; }
.hero__pill:hover { box-shadow: inset 0 0 0 1px var(--muted); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 147, 173, .55); }
  100% { box-shadow: 0 0 0 9px rgba(126, 147, 173, 0); }
}

/* The headline is set to the width of the column: three lines on a phone,
   two on a tablet, one on a desktop.
   (Line widths in em: "manufacture" 5.86, "We manufacture" 7.49, the full line 11.63.) */
.hero__title {
  font-size: 16.8cqw;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .9;
  white-space: nowrap;
}
.hero__title .l {
  display: block; overflow: hidden;
  padding: .12em .08em .04em; margin: -.12em -.08em -.04em;
}
.hero__title .l > span { display: block; }
.hero__title .dim { color: var(--muted); }

.hero__lead {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42;
  color: var(--muted); max-width: 84ch; text-wrap: balance;
}

.hero__cta { margin-top: clamp(22px, 2vw, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (min-width: 720px) {
  .hero__title { font-size: 13.1cqw; }
  .hero__title .l { display: inline-block; vertical-align: top; }
  .hero__title .l--break { display: block; }
}
@media (min-width: 1000px) {
  .hero__title { font-size: 8.5cqw; }
  .hero__title .l--break { display: inline-block; }
}

/* ----- the ring: every sample, once, on a wall that curves around you -----
   Without scripts it is a plain row of stills that scrolls sideways. */
.ring { position: relative; margin-top: clamp(26px, 3vw, 44px); }
/* on a desktop the sides of the ring rise beside the buttons, so it can sit closer */
@media (min-width: 1000px) { .js .ring { margin-top: clamp(2px, .6vw, 12px); } }

.ring__track { display: flex; gap: 14px; margin: 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.ring__track::-webkit-scrollbar { display: none; }

.ring__card {
  position: relative; isolation: isolate; flex: none;
  height: clamp(240px, 30vw, 400px); aspect-ratio: var(--ar);
  border-radius: clamp(14px, 1.5vw, 22px); overflow: hidden;
  background: var(--surface);
}
.ring__card img, .ring__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ring__card video { opacity: 0; transition: opacity .5s; }
.ring__card video.is-playing { opacity: 1; }
.ring__card::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }

/* With scripts the same cards stand on a ring and the camera sits inside it.
   main.js works out the sizes (--ring-*) and where each card stands (--a), and
   turns the whole thing by changing --rot. */
.js .ring {
  height: var(--ring-h, 400px);
  perspective: var(--ring-f, 1000px);
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.js .ring.is-dragging { cursor: grabbing; }
.js .ring__track {
  position: absolute; left: 50%; top: 50%; display: block; width: 0; height: 0; padding: 0; overflow: visible;
  transform-style: preserve-3d;
  transform: translateZ(var(--ring-tz, 0px)) rotateX(calc(var(--tilt, 0) * 1deg)) rotateY(calc(var(--rot, 0) * 1deg));
  will-change: transform;
}
.js .ring__card {
  position: absolute; left: 0; top: 0;
  height: var(--ring-card, 400px); width: calc(var(--ring-card, 400px) * var(--ar)); aspect-ratio: auto;
  margin: calc(var(--ring-card, 400px) / -2) 0 0 calc(var(--ring-card, 400px) * var(--ar) / -2);
  transform: rotateY(calc(var(--a, 0) * 1deg)) translateZ(calc(var(--ring-r, 800) * -1px));
  backface-visibility: hidden;
}
.js .ring__card.is-off { visibility: hidden; }

.hero__note { position: relative; margin-top: clamp(16px, 1.8vw, 24px); padding-inline: var(--gutter); text-align: center; font-size: 13.5px; color: var(--muted); }
.hero__note span { color: var(--ice); }
html:not(.js) .hero__note span { display: none; }

/* ----- what every engagement includes: four numbers under the ring ----- */
.spec { position: relative; margin-top: clamp(64px, 8vw, 116px); }
.spec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; padding-bottom: 18px; }
.spec__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.spec__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }

.spec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.spec__grid li { padding: 18px 0 clamp(26px, 3vw, 34px); border-top: 1px solid var(--border-2); }
.spec__num {
  display: block; margin: 0 0 clamp(14px, 1.7vw, 24px) -.045em;
  font-size: clamp(76px, 8.6vw, 128px); font-weight: 800; letter-spacing: -.07em; line-height: .8;
  color: var(--steel);
}
.spec__grid h3 { font-size: clamp(16.5px, 1.4vw, 19px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.spec__grid p { margin-top: 7px; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 27ch; text-wrap: pretty; }

@media (min-width: 900px) {
  .spec__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ----- entrance: one sequence, on load ----- */
.js .hero__title .l > span { transform: translateY(115%); }
.js .rise { opacity: 0; transform: translateY(14px); }
.js .ring { opacity: 0; transform: translateY(48px); }
.js .hero__note { opacity: 0; }

.js.is-ready .hero__title .l > span { transform: none; transition: transform 1.1s var(--ease-out) calc(var(--i) * 90ms); }
.js.is-ready .rise { opacity: 1; transform: none; transition: opacity .7s ease calc(.25s + var(--i) * 70ms), transform .9s var(--ease-out) calc(.25s + var(--i) * 70ms); }
.js.is-ready .ring { opacity: 1; transform: none; transition: opacity .9s ease .3s, transform 1.5s var(--ease-out) .3s; }
.js.is-ready .hero__note { opacity: 1; transition: opacity .8s ease 1.5s; }

/* ========================================================== FINISHED ADS
   Two whole ads Topline made for itself, in one frame, with a list beside it.
   Without scripts the first ad shows with the browser's own controls. */
.reel { padding-top: clamp(88px, 11vw, 168px); }

.reel__grid { display: grid; gap: clamp(30px, 5vw, 44px); }
.reel__copy { display: grid; gap: 18px; align-content: start; }

.reel__stage { position: relative; display: grid; justify-items: center; }
.reel__stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 190%; height: 92%; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(126, 147, 173, .17), transparent 70%);
  pointer-events: none;
}

.reel__frame {
  position: relative; isolation: isolate;
  width: min(100%, clamp(250px, 25vw, 350px)); aspect-ratio: 9 / 16;
  border-radius: clamp(22px, 2.2vw, 32px); overflow: hidden;
  background: #0B0D10;
  box-shadow: 0 0 0 1px var(--border-2), 0 60px 110px -50px rgba(0, 0, 0, .95);
}
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.reel__video.is-active { opacity: 1; }
html:not(.js) .reel__video:not(.is-active) { display: none; }

/* the controls exist only when scripts run */
.reel__toggle, .reel__sound, .reel__bar { display: none; }

.js .reel__toggle { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.js .reel__toggle:focus-visible { outline-offset: -6px; }
.js .reel__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(16, 18, 22, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E2E6EB' d='M8.5 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / 28px no-repeat;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease-out);
}
.js .reel__frame.is-paused .reel__toggle::after { opacity: 1; transform: none; }

.js .reel__sound {
  position: absolute; left: 14px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 11px;
  border: 0; border-radius: 999px;
  background: rgba(16, 18, 22, .68); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: inherit; font-size: 13.5px; font-weight: 600; color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.reel__sound svg { width: 18px; height: 18px; fill: currentColor; }
.reel__sound .reel__waves, .reel__sound .reel__cross { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.reel__sound .reel__waves { display: none; }
.reel__sound[aria-pressed="true"] { background: var(--ice); color: var(--graphite); }
.reel__sound[aria-pressed="true"] .reel__waves { display: block; }
.reel__sound[aria-pressed="true"] .reel__cross { display: none; }

.js .reel__bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .16); }
.reel__bar i { display: block; width: 0; height: 100%; background: var(--ice); transition: width .25s linear; }

/* the list: which ad is on, and how far through it is */
.reel__list { margin-top: clamp(6px, 1.4vw, 18px); }
.reel__item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 18px;
  width: 100%; padding: 16px 0; border: 0; border-top: 1px solid var(--border); background: none;
  font: inherit; text-align: left; color: var(--muted); cursor: pointer;
  transition: color .3s var(--ease);
}
.reel__list li:last-child .reel__item { border-bottom: 1px solid var(--border); }
.reel__item:hover, .reel__item.is-active { color: var(--ice); }
html:not(.js) .reel__item { cursor: default; }
.reel__n {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 15px; font-weight: 700;
}
.reel__n::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--ice) calc(var(--sp, 0) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.reel__t { font-size: clamp(21px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.reel__d { font-size: 15px; font-weight: 500; color: var(--muted); }

@media (max-width: 899px) {
  .reel__copy { order: -1; }
}
@media (min-width: 900px) {
  .reel__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 7vw, 120px); }
}

/* ========================================================== HOW IT WORKS */
.how { padding-top: clamp(110px, 13vw, 200px); }

.step { padding-top: clamp(36px, 6vw, 56px); }
.step__n {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 15px; font-weight: 700;
}
.step__title { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.step__title button { margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: default; }
.step__text { margin-top: 16px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.42; color: var(--muted); max-width: 33ch; text-wrap: pretty; }

.how__stage { display: grid; gap: 16px; margin-top: 32px; }
.step .panel { margin-top: 28px; max-width: 640px; }

/* the card each step is drawn on */
.pc {
  display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px);
  height: 100%; padding: clamp(18px, 2.2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border), 0 60px 110px -60px rgba(0, 0, 0, .95);
}
.pc__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pc__title { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.pc__meta { font-size: 14px; color: var(--muted); }
.pc__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pc__label span { color: var(--steel); }

/* 1 · brief */
.prods { display: flex; gap: 10px; }
.prods li { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.prods svg { width: 34px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.prods .prods__add { background: none; box-shadow: none; border: 1px dashed var(--border-2); }
.prods .prods__add svg { width: 14px; height: 14px; }

.claims { display: grid; gap: 9px; }
.claims li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; }
.claims i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ice); color: var(--graphite); }
.claims svg { width: 12px; height: 12px; }

.access li { display: flex; align-items: center; gap: 11px; height: 44px; border-top: 1px solid var(--border); font-size: 15px; }
.access svg { flex: none; width: 16px; height: 16px; fill: var(--ice); }
.access b { font-weight: 600; }
.access em { margin-left: auto; font-style: normal; font-size: 13.5px; color: var(--muted); }
.switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--ice); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--graphite); transform: translateX(14px); }

/* 2 · batch */
.batch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, .8vw, 10px); }
.take {
  position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(37% 21% at 50% 37%, rgba(226, 230, 235, .22) 97%, transparent 100%),
    radial-gradient(72% 36% at 50% 92%, rgba(226, 230, 235, .15) 97%, transparent 100%),
    linear-gradient(165deg, var(--a, #2C333D), var(--b, #1C2128));
}
.take:nth-child(3n + 1) { --a: #353D49; --b: #20252D; }
.take:nth-child(4n + 2) { --a: #262C35; --b: #1A1E24; }
.take:not(.is-kept) { opacity: .22; }
.take.is-kept::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ice); }
.take__mark { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ice); color: var(--graphite); }
.take__mark svg { width: 11px; height: 11px; }
.take__hook, .take__cap { position: absolute; left: 14%; height: 5px; border-radius: 3px; background: #fff; transform-origin: left center; }
.take__hook { top: 13%; width: 58%; height: 6px; }
.take__cap { bottom: 21%; width: 72%; opacity: .8; }
.take__cap + .take__cap { bottom: 13%; width: 46%; }

.passes { display: flex; flex-wrap: wrap; gap: 8px; }
.passes li { padding: 7px 13px; border-radius: 999px; background: var(--ice); color: var(--graphite); font-size: 13.5px; font-weight: 600; }

/* 3 · posted and measured */
.sched { display: grid; grid-template-columns: minmax(104px, 1.5fr) repeat(5, minmax(0, 1fr)); align-items: center; justify-items: center; row-gap: clamp(9px, 1.4vh, 13px); }
.sched__d { font-size: 13px; color: var(--muted); }
.sched__p { justify-self: start; display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; }
.sched__p svg { width: 15px; height: 15px; fill: var(--ice); }
.sched i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--ice); }
.sched i::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid var(--graphite); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

.report { margin-top: auto; padding: 16px 16px 14px; border-radius: 18px; background: #12151A; box-shadow: inset 0 0 0 1px var(--border); }
.report__plot { position: relative; }
.report__chart { width: 100%; height: clamp(64px, 11vh, 104px); overflow: visible; }
.report__area { fill: rgba(126, 147, 173, .2); }
.report__base { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.report__line { fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.report__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.report__stats li { display: flex; align-items: center; gap: 8px; }
.report__stats li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--steel); }

/* scripted states: each card builds itself when its step comes up */
.js .panel:not(.is-on) .claims i { background: transparent; color: transparent; box-shadow: inset 0 0 0 1px var(--border-2); }
.js .panel.is-on .claims i { transition: background-color .3s ease calc(.3s + var(--i) * .16s), color .3s ease calc(.3s + var(--i) * .16s); }
.js .panel:not(.is-on) .switch { background: #2A3039; }
.js .panel:not(.is-on) .switch::after { transform: none; background: var(--muted); }
.js .panel.is-on .switch { transition: background-color .3s ease calc(.85s + var(--i) * .17s); }
.js .panel.is-on .switch::after { transition: transform .35s var(--ease) calc(.85s + var(--i) * .17s), background-color .3s ease calc(.85s + var(--i) * .17s); }

.js .panel:not(.is-on) .take { opacity: 0; }
.js .panel.is-on .take { animation: take-in .5s var(--ease-out) calc(var(--i) * 55ms) both; }
.js .panel.is-on .take:not(.is-kept) { animation: take-in .5s var(--ease-out) calc(var(--i) * 55ms) both, take-cut .5s ease 1.2s forwards; }
.js .panel:not(.is-on) .take.is-kept::after,
.js .panel:not(.is-on) .take__mark { opacity: 0; }
.js .panel:not(.is-on) .take__mark { transform: scale(.4); }
.js .panel.is-on .take.is-kept::after { transition: opacity .35s ease calc(1.2s + var(--k) * 70ms); }
.js .panel.is-on .take__mark { transition: opacity .3s ease calc(1.25s + var(--k) * 70ms), transform .45s var(--ease-out) calc(1.25s + var(--k) * 70ms); }
.js .panel:not(.is-on) .take__hook,
.js .panel:not(.is-on) .take__cap { transform: scaleX(0); }
.js .panel.is-on .take__hook { transition: transform .5s var(--ease-out) calc(1.75s + var(--k) * 60ms); }
.js .panel.is-on .take__cap { transition: transform .5s var(--ease-out) calc(1.9s + var(--k) * 60ms); }
.js .panel:not(.is-on) .passes li { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--border-2); }
.js .panel.is-on .passes li { transition: background-color .3s ease calc(1.8s + var(--i) * .16s), color .3s ease calc(1.8s + var(--i) * .16s); }

@keyframes take-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes take-cut { to { opacity: .22; } }

.js .panel:not(.is-on) .sched i { background: transparent; box-shadow: inset 0 0 0 1px var(--border-2); }
.js .panel:not(.is-on) .sched i::after { opacity: 0; }
.js .panel.is-on .sched i { transition: background-color .25s ease calc(.25s + var(--i) * 45ms); }
.js .panel.is-on .sched i::after { transition: opacity .2s ease calc(.3s + var(--i) * 45ms); }
.js .panel:not(.is-on) .report__plot { clip-path: inset(-8px 100% -8px 0); }
.js .panel.is-on .report__plot { clip-path: inset(-8px -8px -8px 0); transition: clip-path 1.5s var(--ease) 1.2s; }

/* Desktop: heading, steps and card sit together as one composed block. The block
   pins to the window while the three steps play, then lets go. */
@media (min-width: 980px) and (min-height: 600px) {
  .how { padding-top: 0; scroll-margin-top: -104px; }

  .how__view { padding-top: clamp(110px, 13vw, 200px); }
  .js .how__pin { height: calc(100vh + 186vh); }
  .js .how__view { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: 76px; }

  .how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
  .js .how__grid { align-items: center; }

  .how__left .h2 { font-size: clamp(44px, 5.2vw, 76px); white-space: nowrap; }
  .how__steps { margin-top: clamp(22px, 4.2vh, 44px); }

  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--border); }
  .step:last-child { border-bottom: 1px solid var(--border); }
  .step__n { margin: 1px 0 0; }
  .step__title { align-self: center; font-size: clamp(27px, 2.9vw, 42px); line-height: 1.05; transition: color .4s var(--ease); }
  .step__more { grid-column: 2; }
  .step__text { margin-top: 10px; max-width: 40ch; }

  /* scripted: one step open at a time, and its number draws a ring as you scroll through it */
  .js .step__title button { cursor: pointer; }
  .js .step:not(.is-active) .step__title { color: var(--muted); }
  .js .step:not(.is-active) .step__title:hover { color: var(--ice); }
  .js .step__n { transition: color .4s var(--ease); }
  .js .step:not(.is-active) .step__n { color: var(--muted); }
  .js .step__n::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(var(--ice) calc(var(--sp, 0) * 1turn), transparent 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  }
  .js .step__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
  .js .step__more > div { min-height: 0; overflow: hidden; }
  .js .step.is-active .step__more { grid-template-rows: 1fr; }
  .js .step__text { min-height: calc(3 * 1.42em); }

  .how__stage { --sh: min(620px, calc(100vh - 150px)); margin-top: 0; }
  .js .how__stage { position: relative; display: block; height: var(--sh); }
  .js .panel { position: absolute; inset: 0; transition: opacity .45s var(--ease), transform .8s var(--ease-out); }
  .js .panel:not(.is-active) { opacity: 0; transform: translateY(22px) scale(.975); pointer-events: none; }

  .js .pc { overflow: hidden; }
  .js .batch { flex: 1; min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .js .take { aspect-ratio: auto; }

  /* the brief fills its card on a tall window and tightens on a short one */
  .panel--brief .pc { justify-content: space-between; }
  .prods li { width: 68px; height: 68px; }
  .access li { height: 48px; }

}
@media (min-width: 980px) and (min-height: 600px) and (max-height: 780px) {
  .pc { gap: 14px; }
  .prods li { width: 52px; height: 52px; }
  .prods svg { width: 28px; height: 28px; }
  .claims { gap: 6px; }
  .access li { height: 38px; }
  .how__steps { margin-top: 18px; }
  .step { padding: 13px 0; }
}

/* ============================================================= THE SHEET */
.sheet {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-xl);
  color-scheme: light;
}
.sheet ::selection { background: var(--ink); color: var(--paper); }
.sheet :focus-visible { outline-color: var(--ink); }
.sheet .lead { color: var(--ink-muted); }

/* =============================================================== PRICING */
.pricing { padding-top: clamp(84px, 10vw, 150px); }

.pricing__head { display: grid; gap: 20px; }
.pricing__head .h2 { max-width: 12ch; }

.plans { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 68px); }

.plan {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--paper-line);
}
.plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 30px; }
.plan__name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.plan__flag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(226, 230, 235, .1); font-size: 13px; font-weight: 600; }
.plan__flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); }
.plan__price { margin-top: clamp(30px, 4.4vw, 60px); font-size: clamp(64px, 6.9vw, 100px); font-weight: 800; letter-spacing: -.06em; line-height: .82; white-space: nowrap; }
.plan__per { margin-left: .4em; font-size: .23em; font-weight: 600; letter-spacing: -.01em; color: var(--ink-muted); }
.plan__desc { margin-top: 20px; font-size: 16.5px; line-height: 1.4; color: var(--ink-muted); text-wrap: pretty; }
.plan__spec { margin: 24px 0 28px; }
.plan__spec div { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--paper-line); font-size: 14.5px; line-height: 1.35; }
.plan__spec dt { color: var(--ink-muted); }
.plan__spec dd { font-weight: 600; }
.plan .btn { margin-top: auto; width: 100%; }

.plan--featured { background: var(--graphite); color: var(--ice); box-shadow: 0 44px 80px -44px rgba(16, 18, 22, .75); }
.plan--featured .plan__per,
.plan--featured .plan__desc,
.plan--featured .plan__spec dt { color: var(--muted); }
.plan--featured .plan__spec div { border-color: var(--border-2); }
.plan--featured :focus-visible { outline-color: var(--ice); }

@media (min-width: 1020px) {
  .pricing__head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
  .pricing__head .lead { justify-self: end; padding-bottom: .5em; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__desc { min-height: calc(3 * 1.4em); }
}

.everyplan {
  display: grid; gap: 16px; margin-top: 14px;
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--paper-line);
}
.everyplan__label { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.everyplan__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 15px; line-height: 1.35; }
.everyplan__list li { display: flex; align-items: flex-start; gap: 9px; }
.everyplan__list svg { flex: none; width: 15px; height: 15px; margin-top: 3px; }
@media (min-width: 760px) { .everyplan__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .everyplan { grid-template-columns: 190px minmax(0, 1fr); } }

/* the terms: one drawn, three stated */
.terms { display: grid; gap: 14px; margin-top: clamp(64px, 8vw, 112px); }

.term { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--paper-line); }
.term__big { display: block; font-size: clamp(42px, 3.8vw, 56px); font-weight: 800; letter-spacing: -.055em; line-height: .88; }
.term h3 { margin-top: 16px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.term p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-muted); text-wrap: pretty; }

.term--chart { display: flex; flex-direction: column; background: var(--graphite); color: var(--ice); box-shadow: 0 44px 80px -44px rgba(16, 18, 22, .75); }
.term--chart .term__big { font-size: clamp(84px, 9vw, 136px); color: var(--steel); letter-spacing: -.07em; margin-left: -.03em; }
.term--chart h3 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.03em; }
.term--chart p { color: var(--muted); font-size: 16px; }
.term--chart .term__foot { margin-top: 18px; font-size: 13px; }

.chart { position: relative; flex: 1; min-height: clamp(220px, 26vw, 300px); margin-top: clamp(20px, 3vw, 36px); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grow { position: absolute; inset: 0; }
.chart__base { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.chart__start { fill: none; stroke: var(--border-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.chart__area { fill: rgba(126, 147, 173, .24); }
.chart__line { fill: none; stroke: var(--ice); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__tag { position: absolute; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--muted); }
.chart__tag--base { left: 0; top: calc(76.9% + 11px); }
.chart__tag--start { left: calc(35% + 10px); top: 7%; }
.chart__tag--growth { right: 5%; top: 51%; display: inline-flex; align-items: center; gap: 7px; color: var(--ice); }
.chart__tag--growth::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); }

.js .term--chart:not(.is-seen) .chart__grow { clip-path: inset(-12px 100% -12px 0); }
.js .term--chart.is-seen .chart__grow { clip-path: inset(-12px -12px -12px 0); transition: clip-path 2s var(--ease) .25s; }
.js .term--chart:not(.is-seen) .chart__tag--growth { opacity: 0; }
.js .term--chart.is-seen .chart__tag--growth { transition: opacity .6s ease 1.6s; }

@media (min-width: 1020px) {
  .terms { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
  .term--chart { grid-row: 1 / span 3; }
}

.pricing__foot { margin-top: 22px; font-size: 14px; color: var(--ink-muted); }

/* =================================================================== FAQ */
.faq { padding-top: clamp(104px, 12vw, 190px); }

.faq__grid { display: grid; gap: clamp(28px, 4vw, 48px); }

.qa { border-top: 1px solid var(--paper-line); }
.qa:last-child { border-bottom: 1px solid var(--paper-line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 1.9vw, 24px) 0;
  font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2;
  list-style: none; cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 23, 28, .22);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 1px;
  background: currentColor; transform: translate(-50%, -50%);
  transition: transform .4s var(--ease-out);
}
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa summary:hover i { box-shadow: inset 0 0 0 1px var(--ink); }
.qa[open] summary i { background: var(--ink); color: var(--paper); box-shadow: none; }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 56px clamp(20px, 2vw, 28px) 0; font-size: 17px; line-height: 1.5; color: var(--ink-muted); max-width: 60ch; text-wrap: pretty; }

@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

@media (min-width: 980px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
  .faq__grid .h2 { position: sticky; top: 124px; max-width: 8ch; }
}

/* ================================================================== BOOK */
.book { padding-block: clamp(104px, 12vw, 190px) clamp(64px, 7vw, 104px); }

.book__head { display: grid; gap: 20px; }
.book__head .h2 { max-width: 11ch; }

.cal {
  display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(32px, 4vw, 60px); min-height: 340px;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line);
}
.cal__card { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 56px 24px; text-align: center; }
.cal__card img { width: 42px; height: auto; margin-bottom: 14px; }
.cal__title { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cal__text { margin-bottom: 20px; color: var(--ink-muted); }
/* Desktop shows Cal's own calendar inline. Below that width Cal stacks every time
   slot into one long column, so phones get a compact picker of our own instead:
   a row of days, then the times three across. Tapping a time opens Cal on its
   details form with that slot already chosen. */
.cal__inline { display: none; width: 100%; }
.picker { display: none; }

@media (min-width: 1040px) {
  .cal__inline { display: block; }
  .cal.is-live { min-height: 0; padding: clamp(6px, 1vw, 14px); }
  .cal.is-live .cal__card { display: none; }
}
@media (max-width: 1039px) {
  .cal.has-picker { min-height: 0; }
  .cal.has-picker .cal__card { display: none; }
  .cal.has-picker .picker { display: block; }
}

.picker { width: 100%; min-width: 0; max-width: 620px; margin-inline: auto; padding: 24px 18px 20px; }
.picker__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.picker__title { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.picker__len { font-size: 14px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; }
.picker__date { margin-top: 22px; font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; }

.picker__days {
  display: flex; gap: 8px;
  margin: 10px -18px 0; padding: 2px 18px 4px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 18px;
  scrollbar-width: none;
}
.picker__days::-webkit-scrollbar { display: none; }
.pday {
  flex: none; display: grid; justify-items: center; gap: 1px;
  width: 58px; padding: 10px 0 9px;
  border: 0; border-radius: 16px; background: var(--paper);
  font: inherit; color: var(--ink); cursor: pointer; scroll-snap-align: start;
  transition: background-color .2s, color .2s;
}
.pday span { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); transition: color .2s; }
.pday b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pday[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pday[aria-pressed="true"] span { color: rgba(233, 235, 238, .68); }

/* morning / afternoon / evening: one part of the day shows at a time */
.picker__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 16px; padding: 4px; border-radius: 14px; background: var(--paper); }
.ppart {
  height: 38px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-muted); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.ppart[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 23, 28, .12), 0 0 0 1px rgba(20, 23, 28, .05); }
.ppart:disabled { color: rgba(95, 103, 114, .4); cursor: default; }

/* room for four rows of times, so the card doesn't jump when you switch */
.picker__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 46px; align-content: start; gap: 8px; margin-top: 12px; min-height: 208px; }
.ptime {
  display: grid; place-items: center; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--paper-line);
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.ptime:hover, .ptime:active { background: var(--ink); color: var(--paper); box-shadow: none; }
.picker__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 20px; font-size: 13.5px; color: var(--ink-muted); }
.picker__foot a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
@media (min-width: 560px) {
  .picker { padding: 32px 28px 26px; }
  .picker__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 154px; }
  .picker__days { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; }
}

@media (min-width: 1020px) {
  .book__head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
  .book__head .lead { justify-self: end; padding-bottom: .5em; }
}

/* ================================================================ FOOTER
   Pinned to the bottom of the window: the page slides up to uncover it. */
.footer {
  position: sticky; bottom: 0; z-index: 1;
  padding-block: clamp(56px, 7vw, 100px) 28px;
  background: var(--graphite);
}
.footer__top { display: grid; gap: 30px; }
.footer__logo { display: block; justify-self: start; }
.footer__logo img { height: 38px; width: auto; }
.footer__brand { display: grid; gap: 16px; justify-items: start; }
.footer__tag { font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.footer__tag span { display: block; font-weight: 500; color: var(--muted); }

.footer__contact { display: grid; gap: 8px; font-size: 15.5px; }
.footer__contact div { display: grid; grid-template-columns: 70px minmax(0, 1fr); }
@media (max-width: 479px) {
  .footer__contact { gap: 14px; }
  .footer__contact div { grid-template-columns: minmax(0, 1fr); }
  .footer__contact dt { font-size: 13.5px; }
}
.footer__contact dt { color: var(--muted); }
.footer__contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border-2); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--ice); color: var(--graphite); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.socials span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: clamp(44px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
}
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--ice); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(40px, 6vw, 88px); align-items: start; }
  .footer__note { margin-left: auto; }
}
@media (max-height: 620px) { .footer { position: relative; } }

/* ================================================================= LEGAL */
.legal-hero { padding: clamp(150px, 20vh, 220px) 0 clamp(44px, 6vw, 80px); }
.legal-hero p { margin-top: 18px; color: var(--muted); }

.legal { padding-block: clamp(48px, 6vw, 96px) clamp(72px, 9vw, 130px); }
.legal__body { max-width: 70ch; font-size: 17px; line-height: 1.62; }
.legal__body h2 { margin: 2.2em 0 .6em; font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin: 1.6em 0 .5em; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.legal__body p { margin-bottom: 1em; }
.legal__body ul { margin: 0 0 1.1em; padding-left: 1.2em; list-style: disc; }
.legal__body li { margin-bottom: .5em; padding-left: .2em; }
.legal__body li::marker { color: var(--ink-muted); }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ======================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__title .l > span, .js .rise, .js .ring, .js .hero__note { opacity: 1; transform: none; }
}
