:root {
  --night: #131110;
  --panel: #1d1a17;
  --panel-alt: #191613;
  --ink: #f3ede4;
  --muted: #b3a897;
  --amber: #e08a3c;
  --amber-dark: #c4742a;
  --cream: #faf3e7;
  --line: #322c26;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--night);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: var(--amber); }
.accent { color: var(--amber); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.6rem 1.25rem;
  background: rgba(19, 17, 16, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand img {
  height: 46px; width: auto; display: block;
  background: var(--cream); border-radius: 10px; padding: 4px 8px;
}
.site-header nav { display: flex; align-items: center; gap: 1.05rem; }
.site-header nav a { text-decoration: none; color: var(--ink); font-size: 0.94rem; }
.site-header nav a:hover { color: var(--amber); }
.site-header nav a.nav-cta {
  background: var(--amber); color: #1c130a;
  padding: 0.45rem 0.95rem; border-radius: 999px; font-weight: 600;
}
.site-header nav a.nav-cta:hover { background: var(--amber-dark); color: #fff; }
@media (max-width: 760px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 1.25rem 3.5rem;
  max-width: 800px; margin: 0 auto;
}
.hero-logo {
  width: min(300px, 72vw); height: auto;
  background: var(--cream); border-radius: 20px;
  padding: 14px 18px; margin-bottom: 1.8rem;
}
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 4rem); font-weight: 900; margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.13rem; color: var(--muted); max-width: 640px; margin: 0 auto 1.9rem; }
.hero-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

.button {
  display: inline-block;
  background: var(--amber); color: #1c130a; text-decoration: none;
  font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.6rem; border: none; border-radius: 999px; cursor: pointer;
}
.button:hover { background: var(--amber-dark); color: #fff; }
.button.ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
}
.button.ghost:hover { border-color: var(--amber); color: var(--amber); background: transparent; }

/* Sections */
.section { max-width: 1060px; margin: 0 auto; padding: 3.25rem 1.25rem; }
.section.alt {
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-top: 0.5rem; margin-bottom: 0.5rem;
  padding-left: 2rem; padding-right: 2rem;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 600; color: var(--amber);
  text-align: center; margin-bottom: 0.8rem;
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800;
  text-align: center; margin-bottom: 1.1rem;
}
.section-lede { max-width: 700px; margin: 0 auto 1.4rem; text-align: center; color: var(--muted); }

.grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card.slim { padding: 1.2rem; }
.phase-tag {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  margin-bottom: 0.6rem;
}
.phase-tag.live { color: var(--amber); }

.claim-strip {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  margin-top: 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
}
.claim-strip p { color: var(--muted); }
.claim-strip strong { color: var(--ink); }

.rules {
  max-width: 640px; margin: 1.2rem auto 0;
  list-style: none;
}
.rules li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.rules li:last-child { border-bottom: none; }
.rules strong { color: var(--ink); }

/* Founding form */
.founding { text-align: center; }
.join-form {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  justify-content: center; align-items: center;
  max-width: 560px; margin: 0 auto;
}
.join-form input {
  flex: 1 1 260px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--panel); color: var(--ink);
}
.join-form input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.form-status { flex-basis: 100%; min-height: 1.4em; color: var(--amber); font-weight: 500; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); }
.footer-small { font-size: 0.88rem; margin-top: 0.5rem; }
