:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --bg: #030506;
  --bg-2: #07100f;
  --ink: #f5f7ef;
  --muted: #aab3ac;
  --soft: #d7dfd5;
  --line: rgba(245, 247, 239, 0.14);
  --panel: rgba(8, 14, 14, 0.82);
  --panel-strong: rgba(13, 22, 21, 0.94);
  --yellow: #f7ff2f;
  --yellow-2: #d9ad24;
  --teal: #00d4b1;
  --blue: #2b6fb7;
  --danger: #ff5f68;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --content-max: 1540px;
  --page-gutter: clamp(18px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 12%, rgba(247, 255, 47, 0.08), transparent 30%),
    radial-gradient(circle at 12% 58%, rgba(0, 212, 177, 0.08), transparent 28%),
    linear-gradient(180deg, #030506 0%, #07100f 42%, #030506 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 74%);
}

a {
  color: inherit;
}

button {
  min-height: 40px;
  border: 1px solid rgba(247, 255, 47, 0.4);
  border-radius: 6px;
  background: rgba(247, 255, 47, 0.08);
  color: var(--yellow);
  padding: 0 15px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

button:hover {
  border-color: var(--yellow);
  background: rgba(247, 255, 47, 0.16);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(245, 247, 239, 0.16);
  border-radius: 7px;
  background: rgba(2, 3, 3, 0.62);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

select {
  min-height: 48px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(247, 255, 47, 0.34);
  outline-offset: 2px;
  border-color: var(--yellow);
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(245, 247, 239, 0.1);
  background: rgba(3, 5, 6, 0.78);
  padding: 16px var(--page-gutter);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 11px;
  transform: rotate(45deg);
}

.brand-mark {
  line-height: 1;
}

.brand-mark span {
  transform: rotate(-45deg);
}

.brand-mark + span {
  font-size: 14px;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-header nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--soft);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:hover {
  border-color: rgba(247, 255, 47, 0.24);
  color: var(--yellow);
}

.site-header nav .nav-action {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #050604;
}

.site-header nav .nav-referral {
  border-color: rgba(0, 212, 177, 0.46);
  background: rgba(0, 212, 177, 0.1);
  color: var(--teal);
}

.site-header nav .nav-dashboard {
  border-color: rgba(43, 111, 183, 0.62);
  background: rgba(43, 111, 183, 0.16);
  color: #9cc8ff;
}

.language-switcher {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(245, 247, 239, 0.16);
  border-radius: 999px;
  background: rgba(2, 3, 3, 0.58);
  padding: 3px;
  transform: translateX(-50%);
}

.language-option {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none;
}

.language-option:hover,
.language-option.is-active {
  background: var(--yellow);
  color: #050604;
}

main {
  width: 100%;
  margin: 0;
}

.hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 52px var(--page-gutter) 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.94) 0%, rgba(3, 5, 6, 0.78) 34%, rgba(3, 5, 6, 0.08) 70%, rgba(3, 5, 6, 0.64) 100%),
    linear-gradient(180deg, rgba(3, 5, 6, 0.05), rgba(3, 5, 6, 0.62)),
    url("/assets/uat-trading-command-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: none;
}

.hero-copy {
  display: grid;
  gap: 20px;
  max-width: 720px;
}

.eyebrow {
  margin: 0;
  color: var(--yellow);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  display: grid;
  max-width: 780px;
  font-size: clamp(88px, 6.4vw, 128px);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1 span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 239, 0.9);
}

h2 {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  letter-spacing: 0;
}

.lead,
.section-copy {
  max-width: 740px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.primary-link,
.secondary-link,
.ghost-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link {
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #050604;
  box-shadow: 0 18px 44px rgba(247, 255, 47, 0.18);
}

.primary-link:hover {
  background: #ffff78;
}

.secondary-link {
  border: 1px solid rgba(245, 247, 239, 0.26);
  background: rgba(245, 247, 239, 0.07);
  color: var(--ink);
}

.secondary-link:hover,
.ghost-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.ghost-link {
  border: 1px solid transparent;
  color: var(--soft);
}

.notice-band {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 84px;
  border: 1px solid rgba(247, 255, 47, 0.34);
  border-radius: 8px;
  background: rgba(247, 255, 47, 0.08);
  color: var(--soft);
  padding: 16px 18px;
}

.notice-band strong {
  color: var(--yellow);
  white-space: nowrap;
}

.section {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 84px 0 0;
  scroll-margin-top: 98px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.model-showcase {
  display: grid;
  gap: 18px;
}

.model-panel,
.leaderboard-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.model-panel::before,
.leaderboard-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(247, 255, 47, 0.08), transparent 32%);
}

.model-panel.accent {
  border-color: rgba(247, 255, 47, 0.38);
  background:
    linear-gradient(145deg, rgba(247, 255, 47, 0.07), rgba(0, 212, 177, 0.04)),
    var(--panel-strong);
}

.model-panel.is-locked {
  border-color: rgba(245, 247, 239, 0.1);
  background: rgba(7, 11, 11, 0.72);
}

.model-panel.is-locked::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 32%);
}

.model-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.model-panel-head h3 {
  margin-top: 5px;
  font-size: 28px;
  text-transform: uppercase;
}

.open-badge,
.locked-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.open-badge {
  background: var(--yellow);
  color: #050604;
}

.locked-badge {
  border: 1px solid rgba(245, 247, 239, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.model-panel p {
  position: relative;
  color: var(--muted);
  line-height: 1.66;
}

.promo-callout {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid rgba(247, 255, 47, 0.5);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(247, 255, 47, 0.18), rgba(0, 212, 177, 0.06)),
    rgba(247, 255, 47, 0.07);
  padding: 13px 14px;
  box-shadow: 0 14px 36px rgba(247, 255, 47, 0.08);
}

.promo-callout span {
  color: var(--yellow);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-callout strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.reward-callout {
  max-width: 900px;
}

.challenge-builder {
  display: grid;
  gap: 12px;
}

.challenge-size-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.challenge-tabs {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 56px;
  border-bottom: 1px solid rgba(245, 247, 239, 0.16);
}

.challenge-tab {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: none;
}

.challenge-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.challenge-size {
  min-height: 64px;
  border-color: rgba(245, 247, 239, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.025)),
    rgba(3, 5, 6, 0.86);
  color: var(--soft);
  font-size: 21px;
  font-weight: 950;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.challenge-tab.is-active {
  color: var(--yellow);
}

.challenge-tab.is-active::after {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(247, 255, 47, 0.45);
}

.challenge-size.is-active {
  border-color: rgba(247, 255, 47, 0.55);
  color: var(--yellow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(247, 255, 47, 0.25);
}

.challenge-tab.is-locked,
.challenge-size.is-locked {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.8);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rules-panel,
.level-panel,
.checkout-bar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(4, 6, 6, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  padding: 24px;
}

.rules-panel,
.level-panel {
  min-height: 400px;
}

.rules-panel h3,
.level-panel h3 {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1.2;
}

.rules-panel dl,
.stage-rule-list {
  display: grid;
  gap: 8px;
  margin: 34px 0 0;
}

.rules-panel dl div,
.stage-rule-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.stage-rule-list .rule-with-note {
  row-gap: 4px;
}

.stage-rule-list .rule-with-note span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.rules-panel dt,
.stage-rule-list dt {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.rules-panel dd,
.stage-rule-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.level-panel {
  overflow: hidden;
}

.level-panel p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.level-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.level-table th,
.level-table td {
  padding: 6px 8px;
  text-align: left;
  font-size: 17px;
}

.level-table th {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.level-table td {
  color: var(--ink);
  font-weight: 850;
}

.checkout-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(220px, 0.9fr) auto;
  align-items: center;
  gap: 16px;
}

.checkout-bar div {
  display: grid;
  gap: 8px;
}

.checkout-bar span {
  color: var(--soft);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-bar strong {
  color: var(--yellow);
  font-size: 44px;
  line-height: 1;
}

.checkout-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--yellow);
  color: #050604;
  padding: 0 28px;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(247, 255, 47, 0.18);
}

.account-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.account-options.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  border: 1px solid rgba(245, 247, 239, 0.14);
  border-radius: 7px;
  background: rgba(245, 247, 239, 0.045);
  padding: 14px;
  text-decoration: none;
}

.account-card strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.account-card span {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
}

.account-card em {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.account-card.is-active {
  border-color: var(--yellow);
  background:
    linear-gradient(145deg, rgba(247, 255, 47, 0.18), rgba(0, 212, 177, 0.06)),
    rgba(245, 247, 239, 0.06);
  box-shadow: 0 16px 36px rgba(247, 255, 47, 0.08);
}

.account-card.is-active:hover {
  transform: translateY(-1px);
  border-color: #ffff78;
}

.account-card.is-active em {
  color: var(--yellow);
}

.account-card.is-locked {
  opacity: 0.46;
  filter: grayscale(0.6);
}

.phase-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.phase-card {
  border: 1px solid rgba(245, 247, 239, 0.1);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
}

.phase-card span {
  color: var(--yellow);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.phase-card strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.phase-card ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.signup-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.signup-row span {
  color: var(--muted);
  font-weight: 800;
}

.payment-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.form-message {
  min-height: 24px;
  color: var(--yellow);
  font-weight: 850;
  line-height: 1.55;
  white-space: pre-line;
}

.checkout-form [aria-invalid="true"] {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(247, 255, 47, 0.16);
}

.checkout-form input:disabled,
.checkout-form select:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.payment-total {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(247, 255, 47, 0.36);
  border-radius: 7px;
  background: rgba(247, 255, 47, 0.08);
  padding: 16px;
}

.payment-total span {
  color: var(--muted);
  font-weight: 850;
}

.payment-total strong {
  color: var(--yellow);
  font-size: 44px;
  line-height: 1;
}

.payment-due-note {
  color: var(--soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.payment-details {
  margin: 0;
}

.payment-details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
}

.payment-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.payment-steps {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.62;
}

.payment-steps li + li {
  margin-top: 7px;
}

.receive-addresses {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(247, 255, 47, 0.28);
  border-radius: 7px;
  background: rgba(247, 255, 47, 0.06);
  padding: 14px;
}

.receive-addresses > strong {
  color: var(--yellow);
  font-size: 13px;
  text-transform: uppercase;
}

.receive-addresses dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.receive-addresses div {
  display: grid;
  gap: 4px;
}

.receive-addresses dt {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
}

.receive-addresses dt strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.receive-addresses dt span {
  color: var(--muted);
  font-size: 12px;
}

.receive-addresses dd {
  min-width: 0;
  margin: 0;
}

.receive-addresses code {
  display: block;
  color: var(--ink);
  font: 13px/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.receive-addresses p {
  margin: 2px 0 0;
  border-top: 1px solid rgba(247, 255, 47, 0.2);
  color: var(--yellow);
  padding-top: 10px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.checkout-page .checkout-hero {
  padding-top: 72px;
}

.checkout-page h1 {
  display: block;
  max-width: none;
  margin-top: 10px;
  font-size: clamp(54px, 8vw, 118px);
  text-transform: none;
}

.checkout-page .checkout-hero .lead {
  margin-top: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 84px;
}

.checkout-form,
.crypto-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  padding: 22px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.checkout-form button.primary-link {
  border: 1px solid var(--yellow);
}

.checkout-warning {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(247, 255, 47, 0.28);
  border-radius: 7px;
  background: rgba(247, 255, 47, 0.07);
  padding: 14px;
}

.checkout-warning strong {
  color: var(--yellow);
}

.checkout-warning span {
  color: var(--soft);
  line-height: 1.55;
}

.crypto-summary {
  align-self: start;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(247, 255, 47, 0.08), rgba(0, 212, 177, 0.04)),
    var(--panel-strong);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 24px;
}

.table-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.table-header strong {
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--yellow);
  text-transform: uppercase;
}

.public-table-wrap {
  position: relative;
  overflow-x: auto;
}

.public-table {
  width: 100%;
  border-collapse: collapse;
}

.public-table th,
.public-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  white-space: nowrap;
}

.public-table th {
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 177, 0.3);
  background: rgba(0, 212, 177, 0.1);
  color: var(--teal);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.empty-state {
  position: relative;
  display: grid;
  gap: 7px;
  border: 1px dashed rgba(245, 247, 239, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 18px;
}

.empty-state strong {
  color: var(--ink);
}

.error-state {
  border-color: rgba(255, 95, 104, 0.56);
  background: rgba(255, 95, 104, 0.08);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.prize-grid span {
  min-height: 68px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 247, 239, 0.045);
  padding: 14px;
  font-weight: 900;
}

.prize-grid span:nth-child(-n + 3) {
  border-color: rgba(247, 255, 47, 0.36);
  color: var(--yellow);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rules-grid div {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 247, 239, 0.045);
  padding: 16px;
}

.rules-grid strong {
  color: var(--ink);
}

.rules-grid span,
.steps {
  color: var(--muted);
  line-height: 1.68;
}

.start-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: 24px;
  padding-bottom: 48px;
}

.steps {
  margin: 0;
  padding-left: 22px;
}

.steps li + li {
  margin-top: 9px;
}

.start-content {
  display: grid;
  gap: 16px;
}

.guide-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(247, 255, 47, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 255, 47, 0.12), transparent 46%),
    rgba(245, 247, 239, 0.05);
  color: var(--ink);
  padding: 17px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.guide-card span {
  color: var(--yellow);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card strong {
  font-size: 17px;
}

.guide-card:hover {
  border-color: var(--yellow);
}

.referral-section {
  padding-top: 36px;
  padding-bottom: 48px;
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.referral-tile {
  display: grid;
  gap: 10px;
  min-height: 190px;
  border: 1px solid rgba(0, 212, 177, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 212, 177, 0.1), rgba(247, 255, 47, 0.045)),
    rgba(245, 247, 239, 0.045);
  padding: 18px;
}

.referral-tile span {
  color: var(--teal);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.referral-tile strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.referral-tile p {
  color: var(--muted);
  line-height: 1.62;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: #020303;
  color: var(--muted);
  padding: 24px var(--page-gutter);
}

.footer-copy {
  display: grid;
  gap: 5px;
}

.footer-copy strong {
  color: var(--ink);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  border: 1px solid rgba(245, 247, 239, 0.12);
  border-radius: 6px;
  color: var(--soft);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  border-color: rgba(247, 255, 47, 0.36);
  color: var(--yellow);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .hero,
  .challenge-grid,
  .level-panel,
  .checkout-bar,
  .checkout-layout,
  .split-section,
  .start-section,
  .referral-grid,
  .account-options,
  .account-options.compact,
  .phase-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero::before {
    inset: 0;
    opacity: 0.75;
  }

  .hero::after {
    font-size: 112px;
  }

  h1 {
    font-size: 78px;
  }

  .prize-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-bar {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  main {
    width: 100%;
  }

  .site-header {
    padding: 12px;
    gap: 10px;
  }

  .language-switcher {
    position: static;
    transform: none;
  }

  .site-header nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .brand-mark + span {
    font-size: 12px;
  }

  .site-header nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .hero {
    display: block;
    min-height: calc(100svh - 118px);
    padding: 46px 12px 38px;
  }

  .hero::after {
    font-size: 72px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .section-copy {
    font-size: 15px;
  }

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

  .challenge-size-row,
  .checkout-bar {
    grid-template-columns: 1fr;
  }

  .challenge-tabs {
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .challenge-tabs::-webkit-scrollbar {
    display: none;
  }

  .challenge-tab {
    flex: 0 0 auto;
    min-height: 42px;
    font-size: 20px;
  }

  .challenge-size {
    min-height: 58px;
    font-size: 19px;
  }

  .rules-panel,
  .level-panel,
  .checkout-bar {
    padding: 18px;
  }

  .rules-panel h3,
  .level-panel h3 {
    font-size: 24px;
  }

  .rules-panel dt,
  .rules-panel dd,
  .stage-rule-list dt,
  .stage-rule-list dd,
  .level-table th,
  .level-table td {
    font-size: 15px;
  }

  .checkout-bar strong {
    font-size: 34px;
  }

  .notice-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  dl div {
    grid-template-columns: 1fr;
  }

  .rules-grid div,
  .referral-tile,
  .prize-grid span {
    min-height: auto;
  }
}
