:root {
  --bg-white: #ffffff;
  --bg-alt: #f6f7f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #0b2a3f;
  --border: #e5e7eb;
}

/* Reset */
* { box-sizing: border-box; }

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

.section { padding: 88px 0; }
.section-alt { 
   padding: 64px 0;
   background: var(--bg-alt); 
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand img {
  height: 36px;
  width: auto;
}

@media (min-width: 1024px) {
  .brand img {
    height: 40px;
  }
}

.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.nav .btn-primary { color: #fff; }

.nav .btn-primary:hover {
  background: #0a2536;
}

/* Hero */
.hero {
  padding-top: 38px;
  padding-bottom:48px;
}

.hero-text { max-width: 720px; }

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 24px 0 32px;
  max-width: 640px;
  margin-bottom: 20px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-context {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted); /* or slightly lighter than body */
  max-width: 42rem;
}

/* ================= HERO VIDEO ================= */

.hero-media {
  max-width: 320px;     /* controlled, not dominant */
  margin-left: auto;
}

.hero-media video {
  width: 100%;
  height: auto;
  background: #000;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 56px;
  }

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

  .hero-media {
    max-width: 260px;
    margin: 24px auto 0;
  }
}

/* Divider & trust */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e5e7eb, transparent);
  margin: 48px 0 24px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.section.evaluation {
  /* padding-top: 48px; */
  padding-top: 20px;
}


.evaluation-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.evaluation-meta {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
}

.evaluation-meta h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .evaluation-grid {
    grid-template-columns: 1fr;
  }
}


.trust-line {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

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

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-main);
}

/* North star */
.north-star {
  padding: 32px 0 48px;
  text-align: center;
}

.north-star p { font-size: 18px; }

/* Problem */
.lead { font-size: 18px; margin-bottom: 24px; }

.problem-list {
  list-style: none;
  padding: 0;
}

.problem-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.problem-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #b91c1c;
}

.closing-line {
  margin-top: 24px;
  font-size: 17px;
}

/* Comparison */
.comparison-block { margin-top: 64px; }

.vs {
  color: #f59e0b;
  font-weight: 700;
  margin-right: 8px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-table .col {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  background: #fff;
}

.comparison-table .highlight {
  border-color: var(--primary);
}

/* Cards / tiers */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.card.highlight {
  border-color: var(--primary);
}

.tier-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Feature table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.feature-table th {
  font-weight: 600;
}

.feature-table td {
  font-size: 15px;
}

.feature-table th,
.feature-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
}

.feature-table th:first-child,
.feature-table td:first-child {
  text-align: left;
}

.feature-table td:last-child {
  font-weight: 600;
}

.feature-table tr:nth-child(even) {
  background: #fafafa;
}

/* Inline CTA */
.inline-cta {
  margin-top: 48px;
  text-align: center;
}

.inline-cta p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Final CTA */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 120px 0;
}

.cta-inner { text-align: center; }

.cta p {
  color: #cbd5e1;
  margin: 16px 0 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
  background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .nav { display: none; }
  .comparison-table { grid-template-columns: 1fr; }
}

.post-feature-spacer {
  height: 96px;
}

section[id] {
  scroll-margin-top: 96px;
}

/* (same as previously shared, unchanged except modal styles added) */

/* ================= MODAL ================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  border-radius: 8px;
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.modal-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.modal textarea {
  resize: vertical;
  min-height: 80px;
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .feature-table td,
  .feature-table th {
    padding: 10px;
  }

  .inline-cta p {
    font-size: 15px;
  }
}

/* ===== Architecture Comparison ===== */

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-muted);
}

.section-takeaway {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin: 16px auto 24px;
  color: var(--text-main);
}

.architecture-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.arch-block {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.arch-block.highlight {
  border-color: var(--primary);
}

.arch-block h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.arch-stack {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.arch-layer {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #f9fafb;
}

.arch-layer strong {
  display: block;
  font-weight: 600;
}

.arch-layer span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.arch-layer.top {
  background: #eef2f7;
}

.arch-layer.bottom {
  border-bottom: none;
  background: #f3f4f6;
}

.arch-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================= Mobile Menu ================= */

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; /* header height */
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-menu a {
  display: block;
  padding: 16px 24px;
  text-decoration: none;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin: 16px 24px;
  text-align: center;
}

.mobile-menu .btn-primary {
  display: block;
  margin: 16px 24px;
  text-align: center;
}

/* Fix mobile menu primary button text color */
.mobile-menu .btn-primary {
  color: #ffffff !important;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}


