:root {
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --panel: #ffffff;
  --ink: #0d1a2e;
  --ink-2: #3a4a66;
  --ink-3: #6b7a96;
  --ink-faint: #97a4bb;
  --line: #e5ebf6;
  --line-strong: #cad6ea;
  --base: #0052ff;
  --base-deep: #0043d1;
  --cyan: #22d3ee;
  --blue-tint: #eaf1ff;
  --green: #0aa65c;
  --red: #e5484d;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(13, 26, 46, 0.06);
  --shadow-lg: 0 24px 60px rgba(13, 26, 46, 0.12);
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --container: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--base);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--base);
  outline-offset: 2px;
}

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

.highlight {
  color: var(--base);
}

/* ---- boot loader ---- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.45s ease;
}

.boot-hide {
  opacity: 0;
  pointer-events: none;
}

.boot-x g rect {
  fill: var(--base);
  transform-box: fill-box;
  transform-origin: center;
}

.boot-row {
  animation: bootstep 0.22s ease both;
}

.boot-x g:nth-child(1) { animation-delay: 0.02s; }
.boot-x g:nth-child(2) { animation-delay: 0.12s; }
.boot-x g:nth-child(3) { animation-delay: 0.22s; }
.boot-x g:nth-child(4) { animation-delay: 0.32s; }
.boot-x g:nth-child(5) { animation-delay: 0.42s; }
.boot-x g:nth-child(6) { animation-delay: 0.52s; }
.boot-x g:nth-child(7) { animation-delay: 0.62s; }

@keyframes bootstep {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.boot-word {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.boot-word span {
  color: var(--base);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--base);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--base-deep);
  transform: translate(-1px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(13, 26, 46, 0.08);
}

.btn-ghost:hover {
  border-color: var(--base);
  color: var(--base);
  transform: translate(-1px, -2px);
  box-shadow: 6px 6px 0 rgba(13, 26, 46, 0.08);
}

.btn-light {
  background: #fff;
  color: var(--base);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-light:hover {
  background: var(--blue-tint);
  transform: translate(-1px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-1px, -2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: contain;
}

.brand-name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--base);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--base);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-x {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-x:hover {
  transform: translateY(-2px);
  box-shadow: 3px 5px 0 var(--ink);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-burger span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 18px 24px 26px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-menu.open {
  display: flex;
  animation: menu-slide 0.22s ease-out;
}

@keyframes menu-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu a:not(.btn) {
  color: var(--ink-3);
  font-weight: 600;
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid var(--line);
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 105px 0 90px;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/x-mark.svg");
  background-size: 56px 56px;
  opacity: 0.05;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.pill-live {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--base);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(0, 82, 255, 0);
  }
}

.pill-soft {
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--ink-3);
}

.hero-title {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--ink-2);
  font-size: 17.5px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--ink);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-ticks {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}

.tick {
  display: flex;
  flex-direction: column;
}

.tick-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.tick-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* hero stage / index board */
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.board {
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.board-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.board-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.board-index em {
  font-style: normal;
  color: var(--ink-3);
  font-size: 10.5px;
  margin-left: 4px;
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

.board-rows {
  display: flex;
  flex-direction: column;
}

.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
}

.board-row:last-child {
  border-bottom: none;
}

.coin-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  object-fit: contain;
}

.board-ticker {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}

.board-change {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.board-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.board-foot {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.board-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  top: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 82, 255, 0.07), transparent);
  animation: scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(400px);
    opacity: 0;
  }
  100% {
    transform: translateY(400px);
    opacity: 0;
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ---- rewards ---- */

/* ---- sections ---- */
.section {
  padding: 100px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--base);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--ink-2);
  font-size: 17px;
}

.rewards,
.tokenomics {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reward-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.reward-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.reward-track.anim {
  animation: ticker 40s linear infinite;
}

.reward-track.anim:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.reward-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: var(--radius);
  min-width: 226px;
}

.reward-card .coin-img {
  width: 36px;
  height: 36px;
}

.reward-ticker {
  font-family: var(--font-mono);
  font-weight: 700;
  flex: 1;
  font-size: 14.5px;
}

.reward-change {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.reward-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.reward-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ---- how ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 54px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--base);
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--blue-tint);
  border: 1px solid var(--line-strong);
  color: var(--base);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.step-title {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-text {
  color: var(--ink-2);
  font-size: 15px;
}

.flowbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
}

.flow-node {
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  box-shadow: 3px 3px 0 rgba(13, 26, 46, 0.6);
}

.flow-node:first-child {
  background: var(--base);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.flow-arrow {
  color: var(--ink-faint);
  font-size: 15px;
}

/* ---- tokenomics ---- */
.tomo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tomo-chart {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.tomo-bar {
  display: flex;
  width: 100%;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.seg {
  height: 100%;
  width: var(--w);
}

.seg-a { background: var(--base); }
.seg-b { background: var(--cyan); }
.seg-c { background: #9aa6bd; }
.seg-d { background: var(--green); }

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
}

.legend-row em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 700;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}

.tomo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tomo-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tomo-label {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.tomo-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
}

.tomo-addr {
  font-size: 13px;
  color: var(--base);
  word-break: break-all;
}

/* ---- cta ---- */
.cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  background: var(--base);
  color: #fff;
  border-radius: 18px;
  padding: 84px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-xtile {
  position: absolute;
  inset: 0;
  background-image: url("./assets/x-mark-light.svg");
  background-size: 56px 56px;
  opacity: 0.08;
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan);
}

.cta-title {
  position: relative;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.cta-sub {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 32px;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- faq ---- */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.faq-item summary:hover {
  color: var(--base);
}

.faq-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  padding: 0 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--base);
  background: var(--blue-tint);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] .faq-num {
  background: var(--base);
  color: #fff;
  border-color: var(--base);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--base);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-item:not([open]):hover {
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: var(--base);
}

.faq-item[open] summary {
  padding-bottom: 14px;
}

.faq-body {
  padding: 15px 24px 22px;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-2);
  font-size: 15px;
  animation: faq-open 0.25s ease-out;
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.faq-body em {
  color: var(--ink);
  font-style: normal;
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-tag {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
}

.footer-links-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.contract-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--base);
  background: var(--blue-tint);
  border: 1px dashed var(--line-strong);
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  word-break: break-all;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--base);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer {
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 720px;
}

.copy {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---- pop: stickers, stamps, swipes ---- */
.sticker {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(13, 26, 46, 0.85);
}

.tilt-l {
  transform: rotate(-3.5deg);
}

.tilt-r {
  transform: rotate(3.5deg);
}

.tilt-sm {
  transform: rotate(-1.8deg);
}

.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 7px;
  padding: 5px 10px;
}

.stamp-cyan {
  background: var(--cyan);
  color: var(--ink);
}

.stamp-blue {
  background: var(--base);
  color: #fff;
}

.stamp-ghost {
  background: #fff;
  color: var(--ink-3);
  border-color: var(--line-strong);
  box-shadow: none;
}

.coin-sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 9px 16px;
}

.coin-sticker:has(img) {
  padding: 6px 14px 6px 6px;
}

.coin-sticker img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  object-fit: contain;
}

.coin-sticker b {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hero-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--base) 0 16px, var(--cyan) 16px 32px);
  transform: rotate(-1.2deg) scale(1.06);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.scrawl {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.roulette {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--base);
  min-height: 2.2em;
  margin-bottom: 26px;
}

.roulette-mark {
  opacity: 0.55;
}

.roulette-line {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.roulette-line.out {
  opacity: 0;
  transform: translateY(-7px);
}

.spark-wrap {
  margin-top: 12px;
  padding: 6px 2px 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 12px, var(--line) 12px 13px);
  border-radius: 4px;
}

.spark-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.spark {
  display: block;
  width: 100%;
  height: 44px;
}

.spark-path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: spark-draw 1.6s cubic-bezier(0.6, 0, 0.3, 1) forwards;
  animation-delay: 1.1s;
}

.spark-dot {
  fill: var(--cyan);
  opacity: 0;
  animation: spark-dot 0.35s ease-out forwards;
  animation-delay: 2.7s;
}

@keyframes spark-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spark-dot {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spark-path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .spark-dot {
    opacity: 1;
    animation: none;
  }

  .roulette-line {
    transition: none;
  }
}

.swipe {
  position: relative;
  display: inline;
  white-space: normal;
}

.swipe::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22em;
  height: 0.34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12'%3E%3Cpath d='M3 8 C 62 1, 152 1, 217 7' fill='none' stroke='%2322d3ee' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.swipe.hi {
  color: var(--base);
}

.halftone-band {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-strong) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 24%);
  mask-image: linear-gradient(180deg, black, transparent 24%);
  pointer-events: none;
}

.rewards {
  position: relative;
}

.reward-note-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.reward-note-row .reward-note {
  margin-top: 0;
}

.step-foot {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.step.sticker:hover {
  transform: rotate(-1.8deg) translateY(-4px);
}

.tomo-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 48px;
}

.tomo-big {
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.tomo-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tomo-big-num {
  font-size: clamp(76px, 9vw, 132px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 12px 0 4px;
}

.tomo-big-num span {
  color: var(--base);
}

.tomo-big-num .count-up {
  color: inherit;
}

.tomo-big-label {
  font-size: 20px;
  font-weight: 600;
}

.stamp-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tomo-basket {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 12px;
}

.basket-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.basket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.basket-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.phase {
  position: relative;
}

.phase-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
}

.cta-panel {
  position: relative;
  background: var(--base);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 84px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-tape {
  position: absolute;
  left: -6%;
  right: -6%;
  top: 30px;
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--cyan) 14px 28px);
  transform: rotate(-2deg);
  opacity: 0.85;
  pointer-events: none;
}

.cta-stamp {
  position: absolute;
  top: 26px;
  left: 26px;
  background: #fff;
  color: var(--ink);
  pointer-events: none;
}

/* ---- micro-motion pass ---- */
.sticker,
.reward-card,
.board {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* ---- reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.steps .step.reveal:nth-child(1) { transition-delay: 0.06s; }
.steps .step.reveal:nth-child(2) { transition-delay: 0.14s; }
.steps .step.reveal:nth-child(3) { transition-delay: 0.22s; }
.tomo-cards .tomo-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.tomo-cards .tomo-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.tomo-cards .tomo-card.reveal:nth-child(3) { transition-delay: 0.19s; }
.tomo-cards .tomo-card.reveal:nth-child(4) { transition-delay: 0.26s; }

/* ---- board demo note ---- */
.board-note {
  display: block;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.board:hover {
  transform: translateY(-4px);
  box-shadow: 8px 14px 0 var(--ink);
}

.tomo-card.sticker:hover {
  transform: translateY(-3px) rotate(-1deg);
}

.step.sticker.reveal:hover,
.tomo-card.sticker.reveal:hover {
  transition: transform 0.18s ease;
}

.reward-card:hover {
  transform: translateY(-3px);
}

.cta-xtile {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cta-panel:hover .cta-xtile {
  transform: scale(1.07) rotate(1.6deg);
  opacity: 0.12;
}

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stage {
    min-height: 420px;
  }

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

@media (max-width: 820px) {
  .site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .steps,
  .tomo,
  .tomo-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 70px;
  }
}

@media (max-width: 560px) {
  .footer-grid,
  .tomo-cards {
    grid-template-columns: 1fr;
  }

  .hero-ticks {
    gap: 26px;
  }

  .cta-panel {
    padding: 64px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}