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

:root {
  --forge: #0D0E11;
  --surface: #161820;
  --surface2: #1E2130;
  --surface3: #242840;
  --steel: #4A9EBF;
  --steel-dim: rgba(74, 158, 191, 0.15);
  --amber: #E8933A;
  --amber-dim: rgba(232, 147, 58, 0.12);
  --text: #E8E6E1;
  --text-secondary: #9BA0B8;
  --muted: #6B6F88;
  --dim: #3E4258;
  --green: #3DB87A;
  --red: #E05555;
  --yellow: #D4A843;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--forge);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.divider {
  height: 1px;
  background: var(--border);
  max-width: 1080px;
  margin: 0 auto;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 14, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  max-width: 100%;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-dot {
  color: var(--steel);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-ghost-nav {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost-nav:hover {
  color: var(--text);
}

.btn-nav {
  background: var(--amber);
  color: #1a0d00;
  font-size: 13px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}

.btn-nav:hover {
  opacity: 0.88;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1.5rem 2rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.5rem 2rem 5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--steel);
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amber);
  color: #1a0d00;
  font-weight: 600;
  font-size: 14px;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-text {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-text:hover {
  color: var(--text);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
}

.trust-dot.green {
  background: var(--green);
}

.gauge-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
}

.gauge-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: livepulse 2s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.gauge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.gauge-score {
  position: absolute;
  bottom: 0;
  text-align: center;
}

.gauge-num {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gauge-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.stat-box {
  background: var(--surface2);
  border-radius: 8px;
  padding: 0.875rem;
  text-align: center;
}

.stat-val {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-val.red { color: var(--red); }
.stat-val.yellow { color: var(--yellow); }
.stat-val.green { color: var(--green); }

.stat-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.feed {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.feed-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  animation: feedin 0.35s ease;
}

.feed-item:last-child {
  border-bottom: none;
}

@keyframes feedin {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.feed-dot.pass { background: var(--green); }
.feed-dot.warn { background: var(--yellow); }
.feed-dot.fail { background: var(--red); }

.feed-file {
  font-family: 'JetBrains Mono', monospace;
  color: var(--steel);
}

.feed-msg {
  color: var(--muted);
  line-height: 1.5;
}

.feed-time {
  margin-left: auto;
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  flex-shrink: 0;
  padding-top: 2px;
}

.problem {
  padding: 5.5rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: var(--border-strong);
}

.problem-icon {
  color: var(--steel);
  margin-bottom: 1.1rem;
}

.problem-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.problem-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.how {
  padding: 5.5rem 0;
}

.how-steps {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.how-step {
  display: flex;
  gap: 2rem;
  padding: 2rem 2.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.how-step:last-child {
  border-bottom: none;
}

.how-step:hover {
  background: var(--surface);
}

.how-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--dim);
  padding-top: 2px;
  flex-shrink: 0;
  width: 28px;
}

.how-step-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.features {
  padding: 5.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.875rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-card.featured {
  border-color: rgba(74, 158, 191, 0.3);
  background: #0e1520;
}

.feature-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--steel);
  background: var(--steel-dim);
  border: 1px solid rgba(74, 158, 191, 0.2);
  border-radius: 4px;
  padding: 3px 9px;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.feature-tag.green {
  color: var(--green);
  background: rgba(61, 184, 122, 0.1);
  border-color: rgba(61, 184, 122, 0.25);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feature-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--dim);
}

.inversion {
  padding: 5.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.inversion-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.inversion-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.inversion-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
}

.big-stat {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--steel);
  line-height: 1;
  white-space: nowrap;
}

.big-stat-label {
  font-size: 13px;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.pricing {
  padding: 5.5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(232, 147, 58, 0.4);
  background: #16100a;
}

.price-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--amber);
  color: #1a0d00;
  border-radius: 4px;
  padding: 3px 9px;
  margin-bottom: 0.875rem;
  letter-spacing: 0.04em;
}

.price-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.price-custom {
  font-size: 1.75rem;
}

.price-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.price-meta {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-list li::before {
  content: '✓';
  color: var(--green);
  font-size: 13px;
  flex-shrink: 0;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}

.price-btn:hover {
  border-color: var(--steel);
  color: var(--text);
}

.price-btn-featured {
  background: var(--amber);
  border-color: var(--amber);
  color: #1a0d00;
}

.price-btn-featured:hover {
  border-color: var(--amber);
  color: #1a0d00;
  opacity: 0.88;
}

.waitlist {
  padding: 6rem 0;
  text-align: center;
}

.waitlist-inner {
  max-width: 560px;
}

.waitlist h2 {
  margin-bottom: 1rem;
}

.waitlist p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.waitlist-form input {
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.8rem 1.25rem;
  color: var(--text);
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-form input:focus {
  border-color: rgba(74, 158, 191, 0.5);
}

.waitlist-form input::placeholder {
  color: var(--dim);
}

.waitlist-form button {
  background: var(--amber);
  color: #1a0d00;
  font-weight: 600;
  font-size: 14px;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: opacity 0.2s;
}

.waitlist-form button:hover {
  opacity: 0.88;
}

.waitlist-confirm {
  color: var(--green) !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  display: none;
}

.waitlist-note {
  font-size: 12px !important;
  color: var(--dim) !important;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0 !important;
}

footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-title {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--dim);
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem 3rem;
    gap: 3rem;
  }

  .hero-sub {
    max-width: 100%;
  }

  .inversion-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .big-stat {
    font-size: 4rem;
  }

  .big-stat-label {
    max-width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .how-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .waitlist-form input {
    width: 100%;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: center;
  }
}
