:root {
  --brand: #355f4b;
  --brand-dark: #2a4b3b;
  --brand-light: #5a8b72;
  --brand-lighter: #7fae97;
  --paper: #355f4b;
  --paper-dim: #2f5644;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-faint: rgba(255, 255, 255, 0.55);
  --ink-on-dark: #ffffff;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--brand);
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Background overlay (85% opacity) ── */
.bg-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url('../vocorx_background_overlay.png') center / cover no-repeat;
  opacity: 0.85;
}

/* ── Loading screen ── */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(53, 95, 75, 0.55);
  opacity: 1; visibility: visible;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.loader.loader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__spinner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--brand-lighter);
  animation: loaderSpin 0.9s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-lighter); outline-offset: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }

/* ── Diagonal lines ── */
.diagonal-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.diagonal-lines svg { position: absolute; width: 100%; height: 100%; }

/* ── Dark section ── */
.dark-section {
  background: transparent; color: var(--ink-on-dark); position: relative; overflow: hidden;
}

/* ── Answer Dot ── */
.answer-dot { display: inline-flex; align-items: center; justify-content: center; position: relative; }
.answer-dot--lg { width: 40px; height: 40px; }

.answer-dot__core {
  background: var(--brand-lighter); border-radius: 50%; z-index: 2;
  box-shadow: 0 0 10px rgba(127, 174, 151, 0.6);
}
.answer-dot--lg .answer-dot__core { width: 14px; height: 14px; }

.answer-dot__ring {
  position: absolute; border: 1.5px solid #ffffff; border-radius: 50%;
  width: 100%; height: 100%;
  opacity: 0; animation: dotPulse 3s var(--ease) infinite;
}
.answer-dot__ring:nth-child(2) { animation-delay: 1.5s; }
.answer-dot--lg .answer-dot__ring { animation-duration: 3.5s; }
.answer-dot--lg .answer-dot__ring:nth-child(2) { animation-delay: 1.75s; }

@keyframes dotPulse {
  0%   { transform: scale(0.4); opacity: 0.7; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* ── Brand lockup ── */
.brand-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo__img {
  height: 34px; width: auto; display: block;
}
.brand-text {
  display: inline-block;
  font-family: 'Oswald', 'Merriweather', Georgia, sans-serif; font-style: normal; font-weight: 700;
  font-size: 1.8rem; letter-spacing: 0.01em; line-height: 1.1;
  padding: 0.1em 0.12em 0.1em 0;
  color: #ffffff;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen {
  0%   { opacity: 0.78; }
  50%  { opacity: 1; }
  100% { opacity: 0.78; }
}
header .brand-text { color: var(--brand); }
header.dark-nav .brand-text { color: var(--brand); }
.footer__brand .brand-text { color: var(--brand); }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff; backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53, 95, 75, 0.12);
  transition: all 0.4s var(--ease);
}
header.dark-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(53, 95, 75, 0.18);
}
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.nav-wrap .brand-logo { justify-self: start; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 2.5rem; list-style: none; margin: 0 auto; flex-direction: row; }
.nav-link {
  font-size: 0.95rem; font-weight: 500; color: var(--brand);
  text-decoration: none; transition: color 0.3s var(--ease); position: relative;
}
header.dark-nav .nav-link { color: var(--brand); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--brand); transition: width 0.3s var(--ease);
}
header.dark-nav .nav-link::after { background: var(--brand); }
.nav-link:hover { color: var(--brand-dark); }
.nav-link:hover::after { width: 100%; }
header.dark-nav .nav-link:hover { color: var(--brand-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.6rem; border-radius: 6px; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s var(--ease);
}
.btn-primary { background: var(--brand-light); color: var(--ink-on-dark); }
.btn-primary:hover { background: var(--brand-lighter); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(42, 75, 59, 0.35); }
.btn-secondary { background: transparent; color: var(--ink-on-dark); border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--ink-on-dark); transform: translateY(-2px); }
.btn-lg {
  padding: 1rem 2rem; font-size: 1.05rem; border-radius: 8px;
  box-shadow: 0 4px 18px rgba(42, 75, 59, 0.3);
}
.btn-lg:hover { box-shadow: 0 8px 28px rgba(42, 75, 59, 0.4); }

/* ── Hero ── */
.hero { padding: 10rem 0 8rem; min-height: 80vh; display: flex; align-items: center; color: var(--ink-on-dark); }
.hero__card { max-width: 800px; margin: 0 auto; text-align: center; }
.hero__title { font-size: clamp(3rem, 5.5vw, 4.8rem); line-height: 1.2; margin-bottom: 1.75rem; color: #ffffff; }
.hero__title em, .hero__title-em { font-style: italic; font-weight: 400; color: #ffffff; }
.hero__desc { font-size: 1.15rem;   color: var(--ink-soft); margin-bottom: 2.5rem; max-width: 680px; line-height: 1.7; margin-left: auto; margin-right: auto; }
.dark-section .hero__desc { color: rgba(255, 255, 255, 0.85); }
.hero__checks {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem; margin: 0 auto; max-width: 480px; text-align: left;
}
.hero__checks li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 1rem; font-weight: 500; color: #ffffff;
  background: var(--brand); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px; padding: 0.7rem 0.95rem;
  box-shadow: 0 6px 18px rgba(20, 40, 30, 0.25);
}
.hero__checks li::before {
  content: '✓'; flex-shrink: 0; font-weight: 700; color: #ffffff;
  background: rgba(255, 255, 255, 0.18); border-radius: 50%;
  width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 480px) {
  .hero__checks { grid-template-columns: 1fr; }
}

/* ── Trust badges ── */
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem;
}
.trust-badges--center { justify-content: center; }
.trust-badge {
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px; padding: 0.4rem 0.9rem;
  white-space: nowrap;
}
.trust-badge::before { content: '✓'; margin-right: 0.4rem; color: var(--brand-lighter); font-weight: 700; }

/* ── Section primitives ── */
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-light);
  margin-bottom: 1rem; display: block;
}
.dark-section .section-eyebrow { color: var(--brand-lighter); }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 1.5rem; color: #ffffff; }
.dark-section .section-title { color: var(--ink-on-dark); }
.section-desc { font-size: 1.05rem;   color: var(--ink-soft); max-width: 640px; line-height: 1.7; }
.dark-section .section-desc { color: rgba(255, 255, 255, 0.8); }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-light);
  margin-bottom: 1rem; display: block;
}
.dark-section .section-eyebrow { color: var(--brand-lighter); }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 1.5rem; color: #ffffff; }
.dark-section .section-title { color: var(--ink-on-dark); }
.section-desc { font-size: 1.05rem;   color: var(--ink-soft); max-width: 640px; line-height: 1.7; }
.dark-section .section-desc { color: rgba(255, 255, 255, 0.8); }

/* ── How it works ── */
.how-it-works { padding: 8rem 0; color: #ffffff; }
.book-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; }
.book-row:first-of-type { margin-top: 4rem; }
.book-row + .book-row { margin-top: 3rem; }

/* ── Custom step-by-step scroller ── */
.steps-scroller {
  display: flex; gap: 3rem; overflow-x: auto; overflow-y: hidden;
  padding: 1rem 0.25rem 1.5rem; margin-top: 3rem;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.steps-scroller > .book-card {
  flex: 0 0 320px; min-height: 260px; scroll-snap-align: start;
}
.steps-scroller::-webkit-scrollbar { height: 8px; }
.steps-scroller::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 100px; }
.steps-scroller::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 100px; border: 2px solid rgba(255,255,255,0.06); }
.steps-scroller::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

/* ── Mobile: flatten 3D book cards for readability ── */
@media (max-width: 768px) {
  .steps-scroller > .book-card { flex: 0 0 85vw; min-height: auto; }
  .book-card__spine { display: none; }
  .book-card__page {
    margin-left: 0; transform: none !important;
    background: var(--brand);
    border-radius: 12px; padding: 1.75rem;
  }
  .book-card__num { color: rgba(255,255,255,0.7) !important; font-size: 2.2rem; }
  .book-card__title { font-size: 1.2rem; }
  .book-card__desc { font-size: 0.95rem; }
}

/* ─ ─ 3D book card (partially open, facing reader) ── */
.book-card {
  position: relative;
  perspective: 1400px;
  min-height: 230px;
}
.book-card__spine {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 26px;
  background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: 6px 0 0 6px;
  box-shadow: inset -6px 0 10px rgba(0,0,0,0.25);
  transform: rotateY(-34deg) translateX(-10px);
  transform-origin: left center;
  z-index: 1;
}
.book-card__page {
  position: relative; z-index: 2;
  height: 100%;
  margin-left: 18px;
  padding: 2.5rem 2.5rem 2.5rem 2.2rem;
  background: linear-gradient(105deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0.0) 30%), var(--brand);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4px 14px 14px 4px;
  box-shadow:
    0 18px 36px rgba(20, 40, 30, 0.35),
    -8px 0 18px rgba(20, 40, 30, 0.2);
  transform: rotateY(-15deg);
  transform-origin: left center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  color: #ffffff;
}
.book-card:hover .book-card__page {
  transform: rotateY(-6deg) translateY(-4px);
  box-shadow: 0 26px 48px rgba(20, 40, 30, 0.42), -10px 0 22px rgba(20, 40, 30, 0.25);
}
.book-card__num {
  font-family: var(--font-mono); font-size: 3rem; font-weight: 300;
  color: rgba(255, 255, 255, 0.55); line-height: 1; margin-bottom: 0.75rem;
}
.book-card__title { font-size: 1.4rem; margin-bottom: 0.75rem; color: #ffffff; }
.book-card__desc { font-size: 0.98rem;   color: var(--ink-soft); line-height: 1.65; }

/* On dark sections, book cards are on dark bg → text white */
.dark-section .book-card__spine { background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand-light) 100%); }
.dark-section .book-card__page {
  background: linear-gradient(105deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 18%, rgba(42,75,59,0.0) 30%), var(--brand-dark);
  border-color: rgba(255,255,255,0.22);
  color: var(--ink-on-dark);
}
.dark-section .book-card__num { color: rgba(255, 255, 255, 0.3); }
.dark-section .book-card__title { color: var(--ink-on-dark); }
.dark-section .book-card__desc { color: rgba(255, 255, 255, 0.82); }

/* ── Features grid ── */
.features { padding: 8rem 0; color: #ffffff; }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 4rem;
}
.feature-card {
  background: rgba(53, 95, 75, 0.35);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(20, 40, 30, 0.25);
  padding: 2.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 40, 30, 0.35); }
.feature-card__title { font-size: 1.3rem; margin-bottom: 0.75rem; color: #ffffff; }
.feature-card__desc { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.7; }
.feature-card__desc strong { color: #ffffff; font-weight: 600; }

/* ── Integrations ── */
.integrations { padding: 8rem 0; color: #ffffff; }
.integration__icon {
  width: 56px; height: 56px; object-fit: contain; display: block;
  margin-bottom: 1rem;
  background: #ffffff; border-radius: 12px; padding: 8px;
  box-shadow: 0 4px 14px rgba(20, 40, 30, 0.25);
}

.workflow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem; margin: 3rem 0; padding: 2rem;
  background: rgba(53, 95, 75, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
.workflow__step {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--brand); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 0.6rem 1.1rem;
  font-size: 0.9rem; font-weight: 500; color: #ffffff;
}
.workflow__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-light); color: var(--ink-on-dark);
  font-size: 0.75rem; font-weight: 700; font-family: var(--font-mono);
  flex-shrink: 0;
}
.workflow__arrow {
  color: rgba(255,255,255,0.5); font-size: 1.25rem; font-weight: 300;
}

/* ── Spotlight / Dashboard ── */
.spotlight { padding: 8rem 0; text-align: center; }
.spotlight__list {
  list-style: none; margin-top: 3rem; display: inline-flex; flex-direction: column;
  gap: 1.2rem; text-align: left; max-width: 540px; margin-left: auto; margin-right: auto;
}
.spotlight__list li { display: flex; align-items: baseline; gap: 0.75rem; font-size: 1.05rem; color: rgba(255,255,255,0.88); }
.spotlight__list li::before { content: '→'; font-family: var(--font-mono); color: #ffffff; font-weight: bold; flex-shrink: 0; }

.dashboard-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; margin-top: 2.5rem;
}
.dashboard-mockup {
  background: var(--brand-dark);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(20, 40, 30, 0.45);
}
.dashboard-mockup__header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.1rem; background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard-mockup__dots { display: flex; gap: 6px; }
.dashboard-mockup__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.dashboard-mockup__dots span:first-child { background: rgba(255,255,255,0.45); }
.dashboard-mockup__title { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-family: var(--font-mono); }
.dashboard-mockup__body { padding: 0; }
.dashboard-mockup__row {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 2fr;
  gap: 0.5rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem; font-family: var(--font-mono); color: rgba(255,255,255,0.7);
  align-items: center;
}
.dashboard-mockup__row:last-child { border-bottom: none; }
.dashboard-mockup__cell--head { color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; }
.dashboard-mockup__cell--ok { color: var(--brand-lighter); font-weight: 600; }
.dashboard-mockup__cell--warn { color: #f4c542; font-weight: 600; }

/* ── Pricing ── */
.pricing { padding: 8rem 0; color: #ffffff; }
.pricing__card {
  max-width: 520px; margin: 3rem auto 0;
  background: var(--brand); padding: 3.5rem 3rem; border-radius: 16px;
  border: 2px solid var(--brand-light); position: relative;
  box-shadow: 0 8px 32px rgba(20, 40, 30, 0.25);
  transition: all 0.3s var(--ease);
  color: #ffffff;
}
.pricing__card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(20, 40, 30, 0.35); }
.pricing__amount {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: #ffffff; text-align: center; line-height: 1; margin-bottom: 0.25rem;
}
.pricing__amount span { font-family: var(--font-body); font-size: 1.1rem; font-weight: 400; color: var(--ink-soft); }
.pricing__setup {
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--brand-light);
  font-weight: 600; text-align: center; margin-bottom: 2.5rem;
}
.pricing__badge {
  display: inline-block; margin-top: 1.25rem;
  background: var(--brand-lighter); color: var(--brand-dark);
  font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.9rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing__features { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pricing__features li { display: flex; align-items: baseline; gap: 0.75rem; font-size: 0.95rem; color: var(--ink-soft); }
.pricing__features li::before { content: '✓'; color: #ffffff; font-weight: bold; flex-shrink: 0; }
.pricing__note { text-align: center; font-size: 0.85rem; color: var(--ink-faint); margin-top: 1.25rem; }

/* ── FAQ ── */
.faq-section { padding: 8rem 0; color: #ffffff; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: rgba(53, 95, 75, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.25); }
.faq-item[open] { border-color: rgba(255, 255, 255, 0.25); }
.faq-item__question {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-size: 1.05rem; font-weight: 600; color: #ffffff;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color 0.3s var(--ease);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--brand-lighter);
  transition: transform 0.3s var(--ease); flex-shrink: 0; line-height: 1;
}
.faq-item[open] .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer {
  padding: 0 1.5rem 1.25rem; color: var(--ink-soft); line-height: 1.7; font-size: 0.95rem;
}
.faq-item__answer p { margin: 0; }

/* ── CTA Banner ── */
.cta-banner { padding: 8rem 0; text-align: center; color: var(--ink-on-dark); }
.cta-banner__inner {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.cta-banner__title { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.2; color: var(--ink-on-dark); }
.cta-banner__desc { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 560px; line-height: 1.7; }
.cta-banner__actions { display: flex; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; justify-content: center; }

/* ── Sticky mobile CTA ── */
.sticky-mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: rgba(53, 95, 75, 0.95); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0.75rem 1.25rem; box-shadow: 0 -4px 20px rgba(20,40,30,0.35);
}
.sticky-mobile-cta__btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.9rem; border-radius: 8px;
  background: var(--brand-light); color: var(--ink-on-dark);
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: background 0.3s var(--ease);
}
.sticky-mobile-cta__btn:hover { background: var(--brand-lighter); }

/* ── Signup modal ── */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(42, 75, 59, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal__card {
  position: relative; background: var(--brand); color: #ffffff;
  width: 100%; max-width: 520px; border-radius: 16px; padding: 2.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 64px rgba(20, 40, 30, 0.5);
  transform: translateY(24px) scale(0.98); transition: transform 0.4s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.modal.open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 1rem; right: 1.25rem; background: none; border: none;
  font-size: 2rem; line-height: 1; color: var(--ink-soft); cursor: pointer;
  transition: color 0.3s var(--ease); padding: 0; width: 2rem; height: 2rem;
}
.modal__close:hover { color: var(--brand-dark); }
.modal__title { font-size: 1.7rem; line-height: 1.15; margin-bottom: 0.5rem; color: #ffffff; }
.modal__sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.75rem; line-height: 1.6; }
.modal__form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.field input {
  font-family: var(--font-body); font-size: 0.95rem; color: #ffffff;
  padding: 0.8rem 0.9rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px;
  background: rgba(255,255,255,0.08); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder { color: rgba(255,255,255,0.5); }
.field input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 3px rgba(90,139,114,0.25); }
.send-to {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px; padding: 0.8rem 1rem; margin-bottom: 1.25rem;
}
.send-to__label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-light); }
.send-to__addr { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; color: #ffffff; }
.send-to__copy {
  margin-left: auto; background: var(--brand-light); color: var(--ink-on-dark); border: none;
  border-radius: 6px; padding: 0.35rem 0.75rem; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: background 0.3s var(--ease);
}
.send-to__copy:hover { background: var(--brand-lighter); }
.email-preview {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px;
  padding: 1.1rem 1.25rem; margin-bottom: 1.5rem;
}
.email-preview__row { display: flex; gap: 0.5rem; font-size: 0.9rem; margin-bottom: 0.5rem; }
.email-preview__row span { font-weight: 600; color: var(--ink-soft); min-width: 64px; }
.email-preview__row code { font-family: var(--font-mono); color: #ffffff; word-break: break-word; }
.email-preview__body {
  font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft);
  white-space: pre-wrap; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px dashed rgba(255,255,255,0.3);
}
.modal__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.modal__actions .btn { flex: 1; min-width: 140px; }
.modal__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0 0 1rem; padding: 0.5rem 0.85rem; border-radius: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff; font-size: 0.85rem; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: all 0.3s var(--ease);
  align-self: flex-start;
}
.modal__back:hover { background: rgba(255,255,255,0.18); border-color: var(--brand-light); color: var(--brand-lighter); transform: translateX(-2px); }
.modal__back-arrow { font-size: 1rem; line-height: 1; transition: transform 0.3s var(--ease); }
.modal__back:hover .modal__back-arrow { transform: translateX(-3px); }

/* ── Footer ── */
footer { background: #ffffff; color: var(--brand); padding: 5rem 0 3rem; position: relative; z-index: 2; border-top: 1px solid rgba(53, 95, 75, 0.12); }
.footer__grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.footer__desc { font-size: 0.9rem; color: rgba(53, 95, 75, 0.75); max-width: 380px; line-height: 1.6; }
.footer__col-title {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand-light); margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__link { color: rgba(53, 95, 75, 0.8); text-decoration: none; font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer__link:hover { color: var(--brand-dark); }
.footer__bottom {
  border-top: 1px solid rgba(53, 95, 75, 0.1); padding-top: 2rem;
  font-size: 0.85rem; color: rgba(53, 95, 75, 0.5);
}

/* ── Glassmorphic card ── */
.glass-card {
  background: rgba(53, 95, 75, 0.35);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(20, 40, 30, 0.25);
  padding: 2.5rem;
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1), transform 0.7s cubic-bezier(0.25,1,0.5,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-book { opacity: 0; transform: translateY(40px) rotateY(-15deg); transition: opacity 0.8s cubic-bezier(0.25,1,0.5,1), transform 0.8s cubic-bezier(0.25,1,0.5,1); }
.reveal-book.visible { opacity: 1; transform: translateY(0) rotateY(-15deg); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.8s cubic-bezier(0.25,1,0.5,1), transform 0.8s cubic-bezier(0.25,1,0.5,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ── Brief side-swipe reveal (no blur, pre-loaded) ── */
/* Content is pre-loaded visible; on reveal a quick mask swipe passes
   across to "render" it. Left→right by default, top→bottom via .pix-top. */
.pix {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 100%);
}
.pix.pix-in { animation: pixSwipe 0.7s var(--ease) both; }
@keyframes pixSwipe {
  0% {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, #000 55%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 35%, #000 55%, #000 100%);
    -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
    -webkit-mask-position: 0 0; mask-position: 0 0;
  }
  100% {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 100%);
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-position: 100% 0; mask-position: 100% 0;
  }
}

/* Top→bottom swipe variant */
.pix-top.pix-in { animation: pixSwipeTop 0.7s var(--ease) both; }
@keyframes pixSwipeTop {
  0% {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, #000 55%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, #000 55%, #000 100%);
    -webkit-mask-size: 100% 220%; mask-size: 100% 220%;
    -webkit-mask-position: 0 0; mask-position: 0 0;
  }
  100% {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 100%);
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-position: 0 100%; mask-position: 0 100%;
  }
}

/* Parallax line drift on scroll */
.diagonal-lines { will-change: transform; }

/* Navbar shrink on scroll */
header.dark-nav, header.scrolled { padding: 0; }
header.scrolled .nav-wrap { height: 64px; }
header.scrolled { box-shadow: 0 6px 24px rgba(20, 40, 30, 0.3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__desc { margin: 0 auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  header {
    position: relative; top: auto; z-index: auto;
    background: #ffffff;
  }
  .nav-wrap {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: auto; padding: 1rem 1.25rem; gap: 0.75rem;
  }
  .nav-wrap .brand-logo { justify-self: center; }
  .nav-menu {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.75rem; margin: 0; padding: 0; list-style: none;
    background: #ffffff; width: 100%;
  }
  .nav-link {
    color: var(--brand); font-size: 0.95rem; font-weight: 500;
    text-decoration: none; padding: 0.5rem 0; text-align: center;
    position: relative; display: block; width: 100%;
  }
  .nav-link::after { display: none; }
  .nav-link:hover { color: var(--brand-dark); }
  header.dark-nav .nav-link { color: var(--brand); }
  header.dark-nav .nav-link:hover { color: var(--brand-dark); }
  .book-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card {
    background: rgba(53, 95, 75, 0.85);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .feature-card__desc { color: rgba(255,255,255,0.9); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 72px; }
  .workflow { flex-direction: column; }
  .workflow__arrow { transform: rotate(90deg); }
  .dashboard-mockup__row { grid-template-columns: 1fr; gap: 0.25rem; }
  .dashboard-mockup__cell--head { font-size: 0.65rem; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .brand-text { animation: none !important; }
  .answer-dot__ring { animation: none !important; opacity: 0.35 !important; transform: scale(1.5) !important; }
  .reveal, .reveal-book, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pix { -webkit-mask-image: none !important; mask-image: none !important; animation: none !important; }
  .loader__spinner { animation: none !important; }
  .btn:hover, .book-card:hover .book-card__page, .pricing__card:hover, .feature-card:hover { transform: none !important; }
}
