/* Fourteen-Day Reset
   Colours: black / white / grey, blue as the one accent.
   --bg-rgb and --fg-rgb are rewritten by js/main.js while you scroll:
   the page starts dark and wakes up to light around "Day 14".
   The background is one slow silk canvas behind everything (js/silk.js). No grain. */

:root {
  --bg-rgb: 11 11 12;
  --fg-rgb: 237 237 234;
  --bg: rgb(var(--bg-rgb));
  --fg: rgb(var(--fg-rgb));
  --muted: rgb(var(--fg-rgb) / 0.64);
  --line: rgb(var(--fg-rgb) / 0.13);

  --blue: #2d5bff;
  --blue-rgb: 45 91 255;
  --graphite: #17181b;

  /* the tracker's family: Unbounded for everything that is display or interface, Inter Tight for reading */
  --f-display: "Unbounded", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Playfair Display", "Times New Roman", Times, serif;

  --pad: clamp(16px, 2vw, 28px);
  --header-h: 52px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
html.js body.is-locked { overflow: hidden; }
html.js:has(body.is-locked) { overflow: hidden; }
html:not(.js) .gate { display: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.08em; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
[inert] { pointer-events: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

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

.silk {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  pointer-events: none;
}

.label { font-family: var(--f-display); font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.meta { display: flex; flex-direction: column; gap: 1px; font-family: var(--f-display); font-size: 11.5px; line-height: 1.3; }
.meta span { color: var(--muted); font-weight: 500; }
.meta b { font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), background-color 0.4s, color 0.4s, box-shadow 0.5s;
  white-space: nowrap;
}
.btn::after { /* a slow sheen that sweeps across on hover */
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn--light { background: #ededea; color: #0b0b0c; }
.btn--ghost { color: rgb(237 237 234 / 0.7); box-shadow: inset 0 0 0 1px rgb(237 237 234 / 0.22); }
.btn--ghost:hover { color: #ededea; box-shadow: inset 0 0 0 1px rgb(237 237 234 / 0.5); }
.btn--dark { background: #0d0d0e; color: #f2f2ef; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgb(var(--blue-rgb) / 0.7); }
.btn--blue:hover { box-shadow: 0 16px 40px -10px rgb(var(--blue-rgb) / 0.9); }

/* ---------- entry gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #0b0b0c;
  color: #ededea;
  transition: opacity 1.1s var(--ease-out), visibility 1.1s;
}
.gate { touch-action: none; overscroll-behavior: contain; }
.gate.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__inner { text-align: center; padding: 24px; max-width: 640px; }
.gate__inner { max-width: 760px; }
.gate__brand { font-family: var(--f-display); font-size: 12px; font-weight: 500; letter-spacing: 0.01em; color: rgb(237 237 234 / 0.64); }
.gate__title { margin-top: 22px; font-family: var(--f-display); font-size: clamp(34px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.gate__note { margin-top: 22px; color: rgb(237 237 234 / 0.64); font-size: 16px; line-height: 1.5; }
.gate__actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gate__inner > * { opacity: 0; transform: translateY(14px); animation: rise 1.2s var(--ease-out) forwards; }
.gate__inner > :nth-child(2) { animation-delay: 0.12s; }
.gate__inner > :nth-child(3) { animation-delay: 0.24s; }
.gate__inner > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgb(var(--bg-rgb) / 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
}
.header__logo { letter-spacing: -0.01em; justify-self: start; }
.header__logo, .header__cta, .header__nav a { display: inline-flex; align-items: center; min-height: 48px; }
.header__nav { display: flex; gap: 22px; }
.header__nav a { color: var(--muted); transition: color 0.3s; }
.header__nav a:hover { color: var(--fg); }
.header__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
/* the language button, as in the Reset Tracker: globe, the language name, a chevron; the native list opens from an invisible select */
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: color 0.2s, background-color 0.2s; font-family: var(--f-display); font-size: 12px; font-weight: 600; }
.lang:hover { color: var(--fg); background: rgb(var(--fg-rgb) / 0.06); }
.lang__icon, .lang__chev { display: grid; place-items: center; pointer-events: none; }
.lang svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang__icon svg { width: 17px; height: 17px; }
.lang__chev svg { width: 12px; height: 12px; }
.lang__select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; appearance: none; -webkit-appearance: none; }
.lang__select option { color: #0d0d0e; background: #fff; }
.lang:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.lang__select:focus-visible { outline: none; }
.gate__corner { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: var(--pad); display: flex; align-items: center; gap: 4px; }
.lang--gate { color: rgb(237 237 234 / 0.7); }
.acct--gate { color: rgb(237 237 234 / 0.7); }
.acct--gate:hover { color: #ededea; background: rgb(237 237 234 / 0.08); }
.acct--gate span { display: inline !important; }
@media (max-width: 400px) { .gate__corner .lang__name { display: none; } }
.lang--gate:hover { color: #ededea; background: rgb(237 237 234 / 0.08); }
@media (max-width: 759px) { .header__end .lang .lang__name { display: none; } .header__end { gap: 4px; } }
.header__cta { justify-self: end; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; white-space: nowrap; }
.header__cta span { color: var(--muted); font-weight: 500; margin-left: 4px; }

/* ---------- 1. intro: phrase + glass messages ---------- */
.intro { height: 160vh; }
.intro__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.intro__title {
  position: absolute;
  left: var(--pad);
  top: 47%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: var(--f-display);
  font-size: clamp(44px, 6.1vw, 118px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 11em;
  outline: none;
}
.intro__title em { letter-spacing: -0.02em; font-size: 1.12em; line-height: 0.9; }
.intro__title .w { opacity: 0.13; transition: opacity 0.9s var(--ease-out); }
.intro__title .w.is-on { opacity: 1; }
html.js body:not(.is-in) .intro__title { opacity: 0; }
.intro__title { transition: opacity 1.4s var(--ease-out); }

.intro__chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* A message made of liquid glass, like the cursor: it refracts the silk and the type behind it.
   The refraction map is generated per chip in js/intro.js (Chromium); other browsers get clear glass. */
.gchip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: #ededea;
  background: rgb(255 255 255 / 0.02);
  box-shadow:
    inset 2px 3px 7px -3px rgb(255 255 255 / 0.4),
    inset -3px -5px 10px -6px rgb(0 0 0 / 0.55),
    0 16px 34px -18px rgb(0 0 0 / 0.7);
  -webkit-backdrop-filter: saturate(1.35) brightness(1.12);
  backdrop-filter: saturate(1.35) brightness(1.12);
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out);
  animation: float var(--dur, 12s) ease-in-out var(--del, 0s) infinite;
}
.gchip::before { /* specular rim, brightest top-left and bottom-right, like real glass */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.08) 28%, rgb(255 255 255 / 0) 52%, rgb(255 255 255 / 0.1) 74%, rgb(255 255 255 / 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.gchip b { font-weight: 600; color: rgb(237 237 234 / 0.5); font-variant-numeric: tabular-nums; }
.gchip.is-on { opacity: 1; transform: none; }
.gchip.far.is-on { opacity: 0.5; transform: scale(0.84); }
@keyframes float {
  0%, 100% { translate: 0 -4px; }
  25% { translate: 3px 0; }
  50% { translate: 0 4px; }
  75% { translate: -3px 0; }
}
.c1 { left: 44%; top: 13%; --dur: 13s; --del: -2s; }
.c2 { left: 63%; top: 19%; --dur: 11s; --del: -7s; }
.c3 { right: 5%; top: 11%; --dur: 14s; --del: -4s; }
.c4 { right: 6%; top: 27%; --dur: 12s; --del: -9s; }
.c5 { left: 70%; top: 63%; --dur: 10.5s; --del: -1s; }
.c6 { left: 47%; top: 66%; --dur: 13.5s; --del: -6s; }
.c7 { left: 22%; top: 17%; --dur: 11.5s; --del: -3s; }
.c8 { right: 4%; top: 73%; --dur: 12.5s; --del: -8s; }
.c9 { left: 57%; top: 75%; --dur: 10s; --del: -5s; }

/* phone only: "Swipe up" with a drop sliding down a thin line; gone after the first scroll */
.intro__swipe { display: none; }
@media (hover: none), (pointer: coarse) {
  .intro__swipe {
    position: absolute; left: var(--pad); bottom: 16px; z-index: 3;
    display: flex; flex-direction: row-reverse; align-items: center; gap: 10px;
    font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: 0.01em;
    color: rgb(237 237 234 / 0.64); transition: opacity 0.8s var(--ease-out);
  }
  .intro__swipe i { position: relative; width: 1px; height: 28px; background: rgb(237 237 234 / 0.2); overflow: hidden; }
  .intro__swipe i::after {
    content: ""; position: absolute; left: -2px; top: -6px; width: 5px; height: 5px; border-radius: 50%;
    background: #ededea; animation: drop 2.2s var(--ease-io) infinite;
  }
  body.has-scrolled .intro__swipe, body:not(.is-in) .intro__swipe { opacity: 0; }
}
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }

.intro__foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 74px; /* clears the sound button */
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.intro__sub {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.32vw, 19px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 34em;
  transition: opacity 1.4s var(--ease-out);
}
html.js body:not(.is-in) .intro__sub { opacity: 0; }
.intro__cta { display: flex; align-items: center; gap: 18px; font-family: var(--f-display); font-size: 12px; font-weight: 600; white-space: nowrap; }
.intro__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.scroll-cue { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- 2. program (six squares) ---------- */
.program { height: 380vh; }
.program__head { font-family: var(--f-display); font-size: clamp(22px, 2vw, 32px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.program__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: minmax(200px, 24%) 1fr;
  border-top: 1px solid var(--line);
}
.program__side {
  padding: var(--pad);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.program__index { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.program__num {
  font-family: var(--f-display);
  font-size: clamp(56px, 6.2vw, 112px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.program__num.is-flip { animation: flip 0.8s var(--ease-out); }
@keyframes flip { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
.program__dots { display: grid; grid-template-columns: repeat(7, 14px); gap: 8px; }
.program__dots i {
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.6s, box-shadow 0.6s, transform 0.6s var(--ease-out);
}
.program__dots i.is-on { background: var(--blue); box-shadow: none; transform: scale(1.08); }
.program__dots.is-app i { box-shadow: inset 0 0 0 1.5px var(--blue); }
.program__bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.program__bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); }

.program__stage { position: relative; overflow: clip; touch-action: pan-y; }
.program__top {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  padding: 14px var(--pad);
  z-index: 3;
  pointer-events: none;
}
.program__top .label { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.program__mobile-days { visibility: hidden; }
.program__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.program__cards { position: absolute; inset: 0; }

.card {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--design, 600px);
  height: var(--design, 600px);
  transform-origin: 0 0;
  color: #ededea;
  will-change: transform;
  --shift: 0px;
}
.card.no-gl { background: var(--graphite); }
.card.no-gl.card--blue { background: var(--blue); }
.card__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__in {
  position: absolute;
  inset: 0;
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__top span:last-child { color: rgb(237 237 234 / 0.5); }
.card__badge {
  color: #fff !important;
  font-size: 11.5px;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55);
}
.card:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 0; }
.card__title { font-family: var(--f-display); font-size: 31px; font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; max-width: 15em; text-wrap: balance; }
.card__text { margin-top: 14px; font-size: 19px; line-height: 1.32; max-width: 27em; color: rgb(237 237 234 / 0.72); text-wrap: pretty; }
.card--blue .card__text { color: #fff; }
.card.is-moving .card__title {
  text-shadow: calc(var(--shift) * -1) 0 rgb(255 60 110 / 0.45), var(--shift) 0 rgb(60 150 255 / 0.5);
}

/* ---------- 3. Day 1 → Day 14 (dark → light) ---------- */
.tracker { height: 300vh; }
.tracker__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: var(--header-h) var(--pad) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(22px, 4vh, 44px);
  border-top: 1px solid var(--line);
}
.tracker__sticky { gap: clamp(14px, 2.6vh, 30px); }
.tracker__day {
  font-family: var(--f-display);
  font-size: clamp(56px, 11vw, 190px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tracker__day b { font-weight: 800; color: var(--blue); }
/* the same 14-part ring as in the course, filling day by day */
.tracker__ring { width: clamp(132px, 27vh, 240px); aspect-ratio: 1; flex: none; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.22)); }
.tracker__caption { min-height: 2.5em; font-family: var(--f-display); font-size: clamp(15px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; max-width: 26em; text-wrap: balance; }
.tracker__caption span { color: var(--muted); font-weight: 500; }

/* ---------- 4. showcase: the Reset Tracker ---------- */
.showcase {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 6vh) var(--pad) 8vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  border-top: 1px solid var(--line);
}
.showcase__stage { position: relative; aspect-ratio: 16 / 11; perspective: 1600px; }
.device {
  position: absolute;
  padding: 9px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.35) 45%, rgb(255 255 255 / 0.6));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.9),
    inset 0 -2px 6px rgb(13 13 14 / 0.08),
    0 50px 90px -40px rgb(13 13 14 / 0.5),
    0 12px 26px -14px rgb(13 13 14 / 0.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  will-change: transform;
}
.device__screen { position: relative; overflow: hidden; background: #0e0f12; border-radius: 16px; }
.device--laptop { left: 0; top: 2%; width: 86%; }
.device--laptop .device__screen { aspect-ratio: 16 / 10; }
.device__base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 14px;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(#f4f4f2, #cfcfcc);
  box-shadow: 0 18px 30px -16px rgb(13 13 14 / 0.45);
}
.device--phone { right: 1%; bottom: 0; width: 25%; padding: 6px; border-radius: 30px; }
.device--phone .device__screen { aspect-ratio: 9 / 19; border-radius: 25px; }
.showcase__note { position: absolute; left: 0; bottom: -4px; font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }

.scene { position: absolute; inset: 0; opacity: 0; transform: scale(0.97); transition: opacity 0.9s var(--ease-out), transform 1.3s var(--ease-out); }
.scene.is-on { opacity: 1; transform: none; }

/* The ring (js/ring.js), the tracker's central object. */
.ring { width: 100%; height: 100%; display: block; overflow: visible; }
.ring__track { fill: rgb(var(--fg-rgb) / 0.09); }
.ring__track--locked { fill: rgb(var(--fg-rgb) / 0.045); }
.ring__miss { fill: none; stroke: rgb(var(--fg-rgb) / 0.3); stroke-width: 1.2; stroke-dasharray: 4 5; }
.ring__base { fill: rgb(var(--bg-rgb)); }
.ring__shadow { fill: rgb(0 0 0 / 0.16); }
.ring__today { fill: none; stroke: rgb(var(--fg-rgb) / 0.55); stroke-width: 1.2; }
.ring__marker { fill: var(--blue); }

/* the screens of the tracker inside the devices (js/showcase.js) */
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.showcase__text { display: flex; flex-direction: column; align-items: flex-start; }
.showcase__badge {
  font-family: var(--f-display);
  font-size: 11.5px;
  font-weight: 600;
  color: #2552f0;
  font-weight: 650;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(var(--blue-rgb) / 0.5);
}
.showcase__title { margin-top: 18px; font-family: var(--f-display); font-size: clamp(30px, 3.1vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.showcase__list { margin: clamp(24px, 4vh, 44px) 0 clamp(28px, 4.5vh, 48px); width: 100%; border-top: 1px solid var(--line); }
.showcase__list li { border-bottom: 1px solid var(--line); }
.showcase__list button { position: relative; display: block; width: 100%; padding: 18px 0 20px; }
.showcase__list b { display: block; font-family: var(--f-display); font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; letter-spacing: -0.025em; color: var(--muted); transition: color 0.5s; }
.showcase__list span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.showcase__list button.is-on b { color: var(--fg); }
.showcase__list i { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; transform-origin: left; transform: scaleX(0); background: var(--blue); }
.showcase__list button.is-on i { animation: fill var(--scene-ms, 4200ms) linear forwards; }
.showcase.is-paused .showcase__list button.is-on i { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- 5. plans (stones) ---------- */
.plans {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 7vh) var(--pad) 12vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #0d0d0e;
  border-top: 1px solid var(--line);
}
.plans__head { text-align: center; }
.plans__head .label { color: rgb(13 13 14 / 0.64); }
.plans__title { margin-top: 10px; font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.plans__lead { margin: 16px auto 0; max-width: 34em; font-size: 17px; line-height: 1.45; color: rgb(13 13 14 / 0.7); text-wrap: balance; }
.plans__jump { display: none; }
.plans__terms { max-width: 40rem; margin: 28px auto 0; padding: 0 20px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.plans__terms a { text-decoration: underline; }
.checkout-panel { width: min(100%, 35rem); margin: 24px auto 0; padding: 18px; border: 1px solid rgb(13 13 14 / 0.16); border-radius: 16px; text-align: center; }
.checkout-panel h3 { font: 700 22px / 1.2 var(--f-display); }
.checkout-panel p { margin: 8px 0; }
.checkout-panel p:empty, .checkout-panel [hidden] { display: none; }
.checkout-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.plans__row {
  margin-top: clamp(40px, 8vh, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  gap: clamp(24px, 4.5vw, 88px);
  justify-content: center;
  width: 100%;
}
.plan { scroll-margin-top: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity 0.7s var(--ease-out), filter 0.7s var(--ease-out); }
.plans.is-hover .plan:not(.is-active) { opacity: 0.42; filter: saturate(0.3); }

.stone { cursor: pointer; position: relative; width: clamp(170px, 16vw, 250px); aspect-ratio: 1; display: block; -webkit-tap-highlight-color: transparent; }
.stone__gem { position: absolute; inset: 0; display: block; transform-style: preserve-3d; will-change: transform; }
.stone__gem svg { width: 100%; height: 100%; display: block; overflow: visible; }
.stone__shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(18 19 24 / 0.5), transparent);
  filter: blur(14px);
  transform: translate(var(--sx, 0px), 18px);
}
.plan--premium .stone__shadow { background: radial-gradient(closest-side, rgb(30 66 230 / 0.55), transparent); }
.stone__aura {
  position: absolute;
  inset: -55%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(120 128 145 / 0.55), rgb(120 128 145 / 0.22) 45%, transparent 72%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 2.6 -0.75'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 260px 260px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 2.6 -0.75'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 260px 260px;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 1.1s var(--ease-out), transform 1.6s var(--ease-out);
  pointer-events: none;
}
.plan--premium .stone__aura { background: radial-gradient(closest-side, rgb(var(--blue-rgb) / 0.7), rgb(var(--blue-rgb) / 0.28) 45%, transparent 72%); }
.plan.is-active .stone__aura { opacity: 1; transform: scale(1); }
.stone__sparks { position: absolute; inset: -40%; width: 180%; height: 180%; pointer-events: none; }
/* purchase click: a clear wave of liquid glass spreads out from the stone (js/plans.js) */
.glass-ripple {
  position: fixed;
  z-index: 90;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.55),
    inset 3px 4px 10px -3px rgb(255 255 255 / 0.7),
    inset -4px -6px 12px -5px rgb(13 13 14 / 0.18);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.4) brightness(1.06);
  backdrop-filter: blur(1.5px) saturate(1.4) brightness(1.06);
  animation: glass-wave 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.glass-ripple--svg { backdrop-filter: url(#liquid-glass) saturate(1.3) brightness(1.06); }
.glass-ripple::before { /* specular rim, as on the cursor */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgb(255 255 255 / 0.7), transparent 18%, transparent 46%, rgb(255 255 255 / 0.3) 55%, transparent 68%, transparent 92%, rgb(255 255 255 / 0.7));
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 96%);
  mask: radial-gradient(closest-side, transparent 88%, #000 96%);
}
@keyframes glass-wave {
  0% { transform: scale(0.6); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(var(--to, 4)); opacity: 0; }
}

.plan__info { display: contents; }
/* the three cards share one grid: every row (stone, name, price, line, free day, list, button) has the same height in all
   three, whatever wraps, so nothing can stand out of line */
.plans__row { grid-template-rows: repeat(7, auto); row-gap: 0; align-items: start; }
.plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; justify-items: center; align-items: start; }
.plan__kicker { margin-top: 28px; }
.plan__extra { display: flex; justify-content: center; align-items: center; min-height: 0; }
/* the bundle: the old price struck through in a small blue pill, under the price, so the three prices stay on one line */
.plan__deal { display: inline-flex; align-items: center; gap: 9px; height: 32px; margin-top: -2px; padding: 0 4px 0 13px; border-radius: 999px; background: rgb(255 255 255 / 0.5); box-shadow: inset 0 0 0 1px rgb(13 13 14 / 0.07); font-family: var(--f-display); font-size: 14px; font-weight: 600; }
.plan__deal s { color: rgb(13 13 14 / 0.55); text-decoration-thickness: 1.5px; }
.plan__deal b { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; }
.plan__line { margin-top: 10px; font-size: 14px; font-weight: 500; color: rgb(13 13 14 / 0.66); text-align: center; }


.plan__cta { display: flex; justify-content: center; align-self: end; }
.plan__kicker { font-family: var(--f-display); font-size: 12px; font-weight: 500; letter-spacing: 0.01em; color: rgb(13 13 14 / 0.66); }
.plan__price { margin-top: 10px; font-family: var(--f-display); font-size: clamp(40px, 3.6vw, 60px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan--premium .plan__price { color: var(--blue); }
.plan__free { margin-top: 2px; min-height: 36px !important; display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.plan__save { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }
/* the bundle sits in the middle and a little forward */

/* tablets: three columns would be too narrow, so the plans stack, the bundle first */
@media (min-width: 760px) and (max-width: 1023px) { .plans__row { grid-template-columns: minmax(0, 440px); gap: 72px; } .plan--premium { order: -1; } }
.plan__sub { margin-top: 10px; font-size: 14px; font-weight: 500; color: rgb(13 13 14 / 0.66); }
.plan__list { margin: 18px 0 28px; display: grid; gap: 0; width: 100%; max-width: 400px; border-top: 1px solid rgb(13 13 14 / 0.13); font-size: 15px; line-height: 1.4; color: rgb(13 13 14 / 0.74); }
.plan__list li { padding: 11px 0; border-bottom: 1px solid rgb(13 13 14 / 0.13); text-wrap: balance; }
.plans__after { margin-top: clamp(48px, 9vh, 88px); width: 100%; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(13 13 14 / 0.13); font-size: 15px; line-height: 1.4; color: rgb(13 13 14 / 0.74); }
.plans__after li { display: flex; gap: 12px; padding: 16px 20px 16px 0; }
.plans__after b { font-family: var(--f-display); font-size: 12px; font-weight: 600; line-height: 21px; color: rgb(13 13 14 / 0.64); }
.plans__sample { margin-top: 22px; font-family: var(--f-display); font-size: 13px; font-weight: 600; }
.plans__sample a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 6. faq / closing / footer ---------- */
.faq { padding: 12vh var(--pad); display: block; border-top: 1px solid var(--line); }
.faq > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.faq__label { display: block; margin-bottom: 18px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq__label { align-self: start; }
.faq summary {
  list-style: none;
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; transition: transform 0.5s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 56ch; font-size: 17px; line-height: 1.5; color: rgb(var(--fg-rgb) / 0.74); }

.closing { padding: 16vh var(--pad); display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; border-top: 1px solid var(--line); }
.closing__text { font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.closing__text em { font-size: 1.14em; letter-spacing: -0.02em; }
.closing { gap: 28px; }
.closing__sub { font-size: clamp(17px, 1.5vw, 22px); color: rgb(var(--fg-rgb) / 0.72); margin-top: -8px; }
.closing__sample { font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; padding: 12px 8px; margin-top: -16px; }
.closing__sample:hover { color: var(--blue); text-decoration-thickness: 2px; }
.closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 560px) { .closing__cta { flex-direction: column; width: min(100%, 300px); } }

.footer { padding: 0 var(--pad) 18px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__word { font-family: var(--f-display); font-size: 8.2vw; font-weight: 800; letter-spacing: -0.06em; line-height: 1; padding-top: 3vw; white-space: nowrap; }
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 24px; font-size: 13px; font-weight: 500; color: var(--muted); padding: 10px 160px 0 0; /* the sound button sits bottom-right */ }
.footer__row a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__row a:hover { color: var(--fg); }

/* ---------- sound toggle ---------- */
body.over-plans .sound { opacity: 0; visibility: hidden; }
.sound {
  position: fixed;
  right: var(--pad);
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgb(var(--bg-rgb) / 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.sound__bars { display: flex; align-items: center; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height 0.4s; }
.sound.is-on .sound__bars i { animation: eq 1.4s ease-in-out infinite; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -0.5s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -0.9s; }
.sound.is-on .sound__bars i:nth-child(4) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ---------- liquid glass cursor ---------- */
.glass, .cursor-label { display: none; }
html.has-glass, html.has-glass * { cursor: none !important; }
html.has-glass .glass, html.has-glass .cursor-label { display: block; }
/* the dot inside the lens, exactly at the pointer: white on dark, blue on light (js/cursor.js picks the tone) */
.cursor-dot { display: none; position: fixed; left: 0; top: 0; z-index: 1002; pointer-events: none; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.2), 0 0 10px rgb(255 255 255 / 0.55); opacity: 0;
  transition: opacity 0.3s, background-color 0.2s, box-shadow 0.2s; }   /* always the same size: filled, never a ring */
html.has-glass .cursor-dot { display: block; }
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot--px, .cursor-dot--px.is-dark { background: transparent; backdrop-filter: url(#dot-tone); box-shadow: 0 0 0 0.5px rgb(120 120 125 / 0.45); }
/* over the stones and their glow: tone layers drawn from the stones' shape on top of the pixel dot (js/cursor.js) */
.cursor-dot__blue { display: none; position: absolute; inset: 0; border-radius: 50%; background: #fff; }
.cursor-dot__tone { display: none; position: absolute; inset: 0; border-radius: 50%; background: #fff; }
.cursor-dot__tone--ground, .cursor-dot__tone.is-blue { background: var(--blue); }
.cursor-dot--px.is-stone .cursor-dot__tone { display: block; }
.cursor-dot.is-dark { background: var(--blue); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.5), 0 0 10px rgb(var(--blue-rgb) / 0.55); }
.glass {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;   /* above every window (sign in is 300): the page hides the normal arrow, so the lens must always be on top */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.32),
    inset 3px 4px 8px -2px rgb(255 255 255 / 0.55),
    inset -4px -6px 10px -4px rgb(0 0 0 / 0.22),
    0 10px 30px -8px rgb(0 0 0 / 0.25);
}
.glass::before { /* specular rim */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgb(255 255 255 / 0.5), transparent 18%, transparent 46%, rgb(255 255 255 / 0.22) 55%, transparent 68%, transparent 92%, rgb(255 255 255 / 0.5));
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 96%);
  mask: radial-gradient(closest-side, transparent 88%, #000 96%);
}
.glass--svg { backdrop-filter: url(#liquid-glass) saturate(1.25) brightness(1.06); }
.glass--blur { -webkit-backdrop-filter: blur(3px) saturate(1.5) brightness(1.08); backdrop-filter: blur(3px) saturate(1.5) brightness(1.08); background: rgb(255 255 255 / 0.04); }
.glass.is-visible { opacity: 1; }
.cursor-label {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1001;
  pointer-events: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(13 13 14 / 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  color: #ededea;
  opacity: 0;
  transition: opacity 0.35s;
}
.cursor-label.is-visible { opacity: 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #0d0d0e;
  color: #f2f2ef;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- phone ---------- */
@media (max-width: 759px) {
  :root { --header-h: 48px; }
  .header { grid-template-columns: 1fr auto; }
  .header__nav { display: none; }
  .header__cta span { display: none; }

  .header__logo { font-size: 11.5px; }
  .intro__title { top: 40%; font-size: 10.6vw; max-width: none; }
  .gchip.far { display: none; }
  .gchip { height: 38px; padding: 0 14px; gap: 8px; font-size: 13px; }
  .c2 { left: 5%; right: auto; top: 12%; }
  .c7 { left: auto; right: 5%; top: 19%; }
  .c4 { right: 5%; top: 58%; }
  .c5 { left: 5%; top: 64%; }
  .c9 { left: auto; right: 9%; top: 70%; }
  .intro__foot { flex-direction: column; align-items: flex-start; gap: 18px; bottom: 66px; }
  .intro__sub { font-size: 14px; }
  .intro__sub br { display: none; }
  .intro__cta { flex-wrap: wrap; gap: 4px 18px; }
  .program { height: 340vh; }
  .tracker { height: 240vh; }

  .program__sticky { grid-template-columns: 1fr; }
  .program__side { display: none; }
  .program__mobile-days { visibility: visible; }
  .card { --design: 420px; }
  .card__in { padding: 22px 24px 26px; }
  .card__top { font-size: 14px; }
  .card__title { font-size: 25px; }
  .card__text { font-size: 16px; margin-top: 10px; }

  .showcase { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 5vh); }
  .showcase__stage { margin-right: 4%; }
  .showcase__note { top: 100%; bottom: auto; max-width: 70%; line-height: 1.35; }

  .plans__row { grid-template-columns: 1fr; justify-items: center; gap: 56px; }
  .plan--premium { order: -1; }
  .stone { width: min(40vw, 150px); }
  .plan__info { margin-top: 26px; }
  .plans__jump { display: block; margin-top: 12px; font-family: var(--f-display); font-size: 12px; font-weight: 600; }
  .plans__jump a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .plans__after { grid-template-columns: 1fr; }
  .plans__after li { padding-right: 0; border-bottom: 1px solid rgb(13 13 14 / 0.13); }
  .plans__after { border-bottom: 0; }

  .faq { grid-template-columns: 1fr; gap: 18px; }
  .footer__row { padding-right: 0; flex-direction: column; align-items: flex-start; }
  .footer__word { font-size: 7.9vw; }
  /* the sound button: just the bars, a full 44px target; it steps aside once the plans arrive */
  .sound { bottom: 14px; width: 44px; padding: 0; justify-content: center; }
  .sound__label { display: none; }
  body.past-plans .sound { opacity: 0; visibility: hidden; }
  .toast { bottom: 70px; max-width: calc(100vw - 32px); }
}

/* the glass messages must not cover the words or each other on in-between screens */
@media (max-width: 759px) and (max-height: 700px) { .c5, .c9 { display: none; } }
@media (min-width: 760px) and (max-width: 1100px) { .c3, .c8 { display: none; } }
@media (min-width: 760px) and (max-height: 760px) { .c7, .c8, .c9 { display: none; } }

/* narrow desktop windows and 200% zoom: keep the stones from filling the screen */
@media (max-height: 620px) { .stone { width: min(40vh, 290px); } }

@media (prefers-reduced-motion: reduce) {
  .gchip, .scroll-cue, .intro__swipe i::after, .program__num.is-flip, .sound.is-on .sound__bars i { animation: none; }
  .gate__inner > * { animation: none; opacity: 1; transform: none; }
  .glass-ripple { display: none; }
  .stone__aura { transform: none; }
  .btn::after { display: none; }
  .scene, .intro__title .w, .gchip { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .showcase__list button.is-on i { animation: none; transform: scaleX(1); }
}

/* Playfair Display draws old-style numerals by default (they sit low, like “14” dropping below the line): use lining ones */
em, .serif { font-variant-numeric: lining-nums; }

/* ---------- sign in: one account for the program and the tracker ---------- */
.acct { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 220px; padding: 0 10px; border-radius: 999px; color: var(--muted); font-family: var(--f-display); font-size: 12px; font-weight: 600; transition: color 0.2s, background-color 0.2s; }
.acct:hover { color: var(--fg); background: rgb(var(--fg-rgb) / 0.06); }
.acct svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acct span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 759px) { .acct span { display: none; } }
.acct-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.acct-modal[hidden] { display: none; }
.acct-modal__scrim { position: absolute; inset: 0; background: rgb(0 0 0 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.acct-modal__card { position: relative; width: min(100%, 400px); padding: 28px 24px 24px; border-radius: 26px; background: #17181b; color: #ededea; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(237 237 234 / 0.1); font-family: var(--f-body, "Inter Tight", system-ui, sans-serif); }
.acct-modal__x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: rgb(237 237 234 / 0.6); }
.acct-modal__x:hover { color: #ededea; background: rgb(237 237 234 / 0.08); }
.acct-modal__body { display: grid; gap: 10px; }
.acct-modal__body h2 { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.acct-modal__body > p { font-size: 15px; line-height: 1.45; color: rgb(237 237 234 / 0.72); }
.acct-modal__body form { display: grid; gap: 10px; }
.acct-modal__body input { min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: rgb(237 237 234 / 0.07); box-shadow: inset 0 0 0 1px rgb(237 237 234 / 0.12); color: #ededea; font: 500 16px var(--f-body, "Inter Tight", system-ui, sans-serif); outline: none; }
.acct-modal__body input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.acct-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: rgb(237 237 234 / 0.08); box-shadow: inset 0 0 0 1px rgb(237 237 234 / 0.14); color: #ededea; font-family: var(--f-display); font-size: 13px; font-weight: 600; transition: background-color 0.2s; }
.acct-btn:hover { background: rgb(237 237 234 / 0.14); }
.acct-btn--main { background: var(--blue); box-shadow: none; color: #fff; }
.acct-btn--main:hover { background: #2450f0; }
.acct-btn:disabled { opacity: 0.5; }
.acct-or { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: 13px !important; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: rgb(237 237 234 / 0.14); }
.acct-btn--provider { gap: 10px; }
.acct-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.acct-mark svg { width: 20px; height: 20px; }
.acct-field { display: grid; gap: 6px; }
.acct-field > span { font-size: 13px; font-weight: 600; color: rgb(237 237 234 / 0.72); }
.acct-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
.acct-link:disabled { opacity: 0.5; text-decoration: none; cursor: default; }
.acct-email { font-weight: 600; color: #ededea !important; }
.acct-link { justify-self: center; min-height: 40px; font-size: 14px; color: rgb(237 237 234 / 0.6); text-decoration: underline; text-underline-offset: 3px; }
body.has-acct { overflow: hidden; }
/* text for screen readers only */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* narrow phones: the name on one line; the header's buy link gives way (the first screen has its own buy button) */
.header__logo { white-space: nowrap; }
@media (max-width: 430px) { .header__cta { display: none; } .header__logo { font-size: 11px; } }

/* tablets and narrow laptops: the section links give way so the logo, language, sign in and the buy link fit on one line */
@media (min-width: 760px) and (max-width: 1023px) {
  .header { grid-template-columns: 1fr auto; }
  .header__nav { display: none; }
}
@media (max-width: 1180px) { .acct span { display: none; } }
/* small phones: the first screen's two buttons may sit on two lines and never run past the edge;
   on short screens the headline sits higher, so the line under it never covers it */
@media (max-width: 380px) { .intro__cta .btn { padding: 0 16px; font-size: 12px; max-width: 100%; white-space: normal; text-align: center; } }
@media (max-width: 759px) and (max-height: 700px) { .intro__title { top: 32%; font-size: 9.6vw; } }
@media (max-width: 759px) and (max-height: 600px) { .intro__title { top: 27%; font-size: 9vw; } .intro__foot { gap: 12px; bottom: 60px; } }
/* tablets: the line and the buttons under the headline stack, so longer Russian buttons never run past the edge */
@media (min-width: 760px) and (max-width: 1023px) { .intro__foot { flex-direction: column; align-items: flex-start; gap: 18px; } .intro__cta { flex-wrap: wrap; gap: 8px 18px; } }
/* other languages: scripts that must not be letter-spaced, right-to-left layout, and long translated lines */
html:lang(ar) body *, html:lang(hi) body * { letter-spacing: normal !important; }
html[dir="rtl"] .intro__title { left: auto; right: var(--pad); }
html[dir="rtl"] .plan__deal b, html[dir="rtl"] .plan__deal s { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .showcase__list i { transform-origin: right; }
.plans__title { overflow-wrap: break-word; }
@media (max-width: 759px) { .showcase { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .showcase__text .btn, .plan .btn { max-width: 100%; white-space: normal; text-align: center; } }
html[dir="rtl"] .card__top span, html[dir="rtl"] #prog-count { direction: ltr; unicode-bidi: isolate; }
/* phones that are not tall: the three lower messages would sit on top of the text under the headline */
@media (max-width: 759px) and (max-height: 860px) { .gchip.c4, .gchip.c5, .gchip.c9 { display: none; } }
