:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #121923;
  --panel: #17202b;
  --panel-strong: #1d2835;
  --text: #f3f7fb;
  --muted: #a6b3c3;
  --line: #2b3848;
  --blue: #67b7ff;
  --green: #6ee7b7;
  --gold: #f3c96b;
  --rose: #ef8da8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(103, 183, 255, 0.14), transparent 32rem),
    linear-gradient(180deg, #0d1117 0%, #101722 44%, #0d1117 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--text);
  color: #0d1117;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

.site-header,
.site-footer,
.section-inner,
.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

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

.brand {
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(110, 231, 183, 0.6);
  border-radius: 8px;
  background: rgba(110, 231, 183, 0.1);
  color: var(--green);
  font-size: 0.8rem;
}

.nav-links {
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.hero {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-inner {
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 18vw, 9rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.3rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(103, 183, 255, 0.7);
  border-radius: 8px;
  background: rgba(103, 183, 255, 0.14);
  color: var(--text);
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.button:hover,
.button:focus-visible {
  border-color: var(--green);
  background: rgba(110, 231, 183, 0.14);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.signal-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 920px);
  gap: 0.75rem;
  margin-top: 3rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(103, 183, 255, 0.08), rgba(110, 231, 183, 0.08), rgba(243, 201, 107, 0.08)),
    rgba(18, 25, 35, 0.72);
  box-shadow: var(--shadow);
}

.signal-map span {
  position: relative;
  display: grid;
  min-height: 4.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 17, 23, 0.62);
  padding: 0.85rem;
  color: #dce8f6;
  font-weight: 800;
  line-height: 1.25;
}

.signal-map span:not(:last-child)::after {
  position: absolute;
  right: -0.9rem;
  color: var(--gold);
  content: ">";
  font-weight: 900;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-surface {
  background: rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.section-copy {
  max-width: 720px;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-stack span,
.feature-kicker {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce8f6;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

.cards,
.feature-list {
  display: grid;
  gap: 1rem;
}

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

.card,
.feature {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(23, 32, 43, 0.78);
}

.card {
  min-height: 11rem;
  padding: 1.1rem;
}

.card:nth-child(2n) {
  border-top-color: rgba(110, 231, 183, 0.55);
}

.card:nth-child(3n) {
  border-top-color: rgba(243, 201, 107, 0.55);
}

.card p,
.feature p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

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

.feature {
  min-height: 13rem;
  padding: 1rem;
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .signal-map,
  .split,
  .cards,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .signal-map span:not(:last-child)::after {
    inset: auto auto -1.4rem 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .section-inner,
  .hero-inner {
    width: min(100% - 1rem, 1120px);
  }

  .hero-inner {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 19vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 0.8rem;
  }

  .signal-map {
    padding: 0.7rem;
  }
}
