:root {
  color-scheme: dark;
  --background: #080808;
  --charcoal: #121212;
  --charcoal-2: #1b1b1b;
  --glass: rgba(22, 22, 22, 0.68);
  --glass-strong: rgba(28, 28, 28, 0.82);
  --gold: #d4af37;
  --gold-deep: #a67c1b;
  --text: #f3f0e8;
  --muted: #c8c8c8;
  --muted-2: #8f8f8f;
  --line: rgba(212, 175, 55, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.45);
}

.legal-copy {
  margin-top: 2rem;
  max-width: 800px;
}

.legal-copy p + p {
  margin-top: 1rem;
}

.official-sources a {
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  color: inherit;
  padding: 1.25rem;
  text-decoration: none;
}

.official-sources a:hover {
  border-color: #d4af37;
}

.official-sources span {
  color: #d4af37;
  font-size: 0.85rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 16% 8%, rgba(212, 175, 55, 0.16), transparent 26rem),
    radial-gradient(circle at 84% 34%, rgba(166, 124, 27, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #090909 0%, #0f0f0f 48%, #070707 100%);
  background-size: auto, auto, 18px 18px, auto;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0%, rgba(212, 175, 55, 0.07) 42%, transparent 44%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 38px);
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(8, 8, 8, 0.58);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  padding: 16px max(20px, calc((100vw - 1120px) / 2));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.site-header nav {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-header nav {
  color: var(--muted);
  font-size: 13px;
  gap: 18px;
}

.site-header nav a {
  transition: color 180ms ease;
}

.site-header nav a:hover {
  color: var(--gold);
}

.hero {
  align-items: center;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px 22px 70px;
  position: relative;
}

.hero::after {
  background:
    radial-gradient(circle at 50% 44%, rgba(212, 175, 55, 0.16), transparent 18rem),
    linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.92) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-inner {
  text-align: center;
}

.logo-lockup {
  align-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.16), rgba(18, 18, 18, 0.82) 70%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 26px 70px var(--shadow), 0 0 36px rgba(212, 175, 55, 0.12);
  display: flex;
  height: 132px;
  justify-content: center;
  margin: 0 auto 34px;
  position: relative;
  width: 132px;
}

.logo-m {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 94px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.32);
}

.logo-door {
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  bottom: 32px;
  height: 44px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  width: 28px;
}

.logo-door::after {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  border: 1px solid rgba(255, 238, 177, 0.55);
  bottom: 0;
  content: "";
  height: 34px;
  position: absolute;
  right: -2px;
  transform: rotate(-8deg);
  transform-origin: bottom right;
  width: 15px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(58px, 11vw, 132px);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.tagline {
  color: var(--gold);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  margin-bottom: 18px;
}

.lead {
  color: var(--text);
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.38;
  margin: 0 auto;
  max-width: 850px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.button {
  background: linear-gradient(180deg, #f0c94b, var(--gold-deep));
  border: 1px solid rgba(255, 238, 177, 0.52);
  border-radius: 999px;
  color: #090909;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-width: 178px;
  padding: 14px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 12px 34px rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}

.button.ghost {
  background: rgba(18, 18, 18, 0.58);
  color: var(--gold);
}

.section {
  padding: 108px 22px;
}

.soft-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.16));
  border-bottom: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.split {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.glass-panel,
article,
.donation-card,
.payment-box {
  backdrop-filter: blur(24px);
  background: linear-gradient(145deg, var(--glass-strong), rgba(14, 14, 14, 0.62));
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.glass-panel {
  border-radius: 26px;
  padding: 30px;
}

.glass-panel p,
article p,
.donation-card p,
.principles p {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

article {
  border-radius: 24px;
  min-height: 270px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease;
}

article:hover {
  border-color: rgba(212, 175, 55, 0.38);
  transform: translateY(-4px);
}

.icon {
  align-items: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 34px;
  width: 38px;
}

.philosophy {
  max-width: 980px;
  text-align: center;
}

.principles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.principles p {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  color: var(--text);
  font-size: 16px;
  padding: 22px;
}

.donation-section {
  padding-top: 60px;
}

.donation-card {
  align-items: center;
  border-radius: 34px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  padding: clamp(26px, 5vw, 54px);
}

.payment-box {
  border-radius: 26px;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 26px;
  text-align: center;
}

.payment-box span,
.payment-box strong {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-box code {
  color: var(--text);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.creator {
  padding-top: 70px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 32px 22px;
}

.footer a {
  color: var(--gold);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.info-page {
  min-height: calc(100vh - 86px);
}

.info-inner {
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
  width: 100%;
}

.info-hero {
  align-items: end;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  min-height: 55vh;
  padding: 140px 22px 68px;
  position: relative;
}

.info-hero::before {
  background: radial-gradient(circle at 22% 42%, rgba(212, 175, 55, 0.15), transparent 28rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.info-hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  max-width: 900px;
}

.marketing-hero .button {
  margin-top: 28px;
}

.updated {
  color: var(--muted-2);
  font-size: 14px;
  margin: 22px 0 0;
}

.info-content {
  display: grid;
  gap: 18px;
  padding: 72px 22px 100px;
}

.info-content article {
  min-height: 0;
}

.info-content article h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.info-content article p,
.info-content article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.info-content article a,
.legal-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-content article .button {
  color: #090909;
  margin-top: 24px;
  text-decoration: none;
}

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-block {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  padding: 24px;
}

.notice-block strong {
  color: var(--gold);
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.notice-block p {
  font-size: 16px;
  margin: 0;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy article {
  background: transparent;
  border-color: var(--line-soft);
  border-radius: 0;
  border-width: 0 0 1px;
  box-shadow: none;
  padding: 26px 0 34px;
}

.legal-copy article:hover {
  border-color: var(--line);
  transform: none;
}

.legal-page {
  min-height: calc(100vh - 86px);
}

.legal-hero {
  align-items: end;
  display: flex;
  min-height: 56vh;
  padding: 132px 22px 64px;
}

.legal-hero h1 {
  font-size: clamp(44px, 8vw, 86px);
  max-width: 960px;
}

.legal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.legal-metrics span {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 12px;
  text-transform: uppercase;
}

.legal-tool-section {
  padding-top: 34px;
}

.legal-tool {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.legal-selector,
.legal-download-panel {
  backdrop-filter: blur(24px);
  background: linear-gradient(145deg, var(--glass-strong), rgba(14, 14, 14, 0.62));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 26px;
}

.legal-selector label {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.legal-selector p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 14px 0 0;
}

.legal-selector select {
  appearance: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  min-height: 52px;
  outline: none;
  padding: 0 16px;
  width: 100%;
}

.legal-selector option {
  background: #121212;
  color: var(--text);
}

.legal-download-panel {
  display: grid;
  gap: 18px;
}

.legal-download-panel h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.code-actions .button {
  min-width: min(100%, 230px);
}

.legal-notice {
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
  padding-top: 16px;
}

.legal-menu-section {
  padding-top: 48px;
}

.legal-menu-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  margin-bottom: 22px;
}

.legal-menu-heading h2 {
  font-size: clamp(32px, 5vw, 58px);
}

.legal-menu-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.state-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.state-card {
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.86), rgba(12, 12, 12, 0.72));
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  display: grid;
  gap: 7px;
  min-height: 94px;
  padding: 16px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.state-card:hover,
.state-card.selected {
  background: linear-gradient(145deg, rgba(42, 36, 19, 0.92), rgba(16, 16, 16, 0.78));
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.state-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.state-card span {
  color: var(--muted-2);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.state-card.selected span {
  color: var(--gold);
}

.reveal {
  animation: riseIn 720ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .site-header nav {
    display: none;
  }

  .section {
    padding: 76px 18px;
  }

  .split,
  .feature-grid,
  .info-grid,
  .principles,
  .donation-card,
  .legal-tool,
  .legal-menu-heading,
  .state-card-grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: auto;
  }

  .info-hero {
    min-height: 48vh;
    padding-top: 112px;
  }

  .footer {
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 92vh;
    padding-top: 96px;
  }

  .legal-hero {
    min-height: 48vh;
    padding-top: 104px;
  }

  .logo-lockup {
    border-radius: 26px;
    height: 108px;
    margin-bottom: 28px;
    width: 108px;
  }

  .logo-m {
    font-size: 78px;
  }

  .logo-door {
    bottom: 25px;
  }

  .button {
    width: 100%;
  }

  .info-content {
    padding-bottom: 72px;
    padding-top: 48px;
  }

  .footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .glass-panel,
  article,
  .payment-box,
  .legal-selector,
  .legal-download-panel,
  .state-card {
    border-radius: 20px;
    padding: 22px;
  }
}
