:root {
  --ink: #fff4e2;
  --ink-2: rgba(255, 238, 212, 0.74);
  --ink-3: rgba(255, 230, 196, 0.5);
  --ink-4: rgba(255, 226, 190, 0.3);
  --honey: #ffb21a;
  --honey-2: #ffd36a;
  --honey-3: #ffe9b0;
  --glass: rgba(20, 13, 6, 0.56);
  --line: rgba(255, 200, 120, 0.13);
  --line-2: rgba(255, 200, 120, 0.22);
  --hi: rgba(255, 255, 255, 0.06);
  --r: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.25);
  --display: 'Unbounded', system-ui, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --acc: #ffe08a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: #0d0904;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum' 1, 'cv11' 1;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 72% 42%, rgba(120, 68, 8, 0.45), transparent 62%),
    radial-gradient(700px 480px at 18% 80%, rgba(70, 32, 6, 0.4), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='124' viewBox='0 0 72 124'><g fill='none' stroke='%23ffc878' stroke-opacity='0.22' stroke-width='1'><path d='M36 2 L66 19 V53 L36 70 L6 53 V19 Z'/><path d='M36 70 L66 87 V121 L36 138 L6 121 V87 Z'/><path d='M6 36 L36 53 V87 L6 104 L-24 87 V53 Z'/><path d='M66 36 L96 53 V87 L66 104 L36 87 V53 Z'/></g></svg>");
  background-size: auto, auto, 72px 124px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 78%);
}
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid rgba(255, 178, 26, 0.85); outline-offset: 3px; }
::selection { background: rgba(255, 178, 26, 0.35); }

#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 18px;
  padding: 16px 16px 20px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow), inset 0 1px 0 var(--hi);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255, 178, 26, 0.45));
}
.brand-word {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2em;
  background: linear-gradient(180deg, #fff3d6 10%, #ffc444 60%, #e58a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255, 178, 26, 0.14);
  color: var(--honey-2);
  border: 1px solid rgba(255, 178, 26, 0.28);
}
.nav .btn { margin-left: auto; }

.btn {
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 13px;
  color: #1a1206;
  background: linear-gradient(180deg, #ffd36a, #ffab1a);
  box-shadow: 0 4px 16px rgba(255, 170, 30, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s var(--ease), filter 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: default; filter: none; transform: none; }
.btn.lg {
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
}
.btn.connected {
  color: var(--honey-2);
  background: rgba(255, 178, 26, 0.1);
  border: 1px solid rgba(255, 178, 26, 0.35);
  box-shadow: none;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.btn.lg.connected {
  font-family: var(--ui);
  font-size: 15px;
  color: #1a1206;
  background: linear-gradient(180deg, #ffd36a, #ffab1a);
  border: 0;
  box-shadow: 0 4px 16px rgba(255, 170, 30, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 8px 28px 0 18px;
}
.hero-copy { max-width: 520px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 3px rgba(255, 178, 26, 0.18);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
h1 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff7df 15%, #ffc444 55%, #e0700a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 16px 0 0;
  max-width: 440px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.status {
  margin: 0;
  color: var(--honey-2);
  font-weight: 600;
  font-size: 13.5px;
}
.fine { margin: 14px 0 0; color: var(--ink-3); font-size: 12.5px; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.hero-art img {
  position: relative;
  width: min(520px, 100%);
  height: auto;
  animation: float 5.6s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  user-select: none;
}
.halo {
  position: absolute;
  width: min(460px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--acc), transparent 68%);
  opacity: 0.45;
  filter: blur(8px);
}
@keyframes float {
  50% { transform: translateY(-12px); }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tier {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 14px 8px 8px;
  min-width: 0;
}
.tier img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.tier b {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tier span {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ink-2);
  background: rgba(20, 13, 6, 0.56);
  border: 1px solid var(--line);
}
.ca:hover { color: var(--ink); background: rgba(255, 220, 160, 0.08); }
.ca .k {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.mono { font-family: var(--mono); font-size: 12.5px; }
.ca svg { width: 14px; height: 14px; color: var(--ink-3); }
.text-link {
  margin-left: 8px;
  color: var(--honey-2);
  font-weight: 700;
  font-size: 13px;
}
.text-link:hover { color: var(--honey-3); }
.icon-btn {
  margin-left: auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink-2);
  background: rgba(20, 13, 6, 0.56);
  border: 1px solid var(--line);
}
.icon-btn:hover { color: var(--ink); background: rgba(255, 220, 160, 0.08); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(16, 10, 5, 0.92);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.toast.show { animation: toast 2.3s var(--ease) forwards; }
@keyframes toast {
  0% { opacity: 0; transform: translate(-50%, 8px); }
  12%, 78% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 8px 8px 0;
    text-align: center;
  }
  .hero-copy { margin-inline: auto; }
  .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-art { order: -1; min-height: 240px; }
  .hero-art img { width: min(380px, 88vw); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .brand-word { letter-spacing: 0.14em; font-size: 15px; }
}

@media (max-width: 640px) {
  .page { padding: 10px; gap: 12px; }
  .chip { display: none; }
  h1 { font-size: 38px; }
  .tier { grid-template-columns: 56px 1fr; padding-right: 10px; }
  .tier img { width: 56px; height: 56px; }
  .bar { flex-wrap: wrap; }
  .icon-btn { margin-left: 0; }
  .text-link { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
