/* ==========================================================================
   Splitter — landing page
   Self-contained: no CDN, no webfonts, no build step.
   ========================================================================== */

:root {
  --bg:        #05070d;
  --bg-2:      #080c16;
  --panel:     rgba(255, 255, 255, .035);
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .14);

  --text:      #e6edf6;
  --muted:     #94a3b8;
  --dim:       #64748b;

  --em:        #10b981;
  --em-2:      #34d399;
  --em-3:      #5eead4;
  --teal:      #0d9488;
  --danger:    #f87171;

  --r:         16px;
  --r-lg:      22px;
  --wrap:      1180px;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(16, 185, 129, .3); color: #fff; }

a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .9em; color: var(--em-3); }
strong { color: #fff; font-weight: 650; }
em { font-style: normal; color: var(--em-2); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------------------------------------------------------------- backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.aurora-1 {
  width: 620px; height: 620px; top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(16, 185, 129, .42), transparent 65%);
  animation: drift1 22s var(--ease) infinite alternate;
}
.aurora-2 {
  width: 560px; height: 560px; top: -100px; right: -160px;
  background: radial-gradient(circle, rgba(56, 189, 248, .3), transparent 65%);
  animation: drift2 26s var(--ease) infinite alternate;
}
.aurora-3 {
  width: 700px; height: 700px; top: 46%; left: 42%;
  background: radial-gradient(circle, rgba(13, 148, 136, .22), transparent 68%);
  animation: drift3 30s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(140px, 120px) scale(1.18); } }
@keyframes drift2 { to { transform: translate(-120px, 160px) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-160px, -110px) scale(1.2); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 78%);
}

/* -------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(5, 7, 13, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark .brand-line { transition: transform .5s var(--ease); transform-origin: left center; }
.brand:hover .brand-mark .brand-line:nth-child(1) { transform: translateX(3px); }
.brand:hover .brand-mark .brand-line:nth-child(2) { transform: translateX(5px); }
.brand:hover .brand-mark .brand-line:nth-child(3) { transform: translateX(2px); }
.brand-name { font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.accent { color: var(--em-2); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .2s ease; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: linear-gradient(90deg, var(--em), var(--em-3));
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .9rem; font-weight: 650; line-height: 1;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s ease,
              background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--em), var(--teal));
  color: #04140f;
  box-shadow: 0 10px 28px -12px rgba(16, 185, 129, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(16, 185, 129, .95); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: #fff; background: var(--panel); }

.btn-outline {
  color: var(--text); border-color: var(--line-2); background: var(--panel);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: rgba(52, 211, 153, .55); color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 15px 26px; font-size: .98rem; border-radius: 14px; }

/* --------------------------------------------------------------------- bits */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: .79rem; font-weight: 600; color: var(--muted);
  letter-spacing: .01em;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--em-2); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .65); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.grad {
  background: linear-gradient(105deg, var(--em-3) 0%, var(--em-2) 32%, #38bdf8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shift 7s ease-in-out infinite;
}
@keyframes shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.glow { position: relative; }
.glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, rgba(52, 211, 153, .5), rgba(56, 189, 248, .18), transparent 60%);
  opacity: .55;
}

/* -------------------------------------------------------------------- hero */
.hero { padding: 150px 0 90px; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

h1 {
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.3rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 830;
  margin: 22px 0 20px; color: #fff;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
.lede-sm { font-size: 1rem; color: var(--muted); margin: 16px 0 28px; }

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

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin-top: 28px;
  font-size: .86rem; color: var(--dim);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--em-2); }

/* ---------------------------------------------------------------- terminal */
.hero-visual { position: relative; }

.term {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0b1120, #070b14);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(16, 185, 129, .3);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-title {
  margin-left: 10px; font-family: var(--mono); font-size: .74rem; color: var(--dim);
}
.term-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; color: var(--em-2); text-transform: uppercase;
  letter-spacing: .06em;
}
.term-body {
  font-family: var(--mono); font-size: .82rem; line-height: 1.85;
  /* The generous bottom padding is deliberate: it's the empty zone the
     bottom-left float card sits over, so the card never covers output. */
  padding: 20px 20px 96px; color: #cbd5e1;
  white-space: pre-wrap; word-break: break-word;
  /* Reserve the finished output's height so the typing animation (which starts
     from an empty box) doesn't shift the page as it fills. */
  min-height: 384px;
}
.term-body.static { min-height: 0; font-size: .78rem; line-height: 1.8; }
.term-body .p  { color: var(--em-2); }
.term-body .c  { color: #64748b; }
.term-body .k  { color: var(--em-3); }
.term-body .ok { color: var(--em-2); font-weight: 600; }
.term-body .no { color: var(--danger); }
.term-body .arg { color: #7dd3fc; }
.caret {
  display: inline-block; width: 8px; height: 1em; vertical-align: text-bottom;
  background: var(--em-2); animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* float cards */
.float-card {
  position: absolute; z-index: 2;
  padding: 13px 15px; border-radius: 14px;
  background: rgba(10, 15, 26, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .95);
  font-size: .74rem; min-width: 186px;
}
/* Overhang the corners — never sit over the terminal's output. fc-1 clears the
   title bar entirely; fc-2 floats over the body's empty bottom padding. */
.fc-1 { right: -30px; top: -60px;    animation: floaty 7s ease-in-out infinite; }
.fc-2 { left: -34px;  bottom: -26px; animation: floaty 8.5s ease-in-out .8s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.fc-label {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--dim); font-weight: 700; margin-bottom: 9px;
}
.fc-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.fc-row .mono { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.chip {
  font-size: .62rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 999px;
}
.chip.ok { background: rgba(16, 185, 129, .16); color: var(--em-2); }
.chip.no { background: rgba(248, 113, 113, .14); color: var(--danger); }

/* ------------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 90px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--line); overflow: hidden;
}
.stat {
  background: rgba(8, 12, 22, .78); padding: 26px 22px; text-align: center;
  transition: background .3s ease;
}
.stat:hover { background: rgba(16, 185, 129, .06); }
.stat-n {
  font-size: 2.1rem; font-weight: 820; letter-spacing: -.03em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: .78rem; color: var(--dim); margin-top: 5px; }

/* ---------------------------------------------------------------- sections */
.section { padding: 100px 0; position: relative; }
.section-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .018) 18%,
              rgba(255, 255, 255, .018) 82%, transparent);
}

.head { max-width: 42rem; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; color: var(--em-2); margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.7rem);
  line-height: 1.14; letter-spacing: -.03em; font-weight: 800; color: #fff;
}
.head p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }

/* ------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; padding: 30px 26px 26px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(8, 12, 22, .6);
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, .32);
  background: rgba(12, 20, 32, .8);
}
.step-n {
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  color: var(--em-2); margin-bottom: 12px; letter-spacing: .06em;
}
.step h3 { font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: 9px; letter-spacing: -.015em; }
.step p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }

.code {
  font-family: var(--mono); font-size: .74rem; line-height: 1.75;
  padding: 14px; border-radius: 12px; overflow-x: auto;
  background: rgba(0, 0, 0, .42); border: 1px solid var(--line);
  color: #cbd5e1; white-space: pre;
}
.code .k { color: var(--em-3); }
.code .c { color: #64748b; }
.code .ok { color: var(--em-2); }

/* ---------------------------------------------------------------- live map */
.diagram {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background:
    radial-gradient(620px circle at 50% 50%, rgba(16, 185, 129, .06), transparent 62%),
    rgba(8, 12, 22, .55);
  overflow: hidden;
}
.diagram-bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.dg-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
  color: var(--em-2);
}
.dg-legend { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--dim); }
.dg-count { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--dim); }
.sw { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.sw-ok   { background: var(--em-2); }
.sw-warn { background: #fbbf24; }
.sw-down { background: var(--danger); }

.diagram-scroll { overflow-x: auto; }
.diagram svg { width: 100%; min-width: 900px; height: auto; display: block; padding: 20px 16px; }

/* --- wires: a slow dash crawl reads as a live link between packets --- */
.lw {
  fill: none; stroke-width: 1.6;
  stroke: rgba(148, 163, 184, .3);
}
.lw.warn {
  stroke: rgba(251, 191, 36, .55); stroke-dasharray: 5 5;
  animation: crawl 1.1s linear infinite;
}
.lw.down {
  stroke: rgba(248, 113, 113, .6); stroke-dasharray: 5 5;
  animation: crawl 1.4s linear infinite;
}
@keyframes crawl { to { stroke-dashoffset: -20; } }

/* --- mapping + pool cards --- */
.lm rect {
  fill: rgba(255, 255, 255, .035);
  stroke: var(--line-2); stroke-width: 1;
}
.lm-t {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; fill: #e6edf6;
}
.lm-s { font-family: var(--mono); font-size: 10px; fill: var(--muted); }
.lm-m { font-family: var(--mono); font-size: 9.5px; fill: var(--dim); }
.lm .proto { fill: #7dd3fc; }
.lm .proto.udp { fill: #c4b5fd; }
.lm .lb { fill: var(--em-3); }

.lm .st.ok { fill: var(--em-2); }
.lm .port { fill: #0b1120; stroke: rgba(148, 163, 184, .55); stroke-width: 1.4; }

.lm.pool rect { fill: rgba(16, 185, 129, .05); stroke: rgba(52, 211, 153, .28); }
.lm.pool.warn rect { fill: rgba(251, 191, 36, .06); stroke: rgba(251, 191, 36, .45); }
.lm.pool.down rect { fill: rgba(248, 113, 113, .06); stroke: rgba(248, 113, 113, .5); }
.lm.pool.down .lm-t { fill: #fca5a5; }
.lm .flag {
  font-family: var(--mono); font-size: 11px; font-weight: 800; text-anchor: middle;
}
.lm.pool.warn .flag { fill: #fbbf24; }
.lm.pool.down .flag { fill: var(--danger); animation: flash 1.6s ease-in-out infinite; }
@keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* --- the hub --- */
.hub rect {
  fill: rgba(16, 185, 129, .08);
  stroke: rgba(52, 211, 153, .5); stroke-width: 1.4;
  filter: url(#hubglow);
}
.hub-t {
  font-size: 17px; font-weight: 800; fill: #fff; text-anchor: middle;
  letter-spacing: -.02em;
}
.hub-s {
  font-family: var(--mono); font-size: 9.5px; fill: var(--em-2); text-anchor: middle;
}
.hub .hub-port { fill: #0b1120; stroke: var(--em-2); stroke-width: 1.6; }
.hub-pulse { fill: var(--em-2); animation: hubpulse 2s ease-in-out infinite; }
@keyframes hubpulse { 0%, 100% { opacity: .4; r: 3.4px; } 50% { opacity: 1; r: 5px; } }

/* --- packets --- */
.pk { fill: var(--em-2); filter: url(#soft); }
.pk.warn { fill: #fbbf24; }
.pk.down { fill: var(--danger); }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(8, 12, 22, .6);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(16, 185, 129, .1), transparent 42%);
  transition: opacity .4s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(52, 211, 153, .3); }
.card:hover::after { opacity: 1; }
.card-hl { border-color: rgba(52, 211, 153, .3); background: rgba(12, 24, 26, .6); }

.ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(52, 211, 153, .2);
  color: var(--em-2);
  transition: transform .35s var(--ease);
}
.card:hover .ico { transform: scale(1.08) rotate(-4deg); }
.ico svg { width: 21px; height: 21px; }

.card h3 { font-size: 1.06rem; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -.015em; }
.card p { font-size: .9rem; color: var(--muted); }

.tag {
  position: absolute; top: 20px; right: 20px;
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(16, 185, 129, .16); color: var(--em-2);
  border: 1px solid rgba(52, 211, 153, .3);
}

/* ---------------------------------------------------------------- security */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.checks { list-style: none; display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px;
  color: var(--em-2);
  padding: 3px; border-radius: 6px; background: rgba(16, 185, 129, .1);
}
.checks div { font-size: .94rem; color: var(--muted); }

/* ----------------------------------------------------------------- install */
.install {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(8, 12, 22, .7); padding: 26px;
  max-width: 780px;
}
.install-cmd { position: relative; }
.install-cmd pre {
  font-family: var(--mono); font-size: .92rem; line-height: 2;
  padding: 20px 110px 20px 20px; border-radius: 14px;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--line);
  color: #e2e8f0; overflow-x: auto; white-space: pre;
}
.install-cmd .p { color: var(--em-2); user-select: none; margin-right: 8px; }

.copy {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: .76rem; font-weight: 650;
  padding: 8px 12px; border-radius: 9px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.copy svg { width: 14px; height: 14px; }
.copy:hover { color: #fff; border-color: rgba(52, 211, 153, .5); background: rgba(16, 185, 129, .1); }
.copy.done { color: var(--em-2); border-color: rgba(52, 211, 153, .6); }

.install-note { margin-top: 16px; font-size: .88rem; color: var(--dim); }
.hi {
  color: var(--em-2); background: rgba(16, 185, 129, .1);
  padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(52, 211, 153, .2);
}

/* --------------------------------------------------------------------- cta */
.cta {
  margin-top: 60px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 26px;
  border: 1px solid rgba(52, 211, 153, .26); border-radius: var(--r-lg);
  background:
    radial-gradient(700px circle at 12% 0%, rgba(16, 185, 129, .13), transparent 55%),
    rgba(8, 14, 22, .8);
}
.cta h3 { font-size: 1.45rem; font-weight: 780; color: #fff; letter-spacing: -.02em; }
.cta p { color: var(--muted); margin-top: 5px; font-size: .94rem; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand-mark { width: 28px; height: 28px; }
.footer .brand-name { font-size: 1rem; }
.footer-c { margin-left: auto; font-size: .82rem; color: var(--dim); }
.footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--muted);
  padding: 7px 13px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding: 128px 0 70px; }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { right: -8px; } .fc-2 { left: -8px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .steps, .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .section { padding: 76px 0; }
  .cta { padding: 30px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-c { margin-left: 0; width: 100%; order: 3; }
  .install-cmd pre { padding-right: 20px; padding-top: 52px; }
  .copy { top: 10px; right: 10px; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
