/*
 * Site styles. One rule above all: no blue, anywhere. Every colour here is warm,
 * including focus rings, selection, links and the greys.
 * Anything that moves on its own breathes at six a minute: 4 s brightening, 6 s fading.
 */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #0a0a0a;
  --night-1: #100d0b;
  --night-2: #16110e;
  --night-3: #1f1813;
  --ember: #eb381a;
  --amber: #ff851f;
  --candle: #ffc785;
  --gold: #ffbd5c;
  --ink: #170b04;
  --text: #f4eadf;
  --text-body: #ddd0c1;
  --text-2: #b8a998;
  --text-3: #8f8173;
  --line: rgba(255, 199, 133, 0.12);
  --line-2: rgba(255, 199, 133, 0.24);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1160px;
  --read: 700px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --breath: 10s;
  --ease-breath: cubic-bezier(0.37, 0, 0.63, 1);
  accent-color: var(--amber);
}

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

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

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

::selection { background: rgba(255, 133, 31, 0.35); color: #fff7ee; }

a {
  color: var(--candle);
  text-decoration-color: rgba(255, 199, 133, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.3s, text-decoration-color 0.3s;
}
a:hover { color: var(--gold); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- breathing, for anything that moves on its own ---------- */

@keyframes breathe {
  0% { opacity: var(--low, 0.3); animation-timing-function: var(--ease-breath); }
  40% { opacity: 1; animation-timing-function: var(--ease-breath); }
  100% { opacity: var(--low, 0.3); }
}
@keyframes breathe-swell {
  0% { opacity: var(--low, 0.3); transform: scale(var(--from, 0.86)); animation-timing-function: var(--ease-breath); }
  40% { opacity: 1; transform: scale(1); animation-timing-function: var(--ease-breath); }
  100% { opacity: var(--low, 0.3); transform: scale(var(--from, 0.86)); }
}
@keyframes tap {
  0% { opacity: 0.85; transform: scale(0.82); }
  14% { opacity: 0; transform: scale(1.22); }
  100% { opacity: 0; transform: scale(1.22); }
}
.breathes { animation: breathe var(--breath) infinite; }
.swells { animation: breathe-swell var(--breath) infinite; transform-box: fill-box; transform-origin: center; }
.tap { opacity: 0; animation: tap var(--breath) ease-out infinite; transform-box: fill-box; transform-origin: center; }
.tap--out { animation-delay: 4s; }

/* ---------- buttons and choices ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 600 16px/1.1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.btn:hover { border-color: rgba(255, 199, 133, 0.5); background: rgba(255, 199, 133, 0.06); color: var(--text); }
.btn[hidden] { display: none; }
.btn--primary { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.btn--primary:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--large { min-height: 56px; padding: 0 30px; font-size: 17px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; display: inline-flex; }
.chip label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.chip label:hover { border-color: rgba(255, 199, 133, 0.45); color: var(--text); }
.chip input:checked + label { border-color: rgba(255, 133, 31, 0.75); background: rgba(255, 133, 31, 0.14); color: var(--candle); }
.chip input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips--small .chip label { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- header ---------- */

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 430;
  font-variation-settings: "SOFT" 100;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.wordmark:hover { color: var(--text); }
.wordmark__orb {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.wordmark__orb::before,
.wordmark__orb::after { content: ""; position: absolute; border-radius: 50%; }
.wordmark__orb::before { inset: -9px; background: radial-gradient(closest-side, rgba(235, 56, 26, 0.75), rgba(235, 56, 26, 0)); animation: breathe var(--breath) infinite; --low: 0.25; }
.wordmark__orb::after { inset: 2px; background: radial-gradient(closest-side, var(--candle), var(--amber) 55%, rgba(255, 133, 31, 0.2)); }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.site-nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 760px) { .nav-wide { display: none; } }
@media (max-width: 520px) { .nav-cta { display: none; } }

/* ---------- the breathing light ---------- */

.pacer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "stage" "controls";
  gap: 8px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter) clamp(56px, 8vw, 96px);
}
.pacer:focus { outline: none; }
.pacer__intro { grid-area: intro; max-width: 560px; }
.pacer__stage { grid-area: stage; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pacer__controls { grid-area: controls; display: flex; flex-direction: column; gap: 20px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font: 600 13px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pacer h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 380; }
.lede { margin-top: 20px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; }
.lede strong { color: var(--text); font-weight: 500; }

.pacer { --orb: min(80vw, 400px); }
.orb { position: relative; width: var(--orb); aspect-ratio: 1; margin-block: 0; pointer-events: none; }
.orb > span { position: absolute; border-radius: 50%; opacity: 0.04; will-change: opacity, transform; transform: translateZ(0); }
/* A faint resting ember under the light, so the lamp stays visible on a lit page. Not used in full screen. */
.orb > .orb__base {
  inset: 22%;
  opacity: 1;
  will-change: auto;
  background: radial-gradient(closest-side, rgba(255, 133, 31, 0.22), rgba(235, 56, 26, 0.12) 45%, rgba(235, 56, 26, 0));
}
.orb__halo {
  inset: 0;
  background: radial-gradient(closest-side, rgba(235, 56, 26, 0.9), rgba(235, 56, 26, 0.35) 50%, rgba(235, 56, 26, 0));
}
.orb__core {
  inset: 25%;
  background: radial-gradient(closest-side, rgba(255, 211, 158, 0.95), rgba(255, 133, 31, 0.7) 45%, rgba(255, 133, 31, 0));
}
.pacer__wash { display: none; }

.pacer__phase {
  position: relative;
  width: 100%;
  height: 1.25em;
  margin: calc(var(--orb) * -0.1) 0 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 380;
  font-variation-settings: "SOFT" 100;
  line-height: 1.2;
}
.pacer__phase span {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease-out;
}
/* The old word leaves first, then the new one arrives, so the two never overlap. */
.pacer__phase span.is-on { opacity: 1; transition: opacity 0.8s var(--ease-breath) 0.3s; }
.pacer__meta { min-height: 1.6em; margin: 8px 0 0; color: var(--text-2); font-size: 15px; font-variant-numeric: tabular-nums; }

.pacer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pacer__setup { display: flex; flex-direction: column; gap: 14px; }
.pacer[data-mode="running"] .pacer__setup,
.pacer[data-mode="paused"] .pacer__setup { display: none; }
.pacer__desc { margin: 0; color: var(--text-2); font-size: 15px; max-width: 480px; }
.pacer__desc[hidden] { display: none; }
.pacer__note { margin: 0; color: var(--text-2); font-size: 15px; }
.pacer__note[hidden] { display: none; }
.pacer__note a { font-weight: 600; }
.pacer__safety { margin: 0; color: var(--text-3); font-size: 13px; }

@media (max-width: 959px) {
  .pacer__intro { text-align: center; margin-inline: auto; }
  .pacer__controls { align-items: center; text-align: center; }
  .pacer__actions,
  .pacer__setup .chips { justify-content: center; }
  .pacer__setup { align-items: center; }
  .pacer__desc { margin-inline: auto; }
}

@media (min-width: 960px) {
  .pacer {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "intro stage" "controls stage";
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 36px;
    align-items: start;
    padding-top: clamp(32px, 5vh, 72px);
  }
  .pacer__intro { align-self: end; }
  .pacer__stage { align-self: center; }
  .pacer { --orb: min(40vw, 480px); }
}

/* Full screen: the light fills the screen, like the app's Glow. */
html.has-immersive,
html.has-immersive body { overflow: hidden; }

.pacer.is-immersive {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  /* clip, not hidden: the glow is larger than the screen, and a hidden-overflow box could be scrolled by focus. */
  overflow: hidden;
  overflow: clip;
  background: var(--night);
  overscroll-behavior: none;
}
.pacer.is-immersive .pacer__intro,
.pacer.is-immersive .pacer__note,
.pacer.is-immersive .pacer__safety { display: none; }
.pacer.is-immersive .pacer__wash { display: block; position: absolute; inset: 0; background: var(--ember); opacity: 0; will-change: opacity; }
.pacer.is-immersive .pacer__stage { position: absolute; inset: 0; justify-content: flex-end; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.pacer.is-immersive .orb { position: absolute; left: 50%; top: 50%; width: 124vmax; height: 124vmax; margin: -62vmax 0 0 -62vmax; }
.pacer.is-immersive .orb__core { inset: 34%; }
.pacer.is-immersive .orb__base { display: none; }
.pacer.is-immersive .pacer__phase { margin-top: 0; font-size: clamp(30px, 4.4vw, 48px); }
.pacer.is-immersive .pacer__meta { color: rgba(244, 234, 223, 0.75); }
/* Setup along the top, actions along the bottom, the light in between. */
.pacer.is-immersive .pacer__controls { position: static; }
.pacer.is-immersive .pacer__actions,
.pacer.is-immersive .pacer__setup {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease-breath);
}
.pacer.is-immersive .pacer__actions { bottom: 0; padding: 16px var(--gutter) calc(30px + env(safe-area-inset-bottom)); }
.pacer.is-immersive .pacer__setup { top: 0; gap: 10px; padding: calc(20px + env(safe-area-inset-top)) var(--gutter) 0; }
.pacer.is-immersive .pacer__setup .chips { justify-content: center; }
.pacer.is-immersive .pacer__desc { display: none; }
.pacer.is-immersive .chip label { background: rgba(10, 10, 10, 0.5); }
.pacer.is-immersive .chip input:checked + label { background: rgba(60, 24, 8, 0.75); }
.pacer.is-immersive .btn:not(.btn--primary) { background: rgba(10, 10, 10, 0.55); }
@media (max-width: 420px) {
  .pacer.is-immersive .pacer__actions { gap: 8px; padding-inline: 12px; }
  .pacer.is-immersive .btn { padding: 0 16px; font-size: 15px; }
}
.pacer.is-immersive.controls-hidden { cursor: none; }
.pacer.is-immersive.controls-hidden .pacer__actions { opacity: 0; pointer-events: none; }
.pacer.is-immersive.controls-hidden .pacer__meta { opacity: 0.45; transition: opacity 1s var(--ease-breath); }

/* ---------- sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.title { font-size: clamp(34px, 4.6vw, 56px); }
.section__lede { margin-top: 18px; color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); }

.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--night-2), var(--night-1));
}
.card h3 { margin-bottom: 12px; font-size: 25px; font-weight: 420; }
.card p { color: var(--text-2); }
.card__num { display: block; margin-bottom: 22px; color: var(--amber); font: 600 13px/1 var(--sans); letter-spacing: 0.12em; }
.card a { font-size: 15px; font-weight: 600; }

/* Four ways to use it */
.way { display: flex; flex-direction: column; }
.way__art { margin: -6px -6px 18px; aspect-ratio: 10 / 7; border-radius: 14px; background: radial-gradient(120% 90% at 50% 100%, rgba(235, 56, 26, 0.07), rgba(235, 56, 26, 0) 70%), var(--night); border: 1px solid rgba(255, 199, 133, 0.06); overflow: hidden; }
.way__art svg { width: 100%; height: 100%; }
.way h3 { display: flex; align-items: baseline; gap: 10px; }
.way h3 small { color: var(--text-3); font: 500 13px/1 var(--sans); letter-spacing: 0.02em; }

.art-line { fill: none; stroke: rgba(255, 199, 133, 0.55); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art-line--soft { stroke: rgba(255, 199, 133, 0.22); }
.art-fill { fill: rgba(255, 199, 133, 0.08); }

/* After the session: an example of the summary card */
.feature { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 880px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature h3 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.feature p:not(.eyebrow) { color: var(--text-2); }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 8px 0 8px 28px; color: var(--text-body); border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(closest-side, var(--candle), var(--amber) 60%, rgba(255, 133, 31, 0)); }

.summary-card {
  margin: 0;
  max-width: 460px;
  justify-self: center;
  width: 100%;
  padding: 26px 26px 22px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(235, 56, 26, 0.12), rgba(235, 56, 26, 0) 70%), var(--night-1);
  box-shadow: 0 30px 80px -40px rgba(235, 56, 26, 0.45);
}
.summary-card__top { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 14px; }
.summary-card__top strong { color: var(--text); font-weight: 600; }
.summary-card__big { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; font: 600 50px/1 var(--sans); letter-spacing: -0.02em; }
.summary-card__big small { color: var(--text-2); font: 500 16px/1 var(--sans); }
.summary-card__big .arrow { color: var(--amber); font-size: 34px; }
.summary-card__verdict { margin: 10px 0 14px; color: var(--text); }
.summary-card svg { width: 100%; height: auto; margin: 6px 0 10px; }
.summary-card figcaption { color: var(--text-3); font-size: 13px; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 189, 92, 0.12); color: var(--gold); font: 600 12px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }

/* charts (summary card, science page) */
.chart-grid { stroke: rgba(255, 199, 133, 0.1); stroke-width: 1; }
.chart-axis { fill: var(--text-3); font: 500 11px var(--sans); }
.chart-line { fill: none; stroke: var(--candle); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: var(--candle); }
.chart-band { fill: rgba(255, 133, 31, 0.1); }
.chart-mean { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 4 4; }
.chart-label { fill: var(--text-2); font: 600 12px var(--sans); }
.chart-label--strong { fill: var(--text); }
.chart-step { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; }
/* The charts scale down with the screen, so their text is set larger in chart units on phones. */
@media (max-width: 620px) {
  .chart { padding-inline: 10px; }
  .chart-axis { font-size: 19px; }
  .chart-label { font-size: 21px; }
  .chart-line,
  .chart-step,
  .chart-mean { stroke-width: 3; }
}
.chart-area { fill: url(#rampFill); }

/* ---------- Free and Pro ---------- */

.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--night-1); }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.5; }
.compare .col-label { width: 22%; }
.compare th,
.compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { padding-block: 22px 18px; color: var(--text); font: 420 24px/1.1 var(--serif); font-variation-settings: "SOFT" 100; }
.compare thead th span { display: block; margin-top: 6px; color: var(--text-3); font: 500 13px/1.3 var(--sans); }
.compare tbody th { color: var(--text); font-weight: 600; }
.compare td { color: var(--text-2); }
.compare .is-pro { background: rgba(255, 133, 31, 0.045); }
.compare .muted { color: var(--text-3); }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th,
  .compare td { padding: 0; border: 0; }
  .compare tbody th { margin-bottom: 10px; font-size: 16px; }
  .compare td { margin-top: 8px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--amber); font: 600 11px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
  .compare .is-pro { margin-top: 12px; padding: 10px 12px; border-radius: 12px; }
}

.prices { margin-top: 16px; }
.price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-1);
}
.price--best { border-color: rgba(255, 133, 31, 0.55); background: radial-gradient(120% 120% at 100% 0%, rgba(255, 133, 31, 0.12), rgba(255, 133, 31, 0) 60%), var(--night-1); }
.price h3 { font-size: 24px; font-weight: 420; }
.price__amount { margin: 4px 0 0; font-family: var(--serif); font-size: 46px; line-height: 1; font-variant-numeric: lining-nums; }
.price__amount small { margin-left: 6px; color: var(--text-2); font: 500 16px/1 var(--sans); }
.price p { color: var(--text-2); margin: 0; }
.price .price__amount { color: var(--text); }
.price .badge { align-self: flex-start; }
.badge--quiet { background: rgba(255, 199, 133, 0.08); color: var(--text-2); }
.small-print { margin-top: 22px; color: var(--text-3); font-size: 14px; }
.never { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--text-2); }
.never strong { color: var(--candle); }

/* ---------- get the app ---------- */

.cta { text-align: center; }
.cta__icon { position: relative; width: 112px; height: 112px; margin: 0 auto 30px; }
.cta__icon::before { content: ""; position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(235, 56, 26, 0.35), rgba(235, 56, 26, 0)); animation: breathe var(--breath) infinite; --low: 0.35; }
.cta__icon img { position: relative; width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 0 0 1px rgba(255, 199, 133, 0.14); }
.cta .title { max-width: 760px; margin-inline: auto; }
.cta__lede { max-width: 620px; margin: 18px auto 30px; color: var(--text-2); font-size: 18px; }
.cta__small { margin-top: 18px; color: var(--text-3); font-size: 14px; }

/* ---------- questions ---------- */

.faq { max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 2px;
  color: var(--text);
  font: 400 clamp(19px, 2vw, 22px)/1.3 var(--serif);
  font-variation-settings: "SOFT" 100;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) center / 2px 100% no-repeat;
  transition: transform 0.6s var(--ease-breath);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--candle); }
.faq .answer { max-width: 700px; padding: 0 2px 26px; color: var(--text-2); }

/* ---------- long reads (method page, French guide) ---------- */

.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.page-head h1 { max-width: 900px; font-size: clamp(42px, 6vw, 72px); font-weight: 380; }
.page-head .lede { max-width: 700px; }

.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; padding: 0; list-style: none; }
.toc a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--text); border-color: rgba(255, 199, 133, 0.45); }

.prose { max-width: var(--read); color: var(--text-body); font-size: 18px; line-height: 1.7; }
.prose h2 { margin: 2.4em 0 0.7em; color: var(--text); font-size: clamp(30px, 3.6vw, 42px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.9em 0 0.6em; color: var(--text); font-size: 24px; font-weight: 450; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0.45em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--amber); }
.prose ol li::marker { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--amber); color: var(--text); font: 400 21px/1.5 var(--serif); font-variation-settings: "SOFT" 100; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; color: var(--text-3); font-size: 14px; line-height: 1.5; }
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.prose .wide { width: min(100vw - 2 * var(--gutter), 1000px); }

.table-wrap { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.data th,
.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data thead th { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--night-1); }
.data tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.data td { color: var(--text-2); }
.data tr:last-child th,
.data tr:last-child td { border-bottom: 0; }
@media (max-width: 620px) {
  .table-wrap:has(.data--stack) { overflow: visible; }
  .data--stack { min-width: 0; }
  .data--stack thead { display: none; }
  .data--stack,
  .data--stack tbody,
  .data--stack tr,
  .data--stack th,
  .data--stack td { display: block; width: auto; }
  .data--stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px; border-bottom: 1px solid var(--line); }
  .data--stack tr:last-child { border-bottom: 0; }
  .data--stack tbody th { grid-column: 1 / -1; padding: 0; border: 0; font-size: 17px; }
  .data--stack td { padding: 0; border: 0; color: var(--text); }
  .data--stack td::before { content: attr(data-label); display: block; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
}

.callout { margin: 1.8em 0; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--night-1); }
.callout p { color: var(--text-body); }
.callout .badge { margin-bottom: 12px; }
.page-head .callout { max-width: 700px; margin-bottom: 0; }
.page-legal .prose,
.page-support .prose { padding-bottom: clamp(56px, 8vw, 104px); }
.callout p + p { margin-top: 0.6em; }

/* A value still missing from site.json; tools/check.py fails while one is on a page. */
.todo { padding: 1px 6px; border: 1px dashed var(--amber); border-radius: 6px; color: var(--amber); font: 600 0.8em/1.4 var(--sans); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.stat { padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--night-1); }
.stat b { display: block; color: var(--text); font: 600 30px/1.05 var(--sans); letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 8px; color: var(--text-2); font-size: 14px; line-height: 1.4; }

.chart { position: relative; margin: 1.8em 0; padding: 20px 18px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--night-1); }
.chart svg[data-chart] { cursor: crosshair; border-radius: 8px; }
.chart svg[data-chart]:focus-visible { outline-offset: 6px; }
.chart-hover { opacity: 0; transition: opacity 0.2s; }
.chart-hover.is-on { opacity: 1; }
.chart-crosshair { stroke: rgba(255, 199, 133, 0.4); stroke-width: 1; }
.chart-focus { fill: var(--candle); stroke: var(--night-1); stroke-width: 2; }
.chart-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--night-3);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity 0.2s;
}
.chart-tip.is-on { opacity: 1; }
.chart-tip strong { color: var(--text); font-weight: 600; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart figcaption { margin-top: 8px; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; color: var(--text-2); font-size: 13px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart__legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: var(--candle); }
.chart__legend i.band { height: 10px; background: rgba(255, 133, 31, 0.25); }
.chart__legend i.mean { background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 7px); }

.refs { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.refs li { margin: 0.7em 0; }

.big365 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6em 0 1.4em; }
.big365 div { padding: 22px 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--night-1); text-align: center; }
.big365 b { display: block; color: var(--candle); font: 400 clamp(52px, 8vw, 76px)/1 var(--serif); font-variation-settings: "SOFT" 100; }
.big365 span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.big365 + p { color: var(--text-2); }

.steps,
.prose .steps { counter-reset: step; margin: 1.2em 0 1.6em; padding: 0; list-style: none; }
.steps li { position: relative; margin: 0; padding: 14px 0 14px 52px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 13px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 133, 31, 0.5); color: var(--candle); font: 500 15px/1 var(--sans); }

.app-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 1.6em 0; padding: 0; list-style: none; }
.app-modes li { margin: 0; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--night-1); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.app-modes b { display: block; margin-bottom: 6px; color: var(--text); font: 450 21px/1.2 var(--serif); font-variation-settings: "SOFT" 100; }

.two-col { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 1000px) {
  .two-col { grid-template-columns: minmax(0, 1fr) 280px; }
  .two-col aside { position: sticky; top: 24px; align-self: start; }
}
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--night-1); color: var(--text-2); font-size: 15px; }
.aside-card h2 { margin-bottom: 10px; font-size: 22px; color: var(--text); }
.aside-card .btn { margin-top: 16px; width: 100%; }

/* ---------- footer ---------- */

.site-footer { padding-block: 56px 64px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; margin-bottom: 36px; }
.site-footer__brand p { margin: 14px 0 0; color: var(--text-2); font-size: 15px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 36px; align-content: start; }
.site-footer__nav a { color: var(--text-2); text-decoration: none; }
.site-footer__nav a:hover { color: var(--text); }
.disclaimer { max-width: 820px; margin-bottom: 14px; color: var(--text-2); line-height: 1.6; }
.fineprint { max-width: 820px; margin: 0; line-height: 1.6; }

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

.lost { min-height: 62vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding-block: 64px; text-align: center; }
.lost__orb { width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 199, 133, 0.9), rgba(255, 133, 31, 0.6) 35%, rgba(235, 56, 26, 0.25) 62%, rgba(235, 56, 26, 0)); animation: breathe-swell var(--breath) infinite; --low: 0.25; --from: 0.8; }
.lost h1 { font-size: clamp(36px, 5vw, 56px); }
.lost p { color: var(--text-2); max-width: 460px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .breathes,
  .swells,
  .tap,
  .wordmark__orb::before,
  .cta__icon::before,
  .lost__orb { animation: none; }
  .tap { opacity: 0.35; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header__inner { padding-block: 12px; }
  .pacer { --orb: min(68vw, 300px); padding-top: 6px; }
  .pacer .lede { margin-top: 14px; font-size: 16px; }
  .pacer .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .prose { font-size: 17px; }
  .wordmark { font-size: 24px; }
  .card { padding: 24px 20px 26px; }
}
