:root {
  --ink: #071411;
  --ink-soft: #0b1d18;
  --ink-raised: #102720;
  --paper: #f2f0e8;
  --muted: #9eb1aa;
  --line: rgba(211, 233, 224, 0.14);
  --line-strong: rgba(211, 233, 224, 0.26);
  --mint: #9cf7c6;
  --mint-bright: #b9ffd9;
  --aqua: #67d8e9;
  --orange: #ffb26b;
  --max-width: 1240px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 10%, rgba(42, 163, 122, 0.13), transparent 25rem),
    var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--mint);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand strong {
  color: var(--mint);
  font-weight: 750;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(7, 20, 17, 0.1);
}

.brand-symbol img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #b9c8c3;
  font-size: 0.84rem;
  font-weight: 650;
}

nav a {
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

nav a:hover {
  color: var(--paper);
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.nav-cta:hover {
  border-color: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 760px;
  padding: 70px 0 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: clamp(3.7rem, 6.1vw, 6rem);
}

h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #b8c8c2;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-primary:hover {
  background: var(--mint-bright);
}

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

.button-secondary:hover {
  border-color: rgba(156, 247, 198, 0.65);
}

.hero-facts {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li {
  display: grid;
  gap: 1px;
}

.hero-facts strong {
  color: var(--paper);
  font-size: 1.02rem;
}

.hero-facts span {
  color: #82958e;
  font-size: 0.71rem;
  letter-spacing: 0.04em;
}

.system-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(19, 52, 42, 0.86), rgba(7, 20, 17, 0.92)),
    var(--ink-soft);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.27);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(156, 247, 198, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 247, 198, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.map-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(58, 215, 155, 0.12);
  filter: blur(70px);
  transform: translate(-50%, -50%);
}

.map-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 78%;
  object-fit: contain;
  opacity: 0.035;
  filter: invert(1);
  transform: translate(-50%, -50%);
}

.map-label {
  position: absolute;
  top: 22px;
  left: 28px;
  color: #718a81;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px auto;
  align-items: center;
  min-width: 142px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(9, 28, 23, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.map-node strong,
.map-node small {
  grid-column: 2;
}

.map-node strong {
  font-size: 0.76rem;
}

.map-node small {
  color: #7f958d;
  font-size: 0.62rem;
}

.node-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--aqua);
  border: 1px solid rgba(103, 216, 233, 0.4);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.57rem;
  font-weight: 700;
}

.source-a {
  top: 108px;
  left: 5%;
}

.source-b {
  bottom: 108px;
  left: 5%;
}

.output-a {
  top: 108px;
  right: 5%;
}

.output-b {
  right: 5%;
  bottom: 108px;
}

.map-node-output .node-icon {
  color: var(--orange);
  border-color: rgba(255, 178, 107, 0.4);
}

.map-node-core {
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  min-width: 176px;
  padding: 26px 20px 22px;
  border-color: rgba(156, 247, 198, 0.48);
  background: #0d2b22;
  transform: translate(-50%, -50%);
  text-align: center;
}

.core-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.core-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.map-node-core strong,
.map-node-core small {
  grid-column: auto;
}

.map-node-core strong {
  font-size: 0.86rem;
}

.map-node-core small {
  margin-top: 2px;
  color: #90a69e;
  font-size: 0.64rem;
}

.pulse {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(156, 247, 198, 0.24);
  border-radius: 18px;
  animation: pulse 3s ease-out infinite;
  pointer-events: none;
}

.pulse-two {
  animation-delay: 1.5s;
}

.map-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(156, 247, 198, 0.36);
  stroke-dasharray: 5 7;
  stroke-width: 1.4;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

.signal-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #091915;
}

.signal-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-width: max-content;
  min-height: 62px;
  padding: 0 30px;
  color: #6e847c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.signal-strip span:first-child {
  color: #b3c4bd;
}

.signal-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.section {
  padding: 140px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 28px 80px;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.section-heading > p:last-child {
  max-width: 460px;
  margin-bottom: 3px;
  color: #93a69f;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 37, 30, 0.66);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.project-card:hover {
  border-color: rgba(156, 247, 198, 0.42);
  background: rgba(17, 47, 38, 0.9);
  transform: translateY(-5px);
}

.project-card-featured {
  grid-column: span 8;
  background:
    linear-gradient(135deg, rgba(41, 122, 93, 0.28), transparent 66%),
    rgba(14, 37, 30, 0.66);
}

.project-card-demo {
  grid-column: span 8;
  min-height: 300px;
  background:
    linear-gradient(120deg, rgba(103, 216, 233, 0.12), transparent 62%),
    rgba(14, 37, 30, 0.66);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 52px;
  color: #799087;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-index {
  color: var(--mint);
}

.project-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.project-card p {
  max-width: 600px;
  color: #94a79f;
  font-size: 0.91rem;
}

.project-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 28px;
  padding: 0;
  list-style: none;
}

.project-card li {
  padding: 5px 10px;
  color: #9fb0aa;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.65rem;
}

.card-link {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: #ccd8d3;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
}

.card-link b {
  color: var(--mint);
}

.roadmap {
  border-top: 1px solid var(--line);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.roadmap-card {
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(156, 247, 198, 0.055), transparent 64%),
    rgba(10, 28, 23, 0.56);
}

.roadmap-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.roadmap-icon {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  padding: 0 8px;
  color: var(--mint);
  border: 1px solid rgba(156, 247, 198, 0.28);
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ea39b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.roadmap-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 11px rgba(156, 247, 198, 0.6);
  content: "";
}

.roadmap-card code {
  margin-bottom: 12px;
  color: #71877f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
}

.roadmap-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.roadmap-card > p,
.roadmap-card > div > p {
  margin-bottom: 0;
  color: #91a49d;
  font-size: 0.9rem;
}

.roadmap-card-subscription {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  min-height: 340px;
  border-style: solid;
  border-color: rgba(103, 216, 233, 0.27);
  background:
    radial-gradient(circle at 82% 20%, rgba(103, 216, 233, 0.12), transparent 21rem),
    linear-gradient(135deg, rgba(103, 216, 233, 0.07), transparent 60%),
    rgba(10, 28, 23, 0.74);
}

.roadmap-status-subscription {
  color: var(--aqua);
}

.roadmap-status-subscription::before {
  background: var(--aqua);
  box-shadow: 0 0 11px rgba(103, 216, 233, 0.62);
}

.included-module {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border: 1px solid rgba(103, 216, 233, 0.18);
  border-radius: 14px;
  background: rgba(6, 20, 17, 0.42);
}

.included-module > span {
  margin-bottom: 20px;
  color: var(--aqua);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.included-module h4 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.included-module p {
  max-width: 540px;
  margin: 0;
  color: #91a49d;
  font-size: 0.88rem;
}

.approach {
  border-top: 1px solid var(--line);
}

.approach .section-heading {
  display: block;
}

.approach .section-heading h2 {
  max-width: 850px;
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.steps > li > span {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.steps div {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 30px;
}

.steps h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.steps p {
  max-width: 580px;
  margin: 0;
  color: #91a49c;
}

.closing {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 120px;
  padding: 80px;
  border: 1px solid rgba(156, 247, 198, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 25%, rgba(103, 216, 233, 0.13), transparent 18rem),
    linear-gradient(135deg, #13382c, #0b211b);
}

.closing h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.closing-actions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.text-link {
  color: #aebfb8;
  font-size: 0.78rem;
  font-weight: 700;
}

.text-link span {
  margin-left: 8px;
  color: var(--mint);
}

footer {
  display: grid;
  grid-template-columns: 0.6fr 1fr auto;
  gap: 40px;
  align-items: center;
  min-height: 150px;
  color: #778a83;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
}

footer p {
  margin: 0;
}

footer > div {
  display: flex;
  gap: 22px;
  align-items: center;
}

footer a:not(.brand):hover {
  color: var(--paper);
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .system-map {
    min-height: 560px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-featured,
  .project-card-demo {
    grid-column: span 6;
  }

  .roadmap-card {
    grid-column: span 6;
  }

  .roadmap-card-subscription {
    grid-column: 1 / -1;
  }

  .closing {
    grid-template-columns: 1fr;
    padding: 58px;
  }

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

  footer > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 78px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 60px;
    padding: 72px 0 58px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .hero-facts {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-facts span {
    max-width: 86px;
  }

  .system-map {
    min-height: 520px;
    border-radius: 20px;
  }

  .map-node {
    min-width: 126px;
    padding: 11px;
  }

  .source-a,
  .source-b {
    left: 3%;
  }

  .output-a,
  .output-b {
    right: 3%;
  }

  .map-node-core {
    min-width: 156px;
  }

  .map-lines {
    opacity: 0.7;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .project-card,
  .project-card-featured,
  .project-card-demo {
    grid-column: 1 / -1;
    min-height: 330px;
  }

  .roadmap-card,
  .roadmap-card-subscription {
    grid-column: 1 / -1;
  }

  .roadmap-card-subscription {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .included-module {
    padding: 24px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
  }

  .steps div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .closing {
    margin-bottom: 80px;
    padding: 38px 26px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

  footer > div {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .system-map {
    min-height: 600px;
  }

  .source-a {
    top: 66px;
    left: 50%;
    transform: translateX(-50%);
  }

  .source-b {
    top: 168px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .map-node-core {
    top: 50%;
  }

  .output-a {
    top: auto;
    right: auto;
    bottom: 168px;
    left: 50%;
    transform: translateX(-50%);
  }

  .output-b {
    right: auto;
    bottom: 66px;
    left: 50%;
    transform: translateX(-50%);
  }

  .map-lines {
    display: none;
  }
}

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