/* ---------- landing: hero ---------- */
.hero {
  position: relative;
  margin: 0 calc(-1 * (var(--rail) + 56px)) 0 -56px;
  padding: 170px calc(var(--rail) + 56px) 90px 56px;
  min-height: var(--vh);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  border-radius: 0 0 56px 56px;
}

/* dark hero: floodlit stage */
.hero h1 {
  color: var(--bg);
}

.hero .lead {
  color: #d9d2c5;
}

.hero .eyebrow {
  background: rgba(255, 106, 26, .16);
  color: var(--acc-hi);
}

.hero .pill:not(.fill) {
  background: transparent;
  color: var(--bg);
  border-color: rgba(244, 239, 230, .5);
}

.hero .pill:not(.fill):hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.hero .hstat:not(.acc) {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero>*:not(canvas) {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 200px;
  margin: 26px 0 30px;
  line-height: .86;
  letter-spacing: -.045em;
}

.hero h1 .acc {
  display: inline-block;
}

.hero .lead {
  font-size: 34px;
  max-width: 820px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin: 36px 0 44px;
}

.hero-stats {
  display: flex;
  gap: 14px;
}

.hero .lead {
  margin: 0;
}

.hero-cta {
  align-items: center;
  margin-bottom: 0;
}

.hero-pot {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 68px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 106, 26, .45);
  background: rgba(255, 106, 26, .1);
  transition: background .2s;
}

.hero-pot:hover {
  background: rgba(255, 106, 26, .22);
}

.hero-pot small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b8b1a4;
}

.hero-pot b {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--acc-hi);
  font-variant-numeric: tabular-nums;
}

.hstat {
  background: rgba(251, 248, 242, .82);
  backdrop-filter: blur(8px);
  border: 2px solid var(--line);
  border-radius: 30px;
  padding: 22px 32px;
  min-width: 280px;
}

.hstat small {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.hstat .v {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.hstat.acc {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}

.hstat.acc small {
  color: var(--acc-tint);
}

.hstat .cap {
  font-size: 14px;
  font-weight: 800;
  margin-top: 6px;
  color: #fff;
  opacity: .85;
}

/* ---------- the pot ---------- */
.fees {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--acc);
  color: #fff;
  border-radius: 48px;
  padding: 64px;
  margin: 40px 0 0;
  position: relative;
  overflow: hidden;
}

.fees h2 {
  font-size: 120px;
  line-height: .9;
}

.fees .eyebrow {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.fees p {
  font-size: 24px;
  font-weight: 600;
  margin: 24px 0 0;
  max-width: 560px;
}

.fee-flow {
  display: grid;
  gap: 12px;
}

.fee-flow .st {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .14);
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 14px 24px 14px 14px;
  font-size: 21px;
  font-weight: 700;
}

.fee-flow .st b {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--acc);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
}

.fee-pot {
  margin-top: 10px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 34px;
  padding: 26px 30px;
}

.fee-pot small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--mute);
}

.fee-pot .v {
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--acc-hi);
  line-height: 1.05;
}

.hero-logo {
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: min(620px, 100%);
  height: auto;
  will-change: transform;
  filter: drop-shadow(0 0 90px rgba(255, 106, 26, .35));
}

/* ---------- tapes ---------- */
.tapes {
  position: relative;
  height: 260px;
  margin: 10px calc(-1 * (var(--rail) + 56px)) 0 -56px;
  overflow: hidden;
}

.tape {
  position: absolute;
  left: -5%;
  right: -5%;
  height: 84px;
  display: flex;
  align-items: center;
  border-radius: 999px;
}

.tape.a {
  top: 50px;
  transform: rotate(-3deg);
  background: var(--acc);
  color: #fff;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(255, 106, 26, .3);
}

.tape.b {
  top: 110px;
  transform: rotate(2.4deg);
  background: var(--ink);
  color: var(--bg);
}

.tape .mq {
  height: 100%;
  display: flex;
  align-items: center;
}

.tp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.tp em {
  font-style: normal;
  font-size: 18px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.tp .star {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc-hi);
  display: inline-block;
}

.tape.a .tp .star {
  background: #fff;
}

/* ---------- big lines ---------- */
.biglines {
  padding: 120px 0 80px;
}

.biglines p {
  margin: 0;
  font-size: 128px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .98;
}

.biglines p:nth-child(2) {
  padding-left: 120px;
}

.biglines p:nth-child(3) {
  padding-left: 240px;
}

.biglines .pillword {
  display: inline-block;
  background: var(--acc);
  color: #fff;
  border-radius: 999px;
  padding: 0 .35em .06em;
}

/* ---------- section head ---------- */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.shead h2 {
  font-size: 104px;
}

.shead .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- pinned horizontal week ---------- */
.hs {
  position: relative;
  height: calc(var(--vh) * 3.4);
  margin: 0 calc(-1 * (var(--rail) + 56px)) 0 -56px;
}

.hs-sticky {
  position: sticky;
  top: 0;
  height: var(--vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 calc(var(--rail) + 56px) 40px 56px;
}

.hs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.hs-head h2 {
  font-size: 96px;
}

.hs-steps {
  display: flex;
  gap: 8px;
}

.hs-steps i {
  width: 46px;
  height: 14px;
  border-radius: 999px;
  background: var(--line);
  transition: .3s;
}

.hs-steps i.on {
  background: var(--acc);
  width: 90px;
}

.hs-track {
  display: flex;
  gap: 28px;
  will-change: transform;
}

.hs-panel {
  flex: none;
  width: 820px;
  height: 500px;
  border-radius: 40px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 2px solid var(--line);
}

.hs-panel:nth-child(2) {
  background: var(--acc-soft);
  border-color: var(--acc-tint);
}

.hs-panel:nth-child(3) {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}

.hs-panel:nth-child(4) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.hs-panel .n {
  font-size: 22px;
  font-weight: 900;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
}

.hs-panel:nth-child(3) .n {
  background: #fff;
  color: var(--acc);
}

.hs-panel:nth-child(4) .n {
  background: var(--acc);
  color: #fff;
}

.hs-panel h3 {
  font-size: 92px;
  margin-top: auto;
}

.hs-panel p {
  font-size: 24px;
  max-width: 520px;
  margin: 18px 0 0;
  font-weight: 600;
  opacity: .85;
}

.hs-shape {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 50px solid currentColor;
  opacity: .08;
}

.hs-panel:nth-child(2) .hs-shape {
  border-radius: 90px;
  transform: rotate(20deg);
}

.hs-panel:nth-child(3) .hs-shape {
  border-radius: 999px;
  width: 520px;
  height: 180px;
  top: 40px;
  right: -140px;
}

.hs-panel:nth-child(4) .hs-shape {
  border: 0;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
}

/* ---------- categories ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  perspective: 1400px;
}

.catc {
  position: relative;
  height: 660px;
  border-radius: 40px;
  padding: 40px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
  transform-style: preserve-3d;
}

.catc.s {
  background: linear-gradient(160deg, var(--acc-hi), var(--acc));
}

.catc.p {
  background: linear-gradient(160deg, var(--acc), var(--acc-deep));
}

.catc.m {
  background: linear-gradient(160deg, var(--acc-deep), var(--acc-shadow));
}

.catc:hover {
  box-shadow: 0 40px 80px rgba(58, 18, 0, .35);
}

.catc .glyph {
  position: absolute;
  right: -20px;
  bottom: -110px;
  font-size: 520px;
  font-weight: 900;
  line-height: 1;
  opacity: .12;
  pointer-events: none;
}

.catc small {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}

.catc h3 {
  font-size: 76px;
  margin: 12px 0 14px;
}

.catc p {
  font-size: 21px;
  font-weight: 600;
  opacity: .85;
  margin: 0;
  max-width: 340px;
}

.catc .items {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.catc .it {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.catc .it b {
  font-weight: 900;
}

.catc .it span {
  opacity: .75;
}

/* ---------- reactive type ---------- */
.rtype {
  padding: 140px 0;
  text-align: center;
}

.rtype h2 {
  font-size: 220px;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .9;
  user-select: none;
}

.rtype h2 span {
  display: inline-block;
  transition: color .3s;
  will-change: transform;
}

.rtype h2 .hot {
  color: var(--acc);
}

.rtype p {
  font-size: 24px;
  color: var(--ink2);
  margin-top: 30px;
}

/* ---------- one score ---------- */
.score-cards .card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), border-color .2s;
}

.score-cards .card:hover {
  transform: translateY(-10px) rotate(-1deg);
  border-color: var(--acc);
}

.score-cards .ic {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: var(--acc);
  margin-bottom: auto;
  position: relative;
}

.score-cards .card:nth-child(2) .ic {
  border-radius: 50%;
  background: var(--acc-hi);
}

.score-cards .card:nth-child(3) .ic {
  border-radius: 999px;
  width: 110px;
  background: var(--acc-deep);
}

.score-cards .card:nth-child(4) .ic {
  background: var(--ink);
  border-radius: 22px 22px 22px 4px;
}

.score-cards h3 {
  font-size: 40px;
  margin: 30px 0 10px;
}

.score-cards p {
  margin: 0;
  color: var(--ink2);
  font-weight: 600;
}

/* ---------- closing CTA ---------- */
.closer {
  margin-top: 120px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 48px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.closer h2 {
  font-size: 128px;
}

.closer h2 .acc {
  color: var(--acc-hi);
}

.closer p {
  font-size: 24px;
  color: #bdb6a8;
  font-weight: 600;
}

.closer .cl-logo {
  display: grid;
  place-items: center;
  position: relative;
}

.closer .cl-logo::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 77, .5), rgba(255, 154, 77, 0) 65%);
}

.closer .cl-logo img {
  width: 480px;
  height: auto;
  position: relative;
  transition: transform .8s cubic-bezier(.2, .9, .3, 1.3);
}

/* ---------- live page ---------- */
.cdown {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.cdown .u {
  background: var(--ink);
  color: var(--bg);
  border-radius: 32px;
  padding: 22px 26px;
  min-width: 150px;
  text-align: center;
}

.cdown .u .v {
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
}

.cdown .u small {
  display: block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--mute);
  margin-top: 8px;
}

.cdown .u.acc {
  background: var(--acc);
}

.cdown .u.acc small {
  color: var(--acc-tint);
}

.tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tools .input {
  max-width: 420px;
  border-radius: 999px;
  height: 56px;
}

.seg {
  display: inline-flex;
  background: var(--bg2);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}

.seg button {
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink2);
  transition: .2s;
}

.seg button:hover {
  background: var(--ink);
  color: var(--bg);
}

.seg button.on {
  background: var(--acc);
  color: #fff;
}

.movers .mv {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--bg);
  margin-top: 10px;
  transition: .2s;
}

.movers .mv:hover {
  background: var(--ink);
  color: var(--bg);
}

.movers .mv b {
  flex: 1;
  font-weight: 900;
}

.join {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 44px;
  padding: 56px;
}

.join h2 {
  font-size: 96px;
}

.join form {
  display: grid;
  gap: 22px;
}

.joined {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.join.done form {
  display: none;
}

.join.done .joined {
  display: block;
}

.joined .tick {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--acc);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  animation: pop .6s cubic-bezier(.2, .9, .3, 1.5);
}

.joined .tick::after {
  content: '';
  width: 44px;
  height: 24px;
  border-left: 10px solid #fff;
  border-bottom: 10px solid #fff;
  border-radius: 4px;
  transform: rotate(-45deg) translate(4px, -4px);
}

@keyframes pop {
  from { transform: scale(.3); }
  to { transform: scale(1); }
}

.prize-split {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ---------- wallet page ---------- */
.w-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.w-head h1 {
  font-size: 128px;
}

.w-rank {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.w-rank b {
  font-size: 110px;
  font-weight: 900;
  line-height: .9;
  display: block;
}

.w-rank small {
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--acc-tint);
}

.curve {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 38px;
  padding: 34px;
}

.curve svg {
  height: 300px;
}

.curve .spark {
  height: 300px;
}

.rankh .spark {
  height: 160px;
}

.best {
  background: var(--acc);
  color: #fff;
  border-radius: 38px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.best .big {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  margin: 16px 0;
}

.best::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .12);
}

/* ---------- hall of fame ---------- */
.records .card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.records .card .v {
  font-size: 72px;
  font-weight: 900;
  margin-top: auto;
  line-height: 1;
}

.records .card:nth-child(1) {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
}

.records .card:nth-child(2) {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.trophies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trophy {
  border-radius: 36px;
  padding: 30px;
  background: var(--card);
  border: 2px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), border-color .2s;
}

.trophy:hover {
  transform: translateY(-10px) rotate(1deg);
  border-color: var(--acc);
}

.trophy img {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 190px;
  opacity: .9;
  transition: transform .8s;
}

.trophy:hover img {
  transform: rotate(180deg);
}

.trophy .wk {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--mute);
}

.trophy h3 {
  font-size: 34px;
  margin-top: auto;
}

.trophy .v {
  font-size: 46px;
  font-weight: 900;
  color: var(--acc);
  margin-top: 6px;
}

.trophy:first-child {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
}

.trophy:first-child .v {
  color: #fff;
}

.trophy:first-child .wk {
  color: var(--acc-tint);
}

/* ---------- verify ---------- */
.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 36px;
  padding: 30px;
}

.step .n {
  width: 96px;
  height: 96px;
  border-radius: 32px;
  background: var(--acc);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 900;
}

.step:nth-child(even) .n {
  background: var(--ink);
  border-radius: 50%;
}

.step h3 {
  font-size: 40px;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: var(--ink2);
  font-weight: 600;
}

.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-weight: 700;
}

.kv dt {
  color: var(--mute);
}

.kv dd {
  margin: 0;
}

/* 404 */
.nf {
  min-height: calc(var(--vh) - 100px);
  display: grid;
  place-items: center;
  text-align: center;
}

.nf h1 {
  font-size: 300px;
  color: var(--acc);
}

/* =====================================================================
   MOBILE (≤ 900px). Desktop is untouched above this line.
   ===================================================================== */
@media (max-width: 900px) {
  :root {
    --z: 1;
    --rail: 0px;
    --tick: 40px;
  }

  html, body {
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .main {
    padding: 0 16px calc(var(--tick) + 100px);
  }

  .section {
    padding: 64px 0;
  }

  /* header: brand top-left, pill cluster underneath */
  .brand {
    top: 16px;
    left: 16px;
    font-size: 34px;
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .cluster {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    gap: 8px;
  }

  .cluster .pill {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .cluster .x {
    width: 40px;
  }

  .cluster #connect {
    margin-left: auto;
  }

  /* nav: dark pill bar docked above the ticker */
  .rail {
    top: auto;
    left: 8px;
    right: 8px;
    bottom: calc(var(--tick) + 8px);
    width: auto;
    height: 62px;
    flex-direction: row;
    align-items: center;
    padding: 6px;
    gap: 6px;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rail::-webkit-scrollbar {
    display: none;
  }

  .rail-logo {
    display: none;
  }

  .tab {
    flex: none;
    min-height: 0;
    height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    flex-direction: row;
    align-items: center;
  }

  .tab small {
    display: none;
  }

  .tab span {
    font-size: 15px;
  }

  .tab:hover {
    transform: none;
  }

  .rail-live {
    order: -1;
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    border-radius: 999px;
  }

  .rail-live .cd {
    font-size: 16px;
    margin: 0;
  }

  .rail-live .wk {
    display: none;
  }

  .ticker {
    border-radius: 18px 18px 0 0;
  }

  .ticker .tag {
    padding: 0 12px;
    font-size: 12px;
  }

  .tk {
    font-size: 14px;
    padding: 0 16px;
  }

  .toast {
    bottom: calc(var(--tick) + 84px);
    max-width: calc(100vw - 32px);
    text-align: center;
  }

  /* touch: no custom cursor */
  .cur-dot, .cur-ring {
    display: none;
  }

  body, button {
    cursor: auto;
  }

  /* type scale */
  .h-xl { font-size: 72px; }
  .h-l { font-size: 56px; }
  .h-m { font-size: 44px; }
  .h-s { font-size: 28px; }
  .lead { font-size: 19px; }

  .pill.big {
    height: 54px;
    padding: 0 22px;
    font-size: 17px;
  }

  .shead {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .shead h2, .shead h2[style] {
    font-size: 48px !important;
  }

  .shead .meta {
    justify-content: flex-start;
  }

  .shead .input {
    max-width: none !important;
  }

  .grid2, .grid3, .grid4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    padding: 24px;
  }

  .stat {
    padding: 22px;
  }

  .stat .v {
    font-size: 42px;
  }

  .foot {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 20px;
    margin-top: 48px;
  }

  .foot .fw {
    font-size: 40px;
  }

  /* hero */
  .hero {
    margin: 0 -16px;
    padding: 150px 16px 48px;
    min-height: auto;
    border-radius: 0 0 36px 36px;
  }

  .hero h1 {
    font-size: 64px;
    margin: 18px 0 18px;
  }

  .hero .lead {
    font-size: 19px;
  }

  .hero-cta {
    flex-wrap: wrap;
    margin: 26px 0 28px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 10px;
  }

  .hstat {
    min-width: 0;
    padding: 16px 20px;
  }

  .hstat .v {
    font-size: 40px;
  }

  /* tapes */
  .tapes {
    margin: 0 -16px;
    height: 170px;
  }

  .tape {
    height: 58px;
  }

  .tape.a { top: 34px; }
  .tape.b { top: 80px; }

  .tp {
    font-size: 20px;
    padding: 0 16px;
  }

  /* big lines */
  .biglines {
    padding: 50px 0 30px;
  }

  .biglines p {
    font-size: 48px;
  }

  .biglines p:nth-child(2), .biglines p:nth-child(3) {
    padding-left: 0;
  }

  /* the pot */
  .fees {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 34px;
    gap: 24px;
  }

  .fees h2 {
    font-size: 56px;
  }

  .fees p {
    font-size: 18px;
  }

  .fee-flow .st {
    font-size: 16px;
    border-radius: 24px;
  }

  .fee-flow .st b {
    width: 38px;
    height: 38px;
  }

  .fee-pot .v {
    font-size: 54px;
  }

  /* leaderboard rows */
  .row-main {
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    padding: 12px 14px 12px 10px;
    min-height: 68px;
  }

  .row-main .dl, .row-main .sp, .row-main .roi {
    display: none;
  }

  .rk {
    width: 46px;
    height: 44px;
    border-radius: 16px;
    font-size: 20px;
  }

  .who b {
    font-size: 17px;
  }

  .who span {
    font-size: 12px;
  }

  .pnl {
    font-size: 19px;
  }

  .positions {
    padding: 2px 14px 16px;
  }

  .pos {
    font-size: 13px;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  /* how a round runs: plain vertical stack, no pinning */
  .hs {
    height: auto;
    margin: 0;
  }

  .hs-sticky {
    position: static;
    height: auto;
    padding: 56px 0 0;
    overflow: visible;
  }

  .hs-head {
    margin-bottom: 20px;
  }

  .hs-head h2 {
    font-size: 48px;
  }

  .hs-steps {
    display: none;
  }

  .hs-track {
    flex-direction: column;
    gap: 14px;
    transform: none !important;
  }

  .hs-panel {
    width: auto;
    height: auto;
    min-height: 280px;
    padding: 28px;
    border-radius: 32px;
  }

  .hs-panel h3 {
    font-size: 48px;
    margin-top: 60px;
  }

  .hs-panel p {
    font-size: 18px;
  }

  /* categories */
  .cats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catc {
    height: auto;
    min-height: 400px;
    padding: 28px;
    border-radius: 32px;
    transform: none !important;
  }

  .catc h3 {
    font-size: 52px;
  }

  .catc .glyph {
    font-size: 320px;
    bottom: -60px;
  }

  .catc .items {
    margin-top: 30px;
  }

  /* reactive type */
  .rtype {
    padding: 70px 0;
  }

  .rtype h2 {
    font-size: 64px;
  }

  .rtype p {
    font-size: 18px;
  }

  .score-cards .card {
    min-height: 0;
  }

  .score-cards h3 {
    font-size: 30px;
    margin-top: 24px;
  }

  /* closer */
  .closer {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    border-radius: 34px;
    margin-top: 64px;
  }

  .closer h2 {
    font-size: 52px;
  }

  .closer p {
    font-size: 18px;
  }

  .closer > div:first-child > div {
    flex-wrap: wrap;
  }

  .closer .cl-logo::before {
    width: 280px;
    height: 280px;
  }

  .closer .cl-logo img {
    width: 220px;
  }

  /* inner pages */
  .phead {
    padding: 130px 0 24px;
  }

  .phead h1, .phead h1[style] {
    font-size: 64px;
  }

  main > section[style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .cdown .u {
    flex: 1;
    min-width: 0;
    padding: 16px;
    border-radius: 24px;
  }

  .cdown .u .v {
    font-size: 60px;
  }

  .tools .input {
    max-width: none;
  }

  .seg {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }

  .seg button {
    flex: none;
  }

  .join {
    grid-template-columns: 1fr;
    padding: 26px;
    border-radius: 34px;
    gap: 24px;
  }

  .join h2 {
    font-size: 56px;
  }

  .join .field > div[style*="display:flex"] {
    flex-direction: column;
  }

  .input {
    height: 56px;
    font-size: 17px;
  }

  .check {
    align-items: flex-start;
    font-size: 15px;
  }

  /* tables scroll sideways instead of squashing */
  .tbl {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tbl td {
    padding: 12px;
  }

  /* wallet */
  .w-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .w-head h1 {
    font-size: 52px;
    word-break: break-word;
  }

  .w-rank {
    width: 150px;
    height: 150px;
    order: -1;
  }

  .w-rank b {
    font-size: 64px;
  }

  .curve {
    padding: 20px;
    border-radius: 28px;
  }

  .curve .spark {
    height: 200px;
  }

  .rankh .spark {
    height: 120px;
  }

  .best {
    padding: 26px;
    border-radius: 28px;
  }

  .best .big {
    font-size: 64px;
  }

  /* hall */
  .records .card .v {
    font-size: 52px;
  }

  .trophies {
    grid-template-columns: 1fr;
  }

  .trophy {
    min-height: 240px;
  }

  /* verify */
  .step {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 28px;
  }

  .step .n {
    width: 60px;
    height: 60px;
    font-size: 28px;
    border-radius: 20px;
  }

  .step h3 {
    font-size: 26px;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .kv dd {
    margin-bottom: 10px;
  }

  .nf h1 {
    font-size: 140px;
  }
}

/* ---------- hero legibility over the slime: dark highlights behind text ---------- */
.hero h1 .acc {
  background: var(--ink);
  padding: .02em .14em .06em;
  margin-left: -.14em;
  border-radius: .2em;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.hero .lead {
  display: inline-block;
  background: rgba(18, 18, 24, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  margin-left: -20px;
  border-radius: 22px;
  color: var(--bg);
}

.hero .eyebrow {
  background: rgba(18, 18, 24, .9);
  border: 2px solid rgba(255, 106, 26, .45);
  backdrop-filter: blur(8px);
}

.hero-pot {
  background: rgba(18, 18, 24, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-pot:hover {
  background: var(--ink);
  border-color: var(--acc);
}

@media (max-width: 900px) {
  .hero h1 .acc {
    margin-left: 0;
  }

  .hero .lead {
    margin-left: 0;
  }
}

/* ---------- "How a round runs": one screen, four panels side by side (no pinned scroll) ---------- */
.hs {
  height: auto;
  min-height: var(--vh);
  display: flex;
}

.hs-sticky {
  position: static;
  height: auto;
  flex: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hs-steps {
  display: none;
}

.hs-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 1;
  transform: none !important;
}

.hs-panel {
  width: auto;
  height: auto;
  min-height: calc(var(--vh) - 380px);
  padding: 36px;
}

.hs-panel h3 {
  font-size: 64px;
}

.hs-panel p {
  font-size: 20px;
}

.hs-shape {
  width: 240px;
  height: 240px;
  border-width: 36px;
}

@media (max-width: 900px) {
  .hs {
    min-height: 0;
    display: block;
  }

  .hs-sticky {
    padding: 56px 0 0;
  }

  .hs-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hs-panel {
    min-height: 260px;
    padding: 28px;
  }

  .hs-panel h3 {
    font-size: 48px;
  }
}

/* "How a round runs": cards sized to content */
.hs {
  min-height: 0;
  display: block;
}

.hs-sticky {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hs-track {
  flex: none;
  align-items: stretch;
}

.hs-panel {
  min-height: 0;
  height: auto;
}

.hs-panel h3 {
  margin-top: 90px;
}

@media (max-width: 900px) {
  .hs-panel h3 {
    margin-top: 60px;
  }
}

/* longer headline: keep each line on one row */
.hero h1 {
  font-size: 164px;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 54px;
  }
}
