:root {
  color-scheme: dark;
  --bg-app: #09090b;
  --bg-card: #131518;
  --bg-card-soft: rgba(19, 21, 24, 0.72);
  --bg-hover: #20252b;
  --bg-input: #0b0b0d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-primary: #f5f7fb;
  --text-body: #d7dce3;
  --text-muted: #a0a8b3;
  --text-subtle: #707985;
  --brand-600: #059669;
  --brand-500: #10b981;
  --brand-400: #34d399;
  --brand-300: #6ee7b7;
  --brand-tint-bg: rgba(3, 48, 37, 0.7);
  --brand-tint-border: rgba(52, 211, 153, 0.22);
  --sky-400: #38bdf8;
  --glow-green: rgba(16, 185, 129, 0.2);
  --glow-cyan: rgba(56, 189, 248, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(16, 185, 129, 0.3); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(16, 185, 129, 0.1), transparent 70%),
    radial-gradient(ellipse 35% 25% at 12% 18%, rgba(56, 189, 248, 0.08), transparent 75%),
    radial-gradient(ellipse 40% 28% at 88% 28%, rgba(16, 185, 129, 0.06), transparent 75%),
    linear-gradient(180deg, #0a0b0d 0%, #09090b 34%, #08090b 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

code {
  font-family: "SF Mono", Menlo, Monaco, ui-monospace, monospace;
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-hover);
  color: var(--text-body);
}

a {
  color: var(--brand-400);
  text-decoration: none;
  transition: color 120ms;
}

a:hover { color: var(--brand-300); }

/* ---------- Brand mark ---------- */
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex: none;
}

.brand-mark svg { width: 18px; height: 18px; display: block; }

.brand-mark.sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.brand-mark.sm svg { width: 13px; height: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.site-brand:hover { color: var(--text-primary); }

.site-brand-name { font-family: "SF Mono", Menlo, Monaco, ui-monospace, monospace; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 13px;
}

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

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ecfdf5;
  font-weight: 700;
  letter-spacing: -0.01em;
  background:
    linear-gradient(180deg, rgba(28, 191, 136, 0.96), rgba(12, 141, 103, 0.96));
  border: 1px solid rgba(110, 231, 183, 0.32);
  box-shadow:
    0 14px 30px -18px rgba(16, 185, 129, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-nav .nav-cta:hover {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(37, 206, 148, 1), rgba(16, 156, 114, 1));
  box-shadow:
    0 18px 34px -18px rgba(16, 185, 129, 0.82),
    0 0 0 1px rgba(110, 231, 183, 0.14);
}

/* ---------- Main & sections ---------- */
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.035em;
  font-weight: 650;
  color: var(--text-primary);
}

.section-sub {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
}

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

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-300);
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 82px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--brand-400);
  background: linear-gradient(180deg, rgba(6, 95, 70, 0.55), rgba(3, 48, 37, 0.82));
  border: 1px solid var(--brand-tint-border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px -18px rgba(16, 185, 129, 0.55);
}

.hero h1 {
  margin: 0 auto 20px;
  max-width: 840px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: var(--text-primary);
}

.hero h1 code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.7em;
  padding: 3px 10px;
  vertical-align: 0.08em;
}

.hero h1 .accent {
  color: var(--brand-400);
  display: inline-block;
  text-shadow: 0 0 24px rgba(52, 211, 153, 0.18);
}

.hero .lede {
  max-width: 660px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 24px;
  width: fit-content;
}

.hero-actions .btn {
  min-height: 56px;
  padding: 0 34px;
  font-size: 15px;
  border-radius: 18px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.8;
}

.hero-orb-left {
  width: 280px;
  height: 280px;
  top: 32px;
  left: -90px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 68%);
}

.hero-orb-right {
  width: 360px;
  height: 360px;
  top: 10px;
  right: -120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(20, 23, 28, 0.76);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 150ms, border-color 150ms, color 150ms, transform 80ms, box-shadow 150ms;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: 0 14px 32px -24px rgba(255, 255, 255, 0.22);
}

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

.btn.primary {
  background: linear-gradient(180deg, #1cbf88, #0c8d67);
  border-color: rgba(52, 211, 153, 0.5);
  color: #fff;
  box-shadow: 0 18px 36px -22px rgba(16, 185, 129, 0.65);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #25ce94, #109c72);
  border-color: rgba(110, 231, 183, 0.52);
  color: #fff;
}

.btn.primary[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

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

.btn.ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.btn.lg {
  padding: 13px 22px;
  font-size: 14px;
  border-radius: 10px;
}

/* ---------- Address-bar mock ---------- */
.addrbar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px 18px 18px 16px;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.94), rgba(16, 18, 22, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  font-family: "SF Mono", Menlo, Monaco, ui-monospace, monospace;
  font-size: 15px;
  color: var(--text-body);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.06),
    0 30px 80px -36px rgba(16, 185, 129, 0.35),
    0 20px 48px -26px rgba(0, 0, 0, 0.72);
}

.addrbar-dots {
  display: inline-flex;
  gap: 5px;
}

.addrbar-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-hover);
}

.addrbar-url {
  flex: 1;
  text-align: left;
  color: var(--text-body);
  letter-spacing: 0;
}

.addrbar-scheme { color: var(--text-subtle); }
.addrbar-tld { color: var(--brand-400); }

.addrbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--brand-tint-bg);
  border: 1px solid var(--brand-tint-border);
  color: var(--brand-300);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.dot.ok { background: var(--brand-500); }

/* ---------- Band (why) ---------- */
.band {
  margin: 20px auto 0;
  padding: 0;
}

.band-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(19, 21, 24, 0.9), rgba(14, 16, 19, 0.92));
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.band-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sky-400), rgba(52, 211, 153, 0.6));
}

.band-copy {
  position: relative;
  z-index: 1;
}

.band-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 650;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  line-height: 1.02;
}

.band-body {
  margin: 0 0 14px;
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.82;
}

.band-body:last-child { margin-bottom: 0; }

.trust-panel {
  border-radius: 20px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(9, 11, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trust-panel-head {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.trust-chip.active {
  margin-left: auto;
  color: var(--brand-300);
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(3, 48, 37, 0.72);
}

.trust-rows {
  display: grid;
  gap: 12px;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  color: var(--text-muted);
}

.trust-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trust-row strong {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ---------- How it works ---------- */
.how {
  padding: 110px 0 56px;
  text-align: left;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(20, 23, 28, 0.94), rgba(16, 18, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px 24px 24px;
  position: relative;
  transition: border-color 180ms, transform 180ms, box-shadow 180ms;
  min-height: 260px;
  overflow: hidden;
}

.step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.7);
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.2), transparent);
}

.step-index {
  font-family: "SF Mono", Menlo, Monaco, ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-400);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 650;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.78;
}

/* ---------- Features ---------- */
.features {
  padding: 84px 0 56px;
}

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

.feature {
  grid-column: span 4;
  background:
    linear-gradient(180deg, rgba(20, 23, 28, 0.92), rgba(16, 18, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px;
  transition: border-color 180ms, transform 180ms, box-shadow 180ms;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 54px -38px rgba(0, 0, 0, 0.74);
}

.feature-wide {
  grid-column: span 8;
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(19, 23, 24, 0.96), rgba(16, 18, 22, 0.92));
}

.feature-highlight {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(19, 22, 29, 0.96), rgba(16, 18, 24, 0.92));
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(3, 48, 37, 0.9), rgba(4, 31, 25, 0.82));
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: var(--brand-400);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon svg { width: 18px; height: 18px; }

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 650;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.feature-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Install ---------- */
.install {
  padding: 96px 0 120px;
}

.install-card {
  max-width: 860px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top center, rgba(52, 211, 153, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(25, 28, 31, 0.95), rgba(18, 20, 23, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 0.8);
}

.install-copy {
  max-width: 620px;
  margin: 0 auto;
}

.install-card h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  line-height: 1;
}

.install-sub {
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.72;
}

.install-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 26px;
}

.install-status {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
}

.install-reqs {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  display: grid;
  gap: 14px;
}

.install-reqs li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  font-size: 15px;
  color: var(--text-body);
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.req-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  font-weight: 600;
  padding-top: 3px;
}

.req-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.req-content p {
  margin: 0;
  line-height: 1.7;
}

.req-inline-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 28px;
  background: rgba(8, 9, 11, 0.88);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 13px;
  font-family: "SF Mono", Menlo, Monaco, ui-monospace, monospace;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 13px;
}

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

.footer-credit {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-credit a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-credit a:hover { color: var(--brand-500); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .step-list,
  .feature-grid,
  .band-inner {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature-wide {
    grid-column: span 1;
  }

  .hero { padding: 64px 0 56px; }
  .how, .features { padding: 72px 0 40px; }
  .install { padding: 56px 0 80px; }

  .band-inner { padding: 28px 24px; }
  .install-card { padding: 34px 22px; }
  .step-card { min-height: auto; }
}

@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav a:first-child { display: none; }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
  }
  .addrbar {
    font-size: 12px;
    padding: 12px;
    gap: 10px;
    border-radius: 18px;
  }
  main { padding: 0 18px; }
  .hero h1 { font-size: clamp(34px, 14vw, 54px); }
  .section-title, .band-title { font-size: clamp(26px, 9vw, 36px); }
  .step-card h3 { font-size: 24px; }
  .install-actions { width: 100%; }
  .btn.lg { width: 100%; justify-content: center; }
  .install-reqs li { grid-template-columns: 1fr; gap: 8px; }
}
