*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 143, 96, 0.1) 0, transparent 40%),
    radial-gradient(circle at 100% 20%, rgba(31, 143, 96, 0.08) 0, transparent 35%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.container {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(244, 251, 247, 0.94);
  backdrop-filter: blur(8px);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--heading);
  font-size: 15px;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--heading);
}

.nav-links a.nav-cloud-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 1px solid var(--accent-strong);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(24, 88, 60, 0.2);
}

.nav-links a.nav-cloud-link:hover {
  color: #fff;
  filter: brightness(0.95);
}

.nav-links a.nav-cloud-link.active {
  background: var(--heading);
  border-color: var(--heading);
}

.hero {
  padding: 74px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero-grid-equal {
  grid-template-columns: 1fr 1fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.02em;
}

.hero p {
  margin: 16px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-secondary {
  color: var(--heading);
  border-color: var(--border-strong);
  background: var(--surface);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.hero-panel h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.hero-panel p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel li + li {
  margin-top: 6px;
}

.hero-panel .hero-actions {
  margin-top: auto;
}

.waitlist-panel {
  padding: 18px;
}

.waitlist-panel h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.waitlist-panel .section-label {
  margin-bottom: 4px;
}

.waitlist-panel .muted-text {
  margin-top: 0;
  margin-bottom: 8px;
}

.stat-strip {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.stat-card {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--heading);
  font-size: 13px;
}

.stat-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.engine-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.engine-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
}

section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 22px;
}

.section-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.section-header p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.code-box {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  background: var(--mono-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  background: var(--surface);
}

code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--heading);
}

.copy-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
}

.split {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.list li {
  color: var(--muted);
}

.feature-list {
  margin-top: 16px;
}

.note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
}

.status {
  margin-top: 10px;
  display: none;
  font-size: 14px;
}

.status.success {
  color: var(--accent-strong);
  display: block;
}

.status.error {
  color: var(--danger);
  display: block;
}

.form-grid {
  display: grid;
  gap: 10px;
}

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 10px 12px;
}

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

.turnstile-box {
  margin-top: 4px;
}

.muted-text {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 50px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

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

.mono {
  font-family: var(--font-mono);
}

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

@media (max-width: 900px) {
  .hero-grid,
  .hero-grid-equal,
  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid-equal .waitlist-panel {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav nav {
    width: 100%;
  }

  .nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links::-webkit-scrollbar {
    height: 6px;
  }

  .nav-links::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
  }
}

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

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 32px;
  }
}
