:root {
  color-scheme: light;
  --bg: #f3f6f3;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #142018;
  --muted: #5f6c64;
  --line: rgba(20, 32, 24, 0.12);
  --line-strong: rgba(20, 32, 24, 0.22);
  --accent: #9fe870;
  --accent-strong: #6fc93b;
  --accent-soft: rgba(159, 232, 112, 0.18);
  --shadow: 0 18px 50px rgba(23, 34, 26, 0.08);
  --shadow-strong: 0 24px 80px rgba(23, 34, 26, 0.14);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --font-body: "Manrope", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(159, 232, 112, 0.26), transparent 28%),
    radial-gradient(circle at right 20%, rgba(174, 206, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #f9fbf8 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(111, 201, 59, 0.42);
  outline-offset: 3px;
}

.topbar,
.nav,
.hero-actions,
.signal-strip,
.deploy-cluster,
.hero-points,
.brand {
  display: flex;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 3.2vw, 40px);
  backdrop-filter: blur(16px);
  background: rgba(243, 246, 243, 0.84);
  border-bottom: 1px solid rgba(20, 32, 24, 0.08);
}

.brand {
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, #dff8cf 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 32, 24, 0.18);
}

.nav {
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.nav .nav-cta {
  color: var(--ink);
  background: linear-gradient(180deg, #daf7c5 0%, var(--accent) 100%);
  box-shadow: 0 12px 24px rgba(111, 201, 59, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.hero,
.section,
.signal-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 7vw, 88px) 0 38px;
}

.eyebrow,
.section-label,
.screen-label,
.signal-label,
.card-tag,
.compare-kicker {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 16px;
  color: #486154;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 40rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #dff8cf 0%, var(--accent) 100%);
  color: #102114;
  box-shadow: 0 18px 34px rgba(111, 201, 59, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.hero-points {
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(20, 32, 24, 0.1);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #2f4337;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.deploy-board {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 244, 0.88)),
    linear-gradient(135deg, rgba(159, 232, 112, 0.12), transparent 42%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.deploy-board::before,
.deploy-board::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(12px);
}

.deploy-board::before {
  top: 28px;
  right: 36px;
  width: 140px;
  height: 140px;
  background: rgba(159, 232, 112, 0.2);
}

.deploy-board::after {
  left: -40px;
  bottom: -30px;
  width: 190px;
  height: 190px;
  background: rgba(161, 192, 255, 0.14);
}

.deploy-screen,
.deploy-note,
.card,
.compare-card,
.final-cta-panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.deploy-screen {
  width: min(100%, 290px);
  border-radius: 24px;
  padding: 20px 20px 18px;
}

.deploy-screen strong {
  display: block;
  margin-top: 12px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.deploy-screen p,
.deploy-note p,
.card p,
.compare-card p,
.final-cta-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.screen-terminal {
  z-index: 2;
}

.screen-server {
  margin: 120px 0 0 auto;
  z-index: 2;
}

.deploy-line {
  position: absolute;
  inset: 176px 148px auto 164px;
  height: 160px;
  border-left: 1px dashed rgba(20, 32, 24, 0.26);
  border-bottom: 1px dashed rgba(20, 32, 24, 0.26);
  border-bottom-left-radius: 28px;
}

.deploy-cluster {
  position: absolute;
  right: 30px;
  bottom: 28px;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 240px;
}

.deploy-cluster span {
  border-radius: 999px;
  padding: 9px 13px;
  background: #142018;
  color: #eef8ef;
  font-family: var(--font-mono);
  font-size: 12px;
}

.deploy-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 260px;
  border-radius: 22px;
  padding: 18px;
}

.signal-strip {
  gap: 16px;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.signal-strip > div {
  flex: 1 1 0;
}

.signal-label,
.section-label,
.screen-label,
.card-tag,
.compare-kicker {
  color: #6b7b71;
  font-size: 11px;
  font-weight: 600;
}

.signal-strip p {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.section {
  padding: 84px 0 0;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.audience-grid,
.steps-grid,
.benefits-grid,
.compare-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

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

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

.card,
.compare-card {
  border-radius: 24px;
  padding: 22px;
}

.card h3,
.compare-card h3 {
  margin: 18px 0 0;
  font-size: 1.34rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #142018;
  color: #edf8ef;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
}

.compare-section {
  padding-bottom: 0;
}

.compare-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(159, 232, 112, 0.1), transparent 48%);
}

.final-cta {
  padding-bottom: 110px;
}

.final-cta-panel {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(180deg, rgba(18, 27, 21, 0.94), rgba(18, 27, 21, 0.9)),
    linear-gradient(135deg, rgba(159, 232, 112, 0.18), transparent 52%);
  color: #f5fbf4;
}

.final-cta-panel .section-label {
  color: rgba(245, 251, 244, 0.56);
}

.final-cta-panel h2 {
  max-width: 14ch;
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.final-cta-panel p {
  max-width: 44rem;
  color: rgba(245, 251, 244, 0.72);
}

.final-cta-panel .button {
  margin-top: 24px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  background: #142018;
  color: #f5fbf4;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(20, 32, 24, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .deploy-board {
    min-height: 480px;
  }

  .audience-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-strong);
  }

  .topbar.menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
  }

  .signal-strip,
  .audience-grid,
  .steps-grid,
  .benefits-grid,
  .compare-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .signal-strip {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-inline: 16px;
  }

  .hero,
  .section,
  .signal-strip {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1,
  .section-head h2,
  .final-cta-panel h2 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .deploy-board {
    min-height: 520px;
    padding: 18px;
  }

  .deploy-screen {
    width: 100%;
  }

  .screen-server {
    margin-top: 92px;
  }

  .deploy-line {
    left: 84px;
    right: 96px;
    top: 150px;
    height: 114px;
  }

  .deploy-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .deploy-cluster {
    left: 18px;
    right: 18px;
    bottom: 124px;
    max-width: none;
  }

  .section {
    padding-top: 64px;
  }

  .final-cta {
    padding-bottom: 96px;
  }

  .mobile-sticky-cta {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }
}
