:root {
  --bg-root: #0a0a0a;
  --bg-primary: #111111;
  --bg-secondary: #171717;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #1e1e1e;
  --bg-hover: #222222;

  --border-default: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 255, 255, 0.14);

  --text-primary: #ededed;
  --text-secondary: #a1a1a1;
  --text-tertiary: #707070;
  --text-quaternary: #525252;

  --accent: #3b82f6;
  --accent-muted: #2563eb;
  --accent-dim: rgba(59, 130, 246, 0.12);
  --accent-text: #60a5fa;
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.1);
  --amber: #eab308;
  --red: #ef4444;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --transition: 150ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

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

/* ---- Ambient background ---- */
.bg-glow {
  position: fixed;
  top: -40%; left: -20%;
  width: 140%; height: 140%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 15%, rgba(59,130,246,0.03), transparent),
    radial-gradient(ellipse 500px 350px at 70% 65%, rgba(139,92,246,0.02), transparent);
}

.noise {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.content { position: relative; z-index: 2; }

/* ---- Navigation ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(10, 10, 10, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border-default);
}

.logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo span { color: var(--text-tertiary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 0.4rem 0.875rem;
  background: var(--text-primary);
  border: none;
  border-radius: 6px;
  color: var(--bg-root) !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition);
}

.nav-cta:hover {
  background: #ffffff;
  color: var(--bg-root) !important;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 100px;
  padding: 0.35rem 0.875rem;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
  color: var(--text-primary);
}

h1 .thin {
  color: var(--text-quaternary);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* ---- Waitlist form ---- */
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.waitlist-form input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.waitlist-form input:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 1px var(--border-active);
}

.waitlist-form button {
  padding: 0.625rem 1.25rem;
  background: var(--text-primary);
  border: none;
  border-radius: 6px;
  color: var(--bg-root);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.waitlist-form button:hover { background: #ffffff; }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-quaternary);
  margin-top: 0.75rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--green-dim);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--green);
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Section styles ---- */
.demo-section,
.live-demo-section,
.capabilities-section,
.how-section,
.channels-section,
.bottom-cta {
  background: var(--bg-root);
}

.demo-section {
  padding: 4rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

/* ---- Phone mockup ---- */
.phone-frame {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 40px;
  padding: 0;
  max-width: 420px;
  box-shadow:
    0 4px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem 0;
  font-size: 0.65rem;
  color: var(--text-quaternary);
}

.phone-status-bar .status-time { font-weight: 600; }

.phone-status-bar .status-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-status-bar .status-icons span { font-size: 0.6rem; }

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--bg-root);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0.5rem;
}

.phone-inner { padding: 0 1.25rem 1.5rem; }

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.phone-avatar {
  width: 36px; height: 36px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-root);
}

.phone-name { font-weight: 600; font-size: 0.9rem; }

.phone-status {
  font-size: 0.7rem;
  color: var(--green);
}

/* Chat bubbles */
.chat-log { display: flex; flex-direction: column; gap: 0.75rem; }

.bubble {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 92%;
  animation: bubbleIn 0.4s ease both;
}

.bubble-user {
  align-self: flex-end;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  border-bottom-right-radius: 4px;
}

.bubble-thinly {
  align-self: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}

.bubble-score {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.bubble-score.high { color: var(--green); }
.bubble-score.low { color: var(--text-quaternary); }

.bubble-summary { color: var(--text-tertiary); font-size: 0.82rem; }
.bubble-action {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-text);
}

.bubble-time {
  font-size: 0.65rem;
  color: var(--text-quaternary);
  margin-top: 0.3rem;
  text-align: right;
}

.bubble-fwd {
  font-size: 0.7rem;
  color: var(--text-quaternary);
  font-style: italic;
  margin-bottom: 0.3rem;
}

/* ---- Capabilities ---- */
.capabilities-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.capability-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  transition: background var(--transition);
}

.capability-card:hover {
  background: var(--bg-secondary);
}

.capability-icon {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.capability-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.capability-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ---- How it works ---- */
.how-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  transition: background var(--transition);
}

.step-card:hover {
  background: var(--bg-secondary);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-quaternary);
  margin-bottom: 0.75rem;
}

.step-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ---- Capture channels ---- */
.channels-section {
  padding: 4rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.channel-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  text-align: center;
  transition: background var(--transition);
}

.channel-card:hover {
  background: var(--bg-secondary);
}

.channel-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.channel-name {
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

.channel-status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.channel-status.live { color: var(--green); }
.channel-status.soon { color: var(--amber); }
.channel-status.planned { color: var(--text-quaternary); }

/* ---- Bottom CTA ---- */
.bottom-cta {
  padding: 6rem 2rem 8rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bottom-cta h2 { margin-bottom: 0.75rem; }
.bottom-cta .section-desc { margin: 0 auto 2.5rem; text-align: center; }
.bottom-cta .waitlist-form { margin: 0 auto; justify-content: center; }
.bottom-cta .form-note { text-align: center; }

/* ---- Footer ---- */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--text-quaternary);
  border-top: 1px solid var(--border-subtle);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Bubble stagger */
.chat-log .bubble { opacity: 0; animation: none; }

.demo-section.revealed .chat-log .bubble { animation: bubbleIn 0.4s ease both; }
.demo-section.revealed .chat-log .bubble:nth-child(1) { animation-delay: 0.1s; }
.demo-section.revealed .chat-log .bubble:nth-child(2) { animation-delay: 0.4s; }
.demo-section.revealed .chat-log .bubble:nth-child(3) { animation-delay: 0.8s; }
.demo-section.revealed .chat-log .bubble:nth-child(4) { animation-delay: 1.2s; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---- Live Demo ---- */
.live-demo-section {
  padding: 6rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.demo-input { display: flex; flex-direction: column; gap: 0.75rem; }

.demo-input input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.demo-input input::placeholder { color: var(--text-tertiary); }

.demo-input input:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 1px var(--border-active);
}

.demo-input input:disabled { opacity: 0.4; cursor: not-allowed; }

.demo-archetypes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.archetype-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.archetype-label {
  font-weight: 500;
  color: var(--text-primary);
}

.archetype-hint {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  line-height: 1.3;
  transition: color var(--transition);
}

.archetype-pill:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.archetype-pill:hover .archetype-label { color: var(--text-primary); }
.archetype-pill:hover .archetype-hint { color: var(--text-tertiary); }

.archetype-pill.selected {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.archetype-pill.selected .archetype-label { color: var(--bg-root); }
.archetype-pill.selected .archetype-hint { color: var(--text-quaternary); }

.archetype-pill:disabled { opacity: 0.4; cursor: not-allowed; }

/* Custom archetype */
.custom-context {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  animation: fadeInUp 0.3s ease both;
}

.custom-context.active { display: flex; }

.custom-context textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  min-height: 72px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.custom-context textarea::placeholder { color: var(--text-quaternary); font-style: italic; }

.custom-context textarea:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 1px var(--border-active);
}

.custom-context-hint {
  font-size: 0.6875rem;
  color: var(--text-quaternary);
}

#demoScore {
  width: 100%;
  padding: 0.625rem;
  background: var(--text-primary);
  border: none;
  border-radius: 8px;
  color: var(--bg-root);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

#demoScore:disabled { opacity: 0.3; cursor: not-allowed; }
#demoScore:not(:disabled):hover { background: #ffffff; }
#demoScore:not(:disabled):active { transform: scale(0.99); }

.demo-error {
  font-size: 0.8125rem;
  color: var(--red);
  display: none;
}

.result-card {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg-primary);
  animation: resultIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes resultIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.result-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-quaternary);
  margin-bottom: 1rem;
}

.result-reason {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.result-summary {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid var(--border-default);
}

.result-verdict {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  margin-top: 1rem;
}

.result-url {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-quaternary);
  margin-top: 1rem;
  word-break: break-all;
}

.result-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.result-actions .btn-secondary,
.result-actions .btn-primary {
  flex: 1;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}

.result-actions .btn-secondary {
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.result-actions .btn-secondary:hover { border-color: var(--border-hover); background: var(--bg-hover); }

.result-actions .btn-primary {
  background: var(--text-primary);
  border: 1px solid transparent;
  color: var(--bg-root);
}
.result-actions .btn-primary:hover { background: #ffffff; }

.result-pitch {
  font-size: 0.6875rem;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 2rem;
  line-height: 1.6;
}

/* ---- Demo rate-limit overlay ---- */
.demo-overlay {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.7);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  animation: overlayIn 0.4s ease both;
}

.demo-overlay.active { display: flex; }

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.demo-overlay-content {
  text-align: center;
  max-width: 400px;
  padding: 2rem;
}

.demo-overlay-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.demo-overlay-content p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.demo-overlay .waitlist-form { justify-content: center; }
.demo-overlay .form-success { max-width: 100%; }

/* ---- Loading shimmer ---- */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.result-skeleton { display: none; }

.result-skeleton.active {
  display: block;
  padding: 2rem;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-primary);
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-elevated) 50%, var(--bg-secondary) 100%);
  background-size: 400px 100%;
  animation: shimmer 1.8s ease infinite;
  margin-bottom: 0.75rem;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.long { width: 100%; }
.skeleton-line.score { height: 28px; width: 30%; margin-bottom: 1rem; }

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

/* ---- Button press effects ---- */
.waitlist-form button:active:not(:disabled),
.nav-cta:active,
#demoScore:active:not(:disabled) {
  transform: scale(0.98);
}

/* ---- Hamburger menu ---- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger span + span { margin-top: 5px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(3.5px, 3.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(3.5px, -3.5px); }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 1.25rem; }

  .hamburger { display: flex; flex-direction: column; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-default);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.9rem; }
  .nav-cta { width: 100%; text-align: center; }

  .phone-frame { border-radius: 32px; }
  .phone-notch { width: 100px; height: 24px; }

  .demo-archetypes { grid-template-columns: repeat(2, 1fr); }
  .archetype-pill { padding: 0.6rem 1rem; }
  #demoScore { padding: 0.75rem; font-size: 0.875rem; }
}
