:root {
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-2: #f4efe4;
  --ink: #1f2933;
  --muted: #52606d;
  --brand: #0b6e4f;
  --brand-ink: #094b36;
  --accent: #ff7a00;
  --line: #dccfb8;
  --shadow: 0 18px 36px rgba(31, 41, 51, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, #fff4db 0%, transparent 28%),
    radial-gradient(circle at 84% 20%, #dbf5ea 0%, transparent 32%),
    linear-gradient(145deg, #f8f4ea 0%, #f3f8f5 48%, #fffaf2 100%);
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
}

.bg-orb-a {
  width: 280px;
  height: 280px;
  background: #ffe0bf;
  left: -90px;
  top: 160px;
  animation: driftA 12s ease-in-out infinite;
}

.bg-orb-b {
  width: 240px;
  height: 240px;
  background: #ccefe1;
  right: -70px;
  top: 520px;
  animation: driftB 14s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

@keyframes driftB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(22px); }
}

.top-nav {
  padding-top: 0.75rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-ink);
}

.navbar-item {
  color: var(--ink);
}

.cta-nav {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.pill {
  background: #e7f5ef;
  color: var(--brand-ink);
  border: 1px solid #c6ead9;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.15rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 52ch;
}

.meta-line {
  font-family: "IBM Plex Mono", "Consolas", monospace;
  color: var(--muted);
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.snapshot-item {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e5ddcc;
}

.snapshot-item strong {
  color: var(--brand-ink);
}

.snapshot-log {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.snapshot-log code {
  border-radius: 10px;
  background: #f3f0e6;
  color: #3e4c59;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  padding: 0.45rem 0.55rem;
}

.section-title {
  letter-spacing: -0.015em;
}

.alt-section {
  background: rgba(255, 253, 248, 0.72);
  border-top: 1px solid #ede3d1;
  border-bottom: 1px solid #ede3d1;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  min-height: 224px;
}

.feature-kicker {
  font-family: "IBM Plex Mono", "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.73rem;
  color: var(--brand-ink);
}

.step-card {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 8px 16px 16px 8px;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.05);
  padding: 1.1rem 1.2rem;
  height: 100%;
}

.step-index {
  display: inline-block;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-head {
  margin-bottom: 1.2rem;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d7cdb8;
  background: #fff7e9;
}

.billing-toggle input {
  accent-color: var(--brand);
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  height: 100%;
}

.price-card.featured {
  border-color: #0f7d5a;
  transform: translateY(-6px);
}

.price-value {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0;
}

.price-meta {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.price-card ul {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
}

.price-card li {
  margin-bottom: 0.5rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0.95rem 1rem;
}

.faq-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  color: var(--muted);
  transition: max-height 260ms ease, margin-top 260ms ease;
}

.faq-item.is-open p {
  max-height: 120px;
  margin-top: 0.7rem;
}

.waitlist-card {
  border: 1px solid #0f7d5a3b;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff9ed 0%, #effbf5 100%);
}

.form-message {
  min-height: 1.4rem;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  color: var(--brand-ink);
}

.form-message.error {
  color: #8a1f1f;
}

.footer {
  padding: 2rem 1.5rem 2.5rem;
  background: transparent;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 1023px) {
  .navbar-menu {
    background: #fff9ef;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
    border: 1px solid #ebdeca;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 1.5rem;
  }

  .price-card.featured {
    transform: none;
  }

  .field.has-addons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
