/* =========================================================
   GhostTag landing — design tokens
   ========================================================= */
:root {
  --bg:        #0E0B1A;
  --bg-2:      #17132A;
  --bg-3:      #1E1933;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  --violet:    #7C5CFF;
  --violet-dim:#5B3FE0;
  --teal:      #2DD4BF;

  --text:      #ECE9F8;
  --muted:     #9C95BC;
  --muted-2:   #6F6893;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1160px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--font-mono); font-size: 0.9em; background: rgba(255,255,255,0.07); padding: 0.1em 0.4em; border-radius: 5px; }
strong { color: #fff; font-weight: 600; }

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

/* The `hidden` attribute must win over any `display` rule below. */
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; background: var(--btn-bg);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn--primary {
  background: var(--violet); color: #fff;
  box-shadow: 0 6px 24px -8px rgba(124,92,255,0.75);
}
.btn--primary:hover { background: #8b6eff; box-shadow: 0 10px 30px -8px rgba(124,92,255,0.9); }

.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(14,11,26,0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 26px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }

.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; gap: 10px; margin-left: auto; }

.nav__toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s; }

.nav__mobile { display: flex; flex-direction: column; padding: 8px 24px 20px; gap: 4px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.nav__mobile a { padding: 12px 4px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav__mobile a:last-child { border-bottom: 0; color: var(--violet); font-weight: 500; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 78px 0 64px; position: relative; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 52px; align-items: center;
}

.eyebrow {
  /* understated studio/hardware metadata line — no glowing pill container */
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
  border: 0; background: none; padding: 0; border-radius: 0;
  max-width: 100%;
}
.eyebrow .dot { display: none; }
.eyebrow__sep { color: var(--line-2); }

.hero__title { font-size: clamp(36px, 4.6vw, 54px); margin: 22px 0 24px; }
.grad {
  /* solid text — no hue gradient on the headline */
  color: var(--text); background: none; -webkit-background-clip: border-box; background-clip: border-box;
}
.hero__sub { font-size: 18px; color: var(--muted); max-width: 54ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---- countdown ---- */
.countdown {
  margin-top: 38px; padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.countdown__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.countdown__label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.countdown__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45,212,191,0.5); } 50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(45,212,191,0); } }

.countdown__grid { display: flex; align-items: flex-start; gap: 10px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 62px; }
.cd-num {
  font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 5vw, 44px); line-height: 1; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 8px; width: 100%; text-align: center;
}
.cd-key { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.cd-sep { font-family: var(--font-mono); font-size: clamp(24px, 4vw, 36px); color: var(--muted-2); line-height: 1.9; }

.countdown__meta { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); }

.countdown__live-state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.live-state__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--teal); }
.countdown[data-state="live"] .countdown__grid,
.countdown[data-state="live"] .countdown__head { display: none; }

/* ---- hero visual (stylised app window) ---- */
.hero__visual { position: relative; }
.app-shot {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}
.hero__visual:hover .app-shot { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.app-shot__bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.app-shot__title { margin-left: 10px; font-size: 12px; color: var(--muted-2); font-family: var(--font-mono); }

.app-shot__body { display: grid; grid-template-columns: 148px 1fr; min-height: 320px; }
.app-shot__side { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; border-right: 1px solid var(--line); background: rgba(0,0,0,0.16); }
.side-item { font-size: 13px; color: var(--muted-2); padding: 8px 11px; border-radius: 8px; }
.side-item.is-active { background: rgba(124,92,255,0.16); color: #c3b4ff; }

.app-shot__main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px 24px; }
.app-shot__logo img { width: 56px; height: 56px; border-radius: 14px; }
.app-shot__wave { display: flex; align-items: center; gap: 5px; height: 74px; }
.app-shot__wave span {
  width: 6px; height: var(--h); border-radius: 3px;
  background: var(--violet);
  opacity: 0.85;
}
/* static waveform framing — no breathing animation */

.app-shot__status { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   Pills
   ========================================================= */
.pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.pill--teal   { color: var(--teal);   border-color: rgba(45,212,191,0.36);  background: rgba(45,212,191,0.1); }
.pill--violet { color: #b7a6ff;       border-color: rgba(124,92,255,0.4);   background: rgba(124,92,255,0.13); }
.pill--muted  { color: var(--muted-2);border-color: var(--line);            background: rgba(255,255,255,0.04); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 84px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.022) 12%, rgba(255,255,255,0.022) 88%, transparent); }

.section__head { max-width: 720px; margin-bottom: 44px; }
.kicker {
  /* sentence case — not tracked-out ALL-CAPS (unslop + frontend-design); copy unchanged */
  font-family: var(--font-mono); font-size: 12px; letter-spacing: normal;
  text-transform: none; color: var(--violet); margin-bottom: 14px; letter-spacing: normal;
}
.section__head h2 { font-size: clamp(28px, 4vw, 42px); }
.section__lead { margin-top: 16px; font-size: 17px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- cards ---- */
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}
/* calm hover — surface step + hairline, no lift */
.card:hover { border-color: var(--line-2); background: var(--bg-3); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon--violet { background: rgba(124,92,255,0.14); color: #b7a6ff; }
.card__icon--teal   { background: rgba(45,212,191,0.13); color: var(--teal); }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---- steps ---- */
.steps { display: grid; gap: 16px; }
.step {
  display: flex; gap: 26px; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.step__num {
  font-family: var(--font-mono); font-weight: 700; font-size: 30px;
  color: var(--violet); line-height: 1; min-width: 56px;
}
.step__body h3 { font-size: 21px; margin-bottom: 8px; }
.step__body p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* ---- scenarios ---- */
.scenario {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.scenario__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.scenario h3 { font-size: 21px; margin-bottom: 10px; }
.scenario p { color: var(--muted); font-size: 15.5px; }

/* ---- sources ---- */
.sources {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.sources__text h3 { font-size: 22px; margin-bottom: 10px; }
.sources__text p { color: var(--muted); font-size: 15.5px; }
.sources__list { display: flex; flex-direction: column; gap: 10px; }
.sources__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.src-name { font-size: 15px; }

/* ---- demo ---- */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.demo__copy h2 { font-size: clamp(26px, 3.4vw, 38px); }
.demo__copy > p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.ticks { display: flex; flex-direction: column; gap: 11px; margin: 24px 0 28px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(45,212,191,0.16);
  border: 1px solid rgba(45,212,191,0.5);
}
.ticks li::after {
  content: ""; position: absolute; left: 4.5px; top: 10px; width: 7px; height: 4px;
  border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal);
  transform: rotate(-45deg);
}

.demo__frame {
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; display: grid; place-items: center;
}
.demo__placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted-2); text-align: center; padding: 24px;
}
.demo__placeholder p { color: var(--text); font-family: var(--font-display); font-size: 17px; }
.demo__placeholder span { font-size: 13.5px; }
/* walkthrough video: show the WHOLE frame, never crop (object-fit: contain) */
.demo__video-wrap { position: relative; padding: 0; overflow: hidden; background: #000; }
.demo__frame .demo__video { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #000; display: block; }

/* clear "this is a video" affordance; hidden once playing */
.demo__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: inherit; cursor: pointer;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  color: #fff; font-family: var(--font-body);
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}
.demo__play:hover { background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45)); }
.demo__play:focus-visible { outline: 3px solid var(--teal); outline-offset: -4px; }
.demo__play[hidden] { display: none; }
.demo__play-icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(124,92,255,0.95); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(124,92,255,0.85);
  padding-left: 4px; /* optically center the triangle */
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.demo__play:hover .demo__play-icon { transform: scale(1.08); background: #8b6eff; }
.demo__play-label { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; }
.demo__play-sub { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.78); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- pricing ---- */
.pricing { align-items: stretch; }
.plan {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column;
}
.plan--featured { border-color: rgba(124,92,255,0.45); background: var(--bg-2); }
.plan__badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: var(--violet);
  padding: 5px 11px; border-radius: 999px;
}
.plan__name { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: var(--font-display); font-size: 40px; font-weight: 600; margin: 10px 0 4px; }
.plan__price span { font-size: 15px; font-weight: 400; color: var(--muted-2); font-family: var(--font-body); margin-left: 6px; }
.plan__desc { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.plan .ticks { flex: 1; margin: 20px 0 26px; }

/* ---- faq ---- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 22px;
  font-family: var(--font-display); font-weight: 500; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--violet);
  transition: transform 0.25s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; max-width: 68ch; }

/* ---- live waitlist counter ---- */
.waitlist__counter {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 9px 15px;
  background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.32);
  border-radius: 999px; font-size: 14px; color: var(--text);
}
.waitlist__counter[hidden] { display: none; }
.counter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(45,212,191,0.2); animation: pulse 1.6s ease-in-out infinite; }
.counter-num { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal); transition: transform 0.18s var(--ease); }
.counter-num.is-bumped { animation: bump 0.5s var(--ease); }
.counter-label { color: var(--muted); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18); color: #fff; } }

/* ---- waitlist ---- */
.waitlist {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 46px;
}
.waitlist__copy h2 { font-size: clamp(26px, 3.4vw, 38px); }
.waitlist__copy p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.waitlist__form { display: flex; flex-direction: column; gap: 12px; }
.waitlist__form input {
  width: 100%; padding: 15px 18px; font-size: 16px; font-family: var(--font-body);
  color: var(--text); background: rgba(0,0,0,0.32);
  border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.waitlist__form input::placeholder { color: var(--muted-2); }
.waitlist__form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,0.18); }
.form-msg { font-size: 14px; min-height: 20px; text-align: center; }
.form-msg.is-ok   { color: var(--teal); }
.form-msg.is-err  { color: #ff8080; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: 46px 0 40px; background: rgba(0,0,0,0.2); }
.footer__inner { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.footer__tag { color: var(--muted-2); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__links a { font-size: 14.5px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal { font-size: 13px; color: var(--muted-2); max-width: 60ch; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: 2; }
  .app-shot { transform: none; }
  .demo, .sources, .waitlist { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}

/* Mid widths: text links wrap, so swap them for the hamburger earlier.
   CTA buttons stay visible until the phone breakpoint. */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; margin-left: 0; }
}

@media (max-width: 760px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding: 52px 0 40px; }
  .step { flex-direction: column; gap: 14px; }
  .waitlist { padding: 30px 24px; }
  .countdown { padding: 18px; }
  .cd-unit { min-width: 0; flex: 1; }
  .countdown__grid { gap: 6px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 36px; }
  .cd-num { font-size: 26px; padding: 10px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* baseline-ui: safe-area-inset for fixed elements on notched screens */
.nav { padding-top: env(safe-area-inset-top); }
.footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@supports not (padding-top: env(safe-area-inset-top)) { .nav { padding-top: 0; } }
