:root {
  color-scheme: dark;
  --bg: #080909;
  --bg-elevated: #111514;
  --bg-panel: #151b19;
  --bg-panel-strong: #1b211f;
  --text: #f2f0e8;
  --muted: #b6b9ae;
  --subtle: #7f877b;
  --line: rgba(242, 240, 232, 0.13);
  --green: #9bcf39;
  --green-soft: rgba(155, 207, 57, 0.16);
  --red: #8f2424;
  --red-soft: rgba(143, 36, 36, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(155, 207, 57, 0.08), transparent 30rem),
    linear-gradient(180deg, #080909 0%, #0b0d0d 48%, #070807 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: #071007;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

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

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

.narrow {
  width: min(100% - 2rem, 880px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 9, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(155, 207, 57, 0.7);
  border-radius: 50%;
  background: #0e1511;
  color: var(--green);
  font-size: 0.82rem;
  box-shadow: 0 0 24px rgba(155, 207, 57, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a {
  padding: 0.62rem 0.78rem;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  margin-left: 0.35rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(155, 207, 57, 0.42);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  background: rgba(155, 207, 57, 0.08);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-toggle-line,
.menu-toggle-line::before,
.menu-toggle-line::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.menu-toggle-line::before {
  transform: translateY(-7px);
}

.menu-toggle-line::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.94) 0%, rgba(8, 9, 9, 0.74) 44%, rgba(8, 9, 9, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 9, 9, 0.98) 0%, rgba(8, 9, 9, 0.18) 52%, rgba(8, 9, 9, 0.74) 100%);
}

.hero-content {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) 0 4.5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 12vw, 8.2rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: #e0e0d7;
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #101607;
  border-color: rgba(255, 255, 255, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line);
}

.status-note {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-tight {
  padding-top: clamp(3rem, 6vw, 5rem);
}

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

.prose p,
.muted {
  color: var(--muted);
  font-size: 1.05rem;
}

.prose p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.contact-panel,
.support-card,
.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 230px;
  padding: 1.25rem;
}

.feature-card p,
.contact-panel p,
.support-card p,
.content-panel p,
.legal-content li {
  color: var(--muted);
}

.card-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 45%, var(--green) 0 18%, transparent 19%),
    var(--green-soft);
  border: 1px solid rgba(155, 207, 57, 0.42);
}

.card-icon.red {
  background:
    radial-gradient(circle at 45% 45%, #d14f4f 0 18%, transparent 19%),
    var(--red-soft);
  border-color: rgba(143, 36, 36, 0.7);
}

.development-band {
  background: linear-gradient(90deg, rgba(143, 36, 36, 0.18), rgba(155, 207, 57, 0.07));
  border-block: 1px solid var(--line);
}

.status-list {
  display: grid;
  gap: 0.75rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 9, 0.52);
}

.status-item span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(155, 207, 57, 0.4);
}

.status-item.pending span {
  background: #d2b35f;
  box-shadow: 0 0 24px rgba(210, 179, 95, 0.35);
}

.contact-section {
  background: rgba(255, 255, 255, 0.025);
}

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

.contact-panel {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.contact-links {
  display: grid;
  gap: 0.45rem;
  margin: 1.35rem 0;
}

.contact-links a,
.support-card a,
.legal-content a {
  color: var(--green);
  font-weight: 750;
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(143, 36, 36, 0.16), rgba(155, 207, 57, 0.08)),
    #0b0d0d;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.support-layout,
.legal-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.support-card,
.toc {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.support-card,
.content-panel,
.toc {
  padding: 1.25rem;
}

.support-card p {
  margin: 1.2rem 0 0.25rem;
}

.content-stack,
.legal-content {
  display: grid;
  gap: 1rem;
}

.warning-panel {
  border-color: rgba(210, 179, 95, 0.3);
  background: rgba(210, 179, 95, 0.06);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.25rem;
}

.check-list li::marker {
  color: var(--green);
}

.toc {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #060707;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-inner p {
  margin: 0.25rem 0 0;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 0.6rem;
    flex-wrap: wrap;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    display: flex;
  }

  .two-column,
  .support-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .support-card,
  .toc {
    position: static;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 1.1rem, var(--max));
  }

  .hero {
    min-height: calc(86vh - var(--header-height));
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 9, 9, 0.72), rgba(8, 9, 9, 0.92) 62%, rgba(8, 9, 9, 0.99)),
      linear-gradient(90deg, rgba(8, 9, 9, 0.84), rgba(8, 9, 9, 0.38));
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-actions,
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .site-nav a {
    flex: 1 1 42%;
    text-align: center;
  }
}
