/* Guru Shree — gurushree.pro
   Lacquer black and temple gold, built to match the emblem rather than the
   usual dark-mode landing page. Mobile first; every size is fluid. */

:root {
  --ink:        #0B0907;
  --ink-2:      #12100F;
  --ink-3:      #1A1614;
  --gold:       #D4A11E;
  --gold-lt:    #F7D774;
  --gold-dp:    #7A5A10;
  --saffron:    #EA580C;
  --marigold:   #F59E0B;
  --maroon:     #58121F;
  --cream:      #F3E9D9;
  --muted:      rgba(243, 233, 217, 0.58);
  --faint:      rgba(243, 233, 217, 0.10);

  --display: 'Marcellus', 'Times New Roman', serif;
  --body:    'Mulish', ui-sans-serif, sans-serif;
  --deva:    'Tiro Devanagari Hindi', var(--display);

  --shell: min(1120px, 100% - 2.5rem);
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* The header is sticky, so an anchor jump would otherwise park the heading
   underneath it. */
:target, section[id] { scroll-margin-top: 5rem; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── atmosphere ─────────────────────────────────────────────────────────── */

/* Film grain keeps the black from reading as flat #000 on an OLED phone. */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The lamp behind the emblem — a warm bloom, brightest at the top. */
.lamp {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 38rem at 50% -6rem, rgba(234, 88, 12, 0.20), transparent 62%),
    radial-gradient(36rem 26rem at 50% 2rem, rgba(212, 161, 30, 0.16), transparent 60%),
    radial-gradient(48rem 40rem at 88% 78%, rgba(88, 18, 31, 0.28), transparent 65%);
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 26rem; height: 26rem;
  margin: -13rem 0 0 -13rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(212, 161, 30, 0.12), transparent 68%);
  transition: opacity 0.6s var(--ease);
}

main, .foot { position: relative; z-index: 1; }

/* Above the page, not level with it — at the same z-index the hero emblem
   painted straight over the header on the way past. */
.nav { z-index: 10; }

/* ── nav ────────────────────────────────────────────────────────────────── */

/* A floating glass capsule rather than a full-width bar: it keeps the emblem
   framed by page rather than cut off by a hard edge, and the blur reads the
   gold through it. */
.nav {
  position: sticky;
  top: max(0.6rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--shell);
  margin: 0.6rem auto 0;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 16, 13, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(243, 233, 217, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px -18px rgba(0, 0, 0, 0.95);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease),
              border-color 0.5s var(--ease);
}

/* Once the page has moved, the glass tightens up and the shadow lands. */
.nav.is-stuck {
  background: rgba(14, 11, 9, 0.78);
  border-color: rgba(243, 233, 217, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px -20px rgba(0, 0, 0, 1);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
}

.nav__brand img { border-radius: 50%; }

/* How far down the page you are, drawn along the bottom of the capsule. */
.nav__progress {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: -1px;
  height: 1px;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
}

/* ── buttons ────────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.35s var(--ease), color 0.35s var(--ease);
}

/* Compact by eye, still 44px of thumb — the header is where people tap on a
   phone, and a 38px pill is a miss waiting to happen. */
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.875rem; min-height: 44px; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.0625rem; }
.btn--wide { width: min(24rem, 100%); }

.btn--ghost {
  color: var(--gold-lt);
  border: 1px solid rgba(212, 161, 30, 0.42);
  background: rgba(212, 161, 30, 0.06);
}
.btn--ghost:hover { background: rgba(212, 161, 30, 0.14); border-color: var(--gold); }

.btn--gold {
  color: #1A1206;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 46%, #B8860F);
  box-shadow: 0 0 0 1px rgba(247, 215, 116, 0.5),
              0 14px 38px -12px rgba(212, 161, 30, 0.75);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(247, 215, 116, 0.8),
              0 20px 46px -12px rgba(212, 161, 30, 0.9);
}
.btn--gold:active { transform: translateY(0); }

/* A single highlight travelling across the gold — the same sweep the app's
   announcement bar uses, so the brand behaves the same in both places. */
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%,
              rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: sweep 4.4s var(--ease) 1.4s infinite;
}

@keyframes sweep {
  0%, 62% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem);
  text-align: center;
}

.hero__emblem {
  position: relative;
  width: min(19rem, 74vw);
  aspect-ratio: 1;
  margin: clamp(1rem, 4vw, 2rem) auto clamp(1.25rem, 4vw, 2rem);
  display: grid;
  place-items: center;
  perspective: 900px;
}

/* ── the coin ───────────────────────────────────────────────────────────── */

.coin {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: bob 7s ease-in-out infinite;
  will-change: transform;
}

/* Struck metal: a warm bloom under it, and the dark contact shadow that stops
   it floating free of the page. */
.coin::after {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 161, 30, 0.30), transparent 62%);
  z-index: -2;
  animation: breathe 7s ease-in-out infinite;
}

/* The bob is the animation's to own; the pointer contributes only the tilt,
   through variables, so neither overwrites the other's transform. */
@keyframes bob {
  0%, 100% { transform: translateY(0)       rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)); }
  50%      { transform: translateY(-0.7rem) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)); }
}

@keyframes breathe {
  50% { opacity: 0.55; transform: scale(1.06); }
}

/* The milled rim. A conic gradient turning slowly behind the face is what
   makes gold read as metal instead of as a flat yellow circle. */
.coin__rim {
  position: absolute;
  inset: -3.2%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #6B4E0C, #F7D774 12%, #A87B12 26%, #FFF1BE 38%,
    #8A6410 52%, #F7D774 66%, #7A5A10 80%, #FFE9A8 92%, #6B4E0C
  );
  animation: spin 14s linear infinite;
  filter: saturate(115%);
}

/* A darker inner lip between rim and face, so the two do not blend into one
   soft blob at small sizes. */
.coin__edge {
  position: absolute;
  inset: 0.6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2A2015, #0A0806 72%);
  box-shadow: inset 0 0 1.4rem rgba(0, 0, 0, 0.9);
}

.coin__face {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #060504;
  box-shadow:
    inset 0 2px 3px rgba(255, 228, 160, 0.30),
    inset 0 -3px 6px rgba(0, 0, 0, 0.9),
    0 18px 40px -18px rgba(0, 0, 0, 0.9);
}

.coin__face img {
  width: 104%;
  max-width: none;
  transform: translateZ(0);
}

/* One specular highlight crossing the face, on the same rhythm as the bob. */
.coin__shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    100deg,
    transparent 36%,
    rgba(255, 248, 226, 0.16) 47%,
    rgba(255, 248, 226, 0.34) 50%,
    rgba(255, 248, 226, 0.16) 53%,
    transparent 64%
  );
  transform: translateX(-130%);
  animation: glint 7s var(--ease) 1.2s infinite;
}

@keyframes glint {
  0%, 55%   { transform: translateX(-130%); }
  85%, 100% { transform: translateX(130%); }
}

.rings { position: absolute; inset: 0; width: 100%; height: 100%; }

.ring {
  fill: none;
  stroke: var(--gold);
  transform-origin: 50% 50%;
}
.ring--1 { stroke-width: 1;   stroke-opacity: 0.30; stroke-dasharray: 2 14;   animation: spin 44s linear infinite; }
.ring--2 { stroke-width: 0.8; stroke-opacity: 0.20; stroke-dasharray: 40 22;  animation: spin 66s linear infinite reverse; }
.ring--3 { stroke-width: 1.4; stroke-opacity: 0.14; stroke-dasharray: 1 10;   animation: spin 30s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  font-family: var(--deva);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  opacity: 0.85;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 15vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
}

.hero__title .gold {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold) 52%, #9C7614);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem);
}

.hero__cta { margin-top: clamp(1.75rem, 5vw, 2.5rem); }

.hero__note {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.badge-points {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: clamp(1.75rem, 5vw, 2.75rem) 0 0;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(243, 233, 217, 0.16);
  border-radius: 999px;
  font-size: 0.78125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* ── section furniture ──────────────────────────────────────────────────── */

.section {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(3.25rem, 9vw, 6rem) 0;
}

.section--rule { border-top: 1px solid var(--faint); }

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.lede {
  max-width: 34rem;
  margin: 0 0 2.25rem;
  color: var(--muted);
}

.fineprint {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── earning ────────────────────────────────────────────────────────────── */

.hero__alt { margin: 1rem 0 0; font-size: 0.875rem; }

.hero__alt a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* a one-line link is still a thumb target */
  color: var(--gold);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(212, 161, 30, 0.35);
  transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero__alt a:hover { box-shadow: inset 0 -1px 0 var(--gold-lt); }

.h2 .gold {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold) 55%, #9C7614);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker--mt { margin-top: clamp(2.5rem, 7vw, 4rem); }

.rates {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
}

.rate {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(212, 161, 30, 0.22);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(212, 161, 30, 0.09), rgba(212, 161, 30, 0.02));
}

.rate__pc {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem);
  line-height: 1;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
}
.rate__pc i { font-style: normal; font-size: 0.45em; margin-left: 0.1em; opacity: 0.7; }

.rate__what { color: var(--muted); font-size: 0.9375rem; }

/* the calculator */
.calc {
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--faint);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.calc__row label { font-size: 0.9375rem; color: var(--muted); }

.calc__row output {
  font-family: var(--display);
  font-size: 1.375rem;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
}

.calc input[type="range"] {
  width: 100%;
  margin: 0 0 1.5rem;
  height: 44px;              /* a 4px track is nothing to hit; the box is the target */
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 30%),
              rgba(243, 233, 217, 0.13) var(--fill, 30%));
}
.calc input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 30%),
              rgba(243, 233, 217, 0.13) var(--fill, 30%));
}

.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-lt), var(--gold) 55%, #9C7614);
  border: 1px solid rgba(255, 240, 200, 0.6);
  box-shadow: 0 3px 12px -2px rgba(212, 161, 30, 0.8);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-lt), var(--gold) 55%, #9C7614);
  border: 1px solid rgba(255, 240, 200, 0.6);
  box-shadow: 0 3px 12px -2px rgba(212, 161, 30, 0.8);
}

.calc__out {
  margin-top: 0.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--faint);
  text-align: center;
}

.calc__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.calc__big {
  font-family: var(--display);
  font-size: clamp(2.75rem, 1.8rem + 5vw, 4.5rem);
  line-height: 1;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 2.5rem rgba(212, 161, 30, 0.45);
}

.calc__unit {
  font-size: 0.875rem;
  color: var(--muted);
  margin-left: 0.4rem;
  letter-spacing: 0.08em;
}

.calc__break {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* the ladder */
.ladder { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }

.rung {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--faint);
  border-radius: 14px;
  background: rgba(26, 22, 20, 0.6);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.rung:hover { border-color: rgba(212, 161, 30, 0.35); }

.rung--top {
  border-color: rgba(212, 161, 30, 0.38);
  background: linear-gradient(110deg, rgba(212, 161, 30, 0.12), rgba(26, 22, 20, 0.6) 62%);
}

.rung__tier { font-family: var(--display); font-size: 1.125rem; }

.rung__need {
  grid-column: 1;
  font-size: 0.8125rem;
  color: var(--muted);
}

.rung__pc {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--display);
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  color: var(--gold-lt);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── game tokens ────────────────────────────────────────────────────────── */

.tokens {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.token {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--faint);
  border-radius: 20px;
  background:
    radial-gradient(22rem 14rem at 12% -10%, rgba(212, 161, 30, 0.10), transparent 70%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}

.token:hover {
  border-color: rgba(212, 161, 30, 0.45);
  box-shadow: 0 24px 60px -30px rgba(212, 161, 30, 0.6);
}

.token__digits {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.token__digits span {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.25rem;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--gold-lt);
  background: linear-gradient(180deg, rgba(212, 161, 30, 0.16), rgba(212, 161, 30, 0.04));
  border: 1px solid rgba(212, 161, 30, 0.3);
  font-variant-numeric: tabular-nums;

  /* Each digit drops into place a beat after the one before it, the way a
     result is called out rather than appearing all at once. */
  opacity: 0;
  transform: translateY(-0.6rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(0.32s + var(--i) * 0.09s);
}

.token.in .token__digits span { opacity: 1; transform: none; }

.token h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.375rem;
  margin: 0 0 0.4rem;
}

.token p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9375rem; }

.token__pay {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── bazaars ────────────────────────────────────────────────────────────── */

.bazaars { list-style: none; margin: 0; padding: 0; }

.bazaar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--faint);
}

.bazaar__name {
  flex: 1 1 10rem;
  font-family: var(--display);
  font-size: clamp(1.125rem, 1rem + 1vw, 1.5rem);
}

.bazaar__time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.bazaar__time b { color: var(--gold-lt); font-weight: 600; }

.bazaar__result {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Where each bazaar stands right now, in Indian time, whatever clock the
   visitor's phone is on. */
.pill {
  flex: 0 0 auto;
  min-width: 7.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--faint);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
              background-color 0.4s var(--ease);
}

.pill[data-now="open"] {
  color: #7BE3A0;
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(74, 222, 128, 0.09);
}

.pill[data-now="soon"] {
  color: var(--marigold);
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.09);
}

.pill[data-now="result"] {
  color: #8FB8FF;
  border-color: rgba(96, 141, 255, 0.4);
  background: rgba(96, 141, 255, 0.09);
}

.bazaar:has(.pill[data-now="open"]) .bazaar__name { color: var(--gold-lt); }

/* ── steps ──────────────────────────────────────────────────────────────── */

.steps {
  position: relative;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0 0 0 1.75rem;
  display: grid;
  gap: 2rem;
}

/* The rail draws itself downward as the list comes into view, so the steps
   read in order instead of arriving as a block. */
.steps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(212, 161, 30, 0.22);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 1.1s var(--ease) 0.1s;
}

.steps.in::before { transform: scaleY(1); }

.steps li { position: relative; }

.steps li::before {
  content: '';
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.55rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 161, 30, 0.14);
}

.steps__n {
  display: block;
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.steps h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.steps p { margin: 0; color: var(--muted); max-width: 32rem; }

/* ── feature cards ──────────────────────────────────────────────────────── */

.cards { display: grid; gap: 1rem; margin-top: 2rem; }

.card {
  padding: 1.5rem;
  border: 1px solid var(--faint);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 22, 20, 0.9), rgba(18, 16, 15, 0.9));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.card:hover { border-color: rgba(212, 161, 30, 0.38); transform: translateY(-3px); }

.card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1875rem;
  margin: 0 0 0.45rem;
}

.card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.langs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.6rem !important; }

.langs span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 161, 30, 0.3);
  background: rgba(212, 161, 30, 0.07);
  color: var(--gold-lt);
  font-size: 0.8125rem;
}

/* ── download ───────────────────────────────────────────────────────────── */

.get { text-align: center; }

.get__inner {
  padding: clamp(2.25rem, 7vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  border: 1px solid rgba(212, 161, 30, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(34rem 20rem at 50% 0%, rgba(234, 88, 12, 0.16), transparent 68%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: 0 40px 90px -50px rgba(212, 161, 30, 0.7);
}

.get__mark { margin: 0 auto 1.25rem; border-radius: 50%; }

.get .lede { margin-inline: auto; margin-bottom: 2rem; }

.get__meta {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.install {
  margin: 2rem auto 0;
  max-width: 34rem;
  text-align: left;
  border-top: 1px solid var(--faint);
  padding-top: 1.25rem;
}

.install summary {
  cursor: pointer;
  color: var(--gold-lt);
  font-size: 0.9375rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
}

.install summary::-webkit-details-marker { display: none; }

.install summary::before {
  content: '+';
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.install[open] summary::before { transform: rotate(45deg); }

.install ol { margin: 1rem 0 0.75rem; padding-left: 1.2rem; color: var(--muted); }
.install li { margin-bottom: 0.4rem; }
.install p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.install b { color: var(--cream); font-weight: 600; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.foot {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4rem) 0 3rem;
  border-top: 1px solid var(--faint);
  text-align: center;
}

.foot__brand {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.foot__disc {
  max-width: 32rem;
  margin: 0 auto 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.foot__dom {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 233, 217, 0.32);
}

/* ── scroll reveal ──────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].in { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: 0.07s; }
[data-delay="2"] { transition-delay: 0.14s; }
[data-delay="3"] { transition-delay: 0.21s; }
[data-delay="4"] { transition-delay: 0.28s; }
[data-delay="5"] { transition-delay: 0.35s; }

/* ── wider screens ──────────────────────────────────────────────────────── */

@media (min-width: 40rem) {
  .tokens { grid-template-columns: repeat(3, 1fr); }
  .cards  { grid-template-columns: repeat(2, 1fr); }
  .rates  { grid-template-columns: repeat(2, 1fr); }
  .bazaar { gap: 1.5rem; }
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .rung   { grid-template-columns: 1fr; align-content: start; gap: 0.3rem; }
  .rung__pc { grid-row: auto; grid-column: 1; }
}

@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(4, 1fr); }

  /* The steps stay in one column at every width. Two columns would strand the
     rail and its dots down the left of a layout they no longer describe; the
     extra room goes into the row instead. */
  .steps li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    align-items: baseline;
    column-gap: 2rem;
  }
  .steps__n { margin-bottom: 0; }
  .steps li h3 { grid-column: 2; }
  .steps li p  { grid-column: 2; }
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* ── reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
