:root {
  --ink: #171412;
  --muted: #6d6660;
  --paper: #fbfaf7;
  --line: #ded8ce;
  --green: #0b6b54;
  --green-dark: #064233;
  --coral: #c95b47;
  --gold: #d1962c;
  --violet: #553b6d;
  --cyan: #277f91;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 36px;
  color: var(--white);
  background: rgba(23, 20, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.nav a:hover,
.nav-cta:hover {
  color: var(--white);
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  background: #171412;
}

.signal-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 24%, rgba(209, 150, 44, 0.32), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(11, 107, 84, 0.44), transparent 34%),
    rgba(23, 20, 18, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 48px));
  padding: 162px 0 86px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
}

.hero .eyebrow {
  color: #f0c36d;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 76px;
  line-height: 0.94;
  font-weight: 820;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.console-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 760;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-status {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-status span {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-status strong {
  color: var(--white);
}

.band,
.console-section,
.docs-section {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p,
.console-copy p,
.docs-section p,
.product-card p,
.price-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.6;
}

.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.price-card,
.console,
.code-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card,
.price-card {
  min-height: 260px;
  padding: 24px;
}

.product-card.active {
  border-color: rgba(11, 107, 84, 0.5);
  box-shadow: 0 18px 48px rgba(11, 107, 84, 0.12);
}

.product-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 6px;
  color: var(--white);
  background: var(--violet);
  font-size: 13px;
  font-weight: 800;
}

.active .product-icon {
  background: var(--green);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(11, 107, 84, 0.12);
  font-size: 13px;
  font-weight: 760;
}

.badge.quiet {
  color: var(--violet);
  background: rgba(85, 59, 109, 0.12);
}

.console-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.console {
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 740;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fffefd;
  font: inherit;
}

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

.icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.result,
.code-block {
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  color: #f7f0df;
  background: #171412;
  border-color: #171412;
  border-radius: 8px;
  line-height: 1.55;
}

.pricing-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card.highlight {
  border-color: rgba(201, 91, 71, 0.48);
  box-shadow: 0 18px 48px rgba(201, 91, 71, 0.12);
}

.price {
  color: var(--ink);
  font-size: 36px;
  font-weight: 820;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

ul {
  padding-left: 18px;
}

.docs-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.code-block {
  margin: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    padding-top: 128px;
  }

  .band,
  .console-section,
  .docs-section {
    width: min(100% - 32px, 720px);
    padding: 62px 0;
  }

  .product-grid,
  .pricing-grid,
  .console-section,
  .docs-section {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding: 26px 18px;
  }
}
