/* Layout: the approved 26 Sep "Website" board (dark ink, gold accent, teal secondary), made fluid, with the "Motion" board's keyhole storyboard driven by GSAP + ScrollTrigger + Lenis. Single dark theme, as approved. */
:root {
  --ink: #0b1018;
  --ink2: #0e141e;
  --deep: #06080c;
  --panel: #131a24;
  --panel2: #151d29;
  --line: #16202c;
  --line2: #222d3c;
  --line3: #2a3647;
  --text: #eef2f7;
  --soft: #b4becc;
  --muted: #9aa6b8;
  --dim: #6b778a;
  --gold: #e6b45a;
  --teal: #3cc4b4;
  --mint: #8de6db;
  --display: 'Bricolage Grotesque', Figtree, 'Segoe UI', sans-serif;
  --sans: Figtree, 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: clip;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}
a {
  color: var(--text);
}
a:hover {
  color: var(--gold);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  color: var(--ink);
}
.btn-line {
  border: 1px solid var(--line3);
  font-weight: 700;
}

/* mockup flag removed */
.x-mk-flag {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
}
.mk-progress {
  position: fixed;
  left: 0;
  top: env(safe-area-inset-top, 0px);
  height: 3px;
  width: 100%;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
}
.x-mk-motion {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 32px);
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 700 15px var(--sans);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

/* Nav */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(11, 16, 24, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}
.nav nav {
  display: flex;
  gap: 28px;
  flex-grow: 1;
  font-size: 15px;
  font-weight: 600;
}
.nav nav a {
  text-decoration: none;
  color: var(--soft);
}
.nav .btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
}

/* Hero + keyhole stage */
/* Scroll tracks: a tall section whose stage sticks under the nav while its animation plays. CSS sticky, no JS pinning. */
.track-hero {
  position: relative;
  height: calc(100vh + 1900px);
}
.hero {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  height: calc(100vh - 72px);
  min-height: 560px;
  overflow: hidden;
}
.hero .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.pill {
  align-self: flex-start;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #3a3322;
  background: #17140d;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h1 span {
  color: var(--gold);
}
.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--soft);
  max-width: 560px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.methods {
  font-size: 14px;
  color: var(--muted);
}
.coin-stage {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  z-index: 3;
  perspective: 900px;
}
.glow {
  position: absolute;
  width: min(620px, 92%);
  aspect-ratio: 1;
}
.coin {
  position: relative;
  width: min(460px, 78%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  --coin-t: 14px;
}
.coin.is-zooming {
  will-change: transform;
}
.coin-body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 55.078%;
}
.coin-body.is-spinning {
  will-change: transform;
}
.coin-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.coin-face--front {
  transform: translateZ(calc(var(--coin-t) / 2));
}
.coin-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--coin-t) / 2));
}
.coin-still {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.coin-still--back {
  transform: scaleX(-1);
}
.coin-hole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  opacity: var(--coin-face-opacity, 1);
  transform: translateZ(0.15px);
}
.coin-edge {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
/* Coin thickness: thin gold discs stacked between the faces (px depth; % is invalid in translateZ). Hidden behind the opaque faces when face-on; seen as the rim when turned. */
.coin-layer {
  position: absolute;
  inset: 1.6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    #7a5a18 0%,
    #9c7a28 70%,
    #e2c25e 88%,
    #8a6a20 100%
  );
}
/* Coin thickness: thin gold discs stacked between the faces (px depth; % is invalid in translateZ). Hidden behind the opaque faces when face-on, visible as the rim when turned. */
.coin-layer {
  position: absolute;
  inset: 1.6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    #7a5a18 0%,
    #9c7a28 70%,
    #e2c25e 88%,
    #8a6a20 100%
  );
}
.brand-mark {
  display: block;
  border-radius: 50%;
  flex: none;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 2;
}
.scroll-cue i {
  width: 1px;
  height: 36px;
  background: var(--line3);
}
/* What appears through the keyhole */
.reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  visibility: hidden;
}
/* The keyhole window: a 512-unit box clipped to the coin's keyhole, centred on the hero. Scaling it widens the keyhole;
   the inner panel is counter-scaled so the product inside stays the same size, as if seen through the opening. */
.reveal {
  display: grid;
  place-items: center;
}
.phone.mini {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
}
@media (max-width: 900px) {
  .phone.mini {
    --phone-w: min(300px, 84vw);
    width: var(--phone-w);
  }
}

/* How it works */
.how {
  position: relative;
  z-index: 5;
  margin-top: calc(-100vh + 72px);
  height: calc(100vh + 1300px);
  background: linear-gradient(
    transparent 0,
    transparent calc(100vh - 72px),
    var(--ink2) calc(100vh - 72px)
  );
}
.how .wrap {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  height: calc(100vh - 72px);
  padding-block: 32px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.how .stage.solid {
  background: var(--ink2);
}
.how-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.how-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  flex: none;
}
.how-mobile-steps {
  position: relative;
  min-height: 7.5rem;
}
.how-m-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
}
.how-m-step b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  width: 36px;
  flex: none;
  line-height: 1.1;
}
.how-m-step strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.how-m-step p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}
.how-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.how-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3647;
  transition:
    background 0.25s,
    transform 0.25s;
}
.how-dot.on {
  background: var(--gold);
  transform: scale(1.15);
}
.how-phone-stage {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding-top: clamp(20px, 6vh, 72px);
}
.steps-wrap {
  display: flex;
  gap: 22px;
}
.rail {
  width: 3px;
  border-radius: 3px;
  background: #1e2836;
  position: relative;
  flex: none;
}
.rail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: var(--gold);
  transform-origin: 0 0;
  transform: scaleY(0.45);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.step {
  display: flex;
  gap: 18px;
  opacity: 0.42;
  transition: opacity 0.3s;
}
.step.on {
  opacity: 1;
}
.step b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--dim);
  width: 36px;
  flex: none;
}
.step.on b {
  color: var(--gold);
}
.step strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
}
.step span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 460px;
  margin-top: 4px;
}
.phone {
  --phone-w: 340px;
  --phone-fit: 1;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  height: auto;
  max-width: 100%;
  flex: none;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}
.phone-device {
  position: relative;
  width: 100%;
  height: 100%;
}
.phone-btn {
  position: absolute;
  z-index: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #2a3545, #1e2836 55%, #151d29);
  box-shadow: inset 0 0 0 1px rgba(230, 180, 90, 0.08);
}
.phone-btn--vol {
  left: -3px;
  top: 21%;
  width: 3px;
  height: 52px;
  box-shadow:
    inset 0 0 0 1px rgba(230, 180, 90, 0.08),
    0 58px 0 0 #1e2836,
    0 58px 0 1px rgba(230, 180, 90, 0.06);
}
.phone-btn--pwr {
  right: -3px;
  top: 17%;
  width: 3px;
  height: 78px;
}
.phone-bezel {
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 44px;
  background: linear-gradient(155deg, #2a3545 0%, #1e2836 42%, #151d29 100%);
  box-shadow:
    inset 0 0 0 1px rgba(230, 180, 90, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 41px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-island {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #06080c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--soft);
  flex: none;
}
.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone-signal {
  width: 16px;
  height: 10px;
  background:
    linear-gradient(to top, var(--soft) 35%, transparent 35%) 0 100%/4px 100%
      no-repeat,
    linear-gradient(to top, var(--soft) 55%, transparent 55%) 5px 100%/4px 100%
      no-repeat,
    linear-gradient(to top, var(--soft) 75%, transparent 75%) 10px 100%/4px 100%
      no-repeat,
    linear-gradient(to top, var(--soft) 100%, transparent 100%) 15px 100%/4px
      100% no-repeat;
  opacity: 0.92;
}
.phone-battery {
  width: 22px;
  height: 10px;
  border: 1.5px solid var(--soft);
  border-radius: 3px;
  position: relative;
  opacity: 0.92;
}
.phone-battery::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: var(--soft);
}
.phone-battery::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 62%;
  border-radius: 1px;
  background: var(--gold);
}
.phone-chat {
  flex: 1;
  min-height: 0;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #1e2836;
  flex: none;
}
.phone-head b {
  display: block;
  font-size: 14px;
}
.phone-head small {
  font-size: 12px;
  color: var(--muted);
}
.phone-chat-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 12px 6px;
  overflow: hidden;
}
.phone-compose {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 12px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  background: #141c28;
  border: 1px solid var(--line2);
}
.phone-compose-field {
  flex: 1;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.2;
}
.phone-compose-send {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #9ae8de, var(--teal));
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.phone-compose-send::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid #07211f;
  transform: translateX(2px);
}
.b-in {
  align-self: flex-start;
  max-width: 94%;
  background: var(--panel2);
  border: 1px solid var(--line2);
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  color: var(--soft);
  line-height: 1.45;
}
.b-user {
  align-self: flex-end;
  max-width: 88%;
  background: #1b2431;
  border: 1px solid var(--line3);
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.b-out {
  align-self: flex-end;
  max-width: 88%;
  background: #134a4b;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  line-height: 1.4;
}
.b-card {
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 14px 14px 14px 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.b-card strong {
  font-size: 14px;
}
.b-card .act {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}
.act.gold {
  background: var(--gold);
  color: var(--ink);
}
.act.dark {
  background: #1b2431;
  border: 1px solid var(--line3);
  font-weight: 700;
}
.act.teal {
  background: var(--teal);
  color: #07211f;
}
.b-card.done {
  box-shadow: 0 0 0 2px var(--gold);
}
.b-card.done strong {
  color: var(--mint);
}
.b-card.done p {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.45;
}

/* Features */
.features .wrap {
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
/* Scroll-through tabs: enabled by script only when the whole stage fits on screen. */
.features.is-track {
  height: calc(100vh + 2000px);
}
.features.is-track .feat-stage {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  height: calc(100vh - 72px);
  padding-block: 20px;
  gap: 26px;
  justify-content: center;
  overflow: hidden;
}
.features.is-track .methods-box,
.features.is-track .list-box,
.features.is-track .glyph-box {
  padding: 18px;
}
.features.is-track .method {
  min-height: 120px;
}
.tab-hint {
  text-align: center;
  font-size: 13px;
  color: var(--dim);
  margin-top: -24px;
}
.center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.tabs {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--panel);
  position: relative;
}
.tabs button {
  position: relative;
  z-index: 1;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: 700 15px var(--sans);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  color: var(--text);
}
.tab-pill {
  position: absolute;
  z-index: 0;
  border-radius: 12px;
  background: #243044;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.feat-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.feat-text h3 {
  font-size: 34px;
  font-weight: 700;
}
.feat-text p {
  font-size: 18px;
  color: var(--soft);
  line-height: 1.6;
}
.panels {
  position: relative;
}
.list-box,
.glyph-box {
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.li:hover {
  border-color: rgba(230, 180, 90, 0.55);
  background: #131c28;
}
.li {
  transition:
    border-color 0.25s,
    background 0.25s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f1620;
  border: 1px solid var(--line2);
  font-size: 15px;
}
.li em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.li em.ok {
  background: #123f3b;
  color: var(--mint);
}
.li em.no {
  background: #3d1e1a;
  color: #f2a08f;
}
.li em.warn {
  background: #3d3218;
  color: #f2cd85;
}
.li em.dim {
  background: #1e2633;
  color: var(--soft);
}
.glyph-box {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.glyph-box span {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #0f3b32;
  display: grid;
  place-items: center;
  font:
    56px 'Segoe UI Symbol',
    'DejaVu Sans',
    sans-serif;
}
.glyph-box span .tile-art {
  width: 64px;
  height: 64px;
  display: block;
}
.methods-box {
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.method {
  min-height: 150px;
  border-radius: 16px;
  background: #0f1620;
  border: 1px solid var(--line2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.methods-box {
  position: relative;
}
.method-hl {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 0 24px -6px rgba(230, 180, 90, 0.45);
}
.method b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}
.method span {
  font-size: 14px;
  color: var(--muted);
}

/* Games: a sideways rail on wide screens */
.games {
  background: var(--ink2);
  border-top: 1px solid var(--line);
  height: calc(100vh + 900px);
}
.games-inner {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  height: calc(100vh - 72px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.games-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
}
.games-head > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.games-head > span {
  font-size: 15px;
  color: var(--muted);
}
.game-row {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-right: 24px;
}
.game {
  width: 300px;
  height: 380px;
  flex: none;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}
.game.premium {
  background: #17140d;
}
.game .stage {
  position: relative;
  height: 230px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.game .glyph-art {
  width: 170px;
  height: 170px;
  display: block;
}
.game .soon-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  margin-left: 0;
  background: rgba(11, 13, 12, 0.62);
  backdrop-filter: blur(2px);
}
.game .glyph {
  font-family: 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
  font-size: 120px;
  line-height: 1;
}
.game .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.game .meta span {
  white-space: nowrap;
}
.game .meta b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
}
.game .meta span {
  font-size: 13px;
  font-weight: 700;
}

/* Dashboard */
.dash {
  overflow: hidden;
}
.dash .wrap {
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.dash-frame {
  width: 100%;
  max-width: 1080px;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--line2);
  border-bottom: 0;
  background: var(--ink2);
  display: flex;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(230, 180, 90, 0.08);
}
.dash-nav {
  width: 200px;
  flex: none;
  background: var(--ink);
  border-right: 1px solid #1e2836;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-nav span {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.dash-nav span.on {
  background: #1b2431;
  color: var(--text);
}
.dash-main {
  flex: 1;
  min-width: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.kpi {
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi span {
  font-size: 12px;
  color: var(--muted);
}
.kpi b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
}
.rows {
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  font-size: 13px;
}
.row i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #243044;
  flex: none;
}
.row .n {
  width: 160px;
  font-weight: 600;
}
.row .s {
  width: 160px;
  color: var(--soft);
}
.tag {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.tag.a {
  background: #123f3b;
  color: var(--mint);
}
.tag.e {
  background: #3d3218;
  color: #f2cd85;
}
.tag.l {
  background: #1e2633;
  color: var(--soft);
}

/* Pricing */
.pricing {
  background: var(--ink2);
  border-top: 1px solid var(--line);
}
.pricing .wrap {
  padding-block: 90px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.plan {
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plan.gold {
  background: #17140d;
  border: 1.5px solid var(--gold);
}
.plan > span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--soft);
}
.plan .price {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}
.plan .sub {
  font-size: 15px;
  color: var(--muted);
  min-height: 44px;
  line-height: 1.45;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #d6dde7;
}
.plan .cta {
  margin-top: 8px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid var(--line3);
}
.plan.gold .cta {
  background: var(--gold);
  color: var(--ink);
  border: 0;
}

/* FAQ */
.faq .wrap {
  padding-block: 90px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.faq-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-head h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chips {
  position: relative;
}
.chips button {
  position: relative;
  z-index: 1;
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 700 14px var(--sans);
  cursor: pointer;
  transition: color 0.2s;
}
.chips button:hover {
  color: var(--text);
}
.chips button[aria-selected='true'] {
  color: var(--text);
}
.chip-pill {
  position: absolute;
  z-index: 0;
  border-radius: 10px;
  background: #243044;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
}
.qa {
  border-bottom: 1px solid #1e2836;
}
.qa button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font: 700 18px var(--sans);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}
.qa button em {
  font-style: normal;
  color: var(--gold);
  transition: transform 0.3s;
}
.qa[data-open='true'] button em {
  transform: rotate(45deg);
}
.qa .ans {
  overflow: hidden;
  height: 0;
}
.qa .ans p {
  font-size: 16px;
  color: var(--soft);
  line-height: 1.55;
  padding-bottom: 20px;
}

/* Final CTA + footer */
.final {
  background: var(--ink2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.final .wrap {
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.final h2 {
  font-size: clamp(40px, 5vw, 60px);
}
.final p {
  font-size: 19px;
  color: var(--soft);
}
.final .end-coin {
  width: 150px;
  height: 150px;
}
.final .coin-zone {
  padding: 24px;
  perspective: 900px;
}
/* Stacked ending: each held card fills the screen under the nav; later cards slide over earlier ones. */
.stick {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#dashboard.stick {
  justify-content: flex-end;
  z-index: 1;
  background: var(--ink);
}
#dashboard,
#pricing,
#faq,
.final {
  position: relative;
}
#dashboard {
  z-index: 1;
}
#pricing {
  z-index: 2;
}
#faq {
  z-index: 3;
  background: var(--ink);
}
.final {
  z-index: 4;
}
#dashboard.stick,
#pricing.stick,
#faq.stick,
.final.stick {
  position: sticky;
}
.stick .wrap {
  width: 100%;
}
#pricing.stick .wrap {
  padding-block: 40px;
}
#faq.stick .wrap {
  padding-block: 48px;
}
.final.stick .wrap {
  padding-block: 60px;
}
footer {
  position: relative;
  z-index: 5;
  background: transparent;
  border-top: 0;
}
.final.stick .wrap {
  padding-top: 32px;
  padding-bottom: 96px;
  gap: 18px;
} /* room for the footer words to rise into */
.final.stick .end-coin {
  width: 120px;
  height: 120px;
}
footer .wrap {
  padding-block: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer a {
  text-decoration: none;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .track-hero {
    height: calc(100vh + 1400px);
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 8px;
    padding-block: 24px 60px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }
  .hero .lede {
    font-size: 16px;
  }
  .hero .methods,
  .hero .actions .btn-line {
    display: none;
  }
  .coin-stage {
    height: 100%;
    min-height: 200px;
  }
  .coin {
    width: min(260px, 62vw);
  }
  .how {
    height: auto;
  }
  .game {
    width: 270px;
    height: 400px;
  }
  .game .stage {
    height: 260px;
  }
  .game .glyph {
    font-size: 110px;
  }
  .game .glyph-art {
    width: 150px;
    height: 150px;
  }
  .game .meta b {
    font-size: 22px;
  }
  .how {
    margin-top: 0;
    background: var(--ink2);
  }
  .how .wrap {
    position: static;
    height: auto;
    flex-direction: column;
    gap: 48px;
    padding-block: 80px;
  }
  .feat-grid,
  .faq .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-nav {
    display: none;
  }
  .row .s {
    display: none;
  }
}
@media (max-width: 480px) {
  .nav .btn-line {
    display: none;
  }
  .methods-box {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk-progress {
    display: none;
  }
}

/* Production: self-hosted site (iamamember.net) */
html {
  scroll-behavior: auto;
}
body {
  font-size: 15px;
  min-height: 100svh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}
.coin-spin,
.coin-still-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.coming-soon-note {
  font-size: 14px;
  color: var(--gold);
  margin-top: 8px;
}
.coming-soon-note:empty {
  display: none;
}
.methods-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step {
  will-change: transform, opacity;
  border-radius: 14px;
  padding: 6px 8px;
  margin: -6px -8px;
}
.stick.fit-zoom {
  zoom: var(--fit-zoom, 1);
}
.hero,
.how .wrap,
.games-inner,
.features.is-track .feat-stage {
  min-height: calc(100svh - 72px);
  height: calc(100svh - 72px);
}
.track-hero {
  height: calc(100svh + 1900px);
}
.how {
  margin-top: calc(-100svh + 72px);
  height: calc(100svh + 1300px);
}
.games {
  height: calc(100svh + 900px);
}
.mode-gentle .reveal {
  transition: opacity 0.35s ease;
}
.mode-static .track-hero,
.mode-static .how,
.mode-static .games,
.mode-static .features.is-track {
  height: auto !important;
}
.mode-static .hero,
.mode-static .how .wrap,
.mode-static .games-inner,
.mode-static .feat-stage {
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
}
.mode-static .reveal {
  display: none !important;
}

@media (max-width: 900px) {
  .track-hero {
    height: calc(100svh + 1500px);
  }
  .how {
    margin-top: calc(-100svh + 72px);
    height: calc(100svh + 1450px);
    background: linear-gradient(
      transparent 0,
      transparent calc(100svh - 72px),
      var(--ink2) calc(100svh - 72px)
    );
  }
  .how .wrap {
    position: sticky;
    top: calc(72px + env(safe-area-inset-top, 0px));
    height: calc(100svh - 72px);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-block: 14px 16px;
    overflow: hidden;
  }
  .how-copy {
    flex: none;
    gap: 12px;
    min-height: 0;
  }
  .how-intro,
  .steps-wrap {
    display: none;
  }
  .how-mobile {
    display: flex;
  }
  .how-phone-stage {
    flex: none;
    min-height: 0;
    height: var(--how-phone-slot, 52svh);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
  }
  .features.is-track {
    height: calc(100svh + 1600px);
  }
  .feat-text p,
  .step span,
  .qa .ans p {
    font-size: 15px;
  }
  .methods-three {
    grid-template-columns: 1fr;
  }
}
html.mode-phone .how-intro,
html.mode-phone .steps-wrap {
  display: none;
}
html.mode-phone .how-mobile {
  display: flex;
}
html:not(.mode-phone) .how-mobile {
  display: none;
}

/* Pricing page */
.page-pricing {
  background: var(--ink);
}
.page-pricing .nav nav a[aria-current='page'] {
  color: var(--gold);
}
.pricing-hero {
  background: var(--ink2);
  border-bottom: 1px solid var(--line);
}
.pricing-hero .wrap {
  padding-block: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}
.pricing-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}
.pricing-calc .wrap,
.pricing-tiers .wrap,
.pricing-alt .wrap,
.pricing-compare .wrap {
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-panel {
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-slider-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--soft);
}
.calc-output {
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  color: var(--gold);
}
.calc-slider {
  width: 100%;
  accent-color: var(--gold);
  min-height: 44px;
  cursor: pointer;
}
.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line3);
  background: var(--ink2);
  color: var(--soft);
  font: 600 14px var(--sans);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.calc-chip.on,
.calc-chip:hover {
  border-color: var(--gold);
  color: var(--text);
  background: #17140d;
}
.calc-rec {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.calc-rec strong {
  color: var(--text);
  font-weight: 800;
}
.billing-toggle {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line2);
  gap: 4px;
}
.billing-opt {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 700 15px var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing-opt.on {
  background: #243044;
  color: var(--text);
}
.billing-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.tier-track-wrap {
  margin-inline: -24px;
  padding-inline: 24px;
}
.tier-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(260px, 1fr));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.tier-card {
  scroll-snap-align: center;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line2);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.tier-card.recommended {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(230, 180, 90, 0.35);
  transform: translateY(-4px);
}
.tier-badge {
  display: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.tier-card.recommended .tier-badge {
  display: block;
}
.tier-name {
  font-size: 18px;
  font-weight: 800;
}
.tier-price {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}
.tier-cap {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  min-height: 40px;
  line-height: 1.4;
}
.tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--soft);
  flex: 1;
}
.tier-cta {
  width: 100%;
  height: 48px;
  font-size: 15px;
  margin-top: 4px;
}
.plans-alt {
  max-width: 880px;
  margin-inline: auto;
}
.pricing-compare {
  background: var(--ink2);
  border-top: 1px solid var(--line);
}
.compare-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}
.compare-list {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  max-width: 520px;
  display: grid;
  gap: 10px;
  font-size: 16px;
  color: var(--soft);
}
.compare-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.compare-list li::before {
  content: '—';
  color: var(--gold);
  flex: none;
}
.pricing-faq .wrap {
  padding-block: 80px;
}
.pricing-faq #dashboard,
.pricing-faq .stick {
  position: static;
  min-height: 0;
}
.pricing-final .wrap {
  padding-block: 80px;
}
.page-pricing .center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 901px) {
  .tier-track {
    overflow-x: visible;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tier-track-wrap {
    margin-inline: 0;
    padding-inline: 0;
  }
}
@media (max-width: 900px) {
  .tier-track {
    grid-auto-flow: column;
    grid-template-columns: unset;
    grid-auto-columns: min(78vw, 300px);
  }
  .plans-alt {
    grid-template-columns: 1fr;
  }
  .pricing-faq .wrap {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tier-card,
  .tier-card.recommended {
    transition: none;
    transform: none;
  }
}

/* Pricing v2 (owner 22 Oct 2026): three plans around the chosen volume, coin ticks, yearly strike-through */
.trust-strip {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--soft);
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tick {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.tier-track.three-up {
  overflow: visible;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: unset;
  max-width: 1040px;
  margin-inline: auto;
}
.tier-card[hidden] {
  display: none;
}
.tier-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}
.tier-flags span {
  display: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tier-card.recommended .tier-badge {
  display: inline-block;
  color: var(--gold);
}
.tier-card.popular .tier-popular {
  display: inline-block;
  color: var(--ink, #0b1018);
  background: var(--gold);
  border-radius: 999px;
  padding: 3px 9px;
}
.tier-price {
  font-variant-numeric: tabular-nums;
}
.tier-billed {
  margin: -4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.tier-billed[hidden] {
  display: none;
}
.tier-billed s {
  color: var(--muted);
  opacity: 0.8;
}
.tier-billed strong {
  color: var(--text);
  font-weight: 700;
}
.billed-save {
  color: var(--gold);
  font-weight: 700;
}
.tier-features .tf,
.compare-list .tf {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
}
.compare-list li::before {
  content: none;
}
.tf.limit span {
  color: var(--text);
  font-weight: 700;
}
.tf.soon {
  color: var(--muted);
}
.tf.soon .tick {
  opacity: 0.45;
  filter: grayscale(0.3);
}
.soon-tag {
  margin-left: auto;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(230, 180, 90, 0.45);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}
/* Plan cards: what's new on the plan is tagged; what it shares with smaller plans is lighter and compact. */
.new-tag {
  background: var(--gold);
  color: #1a1405;
  border-color: var(--gold);
}
.tier-features .tf.inherit {
  font-size: 13px;
  color: var(--muted);
}
.tier-features .tf.inherit .tick {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  opacity: 0.7;
}
.grow-note,
.projects-help,
.alt-line {
  text-align: center;
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.grow-note {
  margin-top: 26px;
  color: var(--soft);
}
.projects-help {
  margin-top: 6px;
  font-size: 13px;
}
.alt-line {
  margin-top: 18px;
}
.alt-line a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compare-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.compare-toggle {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--text);
  font: 700 15px var(--sans);
  cursor: pointer;
}
.compare-toggle:hover {
  background: #17140d;
}
.compare-table-wrap {
  width: 100%;
  max-width: 1040px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: var(--panel);
}
.compare-table-wrap[hidden] {
  display: none;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.compare-table thead th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table tbody th {
  color: var(--text);
  font-weight: 800;
}
.compare-table td {
  color: var(--soft);
}
@media (max-width: 900px) {
  .tier-track.three-up {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .tier-track.three-up .tier-card.recommended {
    order: -1;
  }
}
.pricing-calc .calc-title {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.1;
}
.pricing-calc .wrap {
  padding-top: 48px;
}
/* Batch 22 Oct: one white for live features (plan limits bold), two-up for US$50,000+, centred trial cards */
.tier-features .tf {
  color: var(--text);
}
.tier-features .tf.soon {
  color: var(--muted);
}
.tier-track.three-up.two-up {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
}
.plans-alt {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
  justify-content: center;
}
.plans-alt .plan {
  border-radius: 22px;
}
.plans-alt .plan ul .tf {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text);
}
@media (max-width: 900px) {
  .tier-track.three-up.two-up {
    grid-template-columns: 1fr;
  }
  .plans-alt {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}
/* Batch 22 Oct (6–7): each volume button sits exactly under its slider stop.
   Seven equal columns; the slider is inset by half a column (less half the thumb), so stop i lands on column i's centre. */
.calc-panel {
  --cols: 7;
  --thumb: 22px;
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  accent-color: auto;
  height: 44px;
  min-height: 44px;
  width: calc(100% - 100% / var(--cols) + var(--thumb));
  margin-inline: calc((100% / var(--cols) - var(--thumb)) / 2);
  --f: 0.1667;
}
.calc-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--gold) calc(var(--thumb) / 2 + var(--f) * (100% - var(--thumb))),
    var(--line3) 0
  );
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((6px - var(--thumb)) / 2);
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink2);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: pointer;
}
.calc-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line3);
}
.calc-slider::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
.calc-slider::-moz-range-thumb {
  width: calc(var(--thumb) - 6px);
  height: calc(var(--thumb) - 6px);
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink2);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: pointer;
}
.calc-slider:focus-visible {
  outline: none;
}
.calc-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(230, 180, 90, 0.55);
}
.calc-chips {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 0;
  flex-wrap: nowrap;
  margin-top: -6px;
}
.calc-chip {
  justify-self: center;
  white-space: nowrap;
  padding: 0 12px;
}
.calc-chip .chip-short {
  display: none;
}
@media (max-width: 999px) {
  .calc-chip {
    padding: 0 10px;
    font-size: 13px;
  }
  .calc-chip .chip-full {
    display: none;
  }
  .calc-chip .chip-short {
    display: inline;
  }
}
@media (max-width: 599px) {
  .calc-chip:nth-child(2),
  .calc-chip:nth-child(3),
  .calc-chip:nth-child(5),
  .calc-chip:nth-child(6) {
    visibility: hidden;
  }
}
/* Phones: plain scrolling, plans in their natural order (no recommended-first reordering). */
@media (max-width: 900px) {
  .tier-track.three-up .tier-card.recommended {
    order: 0;
  }
}
