/* Mintzz — public landing page.
   Dark, wide, quiet. One accent, no gradients-as-decoration, nothing that needs a network call. */

:root {
  --ink: #0a0a0c;
  --panel: #101013;
  --panel-2: #14141a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f5;
  --muted: #b5bac4;
  --dim: #8b909b;
  --green: #39ff14;
  --green-soft: rgba(57, 255, 20, 0.14);
  --green-line: rgba(57, 255, 20, 0.34);
  --on-green: #06210d;
  --warm: #ff8a3d;

  --wrap: 72rem;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --band-y: clamp(4rem, 8vw, 6.5rem);
  --r: 14px;

  --font: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
          "Helvetica Neue", Arial, sans-serif;
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  line-height: 1.65;
  color: var(--muted);
  background: var(--ink);
  overflow-x: hidden;
}

/* faint grid + grain, purely decorative and never interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

header, main, footer { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.narrow { max-width: 44ch; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: 0; }

a { color: inherit; }

strong { color: var(--text); font-weight: 700; }
em { font-style: normal; color: var(--text); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gut);
  top: 0.75rem;
  z-index: 50;
  padding: 0.7rem 1.15rem;
  background: var(--green);
  color: var(--on-green);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn-solid {
  background: var(--green);
  color: var(--on-green);
}
.btn-solid:hover { background: #6dff52; }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--green-line); color: var(--green); }

.btn-sm { min-height: 2.75rem; padding: 0.35rem 1.05rem; font-size: 0.95rem; }
.btn-lg { min-height: 3.5rem; padding: 0.8rem 2.1rem; font-size: 1.1rem; }

.inline-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--green-line);
  text-underline-offset: 3px;
}
.inline-link:hover { text-decoration-color: var(--green); }

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 12, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2.5rem);
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.55);
}

.brand-name {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}

.nav-list a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--text); border-bottom-color: var(--green-line); }

.nav-toggle { display: none; }

@media (max-width: 55rem) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 1.1rem;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-toggle::before {
    content: "";
    width: 1rem;
    height: 2px;
    margin-right: 0.6rem;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
  }

  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gut) 1.25rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child a { border-bottom: 0; }
}

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

.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

.eyebrow {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hl { color: var(--green); }

.lede {
  max-width: 46ch;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(1.1rem, 1.1vw + 0.9rem, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.hero-art { position: relative; }

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px -28px rgba(57, 255, 20, 0.35), 0 0 0 1px rgba(57, 255, 20, 0.06);
}

.hero-art figcaption {
  margin-top: 0.9rem;
  color: var(--dim);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

@media (max-width: 40rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.facts > div { padding: 1.15rem 1.3rem; background: var(--panel); }

.facts dt {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts dd {
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- bands ---------- */

.band {
  padding-block: var(--band-y);
  border-top: 1px solid var(--line);
}

.section-lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  margin-top: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 62rem) { .split { grid-template-columns: 1fr; } }

.points > li {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.points > li:first-child { border-top: 0; padding-top: 0; }
.points h3 { margin-bottom: 0.5rem; }
.points p { max-width: 52ch; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 62rem) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .grid-3 { grid-template-columns: 1fr; } }

.grid-3 h3 { margin-bottom: 0.55rem; }
.grid-3 p { font-size: 1.02rem; }

/* ---------- join steps ---------- */

.steps {
  counter-reset: step;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.steps > li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.8rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--green-line);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 700;
}

.steps h3 { font-size: clamp(1.3rem, 1.6vw + 0.9rem, 1.75rem); margin-bottom: 0.6rem; }
.steps p { max-width: 60ch; }

.needs {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--r);
}

.needs h3 { margin-bottom: 1rem; }

.needs li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  max-width: 62ch;
}
.needs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--green);
}

/* ---------- faq ---------- */

.qa { max-width: 52rem; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }

.qa details { border-bottom: 1px solid var(--line); }

.qa summary {
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1vw + 0.85rem, 1.3rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.qa details[open] summary::after { content: "\2212"; }

.qa details p {
  padding: 0 0 1.6rem;
  max-width: 62ch;
}

/* ---------- closer ---------- */

.closer { text-align: center; }

.closer-inner { max-width: 44rem; }
.closer p { margin-top: 1.1rem; font-size: 1.15rem; }
.closer .btn { margin-top: clamp(1.8rem, 4vw, 2.5rem); }

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

.site-foot {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr; } }

.site-foot .brand { margin: 0 0 1.1rem; }

.foot-note { max-width: 58ch; font-size: 0.95rem; color: var(--dim); }

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}
.foot-nav a {
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.98rem;
  text-decoration: none;
}
.foot-nav a:hover { color: var(--green); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 404 ---------- */

.missing {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: var(--gut);
}

.missing p { max-width: 40ch; }
.missing .btn { margin-top: 1rem; }

/* ---------- the Discord preview ---------- */

/* The channel list is much taller than the copy beside it, so the text rides along instead of
   ending in dead space. */
@media (min-width: 62rem) {
  .split-tall > div:first-child { position: sticky; top: 6rem; }
}


.panel {
  background: #16171c;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 70px -45px rgba(0, 0, 0, 0.95);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.3rem;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.panel-tag {
  margin-left: auto;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-body { padding: 0.5rem 0 1.15rem; }

.panel .cat {
  margin: 1.2rem 1.3rem 0.35rem;
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel li:hover { color: var(--text); }

.kind { flex: 0 0 1rem; text-align: center; font-size: 0.85rem; }

.panel-cap { margin-top: 0.9rem; color: var(--dim); font-size: 0.9rem; }

/* The first point follows the section lede, so it needs the gap the bordered rows get by default. */
.split-tall .points > li:first-child { padding-top: 1.4rem; }
