:root {
  color-scheme: dark;
  --bg: #080c0d;
  --bg-soft: #0d1314;
  --panel: rgba(18, 26, 27, 0.88);
  --panel-strong: #121b1c;
  --line: rgba(218, 255, 242, 0.12);
  --line-strong: rgba(218, 255, 242, 0.22);
  --text: #f3faf8;
  --muted: #aabbb6;
  --muted-strong: #cad8d4;
  --green: #27d879;
  --green-bright: #54f0a1;
  --cyan: #8ceee0;
  --yellow: #f4c96b;
  --danger: #ff9d9d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 2%, rgba(28, 186, 127, 0.17), transparent 30rem),
    radial-gradient(circle at 4% 28%, rgba(42, 128, 133, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--green-bright);
  color: #07100c;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(218, 255, 242, 0.08);
  background: rgba(8, 12, 13, 0.76);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 18px rgba(39, 216, 121, 0.3));
}

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

.brand-note {
  padding-left: 0.65rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.22rem;
}

.site-nav a {
  padding: 0.6rem 0.72rem;
  border-radius: 0.65rem;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(84, 240, 161, 0.1);
  color: var(--green-bright);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  border: 1px solid rgba(84, 240, 161, 0.34);
  background: rgba(39, 216, 121, 0.12);
  color: var(--text);
}

.site-nav .nav-cta:hover {
  background: rgba(39, 216, 121, 0.22);
  color: var(--text);
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

main {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  align-items: center;
  padding: 6rem 0 5rem;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(84, 240, 161, 0.1);
  border-radius: 42% 58% 63% 37%;
  content: "";
  transform: rotate(18deg);
  box-shadow: 0 0 0 2rem rgba(84, 240, 161, 0.015), 0 0 0 4rem rgba(84, 240, 161, 0.012);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 750px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 7vw, 5.55rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  margin-bottom: 1.7rem;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(84, 240, 161, 0.55);
  border-radius: 0.78rem;
  background: var(--green);
  color: #07100c;
  font-size: 0.9rem;
  font-weight: 850;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--green-bright);
  background: var(--green-bright);
  transform: translateY(-1px);
}

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

.button.secondary:hover {
  border-color: rgba(140, 238, 224, 0.5);
  background: rgba(140, 238, 224, 0.09);
}

.button.is-disabled,
.button.is-disabled:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transform: none;
}

.text-link {
  color: var(--green-bright);
  font-weight: 750;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 450px;
  place-items: center;
}

.hero-art::before {
  position: absolute;
  width: min(410px, 80vw);
  height: min(410px, 80vw);
  border: 1px solid rgba(84, 240, 161, 0.12);
  border-radius: 34% 66% 58% 42%;
  background: radial-gradient(circle at 50% 40%, rgba(39, 216, 121, 0.18), transparent 62%);
  content: "";
  transform: rotate(-12deg);
  box-shadow: 0 0 100px rgba(39, 216, 121, 0.12);
}

.hero-logo {
  position: relative;
  width: min(390px, 72vw);
  border-radius: 25%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48), 0 0 70px rgba(39, 216, 121, 0.15);
  transform: rotate(2deg);
}

.art-label {
  position: absolute;
  right: 0;
  bottom: 1rem;
  max-width: 230px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(13, 19, 20, 0.88);
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.5;
  box-shadow: var(--shadow);
}

.art-label strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--green-bright);
}

.section {
  padding: 5.6rem 0;
}

.section-muted {
  border-top: 1px solid rgba(218, 255, 242, 0.06);
  border-bottom: 1px solid rgba(218, 255, 242, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 540px;
  margin-bottom: 0.2rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card,
.fact-card,
.download-card,
.callout,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.feature-card {
  min-height: 210px;
  padding: 1.45rem;
}

.card-kicker {
  margin-bottom: 2.5rem;
  color: var(--green-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card p,
.fact-card p,
.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.facts {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 4rem;
}

.facts-copy p {
  color: var(--muted-strong);
  line-height: 1.8;
}

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

.fact-card {
  min-height: 160px;
  padding: 1.3rem;
}

.fact-number {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--green-bright);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.notice-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(244, 201, 107, 0.32);
  border-radius: 1rem;
  background: rgba(244, 201, 107, 0.065);
}

.notice-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(244, 201, 107, 0.48);
  border-radius: 50%;
  color: var(--yellow);
  font-weight: 900;
}

.notice-strip strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffe6a7;
}

.notice-strip span {
  color: #d7c99f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2.3rem;
  border: 1px solid rgba(84, 240, 161, 0.22);
  border-radius: 1.2rem;
  background: linear-gradient(120deg, rgba(39, 216, 121, 0.13), rgba(13, 19, 20, 0.72) 58%);
}

.cta-panel p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.page-hero {
  padding: 5.2rem 0 3.3rem;
}

.page-hero.compact {
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
}

.page-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 2.2rem;
  padding-bottom: 5.5rem;
}

.legal-nav {
  position: sticky;
  top: 100px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(13, 19, 20, 0.72);
}

.legal-nav strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted-strong);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 0.42rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.legal-nav a:hover {
  color: var(--green-bright);
}

.legal-card {
  padding: clamp(1.35rem, 4vw, 2.7rem);
}

.legal-card h2 {
  margin-top: 2.2rem;
  font-size: 1.52rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin-top: 1.5rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted-strong);
  line-height: 1.78;
}

.legal-card ul,
.legal-card ol {
  margin: 0.55rem 0 1rem;
  padding-left: 1.3rem;
}

.legal-card li + li {
  margin-top: 0.4rem;
}

.legal-card strong {
  color: var(--text);
}

.legal-card code {
  padding: 0.12rem 0.32rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyan);
  font-size: 0.9em;
}

.license-text {
  max-height: 720px;
  overflow: auto;
  margin: 1.2rem 0 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #070a0b;
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.callout {
  margin: 1.2rem 0 1.6rem;
  padding: 1rem 1.1rem;
}

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

.callout.warning {
  border-color: rgba(244, 201, 107, 0.34);
  background: rgba(244, 201, 107, 0.065);
}

.callout.warning strong {
  color: #ffe6a7;
}

.callout.info {
  border-color: rgba(140, 238, 224, 0.25);
  background: rgba(140, 238, 224, 0.055);
}

.callout.info strong {
  color: var(--cyan);
}

.meta-line {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.1rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.86rem;
}

td {
  color: var(--muted-strong);
  font-size: 0.86rem;
}

tr:last-child td {
  border-bottom: 0;
}

.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.download-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.35rem;
}

.download-card .format {
  margin-bottom: 1.4rem;
  color: var(--green-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.download-card .button {
  align-self: flex-start;
  margin-top: auto;
}

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

details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 750;
}

details p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}

.check-list li::before {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  border: 1px solid rgba(84, 240, 161, 0.4);
  border-radius: 50%;
  color: var(--green-bright);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.footer {
  padding: 2.8rem 0 2.2rem;
  border-top: 1px solid rgba(218, 255, 242, 0.08);
  color: var(--muted);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  font-weight: 800;
}

.footer-brand img {
  width: 25px;
  height: 25px;
}

.footer p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 0.83rem;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: end;
  gap: 0.6rem 1rem;
  font-size: 0.82rem;
}

.footer-nav a:hover {
  color: var(--green-bright);
}

.footer-contact {
  margin-top: 0.6rem;
}

.empty-page {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: 5rem 0;
  text-align: center;
}

.empty-page h1 {
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(4rem, 14vw, 9rem);
}

.empty-page p {
  max-width: 550px;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero-grid,
  .facts {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero {
    min-height: 0;
    padding-top: 4.6rem;
  }

  .hero-art {
    min-height: 360px;
  }

  .art-label {
    right: 8%;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.4rem, 1160px);
  }

  .nav-shell {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
  }

  .brand-note {
    display: none;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 0.38rem 0.5rem;
    font-size: 0.76rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

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

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .section,
  .page-hero {
    padding: 3.8rem 0;
  }

  .section-heading,
  .cta-panel,
  .notice-strip,
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading {
    gap: 0.7rem;
  }

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

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

  .card-kicker {
    margin-bottom: 1.3rem;
  }

  .hero-art {
    min-height: 290px;
  }

  .hero-logo {
    width: min(310px, 76vw);
  }

  .art-label {
    right: 2%;
    bottom: -0.4rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 3.8rem;
  }

  .legal-nav {
    position: static;
  }

  .legal-nav div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }

  .legal-nav a {
    padding: 0.2rem 0;
  }

  .notice-strip {
    gap: 0.7rem;
  }

  .footer-nav {
    justify-content: start;
  }
}

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