:root {
  --bg: #08101d;
  --bg-soft: #0f1b30;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --muted: #5f6b7a;
  --white: #ffffff;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
  --shadow-lg: 0 20px 60px rgba(2, 8, 23, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f6f8fb;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4 { line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.03em; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.center { text-align: center; margin-inline: auto; }
.stack-lg > * + * { margin-top: 1.3rem; }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.site-shell { overflow: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .78rem; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { font-size: 1.15rem; }
.desktop-nav { display: flex; gap: 1.6rem; align-items: center; }
.desktop-nav a { color: #1f2937; font-weight: 600; }
.desktop-nav a:hover { color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: .85rem; }
.menu-toggle {
  width: 52px; height: 52px; border-radius: 16px; border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.7); display: none; place-items: center; padding: 0; cursor: pointer;
  box-shadow: var(--shadow);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #0f172a; margin: 4px auto; transition: .25s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid rgba(15,23,42,.06); }
.mobile-menu.open { display: block; }
.mobile-menu-inner { display: grid; gap: .85rem; padding: 1rem 0 1.25rem; }
.mobile-menu-inner a:not(.btn) {
  font-weight: 700; padding: .85rem 0; border-bottom: 1px solid rgba(15,23,42,.06);
}

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem; text-align: center;
  font-weight: 800; border-radius: 16px; padding: 0.98rem 1.35rem; transition: .25s ease;
}
.btn-sm { padding: .82rem 1.1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  color: white;
  background: linear-gradient(180deg, #30da6d 0%, #1fb455 100%);
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(34, 197, 94, 0.28); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.hero-section {
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 78% 24%, rgba(34,197,94,.24), transparent 20%),
    radial-gradient(circle at 18% 18%, rgba(59,130,246,.16), transparent 26%),
    linear-gradient(135deg, #08101d 0%, #0c1730 48%, #0b1220 100%);
  padding: 5.5rem 0 4rem;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -5% -90px auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(34,197,94,.22), transparent 62%);
  filter: blur(16px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
  color: #9ae6b4;
}
.hero-copy h1, .page-hero h1 { font-size: clamp(3rem, 7vw, 5.3rem); max-width: 10ch; }
.text-accent {
  color: #47e47e;
  text-shadow: 0 0 30px rgba(71, 228, 126, 0.22);
}
.hero-lead, .page-lead {
  font-size: clamp(1.03rem, 2vw, 1.24rem);
  line-height: 1.8;
  color: rgba(255,255,255,.78);
  max-width: 58ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 1.2rem; }
.hero-micro {
  display: flex; flex-wrap: wrap; gap: .8rem; color: rgba(255,255,255,.76); font-weight: 600;
}
.hero-micro span {
  background: rgba(255,255,255,.08); padding: .65rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.1);
}
.hero-visual { position: relative; min-height: 460px; }
.visual-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.visual-panel-main {
  position: absolute; inset: 2rem 3.5rem auto 0; min-height: 320px;
}
.panel-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pill, .badge-soft, .kit-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px; font-weight: 800; font-size: .8rem;
}
.pill { color: white; background: rgba(34,197,94,.2); padding: .55rem .8rem; }
.muted { color: rgba(255,255,255,.72); font-size: .94rem; }
.mini-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.mini-list li {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); padding: .85rem 1rem; border-radius: 14px;
}
.floating-card {
  position: absolute;
  border-radius: 18px;
  padding: .95rem 1rem;
  background: white;
  color: #0f172a;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}
.floating-one { right: 1rem; top: 1.8rem; }
.floating-two { right: 0; bottom: 6rem; }
.floating-three { left: 2rem; bottom: 0; }

.logo-strip { background: #ffffff; border-bottom: 1px solid rgba(15,23,42,.06); }
.trust-row {
  min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  color: #64748b; font-weight: 700;
}

.section { padding: 5rem 0; }
.section-light { background: #f6f8fb; }
.section-soft { background: linear-gradient(180deg, #f0f5fa 0%, #f6f8fb 100%); }
.section-dark {
  color: white;
  background: linear-gradient(135deg, #0a1324 0%, #0d1730 100%);
}
.section-heading { margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 12ch; }
.section-heading p { max-width: 60ch; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-heading p { color: rgba(255,255,255,.72); }
.section-heading.center h2 { margin-inline: auto; }

.card-grid { display: grid; gap: 1.35rem; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-card, .kit-card, .stat-card, .step-card, .info-panel, .form-panel, .category-block {
  background: white;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card {
  padding: 1.5rem;
  transition: .28s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(2, 8, 23, 0.12); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--primary-soft); font-size: 1.5rem; margin-bottom: 1rem;
}
.card-link { display: inline-block; font-weight: 800; color: var(--primary-dark); margin-top: .6rem; }
.feature-card-highlight {
  background: linear-gradient(180deg, #0d1830 0%, #11203e 100%);
  color: white;
}
.feature-card-highlight .badge-soft {
  background: rgba(34,197,94,.18); color: #b8f2ca; padding: .55rem .8rem;
}

.how-section { position: relative; overflow: clip; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.35rem; }
.step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.6rem;
}
.step-number {
  display: inline-flex; margin-bottom: 1rem; font-size: .84rem; font-weight: 900; letter-spacing: .14em;
  color: #9ae6b4;
}
.step-card p { color: rgba(255,255,255,.72); }

.kit-card { padding: 1.5rem; display: flex; flex-direction: column; }
.kit-card.large { min-height: 260px; }
.kit-tag { background: var(--primary-soft); color: var(--primary-dark); padding: .5rem .75rem; margin-bottom: 1rem; width: fit-content; }
.kit-card a { margin-top: auto; font-weight: 800; color: var(--primary-dark); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.35rem; }
.stat-card { padding: 1.6rem; }
.stat-card strong { display: block; margin-bottom: .45rem; font-size: 1.1rem; }
.stat-card span { color: var(--muted); }

.cta-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #edf5f2 100%);
  padding-top: 0;
}
.cta-panel {
  transform: translateY(36px);
  background: linear-gradient(135deg, #091224 0%, #0c1730 50%, #0b1220 100%);
  color: white;
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.signup-form {
  display: flex;
  gap: .8rem;
  align-items: center;
  width: min(480px, 100%);
}
.signup-form input,
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  border: 1px solid rgba(15,23,42,.12);
  background: white;
  border-radius: 14px;
  padding: 1rem 1rem;
  font: inherit;
  color: var(--text);
}
.signup-form input { min-width: 220px; }
.stack-form { display: grid; gap: .9rem; }
.stack-form label { font-weight: 700; }
.form-panel { padding: 1.5rem; }
.info-panel { padding: 1.5rem; }
.clean-list { margin: 1rem 0 0; padding-left: 1.1rem; }
.category-block { padding: 1.6rem; }
.page-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
  padding: 4.2rem 0 2rem;
}
.page-hero .eyebrow { color: var(--primary-dark); }
.page-hero h1 { max-width: 12ch; color: #0b1323; }
.page-lead { color: var(--muted); }

.site-footer {
  padding: 5rem 0 2rem;
  background: #ffffff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand { margin-bottom: 1rem; }
.footer-copy { max-width: 44ch; color: var(--muted); }
.site-footer h4 { margin-bottom: .85rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.site-footer li a { color: var(--muted); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(15,23,42,.08);
  color: var(--muted);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.reveal { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-grid, .two-col, .cta-panel { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-grid, .stat-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1, .page-hero h1 { max-width: 12ch; }
}

@media (max-width: 820px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-toggle { display: grid; }
  .hero-section { padding: 4.7rem 0 3.2rem; }
  .hero-grid { gap: 2.1rem; }
  .hero-visual { min-height: 380px; }
  .visual-panel-main { inset: 0 2rem auto 0; }
  .card-grid-2, .card-grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-panel { transform: translateY(0); border-radius: 24px; }
  .site-footer { padding-top: 3rem; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 1.25rem)); }
  .nav-wrap { min-height: 76px; }
  .brand-text { font-size: 1.02rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.6rem, 11vw, 3.55rem); }
  .hero-lead, .page-lead { font-size: 1rem; }
  .hero-actions, .signup-form { flex-direction: column; align-items: stretch; }
  .hero-micro { gap: .6rem; }
  .hero-visual { min-height: 320px; }
  .visual-panel-main { inset: 0 1rem auto 0; padding: 1.2rem; }
  .floating-card { font-size: .88rem; padding: .8rem .9rem; }
  .floating-one { right: .2rem; top: 1rem; }
  .floating-two { right: 0; bottom: 4.7rem; }
  .floating-three { left: .4rem; bottom: 0; }
  .section-heading h2 { max-width: 100%; }
  .feature-card, .kit-card, .step-card, .stat-card, .info-panel, .form-panel, .category-block { padding: 1.25rem; }
  .page-hero { padding: 3.4rem 0 1.2rem; }
}
.hero {
  background: radial-gradient(circle at 70% 30%, rgba(34,197,94,0.15), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(16,185,129,0.1), transparent 40%),
              linear-gradient(180deg, #020617, #0f172a);
}
.hero h1 span {
  color: #22c55e;
  text-shadow: 0 0 25px rgba(34,197,94,0.4);
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background: #020617;
  transition: 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}
.btn.primary {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 10px 30px rgba(34,197,94,0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(34,197,94,0.5);
}
.sticky-cta {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #020617;
  padding: 10px;
  text-align: center;
}