:root {
  --ink: #0c1a1c;
  --ink-soft: #24383c;
  --paper: #eef2f0;
  --paper-2: #e2ebe6;
  --mist: #cfdcd5;
  --line: rgba(12, 26, 28, 0.14);
  --accent: #1f6b52;
  --accent-2: #c9e86a;
  --saas: #2a5560;
  --shadow: 0 18px 50px rgba(12, 26, 28, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 232, 106, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(31, 107, 82, 0.12), transparent 50%),
    linear-gradient(180deg, #f2f6f4 0%, var(--paper) 42%, #e6eee9 100%);
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(238, 242, 240, 0.86);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.top__nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}

.top__nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--accent);
}

.top__cta {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
}

.top__cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #eef6f1;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  min-height: 100%;
}

.hero__grid path {
  fill: none;
  stroke: rgba(238, 246, 241, 0.06);
  stroke-width: 1;
}

.hero__beam {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  animation: beam 6s ease-in-out infinite alternate;
}

.hero__node rect {
  fill: rgba(12, 26, 28, 0.42);
  stroke: rgba(201, 232, 106, 0.35);
  stroke-width: 1.5;
}

.hero__node text {
  fill: #f4f8f2;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  text-anchor: middle;
}

.hero__node-sub {
  font-size: 18px !important;
  font-weight: 500 !important;
  fill: rgba(238, 246, 241, 0.78) !important;
}

.hero__node--saas rect {
  stroke: rgba(126, 200, 163, 0.55);
}

.hero__node--a,
.hero__node--saas,
.hero__node--b {
  animation: rise 900ms ease both;
}

.hero__node--saas {
  animation-delay: 120ms;
}

.hero__node--b {
  animation-delay: 240ms;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 18, 20, 0.4) 18%, rgba(8, 18, 20, 0.82) 100%);
  animation: fade-up 800ms ease both;
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent-2);
}

.hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(238, 246, 241, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent-2);
  color: var(--ink);
}

.btn--primary:hover {
  background: #dff39a;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #eef6f1;
  box-shadow: inset 0 0 0 1.5px rgba(238, 246, 241, 0.55);
}

.btn--ghost:hover {
  background: rgba(238, 246, 241, 0.08);
  color: #fff;
}

.band {
  padding: 4.5rem 1.25rem;
}

.band--tint {
  background: linear-gradient(180deg, rgba(213, 228, 220, 0.45), rgba(231, 239, 232, 0.65));
  border-block: 1px solid var(--line);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.band__lede {
  margin: 0.85rem 0 0;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.subhead {
  margin: 2.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.plain-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 50rem;
}

.plain-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.note {
  margin: 1.5rem 0 0;
  max-width: 50rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.callout {
  margin: 2.25rem 0 0;
  max-width: 46rem;
  padding: 1.1rem 0 0;
  border-top: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.steps {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  max-width: 50rem;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin: 0;
  font-size: 1.1rem;
}

.steps p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.steps--compact {
  gap: 0.85rem;
}

.steps--compact > li {
  padding-left: 2.5rem;
}

.steps--compact > li::before {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.8rem;
}

.table-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.place {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 52rem;
}

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

.place thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.place tbody th {
  width: 16rem;
  font-weight: 700;
  background: rgba(31, 107, 82, 0.06);
}

.place tbody tr:last-child th,
.place tbody tr:last-child td {
  border-bottom: 0;
}

.code {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--ink);
  color: #e7f2ea;
  border-radius: 2px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.code code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: pre;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  font-weight: 700;
}

.foot {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  background: #0f2226;
  color: #d7e5df;
}

.foot a {
  color: var(--accent-2);
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.foot p {
  margin: 0;
  max-width: 42rem;
}

.foot__small {
  margin-top: 0.75rem !important;
  opacity: 0.7;
  font-size: 0.88rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes beam {
  from {
    stroke-dasharray: 18 14;
    stroke-dashoffset: 0;
  }
  to {
    stroke-dasharray: 18 14;
    stroke-dashoffset: -40;
  }
}

@media (max-width: 860px) {
  .top__nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__map {
    min-height: 28rem;
  }

  .hero__node text {
    font-size: 22px;
  }

  .hero__node-sub {
    font-size: 14px !important;
  }

  .hero__copy {
    padding-top: 1.5rem;
  }
}

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

  .hero__beam,
  .hero__node--a,
  .hero__node--saas,
  .hero__node--b,
  .hero__copy,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
