/* Metric-matched fallback for Inter: the text keeps its size while the web font loads (no reflow / CLS). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }
.fp-hero, .fp-sec { font-family: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fp-hero .btn, .fp-sec .btn { font-family: inherit; }

/* /tools feature pages — hero (copy + real product screen), how-it-works steps, feature grid.
   2026-10-17. Loaded after /landing.css; reuses .btn, .hm-frame / .hm-frame-bar from it. */
.fp-hero { padding: 112px 24px 64px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 55%, #ffffff 100%); position: relative; overflow: hidden; }
.fp-hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.fp-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #dbeafe; color: #0a66c2; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.fp-eyebrow svg { flex: none; }
.fp-hero h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 800; color: #0f172a; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 18px; }
/* Marker highlight on the key words of the H1 */
.mk { background: linear-gradient(180deg, transparent 60%, #bfdbfe 60%, #bfdbfe 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mk-blue { color: #0a66c2; }
.fp-sub { font-size: 1.15rem; color: #334155; line-height: 1.55; margin: 0 0 22px; max-width: 560px; }
.fp-bullets { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.fp-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: #334155; line-height: 1.5; }
.fp-bullets li strong { color: #0f172a; }
.fp-check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #0a66c2; color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.fp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.fp-ctas .btn { text-decoration: none; }
.fp-ctas .btn-large { padding: 13px 18px; font-size: 15px; gap: 8px; }
.fp-note { font-size: 14px; color: #64748b; margin: 0; }
.fp-updated { font-size: 11px; color: #94a3b8; margin: 18px 0 0; letter-spacing: .03em; }
.fp-updated span { text-transform: uppercase; font-weight: 600; }

.fp-visual { position: relative; padding: 0 0 44px 36px; }
.fp-visual .hm-frame img { display: block; width: 100%; height: auto; }
.fp-float { position: absolute; left: -6px; bottom: 0; width: 44%; height: auto; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 48px -12px rgba(15, 23, 42, .28); }
.fp-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; margin: 12px 0 0; font-size: 12.5px; color: #475569; }
.fp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fp-legend i { width: 14px; height: 10px; border-radius: 3px; border: 2px solid #10b981; display: inline-block; }
.fp-legend i.ai { border-color: #8b5cf6; }

/* Section shells */
.fp-sec { padding: 72px 24px; background: #fff; }
.fp-sec.alt { background: #f8fafc; }
.fp-sec-inner { max-width: 1120px; margin: 0 auto; }
.fp-h2 { line-height: 1.2; text-align: center; font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; color: #0f172a; margin: 0 0 .6rem; letter-spacing: -0.015em; }
.fp-lead { text-align: center; color: #64748b; font-size: 1.05rem; max-width: 680px; margin: 0 auto 2.5rem; line-height: 1.55; }

/* How it works */
.fp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: fpstep; }
.fp-step { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 26px 24px 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.fp-sec.alt .fp-step { background: #fff; }
.fp-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fp-step-num { width: 30px; height: 30px; border-radius: 50%; background: #0a66c2; color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fp-step-icon { width: 44px; height: 44px; border-radius: 12px; background: #eff6ff; color: #0a66c2; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
.fp-step h3 { font-size: 1.08rem; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.fp-step p { font-size: .94rem; color: #475569; line-height: 1.6; margin: 0; }
.fp-step p a { color: #0a66c2; }
.fp-steps-cta { text-align: center; margin-top: 28px; }

/* Long intro moved out of the old hero (kept word for word) */
.fp-intro { max-width: 860px; margin: 0 auto; font-size: 1.02rem; color: #475569; line-height: 1.75; }
.fp-intro strong { color: #0f172a; }
.fp-byline { max-width: 860px; margin: 14px auto 0; font-size: 13px; color: #64748b; }

/* Visual split rows (screen + copy) */
.fp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fp-split + .fp-split { margin-top: 56px; }
.fp-split h3 { font-size: 1.35rem; font-weight: 800; color: #0f172a; margin: 0 0 12px; }
.fp-split p { color: #475569; line-height: 1.7; margin: 0 0 12px; }
.fp-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .25); background: #fff; }

@media (max-width: 960px) {
  .fp-hero { padding: 100px 20px 48px; }
  .fp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fp-visual { max-width: 680px; width: 100%; margin: 0 auto; padding: 0 0 36px 24px; }
  .fp-steps { grid-template-columns: minmax(0, 1fr); }
  .fp-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .fp-hero { padding: 92px 16px 40px; }
  .fp-hero h1 { font-size: 1.95rem; }
  .fp-sub { font-size: 1.04rem; }
  .fp-ctas { flex-direction: column; align-items: stretch; }
  .fp-ctas .btn { justify-content: center; }
  .fp-visual { padding: 0 0 28px 14px; }
  .fp-float { width: 56%; left: -4px; border-radius: 10px; }
  .fp-legend { justify-content: flex-start; }
  .fp-sec { padding: 52px 16px; }
}
/* Popup over the middle of the screen when the bottom of the shot matters (e.g. the AI answer) */
.fp-float.at-mid { bottom: auto; top: 34%; }
