:root {
  --bg: #090a0c;
  --surface: #101216;
  --surface-2: #14161b;
  --border: #23262d;
  --border-soft: #1a1d22;
  --text: #ecebe7;
  --muted: #98a0ab;
  --gold: #c29b5e;
  --gold-bright: #e5c158;
  --gold-deep: #d4af37;
  --mint: #35c48a;
  --danger: #e06a6a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(194, 155, 94, 0.14), transparent 60%),
    linear-gradient(180deg, #0a0b0e 0%, var(--bg) 40%, #08090b 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--mono);
}

.banner {
  position: relative;
  z-index: 3;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(224, 106, 106, 0.14), rgba(224, 106, 106, 0.05));
  border-bottom: 1px solid rgba(224, 106, 106, 0.35);
  color: #f2c9c9;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(9, 10, 12, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gold-bright);
  border: 1px solid rgba(194, 155, 94, 0.45);
  border-radius: 8px;
  background: rgba(194, 155, 94, 0.06);
}

.mark svg {
  width: 20px;
  height: 20px;
}

.links {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.links a:hover {
  color: var(--gold-bright);
}

.cta {
  margin-left: auto;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2a1d0b;
  background: linear-gradient(180deg, #efd8ab, #e1c28c 55%, #c29b5e);
  box-shadow: 0 8px 24px rgba(194, 155, 94, 0.18);
}

.page-head {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 32px 8px;
  text-align: center;
}

/* Hero: reference-style stage with the animated hook canvas behind the copy. */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 92vh;
  overflow: hidden;
  padding: 64px 32px 48px;
}

#hook-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#dust {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(36px, 4.05vw, 58px);
  line-height: 1.04;
}

.hero .lede {
  margin-left: 0;
  margin-right: 0;
}

.hero .hero-card {
  max-width: 660px;
  margin: 32px 0 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0), var(--bg));
  pointer-events: none;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 22, 27, 0.7);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.8);
}

.hero h1,
.page-head h1 {
  margin: 24px 0 0;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-head h1 {
  font-size: clamp(32px, 4vw, 50px);
}

.gold {
  color: var(--gold-bright);
}

.lede {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-card {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 22px 24px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.95), rgba(13, 15, 18, 0.95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(194, 155, 94, 0.4);
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-row.compact {
  gap: 10px;
}

.address {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #0b0c0f;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.copy {
  flex: none;
  padding: 11px 16px;
  border: 1px solid rgba(194, 155, 94, 0.5);
  border-radius: 10px;
  background: rgba(194, 155, 94, 0.08);
  color: var(--gold-bright);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.copy:hover {
  background: rgba(194, 155, 94, 0.16);
  border-color: var(--gold);
}

.copy:active {
  transform: translateY(1px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.meta a {
  color: var(--gold-bright);
}

.sep {
  opacity: 0.4;
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px;
  scroll-margin-top: 78px;
}

.section.tight {
  padding-top: 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.95), rgba(12, 13, 16, 0.95));
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.tag {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.deployed {
  border-color: rgba(53, 196, 138, 0.4);
  color: var(--mint);
}

.tag.reserved {
  border-color: rgba(194, 155, 94, 0.45);
  color: var(--gold-bright);
}

.card-sub {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.card-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.reservation-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px dashed rgba(224, 106, 106, 0.4);
  border-radius: 10px;
  background: rgba(224, 106, 106, 0.05);
  color: #e7b7b7;
  font-family: var(--mono);
  font-size: 12px;
}

.token-card {
  max-width: 720px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(14, 16, 19, 0.8);
}

.checks li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}

.checks li:last-child {
  border-bottom: 0;
}

.checks .mark-ok {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(53, 196, 138, 0.7);
}

.checks .mark-fail {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.checks .detail {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: right;
  word-break: break-all;
}

.verify-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.table-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
  background: rgba(14, 16, 19, 0.8);
}

.members-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.members-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.members-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.members-table tr:last-child td {
  border-bottom: 0;
}

.members-table .addr {
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}

.members-table .copy {
  padding: 7px 12px;
  font-size: 11.5px;
}

.muted {
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(14, 16, 19, 0.7);
}

.steps .num {
  flex: none;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  padding: 36px 32px 48px;
  border-top: 1px solid var(--border-soft);
  background: rgba(8, 9, 11, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand-line {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.disclaimer {
  max-width: 1120px;
  margin: 28px auto 0;
  color: #6d747e;
  font-size: 12px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 5;
  padding: 10px 16px;
  border: 1px solid rgba(194, 155, 94, 0.5);
  border-radius: 10px;
  background: #14161b;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 820px) {
  .nav {
    gap: 16px;
    padding: 0 18px;
  }

  .links {
    display: none;
  }

  .hero,
  .page-head,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 64px;
    min-height: 86vh;
  }

  #hook-canvas {
    opacity: 0.55;
  }

  .hero-copy,
  .hero .hero-card {
    max-width: 100%;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .address-row {
    flex-direction: column;
    align-items: stretch;
  }

  .copy {
    width: 100%;
  }
}
