:root {
  color-scheme: dark;
  --bg: #080d0c;
  --bg-2: #0d1614;
  --panel: #111d1a;
  --panel-2: #ecf4ea;
  --ink: #ecf4ea;
  --ink-dark: #0c1412;
  --muted: #93a69c;
  --muted-dark: #4b5c54;
  --line: #244239;
  --green: #7effa9;
  --copper: #e79a5d;
  --violet: #917bff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(126, 255, 169, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 169, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-160%);
  border: 1px solid var(--green);
  background: var(--bg);
  color: var(--ink);
  padding: 10px 12px;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(126, 255, 169, 0.15);
  background: rgba(8, 13, 12, 0.82);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
}

.brand img {
  width: 188px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav a {
  padding: 10px 0;
  text-decoration: none;
}

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

.section-band {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 56px);
}

.hero,
.section-heading,
.overview-grid,
.family-grid,
.developer-layout,
.source-list,
.faq-list,
.site-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(4.7rem, 9.8vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-dek {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c8d6ce;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.signal-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.signal-note span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(126, 255, 169, 0.16);
  border-radius: 999px;
  background: rgba(17, 29, 26, 0.62);
  padding: 8px 12px;
  color: #c8d6ce;
  font-size: 0.8rem;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #06100b;
  border-color: var(--green);
}

.button-secondary {
  background: rgba(236, 244, 234, 0.04);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  border-color: var(--copper);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
  margin: 42px 0 0;
}

.signal-strip div {
  border: 1px solid var(--line);
  background: rgba(17, 29, 26, 0.7);
  padding: 16px;
}

.signal-strip dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-strip dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  inset: 8%;
  border: 1px solid rgba(126, 255, 169, 0.2);
  transform: rotate(45deg);
}

.hero-visual::after {
  inset: 21%;
  border-color: rgba(231, 154, 93, 0.28);
  transform: rotate(0);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: 78%;
  margin: 11% auto 0;
  filter: drop-shadow(0 28px 58px rgba(0, 0, 0, 0.34));
}

.trace {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.trace-a {
  left: 2%;
  right: 56%;
  top: 31%;
}

.trace-b {
  left: 62%;
  right: 0;
  top: 58%;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.trace-c {
  left: 24%;
  right: 18%;
  bottom: 16%;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}

.section-light {
  background: var(--panel-2);
  color: var(--ink-dark);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: 1.06rem;
  line-height: 1.7;
  opacity: 0.78;
}

.overview-grid,
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-grid article,
.family-card {
  min-width: 0;
  border: 1px solid rgba(36, 66, 57, 0.22);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
}

.overview-grid article {
  background: #ffffff;
}

.overview-grid h3,
.family-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.overview-grid p,
.family-card p,
.faq-list p {
  margin: 0;
  color: inherit;
  line-height: 1.7;
  opacity: 0.76;
}

.family-card {
  background: rgba(17, 29, 26, 0.82);
}

.featured-card {
  border-color: rgba(126, 255, 169, 0.5);
  box-shadow: inset 0 0 0 1px rgba(126, 255, 169, 0.08);
}

.chip-label {
  display: inline-flex;
  margin-bottom: 28px;
  border: 1px solid rgba(126, 255, 169, 0.32);
  padding: 7px 9px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.developer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(36, 66, 57, 0.2);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  color: var(--muted-dark);
  line-height: 1.6;
}

.step-list span {
  color: var(--copper);
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-dark);
}

.source-section {
  border-block: 1px solid rgba(126, 255, 169, 0.12);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.source-list a {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 29, 26, 0.82);
  padding: 22px;
  text-decoration: none;
}

.source-list a:hover,
.source-list a:focus-visible {
  border-color: var(--green);
}

.source-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.84rem;
}

.source-list strong {
  display: block;
  font-size: 1.12rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(36, 66, 57, 0.2);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--ink-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  padding: 0 0 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 56px) 50px;
  color: var(--muted);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand img {
    width: 166px;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .developer-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    width: min(86vw, 520px);
    margin-inline: auto;
  }

  .overview-grid,
  .family-grid,
  .source-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-band {
    padding-inline: 16px;
  }

  .primary-nav {
    gap: 18px;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.5rem, 21vw, 5.1rem);
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-list li {
    grid-template-columns: 1fr;
  }

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