/* NomeNome public site — "Shared Pulse". One stylesheet, no webfonts, no external assets.
   Light marks the beat, and it lands everywhere at once. Tokens are recorded in
   website/design/brief.json. */

:root {
  --night: #0a1631;   /* stage-dark page */
  --deep: #10214a;    /* raised surfaces */
  --footer: #081229;  /* deep footer */
  --lane: #253c73;    /* rules, lanes, borders */
  --ink: #eaf1ff;     /* text */
  --mist: #a9bbdf;    /* secondary text */
  --prose: #c9d6ee;   /* long-form policy text */
  --clear: #6cb4ff;   /* accent: links, focus, fills */
  --beat: #d3e9ff;    /* a lit beat */
  --unlit: #2e4a85;   /* a beat waiting its turn */

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

  --content: 70rem;                    /* 1120px */
  --gutter: clamp(1.25rem, 4vw, 2rem); /* 20–32px */
  --section: clamp(5rem, 10vw, 8rem);  /* 80–128px */
  --measure: 44em;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --quick: 200ms;

  /* The shared clock. site.js sets --pulse from chrome.pulse.bpm (96 BPM = 625ms). */
  --pulse: 625ms;
  --bar: calc(var(--pulse) * 4);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night);
  /* The sticky header must never cover an anchor target. */
  scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p, ul, ol { margin: 0 0 1rem; }
p { text-wrap: pretty; }
code { font-size: 0.92em; color: var(--beat); }
strong { color: var(--ink); }
[hidden] { display: none !important; }

a {
  color: var(--clear);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--quick) ease, background-color var(--quick) ease, border-color var(--quick) ease, transform var(--quick) ease;
}
a:hover { color: var(--beat); }

::selection { background: var(--clear); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--clear);
  outline-offset: 3px;
}
main:focus { outline: none; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--clear);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: none; color: var(--night); }

/* ---------- Header: wordmark and a sticky capsule nav, three links at every width ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 49, 0.86);
  border-bottom: 1px solid rgba(37, 60, 115, 0.7);
  view-transition-name: site-header;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(10, 22, 49, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
.site-header-inner {
  min-height: 4.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark--small { min-height: 0; font-size: 1.2rem; }
.site-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 33, 74, 0.75);
  border: 1px solid var(--lane);
}
.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 clamp(0.75rem, 2.4vw, 1.05rem);
  border-radius: 999px;
  color: var(--mist);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: rgba(108, 180, 255, 0.16); }
.site-nav a[aria-current="page"] { color: var(--night); background: var(--clear); }

/* ---------- Shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  color: var(--clear);
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.55;
  color: var(--mist);
  max-width: 30em;
}
.feature h2,
.section-head h2 {
  font-size: clamp(2.375rem, 1.6rem + 3.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.feature .lead { margin-top: 1.4rem; }
.fine { font-size: 0.875rem; color: var(--mist); margin: 0; }
.muted { color: var(--mist); font-weight: 400; }

.pro-tag,
.example-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.6;
}
.pro-tag { border: 1px solid var(--clear); color: var(--clear); }
.example-tag { border: 1px solid var(--lane); color: var(--mist); font-family: var(--text); font-weight: 600; }

.glow {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(108, 180, 255, 0.17), rgba(108, 180, 255, 0.05) 55%, rgba(108, 180, 255, 0));
}

/* ---------- The beat ---------- */
/* A beat dot: the headline's full stops, the status pills. Lit on every beat. */
.beat-dot {
  flex: none;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clear);
}
.hero-title .stop { color: var(--clear); }

/* Any element with .lit is the "light" of a beat. Static default: only the downbeat (k0). */
.lit { opacity: 0; }
.k0 .lit, .k0.lit, .lit.r1, .lit.t1, .tap-core-lit { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.glow--hero { top: -180px; right: -260px; width: 1100px; height: 1000px; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 27.5rem), 1fr));
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
.hero-copy { container-type: inline-size; }
.hero-title {
  margin-top: 1.1rem;
  font-size: clamp(3.1rem, 1.6rem + 6.4vw, 6.125rem);
  /* Keep each phrase on one line within its column, including the rounded system font. */
  font-size: clamp(2.85rem, 16cqw, 6.125rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero-line { display: block; }
.hero-line--beat { color: var(--beat); }
.hero-lead { margin: 1.9rem 0 0; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.25rem); max-width: 29em; }
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  min-height: 2.9rem;
  padding: 0.55rem 1.25rem 0.55rem 1rem;
  border-radius: 999px;
  background: var(--deep);
  border: 1px solid var(--lane);
  font-family: var(--display);
  font-weight: 800;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
.hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.hero-links a:hover { text-decoration: underline; }
.hero-audience { margin: 2.5rem 0 0; font-size: 0.94rem; color: var(--mist); }

/* The shared-beat panel: four device lanes, one bar, every mark on the same beat. */
.pulse-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, var(--deep), #0c1b3e);
  border: 1px solid var(--lane);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(234, 241, 255, 0.06);
}
.pulse-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.pulse-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
}
.pulse-chips { display: flex; gap: 0.4rem; margin: 0; }
.chip {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(108, 180, 255, 0.12);
  border: 1px solid var(--lane);
  color: var(--beat);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.score-counts,
.score-columns,
.track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.score-counts { margin-bottom: 0.75rem; }
.count {
  position: relative;
  justify-self: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.94rem;
  color: #7891c4;
  font-variant-numeric: tabular-nums;
}
.count-lit {
  position: absolute;
  inset: 0;
  color: var(--beat);
  text-shadow: 0 0 12px rgba(211, 233, 255, 0.8);
}
.score-body { position: relative; }
.score-columns { position: absolute; inset: 0; }
.beam {
  position: relative;
  justify-self: center;
  width: 1px;
  border-left: 1px dashed rgba(58, 85, 144, 0.8);
}
.beam-lit {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -28px;
  width: 56px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(108, 180, 255, 0), rgba(108, 180, 255, 0.2) 25%, rgba(108, 180, 255, 0.2) 75%, rgba(108, 180, 255, 0));
}
.lane { position: relative; }
.lane + .lane { margin-top: 0.875rem; }
.lane-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mist);
}
.glyph { flex: none; border: 1.5px solid currentColor; }
.glyph--phone { width: 9px; height: 15px; border-radius: 3px; }
.glyph--watch { width: 11px; height: 13px; border-radius: 4px; }
.lane-badge {
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--clear);
  color: var(--night);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 18px;
}
.track {
  position: relative;
  height: 46px;
  align-items: center;
  justify-items: center;
  border-radius: 14px;
  background: rgba(10, 22, 49, 0.62);
  border: 1px solid var(--lane);
}
.mark { position: relative; display: block; }
.mark--phone { width: 8px; height: 18px; border-radius: 4px; background: var(--unlit); }
.mark--phone.is-accent { height: 28px; }
.mark-bar {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--beat);
  box-shadow: 0 0 16px rgba(211, 233, 255, 0.65);
}
.mark--watch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3a5590; }
.mark--watch.is-accent { width: 24px; height: 24px; }
.mark-ring,
.mark-wave {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
}
.mark-ring { border: 2px solid var(--beat); box-shadow: 0 0 14px rgba(211, 233, 255, 0.6); }
.mark-wave { border: 2px solid var(--clear); transform: scale(1.7); }
.k0 .mark-wave { opacity: 0.35; }
.playhead-clip {
  position: absolute;
  inset: -6px 0;
  overflow: hidden;
  pointer-events: none;
}
.playhead-track { position: absolute; inset: 0; transform: translateX(12.5%); }
.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(108, 180, 255, 0), var(--clear) 18%, var(--clear) 82%, rgba(108, 180, 255, 0));
  box-shadow: 0 0 12px rgba(108, 180, 255, 0.6);
  opacity: 0.85;
}
.pulse-panel figcaption {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--lane);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mist);
}

/* Pause/play for the beat animation. Revealed by site.js only when animation runs. */
.pulse-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: 0 1rem 0 0.85rem;
  border: 1px solid var(--lane);
  border-radius: 999px;
  background: rgba(10, 22, 49, 0.6);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--quick) ease, background-color var(--quick) ease;
}
.pulse-toggle:hover { border-color: var(--clear); background: #0d1b3d; }
/* pause glyph (two bars) / play glyph (triangle) */
.pulse-toggle-icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--clear);
  border-right: 3px solid var(--clear);
}
.pulse-toggle.is-paused .pulse-toggle-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--clear);
  border-right: 0;
}

/* ---------- Feature sections ---------- */
.feature { position: relative; border-top: 1px solid rgba(37, 60, 115, 0.6); }
.feature > .wrap { padding-top: var(--section); padding-bottom: var(--section); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.section-head { max-width: 40rem; margin-bottom: 3.5rem; }
.section-head .lead { margin: 1.4rem 0 0; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
}
.section-head--split > div { max-width: 38.75rem; }
.section-head--split .lead { margin: 0; max-width: 26em; }

/* Watch: a conceptual haptic illustration in a watch frame. Not a screenshot. */
.watch-figure { margin: 0; display: grid; justify-items: center; gap: 1.25rem; }
.watch-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 27.5rem;
}
.glow--watch { inset: 0; background: radial-gradient(closest-side, rgba(108, 180, 255, 0.14), rgba(108, 180, 255, 0)); }
.ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(108, 180, 255, 0.5);
  transform: translate(-50%, -50%);
}
.ripple.r1 { width: 272px; height: 318px; border-radius: 90px; opacity: 0.6; }
.ripple.r2 { width: 328px; height: 374px; border-radius: 118px; border-color: rgba(108, 180, 255, 0.36); }
.ripple.r3 { width: 384px; height: 430px; border-radius: 146px; border-color: rgba(108, 180, 255, 0.22); }
.watch {
  position: relative;
  width: 216px;
  height: 262px;
  padding: 11px;
  border-radius: 62px;
  background: linear-gradient(150deg, #33456f, #141f3b 60%, #1e2c50);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(234, 241, 255, 0.18);
}
.watch-crown {
  position: absolute;
  right: -8px;
  top: 68px;
  width: 9px;
  height: 42px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, #2a3b63, #4a5e8c);
}
.watch-button {
  position: absolute;
  right: -5px;
  top: 128px;
  width: 5px;
  height: 30px;
  border-radius: 0 4px 4px 0;
  background: #2a3b63;
}
.watch-screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 52px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0f2150, #000 70%);
}
.tap-core {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--unlit);
}
.tap-core-lit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--beat);
  box-shadow: 0 0 30px 6px rgba(211, 233, 255, 0.45);
}
.tap-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 2px solid var(--clear);
}
.tap-ring.t1 { transform: scale(1.6); opacity: 0.5; }
.tap-ring.t2 { transform: scale(2.3); }
.watch-figure figcaption { max-width: 22rem; text-align: center; font-size: 0.875rem; color: var(--mist); }

.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.points li { display: flex; gap: 1rem; align-items: flex-start; }
.point-mark { flex: none; margin-top: 0.3rem; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--clear); }
.points strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.125rem; }
.point-body { color: var(--mist); }
.pro-line { display: flex; align-items: center; gap: 0.6rem; margin: 2rem 0 0; font-size: 0.94rem; color: var(--mist); }

/* Bands: an illustrative band, each member's dots on the same beat. */
.feature--bands { background: linear-gradient(180deg, rgba(16, 33, 74, 0), rgba(16, 33, 74, 0.55) 50%, rgba(16, 33, 74, 0)); }
.example-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.example-row .pulse-toggle { margin-top: 0; }
.example-label { margin: 0; font-size: 0.875rem; color: var(--mist); }
.members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.375rem), 1fr));
  gap: 0.875rem;
}
.member {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: var(--deep);
  border: 1px solid var(--lane);
}
.member.is-leader { border-color: var(--clear); }
.member-who { display: flex; align-items: center; gap: 0.9rem; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--night);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1rem;
}
.is-leader .avatar { background: var(--clear); }
.member-name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.member-role { display: block; font-size: 0.875rem; color: var(--mist); }
.member-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lane);
  font-size: 0.8125rem;
  color: var(--mist);
}
.member-dots { display: flex; align-items: center; gap: 6px; }
.member-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--unlit); }
.member-dot.is-accent { width: 10px; height: 10px; }
.member-dot .lit { position: absolute; inset: 0; border-radius: 50%; background: var(--beat); box-shadow: 0 0 10px rgba(211, 233, 255, 0.7); }
.leader-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: var(--clear);
  color: var(--night);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.6;
}
.band-steps {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.band-steps li { display: flex; flex-direction: column; gap: 0.6rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clear);
  color: var(--clear);
  font-family: var(--display);
  font-weight: 900;
}
.band-steps h3 { margin-top: 0.4rem; font-size: 1.3125rem; }
.band-steps p { margin: 0; color: var(--mist); }
.note {
  max-width: 47.5rem;
  margin: 3rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(10, 22, 49, 0.6);
  border: 1px solid var(--lane);
  font-size: 0.94rem;
  color: var(--mist);
}

/* Songs, setlists and practice: example cards. */
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1.75rem;
  background: var(--deep);
  border: 1px solid var(--lane);
}
.card h3 { font-size: 1.375rem; }
.card > p { margin: 0; color: var(--mist); font-size: 0.94rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.card-head--start { justify-content: flex-start; }
.card-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
  gap: 1rem;
}
.inset {
  padding: 1rem;
  border-radius: 1.1rem;
  background: var(--night);
  border: 1px solid var(--lane);
}
.setlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}
.setlist-now {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #132757, #0d1c42);
  border: 1px solid var(--lane);
}
.setlist-now p { margin: 0; }
.setlist-now-label { font-size: 0.8125rem; font-weight: 700; color: var(--mist); }
.setlist-now-title { margin-top: 0.35rem !important; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.15; }
.setlist-now-tempo { margin-top: 0.6rem !important; color: var(--mist); font-weight: 700; }
.setlist-now-bpm {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--beat);
  font-variant-numeric: tabular-nums;
}
.setlist-list {
  border-radius: 1.1rem;
  background: var(--night);
  border: 1px solid var(--lane);
  overflow: hidden;
}
.setlist-name {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--lane);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--mist);
}
.setlist-hint { margin: 0; padding: 0.6rem 1.1rem 0; font-size: 0.8125rem; color: var(--mist); }
.setlist-list ol { list-style: none; margin: 0; padding: 0.4rem; }
.set-row,
.set-button {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
}
.set-row { transition: background-color var(--quick) ease; }
.set-row:has(.set-button) { padding: 0; }
.set-button {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.set-button:hover { background: rgba(108, 180, 255, 0.08); }
.set-row.is-selected { background: rgba(108, 180, 255, 0.14); }
.set-num { width: 1.25rem; font-family: var(--display); font-weight: 800; font-size: 0.875rem; color: var(--mist); }
.set-title { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.set-meter { font-size: 0.875rem; color: var(--mist); font-variant-numeric: tabular-nums; }
.set-bpm { min-width: 4.5rem; text-align: right; font-family: var(--display); font-weight: 800; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
.is-selected .set-num { color: var(--clear); }
.is-selected .set-bpm { color: var(--beat); }
.card-foot {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lane);
  font-size: 0.94rem;
  color: var(--mist);
}
.card-foot .pro-tag { margin-top: 0.2rem; }

.lookup-song { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin: 0; }
.lookup-title { font-weight: 600; }
.lookup-readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 0.6rem 0 0; font-weight: 700; }
.lookup-bpm {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.segmented {
  display: flex;
  gap: 4px;
  margin-top: 0.9rem;
  padding: 4px;
  border-radius: 999px;
  background: var(--deep);
  border: 1px solid var(--lane);
}
.segmented button {
  flex: 1;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--quick) ease, color var(--quick) ease;
}
.segmented button:hover { color: var(--ink); background: rgba(108, 180, 255, 0.12); }
.segmented button[aria-pressed="true"] { background: var(--clear); color: var(--night); }

.tap-area {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
}
.tap-button {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 1px solid var(--clear);
  background: radial-gradient(circle at 50% 35%, rgba(108, 180, 255, 0.28), rgba(108, 180, 255, 0.06));
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(108, 180, 255, 0.06);
  transition: transform 80ms ease, box-shadow var(--quick) ease;
  touch-action: manipulation;
}
.tap-button:hover { box-shadow: 0 0 0 10px rgba(108, 180, 255, 0.1); }
.tap-button:active { transform: scale(0.94); }
.tap-readout { min-width: 7rem; }
.tap-readout p { margin: 0; }
.tap-bpm { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tap-hint { margin-top: 0.4rem !important; font-size: 0.875rem; color: var(--mist); max-width: 12rem; }
.nojs-note { text-align: center; }

.trainer-bars {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  min-height: 9rem;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.trainer-bars li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.trainer-bar { width: 100%; border-radius: 10px; background: rgba(108, 180, 255, 0.2); }
.trainer-bars li:nth-child(1) .trainer-bar { height: 30px; background: rgba(108, 180, 255, 0.18); }
.trainer-bars li:nth-child(2) .trainer-bar { height: 44px; background: rgba(108, 180, 255, 0.26); }
.trainer-bars li:nth-child(3) .trainer-bar { height: 58px; background: rgba(108, 180, 255, 0.34); }
.trainer-bars li:nth-child(4) .trainer-bar { height: 72px; background: rgba(108, 180, 255, 0.42); }
.trainer-bars li:nth-child(5) .trainer-bar { height: 86px; background: rgba(108, 180, 255, 0.5); }
.trainer-bars li:nth-child(6) .trainer-bar { height: 100px; background: rgba(108, 180, 255, 0.58); }
.trainer-bars li:nth-child(7) .trainer-bar { height: 110px; }
.trainer-bars li:nth-child(8) .trainer-bar { height: 120px; }
.trainer-bars li.is-target .trainer-bar { background: var(--clear); }
.trainer-bpm { font-size: 0.75rem; font-weight: 700; color: var(--mist); font-variant-numeric: tabular-nums; }
.is-target .trainer-bpm { color: var(--clear); }

/* Availability: status, Pro note and the two destinations. */
.availability {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23.75rem), 1fr));
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: 2rem;
  border: 1px solid var(--lane);
  background: linear-gradient(160deg, #132757, #0d1c42 60%);
}
.glow--availability { top: -200px; left: -160px; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(108, 180, 255, 0.2), rgba(108, 180, 255, 0)); }
.availability-copy { position: relative; }
.availability .eyebrow { color: var(--beat); }
.availability h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.375rem); line-height: 1.04; }
.availability .lead { margin-top: 1.25rem; max-width: 28em; }
.chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 22, 49, 0.6);
  border: 1px solid var(--lane);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Destination cards (home availability, 404). */
.link-cards { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.4rem;
  background: var(--night);
  border: 1px solid var(--lane);
  color: var(--ink);
  text-decoration: none;
}
.link-card:hover { color: var(--ink); border-color: var(--clear); background: #0d1b3d; transform: translateY(-2px); }
.link-card-label { display: block; font-family: var(--display); font-weight: 800; font-size: 1.375rem; }
.link-card-body { display: block; margin-top: 0.25rem; font-size: 0.94rem; color: var(--mist); }
.link-card-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(108, 180, 255, 0.14);
  color: var(--clear);
}

/* ---------- Inner pages: support, privacy, 404 ---------- */
main { flex: 1; }
.page-body { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(5rem, 10vw, 7.5rem); }
.page-intro { max-width: 48rem; }
.page-intro h1 {
  font-size: clamp(2.75rem, 1.8rem + 4.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.page-intro .lead { margin: 1.25rem 0 0; }
.page-intro .meta { color: var(--mist); margin: 0.4rem 0 0; }
.page-intro--policy h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem); }
.page-intro--policy .lead { margin-bottom: 1rem; }
.jumps ul { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--deep);
  border: 1px solid var(--lane);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}
.jumps a:hover { border-color: var(--clear); background: #132757; color: var(--ink); }

.page-section { margin-top: clamp(4rem, 8vw, 5.5rem); }
.page-section > h2,
.contact h2 {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  letter-spacing: -0.025em;
}
.section-intro { margin: 0.9rem 0 0; color: var(--mist); max-width: 36em; }

.contact {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 1.75rem;
  background: var(--deep);
  border: 1px solid var(--lane);
}
.contact-copy p { color: var(--mist); max-width: 30em; margin: 0.75rem 0 0; }
.contact-copy p:last-child { margin-top: 1.5rem; }
.action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--clear);
  color: var(--night);
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
}
.action:hover { background: var(--beat); color: var(--night); transform: translateY(-1px); }
.action:active { transform: scale(0.97); }
.in-app { padding: 1.4rem; border-radius: 1.25rem; }
.in-app-label { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--mist); }
.crumbs { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-weight: 600; }
.crumbs li { padding: 0.35rem 0.75rem; border-radius: 0.6rem; background: var(--deep); border: 1px solid var(--lane); }
.crumbs li + li::before { content: "→"; margin: 0 0.6rem 0 -0.25rem; color: var(--clear); }
.crumbs li + li { display: flex; align-items: center; }

.step-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.6rem; max-width: 47.5rem; }
.step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--deep);
  border: 1px solid var(--lane);
}
.step-index {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(108, 180, 255, 0.14);
  color: var(--clear);
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.94rem;
}
.step-groups {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}
.step-group { padding: 1.6rem; border-radius: 1.4rem; border: 1px solid var(--lane); }
.step-group h3 { font-size: 1.25rem; }
.step-group ul { margin: 0.9rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.5rem; color: var(--mist); }
.aside { margin: 1.25rem 0 0; font-size: 0.94rem; color: var(--mist); max-width: 44em; }

.limitation-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
  gap: 1rem;
}
.limitation { padding: 1.6rem; border-radius: 1.4rem; background: var(--deep); border: 1px solid var(--lane); }
.limitation h3 { font-size: 1.25rem; line-height: 1.25; }
.limitation p { margin: 0.75rem 0 0; font-size: 0.94rem; color: var(--mist); }

.faq { max-width: 51.25rem; }
.faq-list { margin-top: 1.25rem; border-top: 1px solid var(--lane); }
.faq-item { border-bottom: 1px solid var(--lane); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 1.25rem 0.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.35;
  border-radius: 0.75rem;
  transition: color var(--quick) ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover,
.faq-item[open] summary { color: var(--beat); }
.faq-icon {
  flex: none;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lane);
  transition: transform 320ms var(--ease), background-color var(--quick) ease, border-color var(--quick) ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--clear);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--clear); }
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--clear); background: rgba(108, 180, 255, 0.16); }
.faq-answer { padding: 0 3.5rem 1.5rem 0.4rem; color: var(--mist); }
.faq-answer p { margin: 0 0 0.75rem; }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 320ms var(--ease), opacity 250ms ease, content-visibility 320ms;
      transition-behavior: allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; opacity: 1; }
  }
}

/* Privacy: the verbatim policy body. Its own summary becomes a raised panel, its own
   contents list a sticky side column on wide screens, its prose a 44em column. */
.policy-body { margin-top: 3rem; font-size: 1.0625rem; line-height: 1.7; color: var(--prose); }
.policy-body .summary {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.75rem;
  background: var(--deep);
  border: 1px solid var(--lane);
  color: var(--ink);
}
.policy-body .summary h2 { font-size: 1.375rem; border-top: 0; margin: 0; padding: 0; }
.policy-body .summary ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
  line-height: 1.55;
}
.policy-body .summary li { position: relative; padding-left: 1.4rem; }
.policy-body .summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clear);
}
.policy-body nav { margin-top: 3rem; }
.policy-body nav h2 {
  margin: 0 0 0.6rem;
  font-family: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}
.policy-body nav ol { margin: 0; padding: 0 0 0 1.75rem; columns: 2 14rem; column-gap: 2rem; color: var(--clear); }
.policy-body nav li { break-inside: avoid; }
.policy-body nav a {
  display: inline-block;
  padding: 0.3rem 0.4rem;
  border-radius: 0.6rem;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.4;
  text-decoration: none;
}
.policy-body nav a:hover { color: var(--ink); background: var(--deep); }
.policy-body > section:not(.summary) {
  max-width: var(--measure);
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(37, 60, 115, 0.7);
}
.policy-body > section:not(.summary) h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.policy-body h3 { margin: 1.75rem 0 0; font-size: 1.1875rem; color: var(--ink); }
.policy-body p, .policy-body ul { margin: 0.9rem 0 0; }
.policy-body ul { padding-left: 1.4rem; }
.policy-body li { margin-bottom: 0.35rem; }
.policy + .band { margin-top: 0; }
.band { max-width: var(--measure); padding: 2.25rem 0; }
.band h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); letter-spacing: -0.015em; margin-bottom: 0.9rem; }
.band p { color: var(--prose); line-height: 1.7; }

@media (min-width: 62rem) {
  .policy-body {
    display: grid;
    grid-template-columns: 15rem minmax(0, var(--measure));
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .policy-body .summary { grid-column: 1 / -1; }
  .policy-body nav {
    grid-column: 1;
    grid-row: 2 / span 20;
    position: sticky;
    top: 6rem;
    margin-top: 3rem;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .policy-body nav ol { columns: auto; }
  .policy-body > section:not(.summary) { grid-column: 2; }
  .policy-body > section:nth-of-type(2) { margin-top: 1rem; }
  .policy + .band { margin-left: calc(15rem + clamp(2rem, 5vw, 4.5rem)); }
}

/* 404 */
.link-pair { margin-top: 3rem; }
.link-pair h2 { font-size: 1.375rem; margin-bottom: 1rem; }
.link-pair .link-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--lane); background: var(--footer); }
.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.site-footer p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.footer-note { font-size: 0.94rem; color: var(--mist); }
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 600;
}
.site-footer ul a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }

/* ---------- Narrow screens ---------- */
@media (max-width: 30rem) {
  html { scroll-padding-top: 8.5rem; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: space-between; }
  .site-nav li { flex: 1; }
  .watch-stage { min-height: 22rem; }
  .ripple.r3 { display: none; }
  .ripple.r2 { width: 296px; height: 342px; }
  .faq-answer { padding-right: 0.4rem; }
  .tap-area { justify-content: flex-start; }
}
@media (max-width: 22rem) {
  .set-meter { display: none; }
  .hero-title { font-size: 2.85rem; }
}

/* ---------- The shared pulse (only with script, only when motion is welcome) ---------- */
@keyframes nn-hit { 0% { opacity: 1; } 14% { opacity: 0.32; } 32%, 100% { opacity: 0; } }
@keyframes nn-sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes nn-dot {
  0% { background: var(--beat); box-shadow: 0 0 22px 5px rgba(211, 233, 255, 0.55); transform: scale(1.22); }
  42%, 100% { background: var(--clear); box-shadow: 0 0 0 0 rgba(211, 233, 255, 0); transform: scale(1); }
}
@keyframes nn-stop {
  0% { color: var(--beat); text-shadow: 0 0 0.3em rgba(211, 233, 255, 0.8); }
  42%, 100% { color: var(--clear); text-shadow: none; }
}
@keyframes nn-ripple { 0% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); } 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }
@keyframes nn-ring { 0% { opacity: 0.8; transform: scale(1); } 30%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes nn-tap { 0% { opacity: 0.8; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes nn-core { 0% { opacity: 1; } 40%, 100% { opacity: 0.15; } }

@media (prefers-reduced-motion: no-preference) {
  .pulse-on .lit { opacity: 0; animation: nn-hit var(--bar) linear infinite; }
  /* beat k lights k beats into the bar; negative delays keep one phase for all */
  .pulse-on .k1 .lit { animation-delay: calc(var(--pulse) * -3); }
  .pulse-on .k2 .lit { animation-delay: calc(var(--pulse) * -2); }
  .pulse-on .k3 .lit { animation-delay: calc(var(--pulse) * -1); }
  .pulse-on .mark-wave { animation-name: nn-ring; animation-timing-function: ease-out; }
  .pulse-on .playhead-track { animation: nn-sweep var(--bar) linear calc(var(--pulse) * -0.5) infinite; }
  .pulse-on .beat-dot { animation: nn-dot var(--pulse) cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
  .pulse-on .hero-title .stop { animation: nn-stop var(--pulse) cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
  .pulse-on .ripple { animation: nn-ripple var(--pulse) cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
  .pulse-on .ripple.r2 { animation-delay: 70ms; }
  .pulse-on .ripple.r3 { animation-delay: 140ms; }
  .pulse-on .tap-ring { animation: nn-tap var(--pulse) cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
  .pulse-on .tap-ring.t2 { animation-delay: 60ms; }
  .pulse-on .tap-core-lit { animation: nn-core var(--pulse) ease-out infinite; }
  .pulse-paused *, .pulse-hidden * { animation-play-state: paused !important; }
}

/* Same-origin page changes cross-fade quickly where the browser supports it.
   Links stay native, so Back/Forward, refresh and direct entry are untouched. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 260ms; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root { --night: #fff; --deep: #fff; --footer: #fff; --lane: #aaa; --ink: #000; --mist: #333; --prose: #000; --clear: #222; --beat: #000; color-scheme: light; }
  .site-header, .site-footer, .skip-link, .policy-body nav, .pulse-toggle, .jumps, .glow { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: inherit; }
  .policy-body { display: block; }
  .policy + .band { margin-left: 0; }
}
