:root {
  --background: #0e0f13;
  --foreground: #f5f7fa;
  --card: #17181d;
  --primary: #9b8cff;
  --primary-foreground: #0b0c10;
  --secondary: #202227;
  --secondary-foreground: #e6e8ef;
  --muted: #1f2126;
  --muted-foreground: #8a8f99;
  --accent: #ffe89b;
  --border: #2a2d31;
  --ring: #6b6ef9;
  --chart-3: #22c55e;
  --chart-4: #38bdf8;
}

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

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
}

.px {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .px { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.w-full { width: 100%; }
.max-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }

/* Header — full viewport, not boxed */
.header {
  width: 100%;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-logo {
  position: relative;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(52, 211, 153, 0.9), #10b981);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), inset 0 0 0 1px rgba(110, 231, 183, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #022c22;
  font-size: 15px;
  font-weight: 600;
}
.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .brand-name { font-size: 1rem; }
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.15s;
}
.btn-header {
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-header:hover { background: color-mix(in srgb, var(--primary) 90%, black); }
.btn-claim {
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  width: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.btn-claim:hover { background: color-mix(in srgb, var(--primary) 90%, black); }
@media (min-width: 640px) {
  .btn-claim-hero { width: auto; }
}

/* Main */
.main { flex: 1; padding-bottom: 1.5rem; }
.hero-wrap { padding: 2rem 0; }
@media (min-width: 640px) { .hero-wrap { padding: 2.5rem 0; } }
@media (min-width: 768px) { .hero-wrap { padding: 3rem 0; } }

.hero {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--secondary) 50%, transparent);
  padding: 1.25rem;
}
@media (min-width: 640px) { .hero { padding: 1.5rem; } }
@media (min-width: 768px) { .hero { padding: 2rem; } }

.hero-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-glow .blob {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  filter: blur(64px);
}
.hero-glow .b1 { top: -6rem; right: -6rem; background: color-mix(in srgb, var(--primary) 20%, transparent); }
.hero-glow .b2 { bottom: -6rem; left: -6rem; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.hero-glow .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--card) 60%, transparent), transparent);
}

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem; }

.hero-top { display: flex; align-items: flex-start; gap: 1rem; }
.t-box {
  position: relative;
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--border);
}
@media (min-width: 768px) {
  .t-box { height: 3.5rem; width: 3.5rem; }
}
.t-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--primary) 10%, transparent), transparent);
}
.t-core {
  position: relative;
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent);
  font-size: 0.875rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .t-core { height: 2.5rem; width: 2.5rem; font-size: 1rem; }
}

.hero h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
@media (min-width: 640px) { .hero h1 { font-size: 1.875rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 2.25rem; } }

.hero-meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--card);
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}
.badge svg { width: 14px; height: 14px; color: var(--chart-4); }
.meta-dot { width: 16px; height: 16px; color: color-mix(in srgb, var(--muted-foreground) 70%, transparent); }

.panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  padding: 1rem;
}
@media (min-width: 640px) { .panel { padding: 1.25rem; } }
@media (min-width: 768px) { .panel { padding: 1.5rem; } }

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }

.stat {
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 1rem;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--primary) 10%, transparent), transparent);
  pointer-events: none;
}
.stat-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.chip {
  border-radius: 0.375rem;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
}
.stat-val {
  position: relative;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
@media (min-width: 640px) { .stat-val { font-size: 1.25rem; } }
@media (min-width: 768px) { .stat-val { font-size: 1.5rem; } }

.prog-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.prog-h .muted { color: var(--muted-foreground); }
.bar {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--primary);
  transform: translateX(-58%);
}
.hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.claim-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
@media (min-width: 640px) {
  .claim-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}
.checks svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--chart-3);
}

.hero-spacer { height: 5rem; }
@media (min-width: 640px) { .hero-spacer { display: none; } }

.sticky {
  display: none;
}
@media (max-width: 639px) {
  .sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    background: color-mix(in srgb, var(--card) 95%, transparent);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  }
}

/* Info */
.info { padding-bottom: 3rem; }
@media (min-width: 640px) { .info { padding-bottom: 4rem; } }
@media (min-width: 768px) { .info { padding-bottom: 5rem; } }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kicker svg { width: 16px; height: 16px; opacity: 0.7; }

.info-head {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.info-head h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}
@media (min-width: 640px) { .info-head h2 { font-size: 1.5rem; } }
@media (min-width: 768px) { .info-head h2 { font-size: 1.875rem; } }
.info-head p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 42em;
}
@media (min-width: 640px) { .info-head p { font-size: 1rem; } }
.net {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 0.375rem;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

.stack { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stack { gap: 1.5rem; } }
@media (min-width: 768px) { .stack { gap: 2rem; } }

.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { gap: 1.5rem; } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.icard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  padding: 1.5rem 0;
}
.icard-h, .icard-b { padding: 0 1.5rem; }
.icard-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ico {
  border-radius: 0.5rem;
  background: var(--muted);
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
  padding: 0.5rem;
  display: flex;
}
.ico svg { width: 20px; height: 20px; }
.icard h3 { margin: 0; font-size: 1rem; font-weight: 600; }
@media (min-width: 640px) { .icard h3 { font-size: 1.125rem; } }
.icard-desc {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.icard ul, .icard ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
}
.icard li { display: flex; align-items: flex-start; gap: 0.75rem; }
.dot {
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 80%, transparent);
  flex-shrink: 0;
}
.dot.yellow { background: var(--accent); }
.n {
  margin-top: 2px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-t { margin: 0; font-weight: 500; }
.step-d { margin: 0; color: var(--muted-foreground); }

.phases {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase {
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--secondary) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  padding: 1rem;
}
.phase-h {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.phase-h svg { width: 16px; height: 16px; opacity: 0.8; }
.phase p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hr {
  height: 1px;
  margin: 1.5rem 0;
  background: color-mix(in srgb, var(--border) 60%, transparent);
  border: 0;
}

.sched-foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .sched-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.sched-foot p { margin: 0; font-size: 0.875rem; }
.sched-foot .muted { color: var(--muted-foreground); margin-top: 0.25rem; }
.pill {
  display: inline-flex;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 8px;
  white-space: nowrap;
}

.notes { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.notes div { display: flex; gap: 0.75rem; }
.notes dt { min-width: 96px; color: var(--muted-foreground); }
.notes dd { margin: 0; flex: 1; font-weight: 500; }

.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}
.faq summary:hover { text-decoration: underline; }
@media (min-width: 640px) { .faq summary { font-size: 1rem; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  width: 100%;
  background: var(--secondary);
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.footer-inner { padding: 2.5rem 0; }
@media (min-width: 640px) {
  .footer-inner { padding: 3rem 0; }
}
@media (max-width: 639px) {
  .footer-inner {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

.foot-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) { .foot-top { gap: 2rem; } }
@media (min-width: 768px) {
  .foot-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.foot-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.foot-mark {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent);
  font-weight: 700;
}
.foot-name { margin: 0; font-size: 1rem; font-weight: 600; color: var(--foreground); }
@media (min-width: 640px) { .foot-name { font-size: 1.125rem; } }
.foot-meta {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 60%, transparent);
  padding: 2px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
  white-space: nowrap;
}
.live {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--chart-3);
}

.socials { display: flex; align-items: center; gap: 0.25rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}
.socials a:hover {
  color: var(--foreground);
  background: color-mix(in srgb, var(--card) 55%, transparent);
}
.socials svg { width: 16px; height: 16px; }

.footer .hr { margin: 1.5rem 0; }

.foot-mid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .foot-mid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.foot-links a { text-decoration: none; border-radius: 0.25rem; }
.foot-links a:hover { color: var(--foreground); }

.support {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .support { text-align: right; }
  .support-label, .mail { margin-left: auto; }
}
.support-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.support-label svg { width: 16px; height: 16px; }
.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--card) 60%, transparent);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
}
.mail:hover { background: var(--card); }
.mail svg { width: 16px; height: 16px; }
.hours { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--muted-foreground); }

.foot-bot {
  margin-top: 2rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .foot-bot { flex-direction: row; align-items: center; }
}
.foot-bot p { margin: 0; max-width: 36rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
