/* =========================================================
   Foreword Front Desk — adds to /css/styles.css (don't duplicate tokens)
   Editorial dark palette + warm orange accent.
   Load AFTER styles.css; only adds patterns specific to Front Desk pages.
   ========================================================= */

/* ── Call-to-call CTA — primary on every Front Desk hero ───────────── */
.fd-call {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: #1a0f04;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background .15s ease;
}
.fd-call:hover { background: var(--accent-2); }
.fd-call__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a0f04;
  opacity: .7;
}
.fd-call__sms {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ── Math callout — three red-tinted dollar leaks ──────────────────── */
.fd-math {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0;
}
@media (max-width: 800px) { .fd-math { grid-template-columns: 1fr; } }
.fd-math__cell {
  padding: 24px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.fd-math__cell::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--rose);
  border-radius: 0 2px 2px 0;
}
.fd-math__amount {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: -0.01em;
  line-height: 1;
}
.fd-math__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 8px;
}
.fd-math__body { color: var(--text-dim); font-size: 15px; margin: 0; }
.fd-math__total {
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.fd-math__total strong { font-family: var(--serif); font-size: 22px; color: var(--text); font-weight: 500; }

/* ── How-it-works — 4 steps in a numbered grid ─────────────────────── */
.fd-how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .fd-how { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .fd-how { grid-template-columns: 1fr; } }
.fd-how__step {
  padding: 28px 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fd-how__num {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 14px;
}
.fd-how__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.fd-how__body { color: var(--text-dim); font-size: 15px; margin: 0; }

/* ── Vertical-selector grid (parent page) ──────────────────────────── */
.fd-verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 900px) { .fd-verticals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fd-verticals { grid-template-columns: 1fr; } }
.fd-vert-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
}
.fd-vert-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.fd-vert-card--soon {
  opacity: .55;
  pointer-events: none;
}
.fd-vert-card__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fd-vert-card__leak {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 12px;
}
.fd-vert-card__body { color: var(--text-dim); font-size: 15px; margin: 0; }
.fd-vert-card__cta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fd-vert-card__soon-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Intake examples — vertical-specific questions the AI asks ─────── */
.fd-intake {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 700px) { .fd-intake { grid-template-columns: 1fr; } }
.fd-intake__q {
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
  font-size: 15px;
  color: var(--text-dim);
}
.fd-intake__q strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 17px;
}

/* ── Pricing tiers ─────────────────────────────────────────────────── */
.fd-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 900px) { .fd-pricing { grid-template-columns: 1fr; } }
.fd-tier {
  padding: 32px 28px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.fd-tier--featured {
  border-color: var(--accent);
  background: var(--bg-2);
  position: relative;
}
.fd-tier--featured::before {
  content: "Pilot — 3 spots per vertical";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #1a0f04;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.fd-tier__name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.fd-tier__price { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.fd-tier__price-unit { font-size: 16px; color: var(--muted); font-family: var(--sans); margin-left: 4px; }
.fd-tier__setup { font-family: var(--mono); font-size: 12px; color: var(--text-dim); margin-top: 8px; margin-bottom: 22px; }
.fd-tier__list { list-style: none; padding: 0; margin: 0 0 28px 0; }
.fd-tier__list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 22px;
}
.fd-tier__list li:last-child { border-bottom: none; }
.fd-tier__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.fd-tier__cta { margin-top: auto; }

/* ── Guarantee callout ─────────────────────────────────────────────── */
.fd-guarantee {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.fd-guarantee__h {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.fd-guarantee__body { color: var(--text-dim); font-size: 16px; margin: 0; }

/* ── Why-foreword bridge section (parent page only) ────────────────── */
.fd-bridge {
  padding: 64px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fd-bridge__h {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 760px;
}
.fd-bridge__body { max-width: 720px; color: var(--text-dim); font-size: 17px; }

/* ── Hero variant for Front Desk ───────────────────────────────────── */
.hero--fd { padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero--fd .hero__title { max-width: 900px; }
.hero--fd .hero__sub { max-width: 640px; font-size: 19px; }

/* ── Nav dropdown — animation/enhancement layer ───────────────────── */
/* The CRITICAL hide/show rules now live in styles.css so the dropdown
 * stays hidden by default even if this file fails to load. The rules
 * below are a progressive enhancement layer: rotation chevron, hover
 * accent on subline, smooth-feel hover. Safe to drop if front-desk.css
 * doesn't load — base UX still works. */
.nav__item--has-dropdown > a::after {
  transition: transform .15s ease;
}
.nav__item--has-dropdown:hover > a::after,
.nav__item--has-dropdown:focus-within > a::after {
  transform: translateY(1px);
  opacity: 1;
}
.nav__dropdown a {
  transition: background .12s ease;
}
.nav__dropdown a:hover .nav__dropdown-sub { color: var(--accent); }

/* ── FAQ — reuse existing .faq styles. No additions needed. ────────── */
