:root {
  --bg: #070b11;
  --bg-mid: #0e1622;
  --panel: rgba(18, 28, 40, 0.72);
  --line: #243041;
  --text: #e8eef7;
  --muted: #8ea0b8;
  --accent: #1f9d73;
  --accent-2: #2f7fd4;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Syne", "IBM Plex Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(47, 127, 212, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(31, 157, 115, 0.16), transparent 50%),
    linear-gradient(180deg, #0a121c 0%, var(--bg) 42%, #06090e 100%);
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 17, 0.72);
  border-bottom: 1px solid rgba(36, 48, 65, 0.7);
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav nav a:hover { color: var(--text); }

.nav-cta {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  background: linear-gradient(120deg, #e8eef7 20%, #7fd4b0 55%, #7eb4ef 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-in 0.9s ease both;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 28ch;
  animation: rise 0.8s ease 0.12s both;
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
  animation: rise 0.8s ease 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #04140e;
}

.btn.primary:hover { background: #24b484; }

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.ghost:hover { border-color: var(--accent-2); }

.hero-visual {
  animation: float-in 1s ease 0.2s both;
}

.flow {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.node {
  fill: rgba(13, 20, 29, 0.92);
  stroke: var(--line);
  stroke-width: 1.5;
}

.node.accent {
  stroke: rgba(31, 157, 115, 0.7);
  fill: rgba(16, 36, 30, 0.95);
}

.node.report {
  stroke: rgba(47, 127, 212, 0.55);
}

.node-label {
  fill: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
}

.node-sub {
  fill: var(--muted);
  font-family: var(--font);
  font-size: 12px;
}

.wire {
  stroke-dasharray: 8 10;
  animation: dash 2.4s linear infinite;
}

.wire.down {
  animation-duration: 3s;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid rgba(36, 48, 65, 0.65);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.section-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.5;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  padding-top: 0.15rem;
}

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

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.outcomes li {
  padding-left: 0;
  color: var(--muted);
  line-height: 1.5;
}

.outcomes strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

.connect .sip-line {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.connect code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #9ec7ff;
  background: rgba(13, 20, 29, 0.9);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.fine {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.final-cta {
  text-align: left;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid rgba(36, 48, 65, 0.65);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--text); }

@keyframes brand-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

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

@keyframes float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes dash {
  to { stroke-dashoffset: -36; }
}

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

  .hero-visual { order: -1; }

  .brand-mark { font-size: clamp(2.2rem, 11vw, 3.4rem); }

  .hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .site-nav nav a:not(.nav-cta) { display: none; }
}
