@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --bg: #08080c;
  --surface: #101017;
  --card: #15151e;
  --card-strong: #1c1c27;
  --ink: #f6f6f9;
  --ink-active: #ffffff;
  --body: #c4c4cf;
  --body-strong: #e8e8f0;
  --muted: #8b8b98;
  --muted-soft: #5f5f6c;
  --hairline: #26262f;
  --hairline-soft: #1b1b22;
  --pink: #3b82f6; /* repointed to the brand blue for the dark theme (accents/focus/orb) */
  --lavender: #b8a4ed;
  --peach: #ffb084;
  --success: #22c55e;
  --coral: #ff6b5a;
  --gradient: #3b82f6;
  --primary: #3b82f6;
  --primary-strong: #2563eb;
  
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Libre Baskerville', Georgia, serif;
}

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

*:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.font-serif { font-family: var(--font-serif); }
/* Headings match apps/web landing: Inter, not serif. Baskerville stays logo/monogram-only. */
.font-display { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; }
.font-mono { font-family: var(--font-mono); }

.text-ink { color: var(--ink); }
.text-body-strong { color: var(--body-strong); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}

.accent-bar {
  height: 2px;
  background: var(--gradient);
  width: 100%;
}

.accent-top {
  border-top: 2px solid transparent;
  border-image: var(--gradient) 1;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 640px;
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  scroll-margin-top: 4rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Margin utilities (same 0.25rem-per-step scale as gap-*) */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
}

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hidden { display: none !important; }
.block { display: block; }
.invisible { visibility: hidden; }

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(8, 8, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* Buttons */
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-out;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); /* subtle glow */
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-link {
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  padding: 0;
  font-size: 0.875rem;
}

.btn-link:hover {
  color: var(--ink);
}

/* Form Elements */
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--card);
  color: var(--ink);
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}

input::placeholder {
  color: var(--muted);
}

input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--body-strong);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.14;
  max-width: 900px;
  margin-bottom: 2.25rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 65ch;
  margin-bottom: 2rem;
  color: var(--body-strong);
}

.trust-line {
  margin-top: 1rem;
  font-size: 0.75rem;
}

.hero-image-container {
  margin-top: 3rem;
  width: 100%;
}

.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  animation: floatUp 6s ease-in-out infinite alternate;
}

@keyframes floatUp {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@media (min-width: 768px) {
  .hero-image-container {
    margin-top: 0;
  }
  .hero-image {
    width: 115%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none !important;
    transform: none !important;
  }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  top: 10%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: var(--pink);
}

.orb-2 {
  bottom: 10%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: var(--lavender);
}

/* Diagnostic Card */
.diagnostic-card {
  background-color: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-container {
  height: 4px;
  background-color: var(--hairline-soft);
  width: 100%;
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.3s ease-out;
}

.diagnostic-content {
  padding: 2rem;
}

.diagnostic-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.dx-subtext {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.option-btn {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  min-height: 52px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background-color: var(--bg);
  color: var(--body-strong);
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  cursor: pointer;
  align-items: center;
  position: relative;
}

.option-btn:hover {
  background-color: var(--surface);
  border-color: var(--muted-soft);
  transform: translateY(-1px);
}

.option-btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.option-btn.selected {
  border-color: var(--pink);
  background-color: var(--card-strong);
}

.option-btn.selected::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--pink);
}

.fade-slide-in {
  animation: fadeSlideIn 180ms ease-out forwards;
}

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

.diagnostic-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--surface);
  border-top: 1px solid var(--hairline);
}

/* Result Section */
.result-section {
  padding: 4rem 0;
  background-color: var(--card);
  border-radius: 16px;
  margin-bottom: 4rem;
}

.result-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.result-why {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 65ch;
}

.result-plan {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.result-plan h3 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.result-plan ul {
  list-style: none;
}

.result-plan li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--body-strong);
}

.result-plan li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--muted);
}

.result-deliverable {
  font-weight: 600;
  color: var(--ink);
  padding: 1rem;
  background-color: var(--surface);
  border-left: 4px solid var(--ink);
  border-radius: 0 8px 8px 0;
}

/* Showcase */
.showcase-card {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.showcase-card.highlight {
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--gradient);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.showcase-placeholder {
  aspect-ratio: 4/3;
  background-color: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--hairline);
}

.showcase-caption {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.showcase-caption h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.showcase-caption p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: auto;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--surface);
  color: var(--ink);
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  margin-top: 1rem;
}

/* How It Works */
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-number {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 2rem;
  color: var(--muted-soft);
  line-height: 1;
}

.step-text {
  font-size: 1.125rem;
  color: var(--body-strong);
  padding-top: 0.25rem;
}

/* Value Stack Table */
.value-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.value-table th,
.value-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.value-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  background-color: var(--surface);
}

.value-table tr:last-child td {
  border-bottom: none;
}

.value-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
}

.value-table tr.total-row td {
  font-weight: 600;
  background-color: var(--surface);
  color: var(--ink);
}

.value-table tr.addis-row td {
  font-weight: 600;
  background-color: var(--primary);
  color: #ffffff;
  position: relative;
}

.value-table tr.addis-row td:first-child::before,
.value-table tr.addis-row td:last-child::before {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  background: var(--gradient);
}

.value-table tr.addis-row td:first-child::before {
  left: 0;
  right: 0;
}

.value-table tr.addis-row td:last-child::before {
  left: 0;
  right: 0;
}

@media (max-width: 560px) {
  .value-table {
    table-layout: fixed;
    width: 100%;
  }
  .value-table th,
  .value-table td {
    padding: 0.55rem 0.5rem;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }
  .value-table th:first-child {
    width: 40%;
  }
  .value-table th:nth-child(2),
  .value-table th:nth-child(3) {
    width: 30%;
  }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.faq-item dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.faq-item dd {
  color: var(--body);
}

/* Form Success */
.form-success {
  background-color: var(--surface);
  border: 1px solid var(--success);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--hairline);
  background-color: var(--bg);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: 1.5rem;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 2rem;
  }
  .section {
    padding: 3rem 0;
  }
  .diagnostic-footer {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-slide-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Form Status Banner */
.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.form-status--pending {
  background-color: var(--surface);
  color: var(--muted);
  border: 1px solid var(--hairline);
}

.form-status--success {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.form-status--error {
  background-color: rgba(255, 107, 90, 0.1);
  color: var(--coral);
  border: 1px solid var(--coral);
}

/* Showcase Gallery */
.showcase-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 1rem;
}

@media (min-width: 768px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 320px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--card);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.video-item {
  grid-row: span 1;
}

/* Portrait videos: keep the subject centred in the square tile */
.gallery-item.video-item video {
  object-position: center;
}

.gallery-item.image-item {
  grid-row: span 1;
}

/* Full-page website mockups: tall 2-row tile, anchored at the top so the site's
   hero reads clearly. grid-auto-flow: dense packs the square tiles around them. */
.gallery-item.site-item {
  grid-row: span 2;
}

.gallery-item.site-item img {
  object-position: top center;
}

.sound-toggle {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease;
  padding: 0;
}

.sound-toggle:hover {
  background-color: rgba(0, 0, 0, 0.72);
}

.sound-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Centered play / pause button over the poster */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.15s ease;
  padding: 0;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.video-play-btn:hover {
  background-color: rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play-btn:focus-visible,
.sound-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Once playing, the play/pause control fades back and only surfaces on hover/focus */
.phone-frame.is-playing .video-play-btn {
  opacity: 0;
}

.phone-frame.is-playing:hover .video-play-btn,
.phone-frame.is-playing:focus-within .video-play-btn {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .video-play-btn,
  .sound-toggle {
    transition: none;
  }
}

/* Card Updates */
.showcase-placeholder.with-bg {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* keep the label legible over the low-opacity collage */
.showcase-placeholder.with-bg .ph-label {
  color: var(--ink, #0d0d10);
  background: rgba(247, 245, 239, 0.82);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.showcase-placeholder.with-bg img.bg-collage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* Diagnostic Proof Strip */
.dx-proof-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.dx-thumbs {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  overflow: hidden;
}

.dx-thumbs img {
  width: auto;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.6;
  pointer-events: none;
}

.dx-proof-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 120px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card:hover {
    transform: none;
  }
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--ink);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

/* Founder Section */
.founder-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .founder-grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}
.founder-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .founder-identity {
    flex: 0 0 240px;
  }
}
.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.founder-name-wrap {
  display: flex;
  flex-direction: column;
}
.founder-name {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.founder-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.founder-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1.2;
}
.founder-p {
  color: var(--body-strong);
  max-width: 65ch;
  line-height: 1.6;
}
.founder-proof-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.founder-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.founder-logo-tile {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.founder-logo-tile img {
  object-fit: contain;
}
.founder-logo-tile:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .founder-logo-tile:hover {
    transform: none;
  }
}

/* ============================================================
   "Straight from the machine" — three framed product panels
   ============================================================ */
.trio-intro {
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.trio-intro h3 {
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  margin-bottom: 0.6rem;
}
.trio-intro p {
  max-width: 52ch;
  margin: 0 auto;
}

.showcase-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
}
@media (max-width: 960px) {
  .showcase-trio {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: clamp(2.5rem, 8vw, 3.5rem);
  }
}

.trio-panel { display: flex; flex-direction: column; min-width: 0; }

.trio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.trio-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.trio-badge {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--body);
  border: 1px solid var(--hairline);
}
.trio-badge.is-live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.32);
}
.trio-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--body);
  text-wrap: pretty;
}

/* ---- Panel 1: browser frame + auto-scroll ---- */
.browser-frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.browser-frame:hover,
.browser-frame:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
  outline: none;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  background: var(--card-strong);
  border-bottom: 1px solid var(--hairline);
}
.browser-dots { display: flex; gap: 0.35rem; flex: none; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3b3b4d; display: block; }
.browser-url {
  flex: 1;
  min-width: 0;
  font-size: 0.66rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 0.28rem 0.6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-zoom { flex: none; font-size: 0.95rem; color: var(--muted); line-height: 1; }
.browser-screen {
  display: block;
  position: relative;
  height: clamp(340px, 44vh, 480px);
  overflow: hidden;
  background: var(--surface);
}
.site-strip { display: block; will-change: transform; }
.site-strip img { display: block; width: 100%; }
/* soft fade at the bottom edge so the crop reads as "more below" */
.browser-screen::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,16,23,0), rgba(16,16,23,0.85));
}

/* ---- Panel 2: Instagram-style grid ---- */
.ig-frame {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.ig-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--hairline-soft);
}
.ig-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex: none;
  background: var(--gradient);
  box-shadow: inset 0 0 0 2px #fff;
}
.ig-handle b { display: block; font-size: 0.85rem; color: var(--ink); line-height: 1.2; }
.ig-handle small { font-size: 0.7rem; color: var(--muted); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--hairline-soft);
}
.ig-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: none;
  background: var(--card);
  cursor: zoom-in;
}
.ig-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ig-cell:hover img,
.ig-cell:focus-visible img { transform: scale(1.06); }

/* ---- Panel 3: phone frame ---- */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 244px;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  background: #0a0a0a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 5px;
  border-radius: 3px;
  background: #2a2a2a;
  z-index: 3;
}
.phone-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  background: #000;
}

/* ---- Panel 3: video thumbnails ---- */
.video-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  margin-top: 8px;
  scrollbar-width: none;
}
.video-thumbs::-webkit-scrollbar {
  display: none;
}
.video-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 78px;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}
.video-thumb:hover,
.video-thumb:focus-visible {
  opacity: 1;
}
.video-thumb.is-active {
  border-color: var(--primary);
  opacity: 1;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Shared zoom lightbox ---- */
.zoom-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: min(940px, 94vw);
  max-height: 92vh;
  overflow: visible;
}
.zoom-lightbox::backdrop {
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(3px);
}
.zoom-body {
  max-height: 92vh;
  overflow: auto;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  -webkit-overflow-scrolling: touch;
}
.zoom-body img { display: block; width: 100%; height: auto; }
.zoom-body.zoom-single { display: flex; }
.zoom-close {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 5;
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.zoom-close:hover { background: rgba(0, 0, 0, 0.8); }

@media (prefers-reduced-motion: reduce) {
  .browser-frame,
  .ig-cell img { transition: none; }
  .browser-frame:hover,
  .browser-frame:focus-visible { transform: none; }
}

/* Named guarantee under the signup CTA */
.form-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}
.form-guarantee .guarantee-check {
  flex: none;
  color: #15803d;
  font-weight: 700;
  margin-top: 0.05rem;
}

/* Founder: LinkedIn button + clickable logo tiles with tooltips */
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.founder-linkedin svg { color: #0a66c2; flex: none; }
.founder-linkedin:hover,
.founder-linkedin:focus-visible {
  border-color: #0a66c2;
  color: #0a66c2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.16);
  outline: none;
}

.founder-logo-tile {
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.founder-logo-tile:hover,
.founder-logo-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  outline: none;
}
.founder-logo-tile::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--card-strong);
  color: #fff;
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0.38rem 0.58rem;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
}
.founder-logo-tile::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--card-strong);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 20;
}
.founder-logo-tile:hover::after,
.founder-logo-tile:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.founder-logo-tile:hover::before,
.founder-logo-tile:focus-visible::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .founder-linkedin,
  .founder-logo-tile,
  .founder-logo-tile::after { transition: opacity 0.18s ease; }
  .founder-linkedin:hover,
  .founder-logo-tile:hover { transform: none; }
  .founder-logo-tile:hover::after,
  .founder-logo-tile:focus-visible::after { transform: translateX(-50%); }
}

/* Footer campaign disclaimer */
/* ===== Pricing: plan card, task menu, catch, sourced comparison ===== */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.pricing-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; margin-bottom: 0.85rem; }
.pricing-head .text-body-strong { font-size: 1.05rem; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 2rem; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.plan-card { background: var(--card); border: 1px solid var(--hairline); border-radius: 20px; padding: 1.75rem; box-shadow: 0 24px 48px -32px rgba(0,0,0,.6); }
.plan-card-top { display: flex; justify-content: space-between; align-items: center; }
.plan-card-name { font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.plan-badge { background: var(--peach); color: #3a2408; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan-for { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.plan-tasks { font-size: 0.95rem; font-weight: 600; color: var(--body-strong); margin-top: 1.1rem; }
.plan-tasks span { color: var(--muted); font-weight: 400; }
.plan-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 0.55rem; }
.plan-price { font-size: 2.9rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.plan-per { color: var(--muted); font-size: 0.95rem; }
.plan-cta { display: block; width: 100%; text-align: center; margin-top: 1.15rem; }
.plan-cta-note { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 0.65rem; line-height: 1.5; }
.plan-features { list-style: none; border-top: 1px solid var(--hairline); margin-top: 1.25rem; padding-top: 1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.plan-features li { position: relative; padding: 6px 0 6px 28px; font-size: 0.9rem; color: var(--body); }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan-features li.feat-support { color: var(--ink); font-weight: 600; }
.plan-features li.feat-support::before { background: var(--peach); }
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--card-strong); color: var(--muted); font-size: 0.68rem; font-weight: 600; vertical-align: 1px; }

.task-menu-wrap h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.task-menu-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.task-menu { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.1rem 1.4rem; }
.task-menu-group { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0.9rem 0 0.4rem; }
.task-menu-group:first-child { padding-top: 0; }
.task-menu-row { display: flex; align-items: center; gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; transition: background .15s ease; }
.task-menu-row:hover { background: var(--surface); }
.task-menu-row .mi { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.task-menu-name { font-weight: 600; font-size: 0.9rem; color: var(--body-strong); white-space: nowrap; }
.task-menu-desc { color: var(--muted); font-size: 0.82rem; text-align: right; margin-left: auto; }
@media (max-width: 520px) { .task-menu-desc { font-size: 0.74rem; } }

.pricing-catch { max-width: 640px; margin: 3.25rem auto 0; background: var(--card-strong); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.6rem 1.8rem; }
.pricing-catch h3 { font-size: 1.2rem; color: var(--peach); margin-bottom: 0.5rem; }
.pricing-catch p { color: var(--body); font-size: 0.95rem; line-height: 1.65; }

.pricing-compare { max-width: 640px; margin: 3.25rem auto 0; }
.pricing-compare h3 { font-size: 1.35rem; text-align: center; }
.pricing-compare-sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0.35rem 0 1.1rem; }
.pricing-sources { font-size: 0.72rem; color: var(--muted-soft); line-height: 1.7; text-align: center; margin-top: 1rem; }
.pricing-sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pricing-sources a:hover { color: var(--primary); }

/* Time comparison: save time, not just money */
.time-compare { max-width: 820px; margin: 3.25rem auto 0; }
.time-compare h3 { font-size: 1.35rem; text-align: center; }
.time-compare-sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0.35rem 0 1.4rem; }
.time-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.time-card { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; }
.time-card--addis { border-color: rgba(59,130,246,0.35); background: linear-gradient(180deg, rgba(59,130,246,0.07), transparent 60%); }
.time-card-head { font-weight: 600; color: var(--ink); font-size: 1.02rem; margin-bottom: 0.9rem; }
.time-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.time-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.88rem; color: var(--body); }
.time-dur { font-family: var(--font-mono); color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.time-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--hairline); }
.time-total-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.time-total-val { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.time-total--diy .time-total-val { color: var(--peach); }
.time-total--addis .time-total-val { color: var(--success); }
.time-arrow { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.time-punchline { text-align: center; color: var(--body-strong); font-size: 1rem; line-height: 1.6; max-width: 46rem; margin: 1.5rem auto 0; text-wrap: pretty; }
@media (max-width: 720px) {
  .time-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .time-arrow { transform: rotate(90deg); padding: 0.15rem 0; }
}

/* Footer CTA: full-bleed photo (Addis handled the work; the founder gets the evening back) */
.footer-cta {
  position: relative;
  overflow: hidden;
  background: #0b0b0e url('../assets/footer-family.webp') center center / cover no-repeat;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
}
.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Darker over the text column, plus a bottom weight so the trust line stays readable.
     Combined with the text-shadow below, white text clears WCAG even over the sunlit grass. */
  background: linear-gradient(180deg, rgba(6,6,10,0.74) 0%, rgba(6,6,10,0.62) 45%, rgba(6,6,10,0.86) 100%);
}
.footer-cta .container-sm { position: relative; z-index: 1; }
.footer-cta .text-ink { color: #ffffff; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.footer-cta .text-body-strong { color: rgba(255,255,255,0.92); text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
.footer-cta .trust-line { color: rgba(255,255,255,0.68); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }

.footer-disclaimer {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-disclaimer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer a:hover { color: var(--ink); }

/* Founder credibility trust bar (below hero) */
.trust-bar {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.trust-bar-label {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 auto 1.6rem;
  max-width: 44ch;
  line-height: 1.5;
}
.trust-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4rem);
}
.trust-logo {
  height: 128px;
  width: auto;
  border-radius: 18px;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 560px) {
  .trust-logo { height: 88px; }
}
.trust-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .trust-logo { transition: filter 0.3s ease, opacity 0.3s ease; }
  .trust-logo:hover { transform: none; }
}

/* How-it-works: download buttons, priority-support note, value strikethrough */
.step-download {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.dl-btn svg { flex: none; }
.dl-btn-primary { background: var(--gradient); color: #ffffff; font-weight: 700; }
.dl-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); }
.dl-btn-secondary { background: var(--card); color: var(--ink); border-color: var(--hairline); }
.dl-btn-secondary:hover { transform: translateY(-1px); border-color: var(--muted-soft); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }

.step-support {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.step-support-icon { flex: none; color: var(--pink); margin-top: 0.1rem; }
.step-support-text { font-size: 0.9rem; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.step-support-text b { display: block; color: var(--ink); margin-bottom: 0.15rem; }

.cost-struck {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--muted-soft);
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .dl-btn { transition: background-color 0.2s ease, border-color 0.2s ease; }
  .dl-btn-primary:hover, .dl-btn-secondary:hover { transform: none; }
}

/* Diagnostic: "analyzing your answers" loader (final step) */
.dx-analyzing {
  padding: 0.5rem 0 0.75rem;
  animation: fadeSlideIn 260ms ease-out;
}
.dx-analyzing-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.dx-analyzing-spinner {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid var(--hairline);
  border-top-color: var(--pink);
  animation: dxSpin 0.7s linear infinite;
}
@keyframes dxSpin { to { transform: rotate(360deg); } }
.dx-analyzing-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.dx-analyzing-pct {
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.dx-pct-sign { font-size: 0.45em; color: var(--muted); margin-left: 0.15rem; font-weight: 600; }
.dx-analyzing-track {
  height: 8px;
  background: var(--hairline-soft);
  border-radius: 999px;
  overflow: hidden;
}
.dx-analyzing-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
}
.dx-analyzing-status {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  min-height: 1.2em;
}
@media (prefers-reduced-motion: reduce) {
  .dx-analyzing { animation: none; }
  .dx-analyzing-spinner { animation: none; }
}

/* Result step: download CTA */
.result-cta {
  margin-top: 1.75rem;
  text-align: center;
}
.result-cta .step-download { justify-content: center; }

/* Quiz free-text follow-up (e.g. q1 "Something else") */
.dx-freetext { margin-top: 0.6rem; }
.dx-freetext input {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink);
  font-family: var(--font-sans); font-size: 0.95rem;
}
.dx-freetext input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }

/* Result: expandable "your answers" summary */
.result-answers { max-width: 34rem; margin: 1.5rem auto 0; border-top: 1px solid var(--hairline); padding-top: 1rem; text-align: left; }
.result-answers summary {
  cursor: pointer; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 0.45rem;
}
.result-answers summary::-webkit-details-marker { display: none; }
.result-answers summary::before { content: "+"; font-size: 1.05rem; line-height: 1; width: 1ch; text-align: center; }
.result-answers[open] summary::before { content: "\2212"; }
.result-answers summary:hover { color: var(--ink); }
.result-answers dl { margin-top: 0.95rem; display: flex; flex-direction: column; gap: 0.75rem; }
.result-answer { display: flex; flex-direction: column; gap: 2px; }
.result-answer dt { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.result-answer dd { color: var(--body-strong); font-size: 0.92rem; }

/* Result: email wall (gate) + the email capture form */
.result-gate { text-align: center; padding: 0.5rem 0; }
.result-gate h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.55rem; }
.result-gate-sub { color: var(--body); max-width: 32rem; margin: 0 auto 1.5rem; }
.result-gate .result-email { max-width: 30rem; margin: 0 auto; text-align: left; }
.result-email { margin-top: 1.1rem; }
.result-email label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.55rem; font-size: 0.95rem; }
.result-email-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.result-email-row input {
  flex: 1 1 220px; min-width: 0; padding: 0.85rem 1rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink);
  font-family: var(--font-sans); font-size: 0.95rem;
}
.result-email-row input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.result-email-row .btn { flex: 0 0 auto; white-space: nowrap; }
.result-email-err { color: var(--coral); font-size: 0.82rem; margin-top: 0.5rem; }
.result-email-note { color: var(--muted); font-size: 0.78rem; margin-top: 0.55rem; }
.result-download-line { color: var(--body-strong); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.75rem; }

/* Redesigned result: "your plan is ready" pitch */
#result-body { text-align: center; }
.result-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.95rem; border-radius: 999px; border: 1px solid rgba(34,197,94,0.40); background: rgba(34,197,94,0.08); color: var(--success); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.result-badge svg { flex: none; }
#result-body .result-headline { text-align: center; margin-bottom: 0.85rem; }
.result-sub { color: var(--body); font-size: 1.05rem; max-width: 34rem; margin: 0 auto 2rem; text-wrap: pretty; }
.result-plan-card { text-align: left; background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.6rem); max-width: 34rem; margin: 0 auto; }
.result-section-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--success); font-weight: 600; margin-bottom: 1rem; }
.result-feature { display: flex; align-items: center; gap: 1rem; padding: 0.85rem; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); margin-bottom: 0.7rem; }
.result-feature-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--card-strong); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink); }
.result-feature-icon svg { display: block; }
.result-feature-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.result-feature-text b { color: var(--ink); font-size: 1rem; font-weight: 600; }
.result-feature-text span { color: var(--muted); font-size: 0.9rem; }
.result-strip { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; padding: 0.85rem 1rem; border: 1px solid rgba(34,197,94,0.40); background: rgba(34,197,94,0.07); border-radius: 12px; color: var(--body); font-size: 0.92rem; }
.result-strip svg { flex: none; color: var(--success); }
.result-strip b { color: var(--success); font-weight: 600; }
.result-trust { font-family: var(--font-mono); color: var(--muted); font-size: 0.78rem; margin-top: 0.95rem; }
/* Reused founder section inside the result (stacked in the narrow column) */
.result-founder { max-width: 34rem; margin: 2rem auto 0; padding-top: 1.75rem; border-top: 1px solid var(--hairline); text-align: left; }
.result-founder .founder-grid { flex-direction: column; gap: 1.5rem; align-items: stretch; }
.result-founder .founder-identity { align-items: flex-start; }
.result-cta-line {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.result-cta .step-download { margin-top: 0; }
.result-cta-alt {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.result-cta-alt:hover { color: var(--ink); }

/* Quiz: option thumbnails (challenge question) + time illustration */
.option-btn.has-img {
  gap: 0.9rem;
  padding: 0.7rem 1rem;
}
.option-img {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: var(--card);
}
.option-btn .option-text { flex: 1; }

/* ==========================================================================
   Immersive Motion Layer
   ========================================================================== */

#immersive-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-color: #0a0a0f;
  pointer-events: none;
}

/* Ensure body doesn't hide the immersive bg initially, but provides fallback if needed */
body {
  background-color: transparent;
}

/* The hero section */
.immersive-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  color: #fff;
}

/* Subtle radial screen glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(100px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-pitch {
  flex: 1.15;
}

.hero-visual {
  flex: 0.9;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-eyebrow {
  color: var(--peach);
}

.hero-heading {
  color: #fdfdfd;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-subcopy {
  color: #d1d1d1;
  font-size: 1.125rem;
  max-width: 65ch;
  margin-bottom: 2rem;
}

.hero-trust-line {
  color: #9a9a9a;
  margin-top: 1rem;
  font-size: 0.75rem;
}

/* Terminal Window */
.hero-terminal {
  width: 100%;
  max-width: 480px;
  background-color: #121217;
  border: 1px solid #2a2a35;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.terminal-header {
  background-color: #1a1a24;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid #2a2a35;
}

.terminal-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-header .close { background-color: #ff5f56; }
.terminal-header .minimize { background-color: #ffbd2e; }
.terminal-header .expand { background-color: #27c93f; }

.terminal-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #e5e5e5;
  min-height: 140px;
  line-height: 1.6;
}

.caret {
  display: inline-block;
  color: #fff;
  opacity: 0;
  vertical-align: middle;
  margin-left: 2px;
}
.caret.is-blinking {
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Deliverable Cards */
.hero-cards {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.deliverable-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  background-color: #1a1a24;
  border: 1px solid #333344;
  border-radius: 8px;
  padding: 0.4rem;
  box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.deliverable-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.card-label {
  font-size: 0.75rem;
  color: #d1d1d1;
  font-weight: 500;
  text-align: center;
  font-family: var(--font-sans);
}

@media (max-width: 768px) {
  .hero-visual {
    min-height: 320px;
  }
  .deliverable-card {
    width: 100px;
  }
}

/* Smooth Scroll Lenis styles */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* ============================================================
   Immersive review pass 2 - contrast fixes, legible card grid, nav
   ============================================================ */
/* Beat the original `.hero p` (var(--body-strong), dark) with higher specificity */
.immersive-hero .hero-subcopy { color: #d6d6de; }
.immersive-hero .hero-trust-line { color: #8a8a96; }
.immersive-hero .hero-eyebrow { color: var(--peach); }

/* Hero visual: terminal on top, five deliverables in a tidy grid below
   (one typed line -> a business's worth of output, legible and overflow-safe) */
.immersive-hero .hero-visual { flex-direction: column; min-height: 0; gap: 1rem; align-items: stretch; width: 100%; }
.immersive-hero .hero-terminal { max-width: none; }
.immersive-hero .hero-cards {
  position: static; transform: none; width: 100%; height: auto; pointer-events: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; z-index: 3;
}
.immersive-hero .deliverable-card {
  position: static; top: auto; left: auto; width: auto;
  transform: none; opacity: 1;                 /* visible by default; JS animates from here */
  background-color: rgba(24,24,34,0.92); border: 1px solid #2f2f3d;
}
.immersive-hero .deliverable-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Nav: transparent + light while over the dark hero; cream after scroll */
nav { transition: background-color .3s ease, border-color .3s ease; }
/* Center nav menu: quick hooks into the page's main sections */
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.72); text-decoration: none; transition: color .18s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
@media (max-width: 768px) { .nav-links { display: none; } }
nav.nav-over-hero { background-color: #0a0a0f; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
nav.nav-over-hero .wordmark { color: #fdfdfd; }
nav.nav-over-hero .btn-ghost { color: #fdfdfd; border-color: rgba(255,255,255,0.55); }
nav.nav-over-hero .btn-ghost:hover { background-color: rgba(255,255,255,0.12); }

@media (max-width: 768px) {
  .immersive-hero .deliverable-card { width: auto; }
}

/* Cream is the always-on base (safe for every section, no-JS/reduced-motion);
   the hero paints its own night which the scroll fades away to reveal the cream. */
#immersive-bg { background-color: var(--bg); }
.immersive-hero { background-color: #0a0a0f; }

/* ---- Trust-bar hover valuation count-up ---- */
.trust-logo { cursor: default; }
.trust-logo:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.trust-tip {
  position: fixed; z-index: 60; transform: translate(-50%, -100%);
  background: #0a0a0f; color: #fff; border: 1px solid #2a2a35;
  border-radius: 12px; padding: 0.7rem 0.95rem; text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35); pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease;
  min-width: 150px;
}
.trust-tip.is-visible { opacity: 1; visibility: visible; }
.trust-tip::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #0a0a0f; border-right: 1px solid #2a2a35; border-bottom: 1px solid #2a2a35;
}
.trust-tip-num {
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: 1.5rem; line-height: 1.1;
  background: none; color: #fff;
  font-variant-numeric: tabular-nums;
}
.trust-tip-detail { display: block; margin-top: 0.25rem; font-size: 0.72rem; color: #b8b8c4; letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) { .trust-tip { transition: none; } }

/* ============================================================
   Hero background-video modes (?hero=skydive | ambient) for A/B/C compare.
   Default (terminal) shows neither; JS in hero-mode.js opts in per URL param.
   ============================================================ */
.hero-bg-video, .hero-bg-scrim { display: none; }
.immersive-hero.hero-mode-video .hero-bg-video {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.immersive-hero.hero-mode-video .hero-bg-scrim {
  display: block; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.72) 42%, rgba(10,10,15,0.4) 100%);
}
.immersive-hero.hero-mode-video .hero-glow { display: none; }
.immersive-hero.hero-mode-video .hero-container { position: relative; z-index: 2; }
.immersive-hero.hero-mode-video .hero-visual { display: none; }   /* the video is the visual */
.immersive-hero.hero-mode-video .hero-pitch { flex: 1; max-width: 700px; }

/* ============================================================
   Hero Reveal Animation Styles
   ============================================================ */

/* Looping hero video (seamless product-flow loop) */
.hero-loop {
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.16), 0 24px 60px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}

.hero-loop::after {
  /* subtle inner vignette so the clip settles into the dark page */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(8, 8, 12, 0.55);
  border-radius: inherit;
}

.hero-loop-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-reveal {
  width: 100%;
  position: relative;
  /* Stacks on mobile, fan on desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.reveal-connectors {
  display: none; /* Hidden on mobile */
  pointer-events: none;
}

.reveal-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  filter: url(#blue-glow);
  opacity: 0.6;
}

.reveal-panel {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  /* default motion properties for fallback/desktop */
  will-change: transform, opacity;
}

.panel-input {
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.panel-output {
  border: 1px solid var(--hairline);
  background-color: var(--surface);
}

/* Optional vertical connectors for mobile */
.hero-reveal::before {
  content: "";
  display: none; /* Disable pseudo if JS manages everything or if we don't need it */
}

@media (min-width: 900px) {
  .hero-reveal {
    display: block;
    min-height: 500px; /* enough space for fan arc */
    aspect-ratio: 4 / 3;
    max-height: 700px;
  }

  .reveal-connectors {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .reveal-panel {
    position: absolute;
    z-index: 1;
    max-width: none;
  }

  .panel-input {
    width: 46%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .panel-output {
    width: 32%;
  }

  /* Pre-positioning output panels in fan arc */
  #panel-plan { top: 5%; right: 15%; }
  #panel-website { top: 25%; right: 2%; }
  #panel-social { top: 48%; right: -2%; }
  #panel-advideo { top: 70%; right: 6%; }
  #panel-adsperf { top: 88%; right: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-panel,
  .reveal-path {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    visibility: visible !important;
  }
}

/* ===== Immersive photo hero (relax.webp + floating outputs) ===== */
.hero-immersive { position: relative; overflow: hidden; min-height: min(94vh, 860px); display: flex; align-items: flex-start; padding: clamp(84px, 11vh, 128px) 0 64px; }
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  /* Default variant = female founder. PostHog A/B (js/posthog.js) sets body[data-hero]
     to swap variants; if PostHog never loads, this default still shows. */
  background: url('../assets/hero/hero-female.webp') center right / cover no-repeat;
  transform: scale(1.05); will-change: transform;
  animation: heroPhotoDrift 40s ease-in-out infinite alternate;
}
body[data-hero="female"] .hero-photo { background-image: url('../assets/hero/hero-female.webp'); }
body[data-hero="relax"] .hero-photo { background-image: url('../assets/hero/relax.webp'); }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,8,12,.95) 0%, rgba(8,8,12,.84) 28%, rgba(8,8,12,.44) 54%, rgba(8,8,12,.12) 78%, rgba(8,8,12,.34) 100%),
    linear-gradient(180deg, rgba(8,8,12,.28) 0%, rgba(8,8,12,0) 26%, rgba(8,8,12,0) 60%, var(--bg) 100%);
}
/* warm sun-dust motes drifting in the window light */
.hero-dust { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-dust i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,235,188,.85), rgba(255,214,150,0));
  opacity: 0; filter: blur(.3px); animation: dustFloat 15s linear infinite;
}
.hero-dust i:nth-child(1){left:13%;top:72%;animation-delay:0s}
.hero-dust i:nth-child(2){left:22%;top:40%;width:3px;height:3px;animation-delay:2s}
.hero-dust i:nth-child(3){left:31%;top:80%;animation-delay:5s}
.hero-dust i:nth-child(4){left:38%;top:30%;width:4px;height:4px;animation-delay:7s}
.hero-dust i:nth-child(5){left:9%;top:56%;animation-delay:9s}
.hero-dust i:nth-child(6){left:26%;top:63%;width:2px;height:2px;animation-delay:1s}
.hero-dust i:nth-child(7){left:18%;top:48%;animation-delay:11s}
.hero-dust i:nth-child(8){left:34%;top:52%;width:3px;height:3px;animation-delay:4s}
.hero-dust i:nth-child(9){left:7%;top:38%;animation-delay:6s}
.hero-dust i:nth-child(10){left:41%;top:66%;animation-delay:8s}

.hero-container { position: relative; z-index: 3; }
/* Pin the pitch to the left edge (not a centered max-width box) so wide screens do not
   leave a dead gutter, and the gap to the floating animation scales with the viewport. */
.hero-immersive .hero-container { max-width: 100%; padding-left: clamp(28px, 5.5vw, 200px); padding-right: clamp(24px, 4vw, 96px); }
.hero-immersive .hero-pitch { max-width: clamp(330px, 32vw, 480px); }
.hero-immersive .hero-heading { font-size: clamp(1.9rem, 2.8vw, 2.9rem); line-height: 1.1; text-wrap: balance; }
.hero-immersive .hero-eyebrow { margin-bottom: 14px; }

/* Float stage overlaying the room (does not block page interactions) */
.hero-stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* App window (floats over the desk, left of the founder) */
.hero-app {
  position: absolute; z-index: 2; width: min(300px, 82vw);
  left: 54%; top: 56%; transform: translate(-50%,-50%);
  background: #111; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 34px rgba(36,107,206,.22), 0 24px 64px rgba(0,0,0,.6);
  will-change: transform, opacity, filter;
}

/* Toolbar (mirror of WebVADToolbar) */
.vad-toolbar { position: relative; background: #111; }
.vad-accent { height: 3px; width: 100%; background: #246bce; transition: background .3s; }
.vad-toolbar.is-welcome  .vad-accent { background: linear-gradient(90deg,#1e3a8a,#3b82f6,#22d3ee); background-size:200% 100%; animation: heroWelcomeBar 3s ease infinite; }
.vad-toolbar.is-processing .vad-accent { background: rgba(59,130,246,.25); position: relative; overflow: hidden; }
.vad-toolbar.is-processing .vad-accent::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg,transparent,#3b82f6,transparent); animation: heroShimmer 1.5s linear infinite; }
.vad-toolbar.is-speaking  .vad-accent { background: linear-gradient(90deg,#1e3a8a,#3b82f6,#22d3ee); background-size:200% 100%; animation: heroWelcomeBar 3s ease infinite; }

.vad-controls { display:flex; align-items:center; gap:6px; padding:8px 12px 4px; }
.vad-avatar { width:22px; height:22px; border-radius:50%; background:#1e1e1e; color:#fff; font-size:11px; font-weight:700; display:grid; place-items:center; }
.vad-title { font-size:12px; font-weight:600; color:#e5e5e5; }
.vad-spacer { flex:1; }
.vad-ctl { width:20px; height:20px; border-radius:6px; display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); color:#c8c8d0; }
.vad-ctl svg { display:block; }
.vad-ctl svg line { stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.vad-close { color:#f2a6a6; background:rgba(239,68,68,.14); box-shadow:inset 0 0 0 1px rgba(239,68,68,.36); }

.vad-status { display:flex; align-items:center; gap:6px; padding:2px 12px 8px; }
.vad-wave { display:inline-flex; align-items:center; gap:1.5px; height:14px; }
.vad-wave i { width:2px; height:3px; background:#246bce; border-radius:1px; transition:height .075s; }
.vad-toolbar.is-processing .vad-wave i, .vad-toolbar.is-speaking .vad-wave i { animation: heroWave .9s ease-in-out infinite; }
.vad-wave i:nth-child(2){animation-delay:.1s}.vad-wave i:nth-child(3){animation-delay:.2s}.vad-wave i:nth-child(4){animation-delay:.3s}.vad-wave i:nth-child(5){animation-delay:.4s}.vad-wave i:nth-child(6){animation-delay:.5s}.vad-wave i:nth-child(7){animation-delay:.6s}.vad-wave i:nth-child(8){animation-delay:.7s}
.vad-label { font-size:11px; color:#8a8a8a; }

/* Task panel (mirror of TaskSelectionView) */
.task-panel { display:flex; flex-direction:column; gap:12px; padding:14px 16px 16px; }
.task-greeting { font-size:14px; line-height:1.35; color:#e5e5e5; }
.task-chips { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.task-chip { display:flex; align-items:center; justify-content:center; gap:5px; min-height:40px; padding:6px 4px;
  border-radius:8px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.03);
  color:#d4d4d4; font-size:12px; font-weight:500; cursor:default; transition:all .2s; }
.task-chip span { font-size:12px; line-height:1; }
.task-chip.is-hot { border-color:#246bce; background:#246bce; color:#fff; }
.task-input { position:relative; min-height:56px; border-radius:10px; border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04); padding:12px 14px; font-size:13px; line-height:1.55; color:#f0f0f0; }
.task-input.is-focus { border-color:rgba(255,255,255,.25); }
.task-placeholder { color:#777; }
.task-input.has-text .task-placeholder { display:none; }
.task-caret { display:inline-block; width:1px; height:1em; background:#3b82f6; vertical-align:text-bottom; opacity:0; }
.task-caret.is-on { animation: heroCaret 1s steps(1) infinite; }
.task-continue { margin-top:2px; width:100%; border-radius:10px; padding:9px; font-size:14px; font-weight:500;
  border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:#888; transition:all .25s; }
.task-continue.is-ready { background:#246bce; color:#fff; border-color:transparent; }

/* Outputs: one floats in at a time, centered on the float origin */
.float-wrap { position: absolute; z-index: 3; left: 54%; top: 50%; width: 0; height: 0; }
.output-card {
  position: absolute; left: 0; top: 0; display: block;
  width: clamp(200px, 21vw, 300px); height: auto; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 0 46px rgba(36,107,206,.20);
  transform: translate(-50%,-50%) scale(.82); opacity: 0; filter: blur(6px);
  will-change: transform, opacity, filter;
}
.float-caption {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, calc(-50% + clamp(140px, 15vw, 195px)));
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(10,10,15,.62); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .01em;
  color: #eef0f4; white-space: nowrap; opacity: 0; will-change: opacity, transform;
}
.float-caption .fc-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 9px rgba(34,197,94,.9); }

/* Mobile: pitch pinned top, the room + float sit in the lower half */
/* Stack (pitch top, animation below) on phones, tablets, and small laptops. Two-column
   only kicks in at >=1280px, where there is room for the pitch and the floating panel
   side by side without the app crowding the text during the typing phase. */
@media (max-width: 1279px) {
  .hero-immersive { min-height: 100svh; padding: 88px 0 40px; align-items: flex-start; }
  .hero-immersive .hero-container { padding-left: clamp(24px, 5vw, 72px); }
  .hero-immersive .hero-pitch { max-width: min(480px, 100%); }
  .hero-immersive .hero-heading { font-size: clamp(1.85rem, 4.4vw, 2.3rem); }
  .hero-photo { background-position: 64% center; }
  .hero-app { left: 50%; top: 82%; width: min(280px, 80vw); }
  .float-wrap { left: 50%; top: 68%; }
  .output-card { width: clamp(184px, 56vw, 260px); }
  /* tighten the app so it fits the lower half without touching the pitch */
  .hero-app .task-panel { padding: 10px 12px 12px; gap: 8px; }
  .hero-app .task-greeting { font-size: 12.5px; }
  .hero-app .task-chip { min-height: 34px; font-size: 11px; }
  .hero-app .task-input { min-height: 42px; padding: 9px 11px; }
  .hero-app .task-continue { padding: 8px; font-size: 13px; }
  .float-caption { font-size: 11px; transform: translate(-50%, calc(-50% + clamp(110px, 34vw, 150px))); }
  .hero-scrim { background:
    linear-gradient(180deg, rgba(8,8,12,.94) 0%, rgba(8,8,12,.72) 30%, rgba(8,8,12,.42) 50%, rgba(8,8,12,.66) 78%, var(--bg) 100%); }
}

@keyframes heroWelcomeBar { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes heroShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
@keyframes heroWave { 0%,100%{height:3px} 50%{height:13px} }
@keyframes heroCaret { 0%,50%{opacity:1} 51%,100%{opacity:0} }
@keyframes heroPhotoDrift { from { transform: scale(1.05) translate(0,0); } to { transform: scale(1.08) translate(-1.4%, -1%); } }
@keyframes dustFloat {
  0% { opacity: 0; transform: translate(0,0) scale(.7); }
  15% { opacity: .8; }
  70% { opacity: .5; }
  100% { opacity: 0; transform: translate(26px, -60px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; } .hero-dust { display: none; }
}

/* ===== Content phone marquee + ad video marquee ===== */
.phone-marquee, .video-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; align-items: center;
  animation: marqueeX 46s linear infinite; will-change: transform; }
.video-marquee .marquee-track { animation-duration: 40s; }
.phone-marquee:hover .marquee-track, .video-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Phone mock (a niche's content grid) */
.phone-mock { flex: 0 0 auto; width: clamp(158px, 19vw, 194px); margin: 10px 0; }
.phone-screen { position: relative; border-radius: 26px; overflow: hidden; background: #0d0d13;
  border: 6px solid #1b1b25; box-shadow: 0 22px 46px rgba(0,0,0,.5); padding-top: 14px; }
.phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 5px; border-radius: 3px; background: #000; z-index: 2; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 6px 11px 8px; }
.ph-av { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, #3b82f6, #22d3ee); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.ph-hnd { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ph-hnd b { font-size: 11px; color: #f2f2f5; } .ph-hnd small { font-size: 9px; color: #8a8a97; }
.phone-screen img { display: block; width: 100%; height: auto; }
.ph-home { height: 16px; display: flex; align-items: center; justify-content: center; background: #0d0d13; }
.ph-home::after { content: ""; width: 44%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }

/* Ad video marquee */
.video-marquee { border-radius: 14px; }
.vm-card { position: relative; flex: 0 0 auto; width: clamp(150px, 17vw, 182px); aspect-ratio: 9 / 16; border-radius: 14px;
  overflow: hidden; background: #0d0d13; border: 1px solid var(--hairline); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.vm-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Per-video fullscreen button (always visible so it is discoverable) */
.vm-fs { position: absolute; top: 8px; right: 8px; z-index: 4; width: 38px; height: 38px; border-radius: 9px;
  padding: 0; /* reset the global button padding, else border-box collapses the icon to 0 width */
  background: rgba(8,8,12,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .18s, transform .18s; box-shadow: 0 4px 12px rgba(0,0,0,.45); }
.vm-fs:hover { background: var(--primary); transform: scale(1.06); }
.vm-fs svg { display: block; }
/* Extend the tap target to >=44px without enlarging the visible button (a11y touch target). */
.vm-fs::after { content: ""; position: absolute; inset: -4px; }

/* Centered video modal (popup) */
.video-modal { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; z-index: 300;
  border: none; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; color: #fff; }
.video-modal::backdrop { background: rgba(6,6,10,.82); backdrop-filter: blur(4px); }
.vm-modal-video { display: block; height: min(80vh, 720px); width: auto; max-width: 94vw; border-radius: 16px;
  background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vm-modal-close { position: absolute; top: -16px; right: -16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  padding: 0; /* reset the global button padding, else border-box collapses the icon to 0 width */
  background: #15151d; border: 1px solid rgba(255,255,255,.2); color: #fff; display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.5); transition: background .18s; }
.vm-modal-close:hover { background: #26263a; }
@media (max-width: 560px) { .vm-modal-close { top: -12px; right: -6px; } }

/* Exit-intent email capture modal (final-chance lead grab before the tab closes) */
.exit-modal {
  position: fixed; inset: 0; margin: auto; z-index: 400;
  width: min(30rem, calc(100vw - 2rem)); max-width: 30rem; height: fit-content;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--card); color: var(--body);
  border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.exit-modal::backdrop { background: rgba(6,6,10,.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.exit-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; line-height: 1;
  border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface);
  color: var(--muted); font-size: 1.35rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.exit-close:hover { color: var(--ink); border-color: var(--muted-soft); }
.exit-eyebrow { display: inline-block; margin-bottom: .7rem; }
.exit-title { color: var(--ink); font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.12; margin: 0 0 .6rem; }
.exit-sub { color: var(--body); font-size: .98rem; line-height: 1.5; margin: 0 0 1.25rem; }
.exit-modal .result-email { margin-top: 0; }
.exit-download { margin-top: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .phone-marquee, .video-marquee { overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none; }
  .phone-marquee::-webkit-scrollbar, .video-marquee::-webkit-scrollbar { display: none; }
}

/* Footer contact link */
.footer-contact { color: var(--body); text-decoration: underline; text-underline-offset: 3px; transition: color .18s; }
.footer-contact:hover { color: var(--primary); }
