/* ============================================
   QolCast — index page layout
   (shared components like buttons, nav hover states,
   and the hero-fade/live-dot animations stay in
   homepage_styles.css; this file is just the
   page-specific layout that used to be inline)
   ============================================ */

.page-wrap { width: 100%; min-width: 320px; }

/* Shared section bits ------------------------------------------------- */
.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B7A0FF;
}
.eyebrow--onlight { color: #4E308A; }

.section-light { background: #FDF4FF; color: #1A1E2A; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin-bottom: 64px;
}
.section-head--wide { max-width: 600px; }
.section-title { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.section-lede { margin: 6px 0 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.70); }

.is-emphasis { font-weight: 500; }
.scroll-anchor { scroll-margin-top: 72px; }

/* Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21,19,31,.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #F3F4FA; }
.brand-mark { position: relative; width: 26px; height: 26px; display: block; }
.brand-mark-ring { position: absolute; inset: 0; border: 2px solid #A98BFA; border-radius: 50%; }
.brand-mark-tick {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 8px;
  height: 2px;
  background: #A98BFA;
  transform: rotate(45deg);
  border-radius: 1px;
}
.brand-name { font-size: 19px; letter-spacing: -.01em; }
.brand-name-light { font-weight: 300; }
.brand-name-bold { font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14.5px; font-weight: 400; }

/* Hamburger toggle — hidden on desktop, shown at the mobile breakpoint below */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #F3F4FA;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------ */
.hero-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px 88px;
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.hero-title { margin: 0; font-size: 54px; line-height: 1.08; font-weight: 300; letter-spacing: -.02em; text-wrap: pretty; }
.hero-subtitle { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.70); text-wrap: pretty; }
.hero-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 4px; }

.hero-demo { display: flex; flex-direction: column; gap: 14px; }
.hero-demo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.hero-demo-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-transcript-wrap { position: relative; }
.hero-transcript-ghost { margin: 0; font-size: 15.5px; line-height: 1.6; font-weight: 300; visibility: hidden; }
.hero-transcript-live { margin: 0; position: absolute; inset: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.55); font-weight: 300; }

.hero-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 10px 14px 10px 12px;
  background: rgba(124,92,252,.14);
  border: 1px solid rgba(139,109,255,.4);
  border-radius: 10px;
  font-size: 13.5px;
}
.hero-chip-ref { font-weight: 600; color: #B7A0FF; }
.hero-chip-detail { color: rgba(255,255,255,.70); }
.hero-chip-cta {
  margin-left: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #8B6DFF;
  color: #fff;
  font-weight: 500;
  font-size: 12.5px;
}

.hero-screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 38%, #221F4A, #0B0B14 75%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 52px;
  text-align: center;
}
.hero-screen-label { font-size: 12px; letter-spacing: .22em; font-weight: 600; color: #B7A0FF; }
.hero-screen-verse { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 400; color: #FFFFFF; text-wrap: pretty; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* Problem ---------------------------------------------------------------- */
.problem-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 112px 32px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
  align-items: start;
}
.problem-title { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; text-wrap: pretty; }
.problem-copy { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: #45495A; max-width: 520px; }
.problem-copy p { margin: 0; }
.problem-copy .is-emphasis { color: #1A1E2A; }

/* How it works ------------------------------------------------------------ */
.how-inner { max-width: 1160px; margin: 0 auto; padding: 120px 32px; scroll-margin-top: 72px; }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.step-item { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); }
.step-number { font-size: 13px; font-weight: 500; color: #B7A0FF; letter-spacing: .06em; }
.step-title { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.step-copy { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.70); }

/* Differentiator / stories -------------------------------------------------- */
.stories-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  gap: 72px;
  align-items: center;
}
.stories-copy { display: flex; flex-direction: column; gap: 22px; max-width: 480px; }
.stories-title { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.stories-lede { margin: 0; font-size: 18px; line-height: 1.65; color: #45495A; text-wrap: pretty; }
.stories-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #E7E3F5;
  border-radius: 12px;
  margin-top: 6px;
}
.stories-callout-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #38B87C; margin-top: 6px; }
.stories-callout-text { margin: 0; font-size: 15px; line-height: 1.55; color: #1A1E2A; }

.stories-examples { display: flex; flex-direction: column; gap: 16px; }
.example-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid #E7E3F5;
  border-radius: 14px;
  padding: 24px 26px;
}
.example-col { display: flex; flex-direction: column; gap: 8px; }
.example-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6C7080; }
.example-spoken { font-size: 19px; font-weight: 300; line-height: 1.4; }
.example-arrow { color: #A98BFA; font-size: 22px; font-weight: 300; }
.example-found { font-size: 19px; font-weight: 500; color: #4E308A; }
.example-tag { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.example-tag--story,
.example-tag--paraphrase { color: #E8853D; }
.example-tag--direct { color: #2E9A66; }

/* More than scripture / features -------------------------------------------- */
.features-inner { max-width: 1160px; margin: 0 auto; padding: 120px 32px; scroll-margin-top: 72px; }
.features-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: 16px;
}
.feature-card-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.50); }
.feature-block { display: flex; flex-direction: column; gap: 10px; }
.feature-block-title { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.feature-block-copy { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.70); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.feature-list-item { display: flex; flex-direction: column; gap: 6px; }
.feature-card--wide { grid-column: 1 / -1; }
.after-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 28px 32px;
}
.after-service-title { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.01em; }

/* Augment, not replace / operator -------------------------------------------- */
.operator-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: minmax(0,4fr) minmax(0,7fr);
  gap: 64px;
  align-items: center;
}
.operator-copy { display: flex; flex-direction: column; gap: 22px; }
.operator-title { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.operator-lede { margin: 0; font-size: 17px; line-height: 1.65; color: #45495A; text-wrap: pretty; }
.operator-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: #1A1E2A; }
.operator-list li { display: flex; gap: 12px; align-items: baseline; }
.operator-list-dash { color: #7C5CFC; }
.operator-figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.operator-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #E7E3F5; box-shadow: 0 30px 80px rgba(15,14,61,.28); }
.operator-figure figcaption { font-size: 12.5px; color: #6C7080; letter-spacing: .02em; }

/* How it fits ---------------------------------------------------------------- */
.fits-inner { max-width: 1160px; margin: 0 auto; padding: 120px 32px; }
.fits-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px; }
.fits-item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); }
.fits-item h3 { margin: 0; font-size: 20px; font-weight: 400; }
.fits-item p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.70); }

/* Closing CTA ------------------------------------------------------------------ */
.access-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.access-title { margin: 0; font-size: 46px; line-height: 1.12; font-weight: 300; letter-spacing: -.02em; max-width: 640px; text-wrap: pretty; }
.access-lede { margin: 0; font-size: 18px; line-height: 1.6; color: #45495A; max-width: 520px; }
.access-form { display: flex; gap: 10px; width: 100%; max-width: 520px; margin-top: 6px; }
.access-form input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 15px 18px;
  border: 1px solid #D0D4E0;
  border-radius: 10px;
  background: #fff;
  color: #1A1E2A;
}
.access-note { margin: 0; font-size: 13.5px; color: #6C7080; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Footer ------------------------------------------------------------------------ */
.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.50);
}
.footer-brand { display: flex; align-items: center; gap: 9px; color: #F3F4FA; }
.footer-brand-mark { position: relative; width: 20px; height: 20px; display: block; }
.footer-brand-ring { position: absolute; inset: 0; border: 1.5px solid #A98BFA; border-radius: 50%; }
.footer-brand-tick { position: absolute; right: -2px; bottom: -1px; width: 6px; height: 1.5px; background: #A98BFA; transform: rotate(45deg); }
.footer-brand-name { font-size: 15px; }
.footer-email { color: rgba(255,255,255,.70); }

/* ============================================
   Responsive
   ============================================ */

/* Tablet — collapse the two-column grids to one column and trim the
   heaviest type/padding, but keep the horizontal nav (it still fits). */
@media (max-width: 960px) {
  .hero-section,
  .stories-inner,
  .operator-inner,
  .problem-inner {
    grid-template-columns: minmax(0,1fr);
    gap: 48px;
  }
  .hero-copy,
  .stories-copy { max-width: none; }
  .hero-section { padding: 72px 28px 64px; }
  .stories-inner,
  .operator-inner,
  .how-inner,
  .features-inner,
  .fits-inner,
  .access-inner,
  .problem-inner { padding: 88px 28px; }

  .hero-title { font-size: 44px; }
  .section-title,
  .problem-title,
  .stories-title,
  .operator-title { font-size: 34px; }
  .access-title { font-size: 38px; }

  .step-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
  .fits-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
  .features-grid { grid-template-columns: minmax(0,1fr); }

  .example-card {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    text-align: left;
  }
  .example-arrow { display: none; }

  .operator-figure { order: -1; }
}

/* Mobile — switch to the hamburger nav, stack everything, and drop the
   remaining grids to a single column. */
@media (max-width: 760px) {
  .site-nav { padding: 16px 20px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 24px;
    background: #15131F;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .nav-links.is-open { display: flex; }

  .nav-links .nav-link,
  .nav-links .account-menu-btn {
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links .btn.btn-sm {
    margin-top: 10px;
    text-align: center;
  }

  .account-menu { width: 100%; }
  .account-menu-panel {
    position: static;
    margin-top: 4px;
    box-shadow: none;
    border-color: rgba(255,255,255,.08);
  }

  .hero-section { padding: 56px 20px 48px; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16.5px; }
  .hero-cta-row { gap: 16px; }
  .hero-screen { padding: 28px 22px; }
  .hero-screen-verse { font-size: 19px; }

  .problem-inner,
  .how-inner,
  .stories-inner,
  .features-inner,
  .operator-inner,
  .fits-inner,
  .access-inner { padding: 64px 20px; }

  .section-head { margin-bottom: 40px; }
  .section-title,
  .problem-title,
  .stories-title,
  .operator-title { font-size: 28px; }
  .section-lede { font-size: 16.5px; }
  .access-title { font-size: 30px; }

  .step-list,
  .fits-list { grid-template-columns: minmax(0,1fr); gap: 28px; }

  .feature-card { padding: 26px; }
  .after-service-list { grid-template-columns: minmax(0,1fr); }

  .operator-inner { gap: 40px; }

  .access-form { flex-direction: column; }
  .access-form input[type="email"] { width: 100%; }
  .btn-cta { width: 100%; }

  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 20px; }
}

/* Small phones */
@media (max-width: 420px) {
  .hero-title { font-size: 29px; }
  .access-title { font-size: 26px; }
  .brand-name { font-size: 17px; }
}
