/* Mad Loot waitlist — static, no build step. Dark, typographic, mobile-first. */
:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --bg-card: #161616;
  --bg-hover: #1c1c1c;
  --text: #f5f2eb;
  --muted: #a8a399;
  --muted-2: #8a857a;
  --line: rgba(245, 242, 235, 0.12);
  --line-strong: rgba(245, 242, 235, 0.2);
  --gold: #e8c56b;
  --gold-deep: #d4a017;
  --green: #16a34a;
  --green-btn: #0c6b2e;
  --green-btn-hover: #0e7a38;
  --focus: #e8c56b;
  --danger-note: #c9c4b8;
  --radius: 1rem;
  --header-h: 3.75rem;
  --measure: 40rem;
  --wrap: 68rem;
  --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

@font-face {
  font-family: Outfit;
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 0.75rem;
  color: #111;
  outline-color: var(--text);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.prose,
.waitlist-card {
  width: min(100%, var(--measure));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

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

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--green-btn);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: var(--green-btn-hover);
  color: #fff;
}


.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.hero-actions .btn + .btn-ghost,
.hero-actions .btn-ghost {
  min-width: min(100%, 20rem);
}

.btn-lg {
  min-height: 3.15rem;
  padding: 0.75rem 1.4rem;
  font-size: 1.0625rem;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.3;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.25rem 0 2.75rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% 40%;
  background:
    radial-gradient(closest-side, rgba(22, 163, 74, 0.14), transparent 70%),
    radial-gradient(closest-side, rgba(245, 242, 235, 0.08), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 9.25rem;
  height: 9.25rem;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 0 2.5rem rgba(245, 242, 235, 0.08));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(232, 197, 107, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.35rem, 1.2rem + 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.fine-print {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.875rem;
}

/* Feature strip */
.features {
  padding: 0 0 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.9rem 1.05rem;
}

.feature dt {
  margin: 0 0 0.25rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  text-wrap: pretty;
}

/* Sections */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section h2 + .rule,
.rule {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 0 1.25rem;
  background: var(--gold);
  border: 0;
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

/* Safety steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: safety;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  counter-increment: safety;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.steps li::before {
  content: counter(safety);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--gold);
}

/* Waitlist */
.waitlist {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(22, 163, 74, 0.1), transparent 55%),
    var(--bg-soft);
}

.waitlist-card {
  width: min(100%, var(--measure));
}

.tally-placeholder {
  margin-top: 1.25rem;
  padding: 1.5rem 1.15rem;
  border: 1px dashed rgba(232, 197, 107, 0.5);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.55);
  text-align: center;
}

.tally-placeholder__label {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tally-placeholder p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.tally-placeholder p + p {
  margin-top: 0.6rem;
}

/* Waitlist form */
.waitlist-form {
  margin-top: 1.25rem;
}

.waitlist-form label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

.waitlist-form input[type="email"] {
  flex: 1 1 16rem;
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--muted-2);
}

.waitlist-form input[type="email"]:hover {
  border-color: rgba(232, 197, 107, 0.45);
}

.waitlist-form .waitlist-row .btn {
  flex: 0 0 auto;
}

.waitlist-form .fine-print {
  margin-top: 0.75rem;
}

.waitlist-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.form-status.is-loading {
  color: var(--muted);
}

.form-status.is-success {
  margin-top: 0.25rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid rgba(22, 163, 74, 0.45);
  border-radius: var(--radius);
  background: rgba(22, 163, 74, 0.1);
  color: var(--text);
}

.form-status.is-error {
  color: var(--gold);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Legal and support pages */
.legal-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.legal-page .eyebrow {
  margin-bottom: 0.85rem;
}

.legal-page h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.effective {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-page h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.legal-page h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin: 0 0 0.4rem;
}

.legal-page li:last-child {
  margin-bottom: 0;
}

.support-blocks {
  display: grid;
  gap: 0.85rem;
  margin: 1.35rem 0 0;
}

.support-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem;
}

.support-block h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.support-block p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Company + footer */
.company p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-links,
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.social a:hover,
.footer-links a:hover {
  color: var(--text);
}

.disclaimer,
.privacy-placeholder {
  margin: 0;
  max-width: 42rem;
}

.privacy-placeholder {
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.copyright {
  margin: 0;
  color: var(--muted-2);
}

/* 404 */
.page-error {
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
}

.page-error h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 3.5rem);
  line-height: 1.1;
}

.page-error p {
  color: var(--muted);
  max-width: 32rem;
}

/* Responsive */
@media (min-width: 640px) {
  body {
    font-size: 1.125rem;
  }

  .wrap {
    width: min(100% - 3rem, var(--wrap));
  }

  .hero {
    padding: 3.25rem 0 3.5rem;
  }

  .hero-logo {
    width: 11.5rem;
    height: 11.5rem;
  }

  .lead {
    font-size: 1.1875rem;
  }

  .feature-grid {
    gap: 1rem;
  }

  .feature {
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .tally-placeholder {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    margin-left: auto;
    margin-right: 1.25rem;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    padding: 2.75rem 0 2.15rem;
  }

  .hero-logo {
    width: 10.5rem;
    height: 10.5rem;
    margin-bottom: 0.9rem;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 3.75rem 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: min(100% - 1.5rem, var(--wrap));
  }

  .brand img {
    width: 2rem;
    height: 2rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
  }
}

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

  .hero-logo {
    filter: none;
  }
}

@media (prefers-contrast: more) {
  .feature,
  .tally-placeholder,
  .privacy-placeholder,
  .form-status.is-success,
  .support-block,
  .waitlist-form input[type="email"] {
    border-color: var(--text);
  }

  .muted,
  .lead,
  .faq-item p,
  .fine-print {
    color: var(--text);
  }
}
