/* how.css — How It Works page ONLY. Loaded after home.css. */

/* ---------- Page hero (compact) ---------- */
.how-hero {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0 clamp(56px, 8vh, 90px);
}
/* Two-scale blueprint grid (16px minor / 80px major) fading down — mirrors .hero */
.how-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 16px 16px, 80px 80px, 16px 16px, 80px 80px;
  -webkit-mask-image: linear-gradient(#000 15%, transparent 85%);
  mask-image: linear-gradient(#000 15%, transparent 85%);
}
.how-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.how-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  margin: 0 auto 22px;
  max-width: 16ch;
}
.how-hero__sub {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- The Life of a Call ---------- */
.call-life { padding: clamp(70px, 10vh, 120px) 0; }
.call-life .section-lead { max-width: 40ch; }

.steps {
  list-style: none;
  position: relative;
  margin-top: 8px;
}
/* Drafting line running down the left, with step markers as stations on it */
.steps::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 13px;
  width: 0;
  border-left: 2px dashed var(--line);
}
.step {
  position: relative;
  padding-left: 48px;
}
.step + .step { margin-top: 72px; }
.step-index {
  position: absolute;
  left: 0;
  top: 2px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--terra);
  background: var(--cream);
  padding: 2px 0;
}
.step-copy h3 { margin-bottom: 12px; font-size: 1.35rem; }
.step-copy p { color: var(--ink-soft); font-size: 1rem; max-width: 52ch; }

/* Step visual — framed by drafting corner brackets */
.step-visual { margin-top: 26px; }
.how-vig {
  position: relative;
  max-width: 380px;
}
.how-vig::before,
.how-vig::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--terra);
  pointer-events: none;
}
.how-vig::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}
.how-vig::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}
/* Static (no looping animation) on this page — home.css animates these in the
   hero loop with a base opacity of 0, which would leave them blinking here */
.how-vig .vig-dot { animation: none; }
.how-vig .vig-call,
.how-vig .vig-answered,
.how-vig .vig-bubble,
.how-vig .vig-cal {
  animation: none;
  opacity: 1;
  transform: none;
}
.how-vig .vig-answered p { font-size: 0.9rem; color: var(--ink-soft); }

/* Step 02 — two-bubble exchange */
.chat-bubble {
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 12px 15px;
  border-radius: 12px;
  max-width: 88%;
}
.chat-bubble--caller {
  background: var(--cream-deep);
  border-bottom-left-radius: 4px;
  justify-self: start;
}
.chat-bubble--her {
  background: rgba(58, 114, 182, 0.1);
  border: 1px solid rgba(58, 114, 182, 0.22);
  border-bottom-right-radius: 4px;
  justify-self: end;
}
.vig-card:has(.chat-bubble) { gap: 10px; }
.chat-alert {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.chat-alert__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
.chat-alert em { font-style: normal; color: var(--amber); font-weight: 600; }

/* Step 03 — calendar slot card */
.slot-card { gap: 6px; }
.slot-when { font-weight: 600; font-size: 0.98rem; }
.slot-who { font-size: 0.9rem; color: var(--ink-soft); }
.slot-what { font-size: 0.9rem; color: var(--ink-soft); }
.slot-card .vig-cal { margin-top: 8px; }

@media (min-width: 900px) {
  .steps::before { left: 50%; }
  .step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    padding-left: 0;
  }
  .step-index {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    text-align: center;
  }
  .step-visual { margin-top: 0; }
  .how-vig { margin: 0 auto; }
  /* Alternate direction: odd = copy left / visual right; even = visual left / copy right */
  .step:nth-child(even) .step-copy { order: 2; }
  .step:nth-child(even) .step-visual { order: 1; }
  .step:nth-child(odd) .step-copy { padding-right: 28px; }
  .step:nth-child(even) .step-copy { padding-left: 28px; }
}

/* ---------- Going Live ---------- */
.golive { padding: clamp(70px, 10vh, 120px) 0; background: var(--cream-deep); }
.golive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) { .golive-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 40px; } }
/* .step-card top-rule + measurement-tick hover comes from home.css */
.golive .step-card { background: none; }
.golive .step-num { margin-bottom: 14px; }
.golive .step-card h3 { margin-bottom: 10px; }

/* ---------- What She Handles (dark) ---------- */
.handles {
  padding: clamp(70px, 10vh, 120px) 0;
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(242, 245, 251, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 245, 251, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
/* terra on navy is too low-contrast for 12px mono text */
.handles .eyebrow { color: var(--dark-ink-soft); }
.handles h2 { margin-bottom: 40px; }
.handles-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 28px;
}
@media (min-width: 900px) { .handles-grid { grid-template-columns: repeat(4, 1fr); } }
.handles-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--dark-ink);
  font-size: 0.95rem;
  line-height: 1.4;
}
.handles-grid .check { margin-top: 2px; }
.handles-note {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-ink-soft);
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 10vh, 120px) 0; }
.faq-list { border-top: 2px dashed var(--line); }
.faq-item { border-bottom: 2px dashed var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terra);
  flex-shrink: 0;
}
.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  flex: 1;
}
.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink-soft);
  transition: transform 0.2s ease;
}
.faq-toggle::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(45deg); }
.faq-answer {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
  padding: 0 0 22px 40px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-toggle::before, .faq-toggle::after { transition: none; }
}
