:root {
  --bg: #0b0f0d;
  --bg-soft: #121815;
  --panel: rgba(19, 26, 23, 0.88);
  --panel-strong: rgba(24, 33, 29, 0.94);
  --line: rgba(171, 210, 183, 0.14);
  --line-strong: rgba(171, 210, 183, 0.24);
  --text: #f1f5f2;
  --muted: #9cac9f;
  --brand: #3cad69;
  --brand-strong: #57c67c;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(60, 173, 105, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(87, 198, 124, 0.08), transparent 24%),
    linear-gradient(180deg, #0d1210 0%, #090c0b 100%);
}

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

.ambient,
.grid-noise {
  display: none;
}

.topbar,
main {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  margin-top: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(14, 19, 17, 0.72);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--brand), #278852);
  color: #fff;
  font: 700 1.1rem/1 "Space Grotesk", sans-serif;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy small,
.topnav a,
.eyebrow,
.button,
.metric strong,
.feature-card h3,
.flow-step h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.topnav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #08100b;
  background: var(--brand-strong);
}

main {
  margin-top: 34px;
  margin-bottom: 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero h1,
.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.lede {
  margin: 22px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

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

.button-primary {
  color: #08100b;
  background: var(--brand-strong);
}

.button-primary:hover,
.topnav .nav-cta:hover {
  background: #6ed08d;
}

.button-secondary,
.button-ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.hero-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.visual-card,
.metrics,
.feature-card,
.flow-step,
.cta-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 12, 10, 0.18), rgba(7, 12, 10, 0.74)),
    radial-gradient(circle at 18% 22%, rgba(87, 198, 124, 0.18), transparent 22%),
    radial-gradient(circle at 74% 18%, rgba(60, 173, 105, 0.14), transparent 24%),
    linear-gradient(140deg, #111816 0%, #17211d 45%, #0f1412 100%);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.16;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
}

.visual-content {
  position: absolute;
  inset: 28px;
  z-index: 1;
  display: grid;
  place-items: center;
}

.visual-copy {
  display: grid;
  gap: 12px;
  width: min(30ch, 100%);
  text-align: left;
}

.visual-content strong {
  font: 700 clamp(1.3rem, 2vw, 1.9rem)/1.1 "Space Grotesk", sans-serif;
  max-width: 12ch;
}

.visual-content p {
  margin: 0;
  color: rgba(241, 245, 242, 0.82);
  line-height: 1.6;
}

.metrics {
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.metric span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  margin-top: 92px;
}

.section-heading {
  margin-bottom: 24px;
  max-width: 620px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.feature-grid,
.flow-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.flow-step {
  border-radius: 24px;
  padding: 24px;
}

.feature-card h3,
.flow-step h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.06;
}

.feature-card p,
.flow-step p,
.cta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.flow-step span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.cta-card {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--panel-strong);
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  max-width: 12ch;
}

@media (max-width: 1040px) {
  .hero,
  .feature-grid,
  .flow-grid,
  .metrics,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cta-card {
    display: grid;
  }
}

@media (max-width: 760px) {
  .topbar,
  main {
    width: min(100% - 20px, 1160px);
  }

  .topbar {
    padding: 14px;
  }

  .topnav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 26px;
    margin-top: 12px;
  }

  .visual-card {
    min-height: 400px;
  }

  .feature-card,
  .flow-step,
  .cta-card,
  .metrics {
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}
