* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.55;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: 760px;
}

.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 96px 0 80px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero .lede {
  max-width: 680px;
  font-size: 1.15rem;
  color: #cbd5e1;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: #38bdf8; color: #0f172a; }
.btn.primary:hover { background: #7dd3fc; }
.btn.ghost { background: transparent; color: #f8fafc; border: 1px solid #475569; }
.btn.ghost:hover { background: rgba(255,255,255,0.06); }

.band {
  padding: 72px 0;
  border-top: 1px solid #e5e7eb;
}
.band.alt { background: #f1f5f9; }
.band.foot {
  padding: 36px 0;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.9rem;
}
.band.foot a { color: #cbd5e1; }

h2 {
  font-size: 2rem;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.2rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #e2e8f0;
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #0f172a;
  color: #f8fafc;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

ul { padding-left: 22px; }
ul li { margin: 0 0 8px; }

a { color: #0369a1; }
a:hover { text-decoration: underline; }

.muted { color: #64748b; }
.lede-sub {
  max-width: 760px;
  font-size: 1.05rem;
  color: #475569;
  margin: 0 0 24px;
}

/* Comparison table */
.compare-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.96rem;
}
table.compare th, table.compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
table.compare thead th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.92rem;
}
table.compare thead th.us { background: #38bdf8; color: #0f172a; }
table.compare tbody th {
  background: #f8fafc;
  font-weight: 600;
  width: 32%;
}
table.compare tbody td.us {
  background: #ecf7fd;
  font-weight: 600;
}
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }
.yes { color: #0f5132; font-weight: 700; }
.no { color: #94a3b8; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.pricing-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: #0f172a;
}
.pricing-card .price {
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: #0f172a;
}
.pricing-card .price strong { font-size: 1.8rem; font-weight: 700; }
.pricing-card .price .per { color: #64748b; font-size: 0.95rem; font-weight: 400; }
.pricing-card .price-alt { color: #64748b; font-size: 0.9rem; margin: 0 0 14px; }
.pricing-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
}
.pricing-card ul li { margin: 0 0 6px; }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Early-access CTA: primary button reads well on light bg too */
#early-access .btn.primary {
  background: #0f172a;
  color: #f8fafc;
}
#early-access .btn.primary:hover { background: #1e293b; }

/* From-the-project-lead voiceover band */
.voice-caption {
  margin-bottom: 18px;
}
.voice-player {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 8px 0 12px;
}
.voice-meta {
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Skip link + preview banner */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #38bdf8;
  color: #0f172a;
  padding: 8px 16px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fef3c7;
  color: #78350f;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid #fcd34d;
}
.preview-banner p { margin: 0; }
.preview-banner button {
  font: inherit;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d97706;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.preview-banner[hidden] { display: none; }

/* Sticky nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #334155;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}
.nav-logo {
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
}
.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a.active { color: #38bdf8; }
.nav-links a.nav-cta {
  color: #0f172a;
  background: #38bdf8;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: #7dd3fc; color: #0f172a; }

@media (max-width: 720px) {
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 10px 16px; }
  .nav-links { gap: 8px 12px; }
}

/* Platform section */
.platform-band { background: #fff; border-top: none; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
@media (max-width: 800px) {
  .platform-grid { grid-template-columns: 1fr; }
}
.platform-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}
.platform-card--halo { border-top: 4px solid #38bdf8; }
.platform-card--conduit { border-top: 4px solid #a78bfa; }
.platform-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin: 0 0 8px;
}
.platform-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #0f172a;
}
.platform-lede { margin: 0 0 14px; }
.platform-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}
.platform-features li {
  margin: 0 0 10px;
  font-size: 0.95rem;
  padding-left: 0;
}
.status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.status.live { background: #d1fae5; color: #065f46; }
.status.next { background: #dbeafe; color: #1e40af; }
.status.build { background: #fef3c7; color: #92400e; }
.status.plan { background: #ede9fe; color: #5b21b6; }
.platform-audience {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 12px;
}
.btn.secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: #0f172a;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}
.btn.secondary:hover { background: #1e293b; }

.platform-shared {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}
.platform-shared h3 { margin: 0 0 18px; font-size: 1.25rem; }
.shared-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .shared-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .shared-grid { grid-template-columns: 1fr; }
}
.shared-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}
.shared-item h4 { margin: 0 0 8px; font-size: 1rem; }
.shared-item p { margin: 0; font-size: 0.9rem; color: #475569; }

.roadmap-heading {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  color: #0f172a;
}

/* Comparison table scroll hint */
.compare-wrap[data-scrollable]::after {
  content: "Scroll sideways to compare →";
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 8px;
}
