/* ===== Shared scaffold for the hub feature landers: /ai-content-writer,
   /ai-seo-agent and /local.

   Lifted from the .blx- block inside backlink_exchange.html and re-prefixed
   .flp- so the three new pages share ONE copy instead of triplicating ~190
   lines of near-identical CSS in three templates. backlink_exchange.html is
   deliberately left alone: it is Florian's approved page and re-pointing its
   selectors would be a silent restyle of a live page for no gain.

   Colour comes from the design tokens only (black / white / --color-red), so
   this file owns geometry and never hardcodes a brand colour. Every selector
   is scoped under .flp-page, so nothing here can leak into styles.css
   components even if a class name collides. ===== */

.flp-page { --flp-line: var(--color-border); --flp-tint: var(--color-surface-muted); --flp-muted: var(--color-text); }
.flp-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
/* .sticky-header is position:sticky; top:10px, so an anchor jump would park
   the heading underneath it without this. */
.flp-page #pricing, .flp-page #faq { scroll-margin-top: 104px; }

/* --- hero --- */
.flp-hero { text-align: center; padding: 72px 0 56px; }
.flp-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-red); margin-bottom: 18px; }
.flp-page h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0 auto 22px; max-width: 22ch; color: #000; }
.flp-page h1 em { font-style: italic; }
.flp-hero-sub { font-size: 1.12rem; line-height: 1.6; color: var(--flp-muted); max-width: 60ch; margin: 0 auto 30px; }
.flp-hero-sub strong { color: #111; }

.flp-url-row { display: flex; justify-content: center; }
.flp-url-group { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 520px; padding: 5px;
    border: 1px solid rgba(17,17,17,0.13); border-radius: 10px; background: rgba(255,255,255,0.94);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09); transition: border-color 180ms ease, box-shadow 180ms ease; }
.flp-url-group:focus-within { border-color: var(--color-red); box-shadow: 0 12px 30px rgba(0,0,0,0.12), 0 0 0 3px var(--color-focus-ring); }
.flp-url-input { flex: 1 1 auto; min-width: 0; height: 3rem; padding: 0 12px; border: 0; outline: 0; color: #111; background: transparent; font: inherit; font-size: 0.92rem; }
.flp-url-input::placeholder { color: #9a989d; opacity: 1; }
.flp-page a.flp-url-btn { flex: 0 0 auto; white-space: nowrap; }
/* Same stacking hero-section-v9 uses: below this width the button eats the
   row and the input is left showing three characters. */
@media (max-width: 600px) {
    .flp-url-group { flex-wrap: wrap; padding: 7px; }
    .flp-url-input { flex-basis: 100%; width: 100%; height: 2.65rem; text-align: center; }
    .flp-page a.flp-url-btn { width: 100%; }
}
.flp-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 12px; }
.flp-trusted { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 30px; }

.flp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.flp-strip > div { background: #fff; border: 1px solid var(--flp-line); border-radius: 16px; box-shadow: 0 4px 16px var(--color-shadow); padding: 22px 14px; text-align: center; }
.flp-strip .flp-num { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: #111; font-variant-numeric: tabular-nums; line-height: 1.2; }
.flp-strip .flp-lbl { font-size: 0.78rem; font-weight: 600; color: var(--color-text-muted); margin-top: 5px; line-height: 1.35; }
@media (max-width: 720px) { .flp-strip { grid-template-columns: repeat(2, 1fr); } }

/* --- section shell --- */
.flp-section { padding: 64px 0; }
.flp-section--tight { padding-top: 0; }
.flp-section-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-red); margin-bottom: 10px; }
.flp-page h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; color: #111; }
.flp-sub { color: var(--flp-muted); font-size: 1.05rem; line-height: 1.6; max-width: 62ch; margin: 0 0 40px; }
.flp-sub strong { color: #111; }
.flp-center { text-align: center; }
.flp-center .flp-sub { margin-left: auto; margin-right: auto; }

/* --- numbered steps --- */
.flp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .flp-steps { grid-template-columns: 1fr; } }
.flp-step { background: #fff; border: 1px solid var(--flp-line); border-radius: 16px; box-shadow: 0 4px 16px var(--color-shadow);
    padding: 24px 22px; text-align: left; display: flex; flex-direction: column; gap: 18px; }
/* Fixed height (not min-height) so the step graphics are the same size and the
   "1 / 2 / 3" markers below them line up across the row. Released back to auto
   once the cards stack and alignment is moot. */
.flp-graphic { background: var(--flp-tint); border-radius: 12px; padding: 16px; height: 244px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
@media (max-width: 860px) { .flp-graphic { height: auto; min-height: 166px; } }
.flp-stepnum { width: 28px; height: 28px; border-radius: 50%; background: #000; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
.flp-page .flp-step h3 { font-size: 1.1rem; font-weight: 800; margin: 10px 0 6px; color: #111; }
.flp-step p { color: var(--flp-muted); font-size: 0.94rem; line-height: 1.55; margin: 0; }
.flp-step p strong { color: #111; }

/* --- generic mini-widgets used inside .flp-graphic --- */
.flp-g-row { background: #fff; border: 1px solid var(--flp-line); border-radius: 10px; padding: 9px 11px; display: flex; align-items: center; gap: 10px; }
.flp-g-row .flp-l-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-red); flex: none; }
.flp-g-row .flp-l-domain { font-weight: 700; font-size: 0.83rem; color: #111; display: block; line-height: 1.3; }
.flp-g-row .flp-l-path { font-size: 0.73rem; color: var(--color-text-muted); }
.flp-g-row .flp-l-badge { margin-left: auto; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    background: var(--color-red-wash); color: var(--color-red); border: 1px solid var(--color-red-wash-border); padding: 3px 9px; border-radius: 99px; }

.flp-g-toggle { background: #fff; border: 1px solid var(--flp-line); border-radius: 12px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flp-g-toggle .flp-t-label { font-weight: 700; font-size: 0.88rem; color: #111; display: block; }
.flp-g-toggle .flp-t-sub { font-size: 0.76rem; color: var(--color-text-muted); }
.flp-t-switch { width: 42px; height: 25px; border-radius: 99px; background: #000; position: relative; flex: none; }
.flp-t-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; }
.flp-g-status { font-size: 0.79rem; font-weight: 700; color: #111; display: flex; align-items: center; gap: 7px; }
.flp-g-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-red); flex: none; }

.flp-g-panel { background: #000; border-radius: 12px; padding: 15px 17px; color: #fff; }
.flp-g-panel .flp-p-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 10px; }
.flp-g-panel .flp-p-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-inverse-muted); }
.flp-g-panel .flp-p-note { font-size: 0.72rem; font-weight: 800; color: #fff; }
.flp-g-panel .flp-p-score { font-size: 2rem; font-weight: 800; line-height: 1; }
.flp-g-panel svg { width: 100%; height: 42px; margin-top: 8px; display: block; }
.flp-g-panel .flp-p-axis { display: flex; justify-content: space-between; font-size: 0.64rem; color: var(--color-text-inverse-muted); margin-top: 4px; }

/* --- old way vs Distribb --- */
.flp-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .flp-vs { grid-template-columns: 1fr; } }
.flp-vs-col { border-radius: 16px; padding: 28px 26px; text-align: left; }
.flp-vs-col.flp-old { background: var(--flp-tint); border: 1px solid var(--flp-line); }
.flp-vs-col.flp-new { background: #000; color: #fff; }
.flp-page .flp-vs-col h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 16px; color: #111; }
.flp-page .flp-vs-col.flp-new h3 { color: #fff; }
.flp-vs-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.flp-vs-col li { font-size: 0.94rem; line-height: 1.5; display: flex; gap: 10px; align-items: baseline; }
.flp-vs-col.flp-old li { color: var(--flp-muted); }
.flp-vs-col.flp-old li::before { content: "\00d7"; color: var(--color-red); font-weight: 800; flex: none; }
.flp-vs-col.flp-new li { color: #e8e8e8; }
.flp-vs-col.flp-new li::before { content: "\2713"; color: #fff; font-weight: 800; flex: none; }

/* --- feature cards --- */
.flp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flp-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .flp-grid3, .flp-grid2 { grid-template-columns: 1fr; } }
.flp-card { background: #fff; border: 1px solid var(--flp-line); border-radius: 16px; padding: 28px 24px; box-shadow: 0 4px 16px var(--color-shadow); text-align: left; }
.flp-page .flp-card h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 8px; color: #111; }
.flp-card p { color: var(--flp-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.flp-card p strong { color: #111; }
.flp-badge { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--color-red-wash); color: var(--color-red); border: 1px solid var(--color-red-wash-border); padding: 4px 11px; border-radius: 99px; margin-bottom: 14px; }
.flp-badge--dark { background: #000; color: #fff; border-color: #000; }

/* --- split copy / visual --- */
.flp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .flp-split { grid-template-columns: 1fr; gap: 30px; } }
.flp-split-copy { text-align: left; }
.flp-split-copy p { color: var(--flp-muted); font-size: 1.02rem; line-height: 1.65; margin: 0; }
.flp-split-copy p strong { color: #111; }
.flp-panel { background: #fff; border: 1px solid var(--flp-line); border-radius: 16px; box-shadow: 0 18px 50px var(--color-shadow); padding: 22px; text-align: left; }
.flp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; margin-bottom: 13px; border-bottom: 1px solid var(--flp-line); }
.flp-page .flp-panel-head h3 { font-size: 1.02rem; font-weight: 800; margin: 0; color: #111; }
.flp-chip { font-size: 0.74rem; font-weight: 600; color: var(--color-text-muted); background: var(--flp-tint); border: 1px solid var(--flp-line); padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.flp-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.flp-item-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; background: var(--color-red-wash); color: var(--color-red); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem; }
.flp-item-info { min-width: 0; }
.flp-item-title { font-weight: 700; font-size: 0.9rem; color: #111; display: block; line-height: 1.35; }
.flp-item-meta { font-size: 0.77rem; color: var(--color-text-muted); }
.flp-item-badge { margin-left: auto; flex: none; font-size: 0.7rem; font-weight: 800; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.flp-item-badge.flp-neutral { background: var(--color-surface-sunken); color: var(--color-text); }
.flp-item-badge.flp-live { background: var(--color-red); color: #fff; }
.flp-item-badge.flp-done { background: #000; color: #fff; }
.flp-quote { margin: 6px 0 6px 48px; background: var(--flp-tint); border-left: 3px solid var(--color-red); border-radius: 0 10px 10px 0; padding: 12px 15px; }
.flp-quote-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-red); display: block; margin-bottom: 4px; }
.flp-quote p { font-size: 0.84rem; color: var(--flp-muted); margin: 0; line-height: 1.55; }
@media (max-width: 560px) { .flp-quote { margin-left: 0; } }

/* --- note under the shared pricing table --- */
.flp-pricing-note { max-width: 860px; margin: 22px auto 0; background: var(--flp-tint); border: 1px solid var(--flp-line); border-radius: 12px; padding: 18px 24px; text-align: center; }
.flp-pricing-note p { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--flp-muted); }
.flp-pricing-note strong { color: #111; }

/* --- related hub links. Florian's internal-linking map wants these inside a
   styled related-content block, never a bare footer list of URLs. --- */
.flp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .flp-related { grid-template-columns: 1fr; } }
.flp-related a { display: block; background: #fff; border: 1px solid var(--flp-line); border-radius: 14px; padding: 20px 22px; text-decoration: none;
    box-shadow: 0 4px 16px var(--color-shadow); transition: border-color 160ms ease, transform 160ms ease; }
.flp-related a:hover { border-color: var(--color-red); transform: translateY(-2px); }
.flp-related .flp-related-title { font-weight: 800; font-size: 0.98rem; color: #111; display: block; margin-bottom: 5px; }
.flp-related .flp-related-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.5; display: block; }

/* --- faq --- */
.flp-faq { max-width: 780px; margin: 0 auto; }
.flp-faq details { background: #fff; border: 1px solid var(--flp-line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.flp-faq summary { font-weight: 700; font-size: 1rem; padding: 19px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #111; }
.flp-faq summary::-webkit-details-marker { display: none; }
.flp-faq summary::after { content: "+"; font-size: 1.35rem; font-weight: 500; color: #111; flex: none; line-height: 1; }
.flp-faq details[open] summary::after { content: "\2212"; }
.flp-faq details p { color: var(--flp-muted); margin: 0 0 20px; font-size: 0.95rem; line-height: 1.65; }

/* --- final cta --- */
.flp-final { text-align: center; padding: 10px 0 80px; }
.flp-final p { color: var(--flp-muted); max-width: 52ch; margin: 0 auto 28px; font-size: 1.06rem; line-height: 1.6; }
