:root {
  color-scheme: dark;
  --bg: #07100f;
  --surface: #0d1a18;
  --surface-2: #122621;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f8f6;
  --muted: #afc1ba;
  --accent: #34d399;
  --accent-2: #f6c453;
  --danger: #f97373;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 22% 12%, rgba(52, 211, 153, 0.16), transparent 32rem),
    radial-gradient(circle at 84% 8%, rgba(246, 196, 83, 0.13), transparent 30rem),
    linear-gradient(145deg, #06100e, var(--bg));
  color: var(--text);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px min(5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 15, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #06100e;
  background: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 82px);
  padding: 54px 0 32px;
}

.hero-copy,
.hero-panel,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 24, 0.86);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
}

.lead,
.section-head p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  border-color: rgba(52, 211, 153, 0.72);
  background: var(--accent);
  color: #06100e;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
}

.hero-panel div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: 70px 0;
}

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

.modules,
.pricing,
.channels {
  display: grid;
  gap: 16px;
}

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

.modules article,
.pricing article,
.channels article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 24, 0.82);
}

.modules article {
  padding: 22px;
}

.modules span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 900;
}

.modules p,
.pricing p,
.pricing li,
.channels span {
  color: var(--muted);
  line-height: 1.55;
}

.band {
  margin-inline: calc((min(1180px, 100vw - 32px) - 100vw) / 2);
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.035);
}

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

.pricing article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.pricing article.featured {
  border-color: rgba(52, 211, 153, 0.62);
  background: rgba(18, 38, 33, 0.94);
}

.price {
  margin: 0;
  color: var(--text) !important;
  font-size: 2rem;
  font-weight: 900;
}

ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 12px;
  padding-left: 18px;
}

.pricing .button {
  margin-top: auto;
}

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

.channels article {
  padding: 20px;
}

.channels strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.cta {
  margin-bottom: 56px;
  padding: clamp(26px, 5vw, 46px);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form .wide,
.form-footer {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

select option {
  color: #06100e;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-footer span {
  color: var(--muted);
}

.form-footer span[data-state="ok"] {
  color: var(--accent);
}

.form-footer span[data-state="error"],
.form-footer span[data-state="fallback"] {
  color: var(--danger);
}

.checkout-steps,
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.checkout-steps article,
.doc-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.checkout-steps strong {
  color: var(--accent-2);
}

.checkout-steps span,
.doc-grid p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 940px) {
  .hero,
  .modules,
  .pricing,
  .channels {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .modules,
  .pricing,
  .channels,
  .lead-form,
  .checkout-steps,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }
}
