/* =========================================================
   Gold Monster Mining Network — single-theme dark design
   Brand pass: warm charcoal ground, metallic gold + steel
   silver secondary, thin gold double-rule frames (per the
   Gold Monster poster system).
   ========================================================= */

:root {
  --ink: #0f0d09;            /* page ground */
  --surface: #17140e;        /* raised panels */
  --surface-2: #1f1a12;      /* higher panels */
  --line: #35301f;           /* hairlines */
  --text: #ece5d3;           /* body text */
  --text-dim: #b3a98e;       /* secondary text */
  --gold: #e0a63c;           /* core accent */
  --gold-hi: #f0c869;        /* metallic highlight */
  --gold-bright: #f2c063;
  --gold-lo: #a8741f;        /* metallic shade */
  --gold-dim: #6b5322;
  --silver: #aeb3bc;         /* secondary metallic */
  --silver-hi: #e4e7ec;
  --silver-dim: #565b64;
  --success: #7dc98a;        /* form confirmation only */
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1100px;
  --grad-gold: linear-gradient(180deg, var(--gold-hi), var(--gold) 48%, var(--gold-lo));
  --grad-silver: linear-gradient(180deg, var(--silver-hi), var(--silver) 55%, #787d87);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 640px; }

/* ---------- typography ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-sub { color: var(--text-dim); max-width: 52ch; margin-bottom: 2.5rem; }

a { color: var(--gold-bright); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- metallic wordmark ---------- */

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wm-gold, .wm-silver { display: inline-block; }
.wm-gold { color: var(--gold); }
.wm-silver { color: var(--silver); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wm-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .wm-silver {
    background: var(--grad-silver);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  color: #14100a;
  border-color: var(--gold-lo);
}
.btn-gold:hover { background: linear-gradient(180deg, #f7d98c, var(--gold-bright) 55%, var(--gold)); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--silver-dim); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-wide { width: 100%; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 13, 9, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 1px 0 rgba(240, 200, 105, 0.12);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .wordmark { font-size: 1.15rem; }
.brand-sub {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links .nav-cta {
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.45rem 1rem;
}
.nav-links .nav-cta:hover { background: var(--gold); color: #14100a; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.5rem 0 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.65rem 0.5rem; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.4rem; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(4rem, 10vw, 7rem);
  border-bottom: 1px solid var(--gold-dim);
  overflow: hidden;
}

.hero-topo {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
}
.hero-topo svg { width: 100%; height: 100%; }

.hero-inner { position: relative; max-width: 800px; }

.hero h1 { margin-bottom: 1.1rem; }

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.75rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-title {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}
.trust-founder {
  color: var(--text-dim);
  font-size: 0.88rem;
}
.badge-row {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--silver-dim);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--ink);
}
.badge-chip svg { width: 18px; height: 18px; flex: none; }

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: clamp(2.25rem, 6vw, 3.5rem) 0; }

/* ---------- platform modules ---------- */

.pillar-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
}
.pillar h3 { margin: 1rem 0 0.5rem; }
.pillar p { color: var(--text-dim); font-size: 0.98rem; }
.pillar-icon { width: 44px; height: 44px; }

.pillar-example {
  margin-top: 0.6rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--gold-bright);
  font-size: 0.95rem;
}

/* poster-style thin double gold frame on the flagship */
.pillar-flagship {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border: 1px solid var(--gold-lo);
  box-shadow: inset 0 0 0 4px var(--surface-2), inset 0 0 0 5px rgba(240, 200, 105, 0.35);
  padding: 2.25rem 2rem;
}
.pillar-flagship h3 { font-size: 1.6rem; }
.pillar-flagship .pillar-lead {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  max-width: 62ch;
}
.pillar-flagship .pillar-icon { width: 52px; height: 52px; }

.flag-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

@media (max-width: 720px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ---------- stepper ---------- */

.stepper {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.step {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.4rem;
}
.step h3 { font-size: 1.08rem; margin: 0.85rem 0 0.4rem; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
}

/* connector line between steps on wide screens */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.55rem;
  right: -1.25rem;
  width: 1.25rem;
  height: 1.5px;
  background: var(--gold-dim);
}

.stepper-closer {
  margin-top: 2.25rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold-bright);
  max-width: 52ch;
}

.scope-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .stepper { grid-template-columns: 1fr; max-width: 560px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .step h3 { margin-top: 0.25rem; }
  .step p { grid-column: 2; }
  .step:not(:last-child)::after {
    top: auto; right: auto;
    bottom: -1.25rem; left: 2.28rem;
    width: 1.5px; height: 1.25rem;
  }
}

/* ---------- the gold monster app ---------- */

.app-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}
.app-copy > p { color: var(--text-dim); max-width: 48ch; }
.app-copy > .kicker + h2 + p { margin-bottom: 1.6rem; }

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.25rem;
}
.feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
}
.feature-list svg { width: 22px; height: 22px; flex: none; }

.app-platforms {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.app-visual { max-width: 280px; margin: 0 auto; }

@media (max-width: 860px) {
  .app-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .app-visual { max-width: 220px; }
}
@media (max-width: 520px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ---------- built for every miner ---------- */

.audience-title {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 1.4rem;
}
.audience-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.audience-row li {
  border: 1px solid var(--silver-dim);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
}

/* ---------- waitlist form ---------- */

.waitlist { display: grid; gap: 1.2rem; }

.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.9rem;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field ::placeholder { color: #7d745c; opacity: 1; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #c96b5a;
}

.form-error {
  color: #e89c8d;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-fineprint {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}

.waitlist-success {
  text-align: center;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: rgba(125, 201, 138, 0.07);
  padding: 3rem 1.75rem;
}
.waitlist-success svg { width: 56px; height: 56px; margin: 0 auto 1.25rem; }
.waitlist-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.waitlist-success p { color: var(--text-dim); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--gold-dim);
  padding: 2.5rem 0 3rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.disclaimer {
  font-size: 0.82rem;
  color: #8d8467;
  max-width: 72ch;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
