:root {
  --background: #f7f9fb;
  --surface: #ffffff;
  --surface-muted: #eef2f4;
  --surface-strong: #131b2e;
  --text: #191c1e;
  --muted: #555f68;
  --soft: #76777d;
  --line: #d9dee2;
  --primary: #050505;
  --accent: #00687a;
  --accent-strong: #004e5c;
  --accent-soft: #dff8ff;
  --success: #0b7a44;
  --error: #ba1a1a;
  --shadow: 0 24px 70px rgba(19, 27, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  background: rgba(247, 249, 251, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.button-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.button-light {
  background: #ffffff;
  color: var(--accent-strong);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

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

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 680px;
}

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

.code-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: #9aa7bc;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

pre {
  margin: 0;
  padding: 4px 22px 24px;
  overflow-x: auto;
  color: #acedff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.page-section h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.section-heading p,
.page-section p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat {
  padding: 24px;
}

.stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card h3,
.price-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.card p,
.price-card p {
  color: var(--muted);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-band {
  background: var(--accent);
  color: #ffffff;
  border-radius: 12px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.page-hero {
  padding: 72px 0 40px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #ffffff;
}

.toggle-option {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.toggle-option.active {
  background: var(--primary);
  color: #ffffff;
}

.discount-pill {
  margin-left: 8px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border: 2px solid #57dffe;
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px;
}

.price strong {
  font-size: 48px;
  line-height: 1;
}

.billing-note {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.feature-list .material-symbols-outlined {
  color: var(--accent);
  font-size: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.price-card .button {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--surface-muted);
  font-size: 13px;
  text-transform: uppercase;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
}

.side-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.side-nav a {
  padding: 8px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
}

.side-nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--text);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

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

.footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.waitlist-modal.is-open {
  display: flex;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.58);
}

.waitlist-dialog {
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  padding: 28px;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.waitlist-dialog h2 {
  margin: 8px 44px 10px 0;
  font-size: 28px;
}

.waitlist-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
}

.waitlist-status.success {
  color: var(--success);
}

.waitlist-status.error {
  color: var(--error);
}

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

@media (max-width: 860px) {
  .topbar {
    height: auto;
  }

  .topbar-inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .stats,
  .doc-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .side-nav {
    position: static;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .pricing-toggle {
    width: 100%;
    justify-content: center;
  }
}
