/* ========================================
   Gratis — Design System & Global Styles
   Matched to ARK design language
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg: #09090b;
  --surface: #0f0f12;
  --subtle: #18181b;
  --sage: #8B9E7D;
  --sage-dark: #6b7d60;
  --sage-20: rgba(139,158,125,0.2);
  --sage-50: rgba(139,158,125,0.5);
  --sage-10: rgba(139,158,125,0.1);
  --sage-06: rgba(139,158,125,0.06);
  --gain: rgba(74, 222, 128, 0.8);
  --loss: rgba(248, 113, 113, 0.8);
  --text-primary: rgba(255,255,255,0.92);
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-ghost: rgba(255,255,255,0.15);
  --border: #27272a;
  --border-hover: #3f3f46;
  --border-sage: rgba(139,158,125,0.6);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Selection & Scrollbar --- */
::selection {
  background: rgba(139, 158, 125, 0.3);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* --- Grain Overlay (disabled) --- */
.grain {
  display: none;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9,9,11,0.8);
  border-bottom: 1px solid rgba(39,39,42,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: rgba(255,255,255,0.8);
}

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

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border: 1px solid var(--border-sage);
  color: var(--sage);
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--sage-10);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.nav-hamburger svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(9,9,11,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

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

.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.mobile-menu a.active {
  color: var(--text-primary);
}

.mobile-menu .nav-cta {
  text-align: center;
  display: block;
}

/* --- Footer --- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-top: 1px solid rgba(39,39,42,0.5);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(113,113,122,0.5);
}

.footer-icons {
  display: flex;
  gap: 16px;
}

.footer-icons a {
  color: rgba(113,113,122,0.5);
  transition: color 0.2s ease;
}

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

.footer-icons svg {
  width: 16px;
  height: 16px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

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

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

.sage {
  color: var(--sage);
}

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

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

.section {
  padding: 128px 0;
}

.section-border {
  border-top: 1px solid rgba(39,39,42,0.5);
}

/* --- Divider Line (gradient fade) --- */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}

/* --- Typography --- */
.micro-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  color: white;
}

h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255,255,255,0.95);
}

h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255,255,255,0.9);
}

.subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.ghost-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(113,113,122,0.5);
  letter-spacing: 0.05em;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--sage);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
}

.btn-primary:hover {
  background: rgba(139,158,125,0.9);
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  border-color: rgba(113,113,122,0.5);
  color: rgba(255,255,255,0.7);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* --- Screenshot Style --- */
.screenshot {
  border: 1px solid var(--border);
  box-shadow: 0 0 80px 0 var(--sage-06), 0 0 160px 0 rgba(139,158,125,0.03);
}

.screenshot-sm {
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -20px var(--sage-06);
}

/* Screenshot placeholder (CSS wireframe style) */
.screenshot-placeholder {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(139,158,125,0.03) 0%, transparent 60%),
    linear-gradient(180deg, #0f0f12 0%, #0c0c0e 100%);
}

/* ========================================
   PAGE: Homepage (index.html)
   ======================================== */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subtitle {
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero .ghost-text {
  margin-top: 16px;
}

/* Hero Screenshot */
.hero-screenshot-wrapper {
  margin-top: 64px;
  max-width: 960px;
  width: 100%;
}

.hero-screenshot-wrapper img {
  transition: transform 0.3s ease;
}

/* Problem Statement */
.problem {
  text-align: center;
  padding: 128px 24px;
}

.problem p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* Feature Sections */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid rgba(39,39,42,0.3);
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row.reverse .feature-image {
  order: 1;
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(139,158,125,0.8);
  margin-bottom: 12px;
}

.feature-text h2 {
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.7;
  font-weight: 300;
}

.feature-image img {
  width: 100%;
}

/* Command Bar Showcase */
.command-showcase {
  text-align: center;
  padding: 160px 24px;
}

.command-showcase .ghost-text {
  margin-bottom: 16px;
}

.command-showcase h2 {
  margin-bottom: 12px;
}

.command-showcase .subtitle {
  max-width: 440px;
  margin: 0 auto 48px;
}

.command-bar {
  width: 100%;
  max-width: 600px;
  height: 50px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0f0f12 0%, #0c0c0e 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.command-bar-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.command-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--sage);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.command-bar-shortcut {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(113,113,122,0.5);
}

/* Waitlist CTA */
.waitlist-cta {
  text-align: center;
  padding: 128px 24px;
}

.waitlist-cta h2 {
  margin-bottom: 12px;
}

.waitlist-cta .subtitle {
  margin-bottom: 32px;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input::placeholder {
  color: #52524e;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.waitlist-form input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 1px rgba(139,158,125,0.3);
}

.waitlist-form .ghost-text {
  margin-top: 12px;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--sage);
  font-size: 15px;
}

.form-success svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   PAGE: Features (features.html)
   ======================================== */

.features-hero {
  padding: 160px 24px 80px;
  text-align: center;
}

.features-hero h1 {
  margin-bottom: 20px;
}

.features-hero .subtitle {
  max-width: 520px;
  margin: 0 auto;
}

/* Deep dive sections */
.feature-deep {
  padding: 80px 0;
  border-top: 1px solid rgba(39,39,42,0.3);
}

.feature-deep-number {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(139,158,125,0.8);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.feature-deep-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.feature-deep h2 {
  margin-bottom: 24px;
}

.feature-deep p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}

/* Use Cases box */
.use-cases {
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 20px 24px;
  margin: 32px 0;
}

.use-cases-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.use-cases li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 300;
}

.use-cases li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Command boxes */
.command-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}

.command-example {
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

/* Agent types */
.agent-types {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.agent-type {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.agent-type-icon {
  width: 32px;
  height: 32px;
  background: var(--sage-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-type-icon svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
}

.agent-type-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}

.agent-type-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

/* Source pills */
.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.source-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 6px 14px;
  letter-spacing: 0.02em;
}

/* Library features */
.library-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.library-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.library-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--sage-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.library-feature-icon svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
}

.library-feature-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}

.library-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

/* CSS wireframe */
.canvas-wireframe {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 180px;
  margin: 28px 0;
}

.wireframe-panel {
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(113,113,122,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wireframe-panel.tall {
  grid-row: 1 / 3;
}

/* Bottom CTA */
.bottom-cta {
  text-align: center;
  padding: 128px 24px;
  border-top: 1px solid rgba(39,39,42,0.5);
}

.bottom-cta h2 {
  margin-bottom: 12px;
}

.bottom-cta .subtitle {
  margin-bottom: 32px;
}

/* ========================================
   PAGE: Pricing (pricing.html)
   ======================================== */

.pricing-hero {
  padding: 160px 24px 64px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  background: rgba(15,15,18,0.5);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 4px;
  margin: 40px auto 0;
}

.billing-option {
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
}

.billing-option.active {
  background: var(--surface);
  color: var(--text-primary);
}

.billing-badge {
  font-size: 11px;
  color: var(--sage);
  margin-left: 6px;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 64px auto 0;
  padding: 0 24px;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(15,15,18,0.9) 0%, rgba(9,9,11,0.95) 100%);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

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

.pricing-card.featured {
  border-color: var(--sage);
  position: relative;
}

.pricing-card.featured:hover {
  border-color: #a1b893;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--border-sage);
  background: var(--bg);
  padding: 4px 16px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
  font-weight: 300;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: white;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
}

.pricing-features li .dim,
.pricing-features li span[style*="tertiary"] {
  color: var(--text-tertiary);
}

.pricing-custom {
  font-size: 40px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  max-width: 640px;
  margin: 0 auto;
  padding: 128px 24px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  border-top: 1px solid rgba(39,39,42,0.5);
  padding: 28px 0;
}

.faq-question {
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ========================================
   PAGE: Waitlist (waitlist.html)
   ======================================== */

.waitlist-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.waitlist-page h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.waitlist-page .subtitle {
  max-width: 440px;
  margin: 0 auto 40px;
}

.waitlist-page-form {
  max-width: 520px;
  width: 100%;
}

.waitlist-page-form input {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-top: 2px solid var(--sage);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-page-form input::placeholder {
  color: #52524e;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.waitlist-page-form input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 1px rgba(139,158,125,0.3);
  border-top-color: var(--sage);
}

.waitlist-page-form .ghost-text {
  margin-top: 12px;
}

/* --- Social Proof Bar (homepage) --- */
.proof-bar {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid rgba(39,39,42,0.5);
  border-bottom: 1px solid rgba(39,39,42,0.5);
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 600px;
  margin: 0 auto;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-number {
  font-size: 28px;
  font-weight: 500;
  color: white;
}

.proof-label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Demo Video Placeholder --- */
.demo-section {
  text-align: center;
  padding: 128px 24px;
}

.demo-video-wrapper {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px 0 var(--sage-06);
}

.demo-video {
  width: 100%;
  display: block;
}

/* --- Founder Section --- */
.founder-section {
  padding: 96px 24px;
}

.founder-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-10);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

.founder-content h3 {
  margin-bottom: 16px;
}

.founder-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 300;
}

.founder-name {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 8px;
  font-style: italic;
}

/* --- Coverage Bar (features) --- */
.coverage-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 0;
  margin-bottom: 16px;
}

.coverage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.coverage-number {
  font-size: 24px;
  font-weight: 500;
  color: white;
}

.coverage-label {
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.coverage-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* --- Spec Box (features) --- */
.spec-box {
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 20px 24px;
  margin: 28px 0;
}

.spec-box-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.spec-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.spec-key {
  font-size: 13px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.spec-val {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: right;
}

/* --- Pricing: Two-col grid --- */
.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.pricing-interval {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.pricing-trust {
  text-align: center;
  padding: 40px 24px 0;
}

.pricing-trust-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(113,113,122,0.5);
  letter-spacing: 0.02em;
}

/* --- Post-Launch Preview --- */
.post-launch {
  padding: 80px 24px;
}

.post-launch-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(15,15,18,0.6) 0%, rgba(9,9,11,0.5) 100%);
  border: 1px solid rgba(39,39,42,0.3);
  padding: 36px 32px;
}

.post-launch-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  font-weight: 300;
}

.post-launch-body strong {
  color: white;
  font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .features-hero h1 {
    font-size: 36px;
  }

  .pricing-hero h1 {
    font-size: 36px;
  }

  .waitlist-page h1 {
    font-size: 36px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .section {
    padding: 80px 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0;
  }

  .feature-row .feature-image {
    order: 1;
  }

  .feature-row .feature-text {
    order: 2;
  }

  .feature-row.reverse .feature-text {
    order: 2;
  }

  .feature-row.reverse .feature-image {
    order: 1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-grid-two {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .proof-bar-inner {
    flex-direction: column;
    gap: 24px;
  }

  .proof-divider {
    width: 40px;
    height: 1px;
  }

  .coverage-bar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .coverage-divider {
    display: none;
  }

  .founder-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .demo-section {
    padding: 80px 24px;
  }

  .spec-item {
    flex-direction: column;
    gap: 2px;
  }

  .spec-val {
    text-align: left;
  }

  .problem {
    padding: 80px 24px;
  }

  .command-showcase {
    padding: 80px 24px;
  }

  .command-bar {
    max-width: 100%;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero-screenshot-wrapper {
    margin-top: 48px;
  }

  .waitlist-cta {
    padding: 80px 24px;
  }

  .faq {
    padding: 80px 24px;
  }

  .container, .container-narrow {
    padding: 0 20px;
  }

  .footer {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
  }

  .source-pills {
    gap: 6px;
  }

  .canvas-wireframe {
    height: 140px;
  }
}

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

  .billing-toggle {
    flex-direction: column;
    width: 200px;
  }
}
