:root {
  --bg:         #0f1011;
  --surface:    #1a1b1e;
  --surface2:   #222326;
  --surface3:   #17181a;
  --border:     #2e3033;
  --text:       #e8eaed;
  --text-muted: #9aa0a6;
  --accent:     #8ab4f8;
  --accent-dark:#1a73e8;
  --danger:     #f28b82;
  --r:          12px;
  --max:        1100px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:         #f8f9fa;
  --surface:    #ffffff;
  --surface2:   #f1f3f4;
  --surface3:   #eef2f6;
  --border:     #dadce0;
  --text:       #202124;
  --text-muted: #5f6368;
  --accent:     #1a73e8;
  --accent-dark:#1a73e8;
  --danger:     #d93025;
  color-scheme: light;
}

/* Light mode overrides for elements that use hardcoded dark colours */
[data-theme="light"] .header {
  background: rgba(248,249,250,.92);
}
[data-theme="light"] .browser-frame,
[data-theme="light"] .browser-body { background: #fff; }
[data-theme="light"] .browser-bar  { background: #f1f3f4; }
[data-theme="light"] .browser-url  { background: #e8eaed; color: #3c4043; }
[data-theme="light"] .mock-sidebar { border-color: var(--border); }
[data-theme="light"] .mock-folder  { color: #5f6368; }
[data-theme="light"] .mock-folder svg { fill: #5f6368; }
[data-theme="light"] .mock-folder:hover,
[data-theme="light"] .mock-folder:focus-visible { background: rgba(0,0,0,.04); }
[data-theme="light"] .mock-folder.active { background: #1a73e8; color: #fff; }
[data-theme="light"] .mock-folder.active svg { fill: #fff; }
[data-theme="light"] .mock-row     { color: #202124; }
[data-theme="light"] .mock-search-bar { background: #f1f3f4; border-color: #1a73e8; }
[data-theme="light"] .mock-search-text { color: #202124; }
[data-theme="light"] .mock-chip    { background: #e8eaed; border-color: #dadce0; color: #5f6368; }
[data-theme="light"] .mock-chip:hover,
[data-theme="light"] .mock-chip:focus-visible { border-color: rgba(26,115,232,.26); }
[data-theme="light"] .mock-chip.active { background: rgba(26,115,232,.1); border-color: rgba(26,115,232,.3); color: #1a73e8; }
[data-theme="light"] .demo-search  { background: #f1f3f4; }
[data-theme="light"] .demo-result  { color: #202124; }
[data-theme="light"] .philosophy   { background: var(--surface); }
[data-theme="light"] .proof-strip  { background: var(--surface); }
[data-theme="light"] .feature-card { background: #fff; }
[data-theme="light"] .feature-card.highlight { background: rgba(26,115,232,.03); }
[data-theme="light"] .feature-demo { background: #f8f9fa; }
[data-theme="light"] .pricing-card { background: #fff; }
[data-theme="light"] .pricing-card--pro { background: rgba(26,115,232,.03); border-color: rgba(26,115,232,.2); }
[data-theme="light"] .pricing-btn--free { background: #f1f3f4; color: #202124; border-color: #dadce0; }
[data-theme="light"] .step-num     { background: rgba(26,115,232,.08); border-color: rgba(26,115,232,.18); }
[data-theme="light"] .btn-ghost    { background: rgba(0,0,0,.04); color: #202124; border-color: #dadce0; }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,.08); }
[data-theme="light"] code, [data-theme="light"] kbd { background: #f1f3f4; border-color: #dadce0; color: #1a73e8; }

/* headings — hardcoded #fff in base styles */
[data-theme="light"] .hero h1 { background: linear-gradient(145deg, #202124 25%, #1a73e8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
[data-theme="light"] .features h2,
[data-theme="light"] .how h2,
[data-theme="light"] .faq h2,
[data-theme="light"] .cta h2,
[data-theme="light"] .pricing h2 { color: #202124; }
[data-theme="light"] .feature-card h3 { color: #202124; }
[data-theme="light"] .step-body h3 { color: #202124; }
[data-theme="light"] .pricing-price { color: #202124; }

/* hover / interactive states */
[data-theme="light"] .faq-item summary:hover { color: #202124; }
[data-theme="light"] .mock-row:hover { background: rgba(0,0,0,.04); }
[data-theme="light"] .pricing-btn--free:hover { background: #e8eaed; }
[data-theme="light"] .feature-card:hover { border-color: #c5c8cc; }
[data-theme="light"] .nav a:hover { background: rgba(0,0,0,.05); color: #202124; }
[data-theme="light"] .pillar-card h3 { color: #202124; }
[data-theme="light"] .pillar-card:hover { border-color: #c5c8cc; }
[data-theme="light"] .mock-action-bar { background: rgba(26,115,232,.08); }
[data-theme="light"] .mock-act-btn { background: rgba(26,115,232,.12); }
[data-theme="light"] .mock-act-btn:hover,
[data-theme="light"] .mock-act-btn:focus-visible { background: rgba(26,115,232,.18); }
[data-theme="light"] .mock-act-btn.active { background: #1a73e8; color: #fff; }
[data-theme="light"] .mock-row--sel { background: rgba(26,115,232,.06); }
[data-theme="light"] .mock-check { border-color: #c5c8cc; }
[data-theme="light"] .browser-url:hover,
[data-theme="light"] .browser-url:focus-visible { background: #fff; color: #202124; }
[data-theme="light"] .launch-note,
[data-theme="light"] .highlight-card { background: #fff; }
[data-theme="light"] .highlight-card--accent { background: rgba(26,115,232,.05); border-color: rgba(26,115,232,.2); }
[data-theme="light"] .prose-summary { background: rgba(26,115,232,.05); border-color: rgba(26,115,232,.18); }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code, kbd {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .85em;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--accent);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  transition: filter .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); text-decoration: none; }

.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }

.btn-sm  { padding: 7px 16px;  font-size: 13px; }
.btn-lg  { padding: 13px 26px; font-size: 15px; }

/* ── Header ──────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,16,17,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 24px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon.small { width: 24px; height: 24px; border-radius: 6px; }
.logo-icon svg { width: 18px; height: 18px; fill: #fff; }
.logo-icon.small svg { width: 14px; height: 14px; }

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: var(--text-muted);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  text-decoration: none;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.theme-toggle:hover { background: rgba(255,255,255,.06); color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; fill: currentColor; }

/* dark mode: show moon, hide sun */
.icon-sun  { display: none; }
.icon-moon { display: block; }

/* light mode: show sun, hide moon */
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,.06); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 48px 0 56px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  background:
    radial-gradient(circle at 18% 12%, rgba(138,180,248,.12), transparent 42%),
    radial-gradient(circle at 82% 0%, rgba(26,115,232,.12), transparent 30%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(138,180,248,.1);
  border: 1px solid rgba(138,180,248,.2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: .02em;
  animation: badge-pulse 4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,180,248,0); }
  50%       { box-shadow: 0 0 14px 0 rgba(138,180,248,.22); }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #ffffff 25%, #c5d8fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  margin-bottom: 16px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-note {
  font-size: 12px;
  color: #5f6368;
}

.launch-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.launch-note strong {
  color: var(--text);
}

/* ── Browser mock ────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.browser-frame {
  background: #1e1f22;
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #2b2c2f;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: #5f6368;
  background: var(--bg);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: monospace;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s, background .15s, color .15s;
}

.browser-url:hover,
.browser-url:focus-visible {
  border-color: rgba(138,180,248,.3);
  color: var(--text);
  outline: none;
}

.browser-body {
  display: flex;
  height: 280px;
}

.mock-sidebar {
  width: 140px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
}

.mock-folder {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-size: 10px;
  color: #9aa0a6;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background .15s, color .15s;
  appearance: none;
  -webkit-appearance: none;
}
.mock-folder svg { width: 13px; height: 13px; fill: #9aa0a6; flex-shrink: 0; }
.mock-folder:hover,
.mock-folder:focus-visible {
  background: rgba(255,255,255,.05);
  outline: none;
}
.mock-folder.active {
  background: #8ab4f8;
  border-radius: 0 12px 12px 0;
  margin-right: 8px;
  color: #202124;
  font-weight: 600;
}
.mock-folder.active svg { fill: #202124; }
.mock-folder.indent { padding-left: 24px; }

.mock-panel {
  flex: 1;
  padding: 10px 12px;
  overflow: hidden;
}

.mock-demo-hint {
  margin-bottom: 7px;
  font-size: 9px;
  color: var(--text-muted);
}

.mock-breadcrumb {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 2px 4px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--text);
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mock-row:hover,
.mock-row:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.mock-row svg { width: 14px; height: 14px; fill: #9aa0a6; flex-shrink: 0; }
.mock-row.folder { color: #c5cad0; }

.favicon {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  flex-shrink: 0;
}
.mock-url {
  color: #5f6368;
  font-size: 9px;
  margin-left: auto;
  white-space: nowrap;
}

.sort-badge {
  position: absolute;
  bottom: -16px;
  right: -12px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(102,126,234,.45);
  letter-spacing: .01em;
}
.sort-badge svg { width: 14px; height: 14px; fill: #fff; }

/* ── Highlights ─────────────────────────────────────────────────────── */
.highlights {
  padding: 64px 0;
}

.highlights h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.2;
  max-width: 720px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.highlight-card--accent {
  background: rgba(138,180,248,.05);
  border-color: rgba(138,180,248,.2);
}

.highlight-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Features ────────────────────────────────────────────────────────── */
.features {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.features h2, .how h2, .faq h2, .cta h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.2;
}
.how h2 { margin-bottom: 28px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
  transition: border-color .15s;
}
.feature-card:hover { border-color: #4a4d52; }

.feature-card.highlight {
  background: rgba(138,180,248,.05);
  border-color: rgba(138,180,248,.25);
}
.feature-card.highlight:hover { border-color: rgba(138,180,248,.45); }

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(138,180,248,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.feature-card.highlight .feature-icon { background: rgba(138,180,248,.18); }

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  background: rgba(138,180,248,.12);
  border: 1px solid rgba(138,180,248,.2);
  border-radius: 999px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* ── Pillar cards ────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .15s, transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
}
.pillar-card:hover { border-color: #4a4d52; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }

/* Pillar label colors — each pillar gets its own */
.pillar-card:nth-child(1) .pillar-label { color: #8ab4f8; }
.pillar-card:nth-child(2) .pillar-label { color: #fbbf24; }
.pillar-card:nth-child(3) .pillar-label { color: #34d399; }
.pillar-card:nth-child(4) .pillar-label { color: #a78bfa; }
[data-theme="light"] .pillar-card:nth-child(1) .pillar-label { color: #1d4ed8; }
[data-theme="light"] .pillar-card:nth-child(2) .pillar-label { color: #b45309; }
[data-theme="light"] .pillar-card:nth-child(3) .pillar-label { color: #059669; }
[data-theme="light"] .pillar-card:nth-child(4) .pillar-label { color: #6d28d9; }
.pillar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar-card .feature-icon { margin-bottom: 14px; }
.pillar-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.pillar-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.pillar-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Philosophy ──────────────────────────────────────────────────────── */
.philosophy {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 860px;
}

.philosophy-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 4px;
}

.philosophy-character {
  margin-top: 24px;
}

.bm-char-svg {
  width: 168px;
  height: 168px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 16px 40px rgba(26, 115, 232, .45));
  animation: bm-character 5.5s ease-in-out infinite;
  transform-origin: center 65%;
}

.bm-char-body {
  fill: var(--accent-dark);
}

.bm-eye {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: bm-blink 4s ease-in-out infinite;
}

.bm-pupil {
  fill: #0d1117;
  transform-box: fill-box;
  transform-origin: center;
  animation: bm-look 7s ease-in-out infinite;
}

.bm-smile {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bm-smile-show 10s ease-in-out infinite;
}

.bm-kiss {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bm-kiss-show 10s ease-in-out infinite;
}

@keyframes bm-character {
  0%   { transform: translateY(0)     rotate(-2deg); }
  18%  { transform: translateY(-11px) rotate(-5deg); }
  36%  { transform: translateY(-6px)  rotate(4deg);  }
  54%  { transform: translateY(-14px) rotate(-3deg); }
  72%  { transform: translateY(-4px)  rotate(5deg);  }
  88%  { transform: translateY(-9px)  rotate(-2deg); }
  100% { transform: translateY(0)     rotate(-2deg); }
}

@keyframes bm-blink {
  0%, 38%, 46%, 100% { transform: scaleY(1); }
  42%                { transform: scaleY(0.08); }
}

@keyframes bm-look {
  0%, 20%, 80%, 100% { transform: translate(0,     0);     }
  35%, 60%           { transform: translate(0.4px,  0.3px); }
  70%                { transform: translate(-0.35px, 0.1px); }
}

@keyframes bm-smile-show {
  0%,  15%      { opacity: 0; transform: scale(0.4); }
  20%           { opacity: 1; transform: scale(1.2); }
  25%,  38%     { opacity: 1; transform: scale(1);   }
  45%,  100%    { opacity: 0; transform: scale(0.4); }
}

@keyframes bm-kiss-show {
  0%,  57%      { opacity: 0; transform: scale(0.4); }
  62%           { opacity: 1; transform: scale(1.25); }
  67%,  80%     { opacity: 1; transform: scale(1);    }
  87%,  100%    { opacity: 0; transform: scale(0.4);  }
}

.philosophy-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.philosophy-body p:last-child { margin-bottom: 0; }

.philosophy-anchor {
  font-size: 17px !important;
  color: var(--text) !important;
  font-style: italic;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  margin-top: 8px !important;
}

/* ── How it works ────────────────────────────────────────────────────── */
.how {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
.step:hover { border-color: #4a4d52; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(138,180,248,.12);
  border: 1px solid rgba(138,180,248,.2);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.faq-list { max-width: 100%; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  list-style: none;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: #fff; }

.faq-item p {
  padding: 0 0 13px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing + FAQ combined ──────────────────────────────────────────── */
.pricing-faq-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.col-h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
[data-theme="light"] .col-h2 { color: #202124; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 780px;
}

/* Stacked layout inside a column */
.pricing-grid--stack {
  grid-template-columns: 1fr;
  max-width: 100%;
}

.pricing-intro {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
}

.pricing-card--pro {
  background: rgba(138,180,248,.04);
  border-color: rgba(138,180,248,.22);
}

.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card--pro .pricing-tier { color: var(--accent); }

.pricing-price {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}
.pricing-card--pro .pricing-features li::before { color: var(--accent); }

.pricing-btn {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  transition: filter .15s, background .15s;
}
.pricing-btn--free {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
}
.pricing-btn--free:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.pricing-btn--pro {
  background: var(--accent-dark);
  color: #fff;
}
.pricing-btn--pro:hover { filter: brightness(1.1); text-decoration: none; }

.pricing-fund {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta h2 { margin-bottom: 12px; }
.cta > .container > p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: #5f6368;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.footer-links {
  display: flex; gap: 20px;
}
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: #5f6368; }

/* ── Proof strip ─────────────────────────────────────────────────────── */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.proof-item svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; }
.proof-sep { color: var(--border); font-size: 16px; }

/* ── Feature card: search demo ───────────────────────────────────────── */
.span2 { grid-column: span 2; }

.feature-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-demo {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
}

.demo-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text);
}
.demo-search svg { width: 14px; height: 14px; fill: var(--text-muted); flex-shrink: 0; }
.mock-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.demo-chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.demo-chip {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: default;
}
.demo-chip.active {
  background: rgba(138,180,248,.15);
  border-color: rgba(138,180,248,.3);
  color: var(--accent);
}

.demo-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 4px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text);
}
.demo-fav {
  width: 12px; height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.demo-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-url { color: #5f6368; white-space: nowrap; }

/* ── Mock action bar (hero — selection state) ────────────────────────── */
.mock-action-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  background: rgba(138,180,248,.12);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 9px;
}
.mock-sel-count {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-act-divider { flex: 1; }
.mock-act-btn {
  color: var(--accent);
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(138,180,248,.18);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: background .15s, color .15s;
}

.mock-act-btn:hover,
.mock-act-btn:focus-visible {
  background: rgba(138,180,248,.28);
  outline: none;
}

.mock-act-btn.active {
  background: rgba(138,180,248,.34);
  color: #fff;
}
.mock-row--sel { background: rgba(138,180,248,.07); border-radius: 4px; }
.mock-check {
  width: 10px; height: 10px;
  border-radius: 2px;
  border: 1px solid #4a4d52;
  flex-shrink: 0;
}
.mock-check--on { background: var(--accent); border-color: var(--accent); }

/* ── Mock search bar (hero) ──────────────────────────────────────────── */
.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #2b2c2f;
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--text);
  border: 1px solid rgba(138,180,248,.3);
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s, background .15s;
}

.mock-search-bar:hover,
.mock-search-bar:focus-visible {
  border-color: rgba(138,180,248,.6);
  outline: none;
}
.mock-search-bar svg { width: 12px; height: 12px; fill: var(--text-muted); flex-shrink: 0; }
.mock-search-text { color: var(--text); }
.mock-cursor { color: var(--accent); animation: blink 1s step-end infinite; }

.mock-chips { display: flex; gap: 5px; margin-bottom: 6px; }
.mock-chip {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: #9aa0a6;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s, background .15s, color .15s;
}

.mock-chip:hover,
.mock-chip:focus-visible {
  border-color: rgba(138,180,248,.28);
  outline: none;
}
.mock-chip.active {
  background: rgba(138,180,248,.15);
  border-color: rgba(138,180,248,.3);
  color: var(--accent);
}

.mock-row.muted { opacity: 0.45; }
.fav-blue   { background: #4285f4; }
.fav-purple { background: #8b5cf6; }
.fav-green  { background: #34a853; }
.fav-grey   { background: #5f6368; }
.fav-red    { background: #ea4335; }
.fav-yellow { background: #fbbc05; }


/* ── CTA badge ───────────────────────────────────────────────────────── */
.cta-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(138,180,248,.1);
  border: 1px solid rgba(138,180,248,.2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

/* ── Privacy prose helpers ───────────────────────────────────────────── */
.prose-summary {
  margin: 0 0 36px;
  background: rgba(138,180,248,.06);
  border: 1px solid rgba(138,180,248,.18);
  border-radius: 14px;
  padding: 18px 20px;
}

.prose-summary-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.prose-summary p {
  margin-bottom: 0;
}

/* ── Pricing card hover ──────────────────────────────────────────────── */
.pricing-card { transition: border-color .15s, transform .2s, box-shadow .2s; }
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Stack hero: text on top, browser mock below */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .sort-badge { bottom: -12px; right: 0; }
  .highlight-grid { grid-template-columns: 1fr; }

  /* Feature search card: stack vertically, keep demo visible */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .span2 { grid-column: span 2; }
  .feature-card-inner { grid-template-columns: 1fr; gap: 24px; }

  /* Pricing + FAQ: stack at 900px */
  .pricing-faq-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .nav { display: none; }
  .header-actions .btn { display: none; }

  /* Single column everything */
  .features-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: span 1; }

  .hero { padding: 48px 0 40px; }
  .highlights,
  .features,
  .philosophy,
  .how,
  .faq,
  .pricing,
  .cta { padding: 64px 0; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions { flex-direction: column; }

  /* Proof strip: wrap cleanly, hide separators */
  .proof-sep { display: none; }
  .proof-inner { gap: 10px 16px; justify-content: flex-start; }

  /* Browser mock: limit height on small screens */
  .browser-body { height: 220px; }
  .mock-sidebar { width: 110px; }

  /* Feature demo stays visible but smaller */
  .feature-demo { padding: 12px; }
}
