@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:            #0f0f1a;
  --surface:       #17172a;
  --surface-deep:  #0d0d1a;
  --border:        #1e1e35;
  --border-light:  #2a2a45;
  --text:          #e8e8f0;
  --text-muted:    #9090b0;
  --text-dim:      #6060a0;
  --text-faint:    #404060;
  --accent:        #6366f1;
  --accent-hover:  #4f52d9;
  --success:       #4adf8a;
  --warning:       #dfb04a;
  --font-heading:  'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 85% 18%, rgba(99,102,241,0.38) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 45%, rgba(99,102,241,0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 75% 72%, rgba(79,82,217,0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 88%, rgba(99,102,241,0.22) 0%, transparent 40%);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  color: var(--text);
  min-height: 100vh;
}

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

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}

.logo { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }

nav a.btn {
  background: linear-gradient(135deg, #6366f1 0%, #4f52d9 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
  transition: box-shadow 0.2s, transform 0.2s;
}

nav a.btn:hover {
  box-shadow: 0 4px 20px rgba(99,102,241,0.55);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, rgba(79,82,217,0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-pill {
  display: inline-block;
  background: rgba(74,144,217,0.08);
  border: 1px solid rgba(74,144,217,0.25);
  color: var(--accent);
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #4f52d9 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.1px;
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shimmer 2.8s infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(99,102,241,0.6);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { animation: none; }
}

.price-note { margin-top: 14px; font-size: 13px; color: var(--text-faint); }

/* ── How it works ── */
.how {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.step:hover {
  border-color: rgba(74,144,217,0.35);
  box-shadow: 0 0 24px rgba(74,144,217,0.08);
  transform: translateY(-3px);
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(74,144,217,0.1);
  border: 1px solid rgba(74,144,217,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
  transition: background 0.2s, border-color 0.2s;
}

.step:hover .step-icon {
  background: rgba(74,144,217,0.18);
  border-color: rgba(74,144,217,0.4);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
}

.step h3 { font-family: var(--font-heading); font-size: 16px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.step-privacy { font-size: 12px; color: var(--text-faint); margin-top: 10px; line-height: 1.5; }

/* ── Email preview section ── */
.preview-section {
  padding: 20px 40px 80px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.preview-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.preview-subheading {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.preview-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.preview-card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.preview-card:hover {
  border-color: rgba(74,144,217,0.35);
  box-shadow: 0 0 24px rgba(74,144,217,0.08);
  transform: translateY(-3px);
}

.preview-num { font-size: 10px; color: var(--text-faint); margin-bottom: 8px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

.preview-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.preview-why {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.preview-link { font-size: 13px; color: var(--accent); font-weight: 500; }

/* ── FAQ ── */
.faq-section {
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.5px;
}

.faq-subheading {
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: #2a3a5a; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c8c8e0;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: #fff; }
.faq-item.open .faq-q { color: #fff; }

.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.2s, transform 0.25s;
}

.faq-item.open .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: #7070a0;
  line-height: 1.8;
  padding: 0 22px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 20px; }

/* ── Signup & Dashboard ── */
.form-wrap {
  max-width: 520px;
  margin: 80px auto;
  padding: 0 20px;
  position: relative;
}

.form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(74,144,217,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.form-wrap h1 { font-family: var(--font-heading); font-size: 30px; color: #fff; margin-bottom: 8px; letter-spacing: -0.5px; }
.form-wrap .sub { color: var(--text-dim); margin-bottom: 32px; font-size: 15px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }

.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus { border-color: var(--accent); }

.field textarea { resize: vertical; min-height: 120px; }

button[type=submit] {
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #4f52d9 100%);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  transition: box-shadow 0.2s, transform 0.2s;
}

button[type=submit]:hover {
  box-shadow: 0 6px 28px rgba(99,102,241,0.55);
  transform: translateY(-1px);
}

.note { font-size: 12px; color: var(--text-faint); margin-top: 16px; text-align: center; }

.saved-msg { background: #1a3a1a; border: 1px solid #2a6a2a; color: #6adf6a; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.error-msg { background: #3a1a1a; border: 1px solid #6a2a2a; color: #df6a6a; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }

.requirement-note {
  background: rgba(74,144,217,0.06);
  border: 1px solid rgba(74,144,217,0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.requirement-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.requirement-note strong { color: var(--text); }

.cancel-link { display: block; text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-faint); }
.cancel-link:hover { color: #e05050; }

.clear-data-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  padding-block: 6px;
  padding-inline: 4px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.clear-data-link:hover { color: #e05050; }
.clear-data-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.delete-confirm {
  display: none;
  margin-top: 10px;
  padding: 14px;
  background: rgba(224,80,80,0.06);
  border: 1px solid #5a2020;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
}
.delete-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.delete-confirm-actions button {
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.delete-confirm-actions .confirm-yes {
  background: #e05050;
  color: #fff;
}
.delete-confirm-actions .confirm-yes:hover { background: #c03030; }
.delete-confirm-actions .confirm-no {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.delete-confirm-actions .confirm-no:hover { color: var(--text); }

/* ── Signup success overlay ── */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,26,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.success-box {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.success-overlay.visible .success-box {
  transform: translateY(0);
}

.success-check {
  width: 72px;
  height: 72px;
  background: rgba(99,102,241,0.15);
  border: 2px solid rgba(99,102,241,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  animation: checkPop 0.4s ease 0.2s both;
}

@keyframes checkPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.success-box h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.success-box p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ── Hook status ── */
.hook-status {
  max-width: 520px;
  margin: 0 auto 24px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hook-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hook-label { font-size: 13px; color: var(--text-dim); }

.hook-status.connected .hook-dot { background: var(--success); box-shadow: 0 0 6px #4adf8a88; }
.hook-status.connected .hook-label { color: var(--success); }
.hook-status.stale .hook-dot { background: var(--warning); }
.hook-status.stale .hook-label { color: var(--warning); }
.hook-status.not-connected .hook-dot { background: var(--text-faint); }

/* ── Claude Code Setup ── */
.setup-wrap {
  max-width: 620px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.setup-wrap h2 { font-family: var(--font-heading); font-size: 22px; color: #fff; margin-bottom: 8px; letter-spacing: -0.3px; }
.setup-sub { font-size: 14px; color: var(--text-dim); margin-bottom: 28px; line-height: 1.6; }

.os-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.os-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.os-btn:hover { border-color: var(--accent); color: var(--text-muted); }
.os-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.setup-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.setup-step:hover {
  border-color: rgba(74,144,217,0.35);
  box-shadow: 0 0 20px rgba(74,144,217,0.07);
}

.setup-num {
  min-width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-top: 2px;
  font-family: var(--font-heading);
}

.setup-body strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.setup-body p { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }
.setup-body p:last-child { margin-bottom: 0; }

code { background: var(--border); padding: 2px 6px; border-radius: 4px; font-size: 12px; color: #a0a0d0; font-family: monospace; }

.code-block {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12px;
  color: #a0a0d0;
  font-family: monospace;
  white-space: pre;
  overflow-x: auto;
  margin-top: 10px;
}

.btn-download {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn-download:hover { background: var(--accent); color: #fff; text-decoration: none; }

.setup-tip {
  background: var(--surface-deep);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.setup-tip strong { color: var(--text-muted); }

.setup-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(74,144,217,0.06);
  border: 1px solid rgba(74,144,217,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  line-height: 1.6;
}

.manual-setup {
  margin-top: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.manual-setup summary {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, background 0.2s;
}

.manual-setup summary::-webkit-details-marker { display: none; }
.manual-setup summary::before { content: '+'; color: var(--accent); font-size: 18px; font-weight: 700; line-height: 1; }
.manual-setup[open] summary::before { content: '−'; }
.manual-setup summary:hover { color: #fff; background: var(--border); }

.manual-body {
  padding: 0 18px 18px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

.manual-body p { margin-bottom: 10px; }
.manual-body p:last-child { margin-bottom: 0; }

.privacy-note {
  margin-top: 20px;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.privacy-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.privacy-note p { font-size: 13px; color: #50507a; line-height: 1.7; margin-bottom: 8px; }
.privacy-note p:last-child { margin-bottom: 0; }
.privacy-note strong { color: var(--text-dim); }

/* ── Content pages (privacy, etc.) ── */
.content-page {
  max-width: 640px;
  margin: 80px auto 120px;
  padding: 0 24px;
}
.content-page h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.content-page .sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.content-page .content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.content-page .content-card h2 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.content-page .content-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}
.content-page .content-card p:last-child { margin-bottom: 0; }
.content-page .content-card a { color: var(--accent); }
.content-page .lead-card {
  background: rgba(99,102,241,0.07);
  border-color: rgba(99,102,241,0.25);
}
.content-page .lead-card p { color: var(--text); font-size: 15px; }
@media (max-width: 600px) {
  .content-page { margin: 48px auto 80px; }
  .content-page h1 { font-size: 26px; }
  .content-page .content-card { padding: 20px; }
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.footer-logo span { color: var(--accent); }

.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a { font-size: 13px; color: var(--text-faint); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); text-decoration: none; }

.footer-copy { font-size: 13px; color: #303050; width: 100%; text-align: center; margin-top: 10px; }

@media (max-width: 700px) {
  .hero h1 { font-size: 38px; }
  .preview-wrap { flex-direction: column; align-items: center; }
  .preview-card { max-width: 100%; }
  nav { padding: 16px 20px; }
}

@media (max-width: 600px) {
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── Page load animations ── */
.hero-pill,
.hero h1,
.hero p,
.hero .btn-primary {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
}

.hero-pill        { animation-delay: 0.1s; }
.hero h1          { animation-delay: 0.25s; }
.hero p           { animation-delay: 0.4s; }
.hero .btn-primary { animation-delay: 0.55s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pill, .hero h1, .hero p, .hero .btn-primary {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .animate-on-scroll { transition: none; }
}

/* ── Scroll animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
