:root {
  --bg: #f6f5f2;
  --bg-muted: #eeede9;
  --surface: #ffffff;
  --text: #141416;
  --text-secondary: #45454f;
  --muted: #6b6b76;
  --line: rgba(20, 20, 22, 0.1);
  --graphite: #141416;
  --graphite-soft: #232328;
  --teal: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.1);
  --cyan: #0891b2;
  --cyan-soft: rgba(8, 145, 178, 0.08);
  --lime: #b8e600;
  --lime-dark: #9bc400;
  --container: min(100% - 2rem, 72rem);
  --narrow: min(100% - 2rem, 44rem);
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --radius: 0.625rem;
  --radius-lg: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(rgba(20, 20, 22, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 22, 0.025) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
}

h2 {
  margin-bottom: 0.875rem;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
}

h3 {
  margin-bottom: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--graphite);
  background: var(--lime);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--graphite);
  border-bottom: 2px solid var(--teal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  min-height: 3.5rem;
  margin-inline: auto;
  padding-block: 0.5rem;
}

.brand img {
  width: auto;
  height: 1.875rem;
}

.nav-toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  color: #fff;
  background: var(--graphite-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.125rem;
}

.primary-nav a {
  padding: 0.375rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--lime);
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
}

.header-badge strong {
  padding: 0.125rem 0.375rem;
  color: var(--graphite);
  background: var(--lime);
  border-radius: 0.25rem;
}

/* Hero */
.hero {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-lead {
  max-width: 48ch;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  color: var(--graphite);
  background: var(--lime);
  border: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lime-dark);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

/* Hero transaction visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-scene {
  position: relative;
  width: 100%;
  max-width: 22.5rem;
  min-height: 17.5rem;
  margin-inline: auto;
  padding: 0.5rem 0 0;
  transform: scale(1.09);
  transform-origin: center center;
}

.tx-core {
  position: relative;
  z-index: 2;
  width: fit-content;
  min-width: 10.5rem;
  margin: 2.25rem auto 1.125rem;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 20, 22, 0.07);
  border-radius: 0.875rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(20, 20, 22, 0.07);
  backdrop-filter: blur(6px);
}

.tx-core-label {
  margin: 0 0 0.375rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--graphite);
}

.tx-core-currency {
  margin: 0 0 0.625rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tx-core-currency span {
  display: block;
  margin-top: 0.125rem;
  color: var(--teal);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tx-core-status {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(20, 20, 22, 0.06);
}

.tx-core-status-label {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tx-core-status-value {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.tx-float {
  position: absolute;
  z-index: 3;
  padding: 0.3125rem 0.5625rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 20, 22, 0.06);
}

.tx-float--mp {
  top: 0.25rem;
  left: 0;
  transform: rotate(-2deg);
}

.tx-float--ob {
  top: 1.75rem;
  right: -0.125rem;
  transform: rotate(1.5deg);
}

.tx-float--ap {
  bottom: 5.75rem;
  left: -0.375rem;
  transform: rotate(-1.5deg);
}

.tx-float--crypto {
  bottom: 6.75rem;
  right: -0.25rem;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(13, 148, 136, 0.18);
  transform: rotate(1deg);
}

.tx-path {
  position: relative;
  z-index: 1;
  margin-bottom: 0.625rem;
}

.tx-path-line {
  position: absolute;
  top: 0.4375rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(13, 148, 136, 0.2) 55%, var(--line));
  pointer-events: none;
}

.tx-path-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx-path-steps li {
  position: relative;
  flex: 1;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.5625rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.tx-path-steps li::before {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transform: translateX(-50%);
}

.tx-path-steps li.is-done {
  color: var(--teal);
}

.tx-path-steps li.is-done::before {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.tx-path-steps li.is-active {
  color: var(--text);
  font-weight: 700;
}

.tx-path-steps li.is-active::before {
  background: var(--lime);
  border-color: var(--graphite);
  box-shadow: 0 0 0 3px rgba(184, 230, 0, 0.22);
}

.tx-path-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 0;
  right: -0.5rem;
  color: rgba(13, 148, 136, 0.45);
  font-size: 0.5rem;
  font-weight: 700;
}

.tx-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.5625rem;
  line-height: 1.4;
  text-align: center;
  opacity: 0.85;
}

.status-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* Access strip */
.access-strip {
  padding: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

.access-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(0.875rem, 2vw, 1.125rem) clamp(1.125rem, 2.5vw, 1.5rem);
  color: #fff;
  background: var(--graphite);
  border-radius: var(--radius-lg);
}

.access-eyebrow {
  margin-bottom: 0.25rem;
  color: var(--lime);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.access-copy {
  flex: 1 1 16rem;
  max-width: 36rem;
}

.access-copy h2 {
  max-width: 24ch;
  margin-bottom: 0.375rem;
  color: #fff;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  line-height: 1.2;
}

.access-copy > p:not(.access-disclosure) {
  max-width: 42ch;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  line-height: 1.45;
}

.access-disclosure {
  max-width: 32.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6875rem;
  line-height: 1.45;
}

.access-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  flex-shrink: 0;
}

.access-btn,
.access-action .maxwin-referral-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 9.75rem;
  height: 3.125rem;
  padding: 0 1.75rem;
  color: var(--graphite);
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 0.6875rem;
  cursor: pointer;
}

.access-btn.is-inactive,
.access-action .maxwin-referral-btn.is-inactive {
  cursor: not-allowed;
}

a.access-btn:not(.is-inactive):hover,
a.access-action .maxwin-referral-btn:not(.is-inactive):hover {
  background: var(--lime-dark);
}

.access-age {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6875rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-inner {
  width: var(--container);
  margin-inline: auto;
}

.section-inner.narrow {
  width: var(--narrow);
}

.section-lead {
  max-width: 58ch;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.section-inner.narrow p {
  color: var(--text-secondary);
}

.section-inner.narrow p + p {
  margin-top: 1rem;
}

/* Process track */
.process-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}

.process-track li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1rem 0 1rem 1.25rem;
  position: relative;
}

.process-track li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.375rem;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.process-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
}

.process-track p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .process-track {
    flex-direction: row;
    border-left: none;
    border-top: 2px solid var(--line);
    gap: 0;
  }

  .process-track li {
    flex: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    padding: 1.25rem 0.75rem 0;
    text-align: center;
    border-left: none;
  }

  .process-track li::before {
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
  }

  .process-num {
    display: block;
    margin-bottom: 0.375rem;
  }
}

/* Payment block */
.payment-block {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .payment-block {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.payment-label {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.method-chip {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.stat-min {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--graphite);
  color: #fff;
  border-radius: var(--radius);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
}

.payment-crypto h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.payment-crypto > p {
  max-width: 52ch;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.stable-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}

.crypto-chip {
  padding: 0.375rem 0.625rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 700;
}

.crypto-chip.is-primary {
  background: var(--teal-soft);
  border-color: rgba(13, 148, 136, 0.25);
  color: var(--teal);
}

.network-tag {
  padding: 0.25rem 0.5rem;
  color: var(--muted);
  background: var(--bg);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 999px;
}

.asset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 1rem 0;
}

.asset-chip {
  padding: 0.3125rem 0.5625rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.crypto-note {
  padding: 0.875rem 1rem;
  background: var(--cyan-soft);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.crypto-note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
}

.crypto-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

/* Status flow */
.status-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.status-step {
  padding: 0.375rem 0.75rem;
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.status-arrow {
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Check lists */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.625rem 0 0.625rem 1.5rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9375rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--teal);
  border-radius: 50%;
}

.check-list.numbered {
  counter-reset: item;
}

.check-list.numbered li {
  padding-left: 2rem;
}

.check-list.numbered li::before {
  content: counter(item);
  counter-increment: item;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  top: 0.6875rem;
  color: #fff;
  background: var(--graphite);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 50%;
}

/* Summary CTA */
.summary-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.summary-cta .access-disclosure {
  color: var(--muted);
}

.summary-cta .btn-primary {
  margin-top: 0.5rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 0.5rem;
}

.faq-grid details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-grid summary {
  padding: 1rem 1.125rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-answer {
  padding: 0 1.125rem 1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  padding: clamp(2rem, 5vw, 2.5rem) 0;
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-age strong {
  display: inline-block;
  margin-bottom: 0.375rem;
  padding: 0.125rem 0.375rem;
  color: var(--graphite);
  background: var(--lime);
  font-size: 0.8125rem;
  border-radius: 0.25rem;
}

.footer-age p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
  text-decoration: none;
}

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

.footer-note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--graphite-soft);
    border-bottom: 2px solid var(--teal);
  }

  .site-header.is-open .primary-nav {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .header-badge {
    order: -1;
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .access-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .access-action {
    width: 100%;
  }

  .access-btn,
  .access-action .maxwin-referral-btn {
    width: 100%;
  }

  .tx-float--ob {
    right: 0;
  }

  .tx-float--ap {
    left: 0;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .status-flow {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .status-dot {
    animation: none;
  }
}
