/* ─── Reset / Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f8f6;
    color: #1a1a1a;
    margin: 0;
}

a { color: inherit; }

/* ─── Logo link ────────────────────────────────────────────────────────────── */
.fp-logo-link {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* ─── Score Ring ───────────────────────────────────────────────────────────── */
.fp-score-ring-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 0;
}

.fp-score-ring {
    display: block;
    transform: rotate(-90deg);
}

.fp-score-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 8;
}

.fp-score-ring-fill {
    fill: none;
    stroke: rgba(255,255,255,0.55);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s ease-out;
}

.fp-score-ring-fill.green   { stroke: #4ade80; }
.fp-score-ring-fill.blue    { stroke: #60a5fa; }
.fp-score-ring-fill.amber   { stroke: #fbbf24; }
.fp-score-ring-fill.orange  { stroke: #fb923c; }
.fp-score-ring-fill.red     { stroke: #f87171; }

.fp-score-ring-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fp-score-ring-value {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.fp-score-ring-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
}

/* ─── Tier Badge ───────────────────────────────────────────────────────────── */
.fp-tier-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.fp-tier-badge.tier-80 { background: rgba(74,222,128,0.18);  color: #4ade80; }
.fp-tier-badge.tier-65 { background: rgba(96,165,250,0.18);  color: #60a5fa; }
.fp-tier-badge.tier-50 { background: rgba(251,191,36,0.18);  color: #fbbf24; }
.fp-tier-badge.tier-35 { background: rgba(251,146,60,0.18);  color: #fb923c; }
.fp-tier-badge.tier-0  { background: rgba(248,113,113,0.18); color: #f87171; }

/* ─── Sub-score Bar ────────────────────────────────────────────────────────── */
.fp-subscore {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.fp-subscore-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.fp-subscore-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-subscore-value {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.fp-subscore-value.pending { color: rgba(255,255,255,0.25); }

.fp-subscore-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.fp-subscore-fill {
    height: 100%;
    border-radius: 2px;
    background: rgba(255,255,255,0.55);
    transition: width 1s ease-out;
}

.fp-subscore-fill.green  { background: #4ade80; }
.fp-subscore-fill.blue   { background: #60a5fa; }
.fp-subscore-fill.amber  { background: #fbbf24; }
.fp-subscore-fill.red    { background: #f87171; }

@keyframes fp-shimmer {
    0%   { background-position: -200px 0; }
    100% { background-position:  200px 0; }
}

.fp-subscore-fill.shimmer {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.06)  0px,
        rgba(255,255,255,0.18) 60px,
        rgba(255,255,255,0.06) 120px);
    background-size: 200px 100%;
    animation: fp-shimmer 1.5s linear infinite;
    width: 100% !important;
}

/* ─── Detail Card ──────────────────────────────────────────────────────────── */
.fp-detail-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e4;
    margin-bottom: 16px;
    overflow: hidden;
}

.fp-detail-card-header {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.fp-detail-card-header:hover { background: #fafaf8; }

.fp-detail-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding-right: 28px;
}

.fp-detail-card-icon { font-size: 15px; flex-shrink: 0; }

.fp-detail-card-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    flex: 1;
}

.fp-detail-card-score {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.fp-detail-card-max {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
}

.fp-detail-card-label {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    padding-right: 28px;
}

.fp-detail-card-chevron {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 16px;
    color: #ccc;
    transition: transform 0.2s;
    line-height: 1;
}

.fp-detail-card-chevron.open { transform: rotate(180deg); }

.fp-detail-card-body {
    padding: 4px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #f4f4f0;
}

.fp-detail-card-insight {
    font-size: 13px;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    padding: 14px 16px;
    background: #f8f8f6;
    border-radius: 8px;
    border-left: 3px solid #e0e0dc;
    margin: 14px 0 6px;
}

.fp-detail-card-footnote {
    font-size: 11px;
    color: #bbb;
    margin: 10px 0 0;
    font-style: italic;
}

/* ─── Channel Row ──────────────────────────────────────────────────────────── */
.fp-channel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f0;
}

.fp-channel-row:last-child { border-bottom: none; }

.fp-channel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fp-channel-dot.active   { background: #4ade80; }
.fp-channel-dot.sporadic { background: #fbbf24; }
.fp-channel-dot.dormant  { background: #fb923c; }
.fp-channel-dot.silent   { background: #d1d5db; }

.fp-channel-name {
    font-weight: 600;
    color: #1a1a1a;
    min-width: 80px;
    text-transform: capitalize;
}

.fp-channel-status {
    font-size: 12px;
    color: #888;
    min-width: 70px;
}

.fp-channel-detail {
    font-size: 12px;
    color: #aaa;
    flex: 1;
}

.fp-channel-pts {
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

/* ─── Reviews & Mentions ───────────────────────────────────────────────────── */
.fp-review-row,
.fp-mention-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f0;
}

.fp-review-row:last-child,
.fp-mention-row:last-child { border-bottom: none; }

.fp-review-platform,
.fp-mention-platform { font-weight: 600; color: #1a1a1a; min-width: 80px; }

.fp-review-rating { color: #f59e0b; font-weight: 600; }
.fp-review-count  { color: #888; }
.fp-review-date   { font-size: 12px; color: #bbb; flex: 1; }
.fp-review-date.stale {
    color: #92400e;
    background: #fef3c7;
    border-radius: 4px;
    padding: 1px 7px;
}
.fp-review-pts    { color: #ccc; font-weight: 600; margin-left: auto; font-size: 12px; }

.fp-mention-sentiment {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: capitalize;
}

.fp-mention-sentiment.positive { background: rgba(74,222,128,0.12); color: #16a34a; }
.fp-mention-sentiment.negative { background: rgba(248,113,113,0.12); color: #dc2626; }
.fp-mention-sentiment.mixed    { background: rgba(251,191,36,0.12);  color: #d97706; }
.fp-mention-sentiment.neutral  { background: rgba(0,0,0,0.05);       color: #666; }

.fp-mention-volume { color: #888; flex: 1; }
.fp-mention-pts    { color: #ccc; font-weight: 600; margin-left: auto; font-size: 12px; }

/* ─── Coherence & Profile Focus ────────────────────────────────────────────── */
.fp-coherence-row,
.fp-profile-focus-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f0;
}

.fp-coherence-row:last-child,
.fp-profile-focus-row:last-child { border-bottom: none; }

.fp-coherence-label { color: #1a1a1a; font-weight: 500; flex: 1; }

.fp-coherence-rating {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}

.fp-coherence-rating.sharp        { background: rgba(74,222,128,0.12); color: #16a34a; }
.fp-coherence-rating.clear        { background: rgba(96,165,250,0.12); color: #2563eb; }
.fp-coherence-rating.generic       { background: rgba(251,191,36,0.12); color: #d97706; }
.fp-coherence-rating.scattered    { background: rgba(248,113,113,0.12); color: #dc2626; }

.fp-coherence-pts {
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

.fp-coherence-insight {
    font-size: 13px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
    margin: 4px 0 6px;
}

/* ─── Signal Leaks ─────────────────────────────────────────────────────────── */
.fp-signal-leaks-section { margin-bottom: 24px; }

.fp-signal-leaks-heading {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

.fp-signal-leak {
    background: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 10px;
    border: 1px solid #e8e8e4;
    border-left: 3px solid #f59e0b;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.fp-signal-leak-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.fp-signal-leak-body { flex: 1; }

.fp-signal-leak-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.fp-signal-leak-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

.fp-signal-leak-opp {
    font-size: 13px;
    color: #16a34a;
    margin-top: 6px;
    line-height: 1.5;
}

/* ─── Share Strip ──────────────────────────────────────────────────────────── */
.fp-share-strip {
    background: #fff;
    border-radius: 12px;
    padding: 18px 24px;
    border: 1px solid #e8e8e4;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fp-share-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}

.fp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e0e0dc;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.12s;
}

.fp-share-btn:hover { background: #f4f4f0; }

/* ─── Progress Steps ───────────────────────────────────────────────────────── */
.fp-progress-steps {
    display: flex;
    flex-direction: column;
    padding: 16px 0 32px;
}

.fp-progress-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #d1d5db;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.fp-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 42px;
    height: 20px;
    width: 2px;
    background: #e5e7eb;
}

.fp-progress-step.done::after  { background: #4ade80; }
.fp-progress-step.active        { color: #1a1a1a; }
.fp-progress-step.done          { color: #4ade80; }
.fp-progress-step.waiting       { color: #d1d5db; }

.fp-progress-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    background: #fff;
    z-index: 1;
    transition: all 0.3s;
}

.fp-progress-step.active .fp-progress-step-dot {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.fp-progress-step.done .fp-progress-step-dot {
    background: #4ade80;
    border-color: #4ade80;
    color: #fff;
}

.fp-progress-step-text { flex: 1; padding-top: 4px; }

.fp-progress-step-label {
    font-size: 14px;
    font-weight: 600;
}

.fp-progress-step.waiting .fp-progress-step-label { color: #d1d5db; }

.fp-progress-step-sub {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}

/* ─── Spinners ─────────────────────────────────────────────────────────────── */
@keyframes fp-spin { to { transform: rotate(360deg); } }

.fp-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: fp-spin 0.6s linear infinite;
}

.fp-spinner-sm {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fp-spin 0.7s linear infinite;
    vertical-align: middle;
}

.fp-spinner-md {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0dc;
    border-top-color: #999;
    border-radius: 50%;
    animation: fp-spin 0.8s linear infinite;
}

.fp-spinner-lg {
    display: block;
    width: 36px;
    height: 36px;
    border: 3px solid #e8e8e4;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: fp-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

/* ─── Verdict Card ─────────────────────────────────────────────────────────── */
.fp-verdict-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 16px;
    border: 1px solid #e8e8e4;
}

.fp-verdict-title {
    font-size: 30px;
    font-weight: 800;
    margin: 4px 0 14px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f0f0f;
}

.fp-verdict-percentile-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.fp-verdict-percentile-text {
    font-size: 13px;
    color: #888;
}

.fp-verdict-body {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

/* ─── Report Layout ────────────────────────────────────────────────────────── */
.fp-report-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .fp-report-layout { grid-template-columns: 1fr; }
}

/* ─── Sidebar ──────────────────────────────────────────────────────────────── */
.fp-sidebar {
    background: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.fp-sidebar-inner {
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
    min-height: 100%;
}

.fp-sidebar-domain {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-align: center;
    word-break: break-all;
}

.fp-sidebar-divider {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.fp-sidebar-cta {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    width: 100%;
}

.fp-sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 12px;
    line-height: 1.5;
    font-style: italic;
}

.fp-sidebar-cta-btn {
    display: inline-block;
    background: #fff;
    color: #1a1a1a;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.fp-sidebar-cta-btn:hover { opacity: 0.88; }

.fp-sidebar-generated {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    margin-top: auto;
    width: 100%;
}

@media (max-width: 768px) {
    .fp-sidebar {
        position: static;
        height: auto;
        overflow-y: visible;
    }
}

/* ─── Report Main ──────────────────────────────────────────────────────────── */
.fp-report-main {
    padding: 40px 48px;
    max-width: 820px;
}

@media (max-width: 900px) { .fp-report-main { padding: 24px 20px; } }

/* ─── Report Bottom CTA ────────────────────────────────────────────────────── */
.fp-report-bottom-cta {
    background: #1a1a1a;
    border-radius: 14px;
    padding: 40px;
    margin-bottom: 48px;
    color: #fff;
    text-align: center;
}

.fp-report-bottom-cta-inner h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.fp-report-bottom-cta-inner p  { font-size: 15px; color: rgba(255,255,255,0.6); margin: 0 0 24px; line-height: 1.6; }

/* ─── Loading / Error States ───────────────────────────────────────────────── */
.fp-loading-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 0;
    color: #888;
    font-size: 14px;
    text-align: center;
}

.fp-error-card {
    max-width: 520px;
    margin: 80px auto;
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    border: 1px solid #e8e8e4;
    text-align: center;
}

.fp-error-card h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.fp-error-card p  { font-size: 14px; color: #666; margin: 0 0 24px; }

/* ─── Analyzing Layout ─────────────────────────────────────────────────────── */
.fp-analyzing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .fp-analyzing-layout { grid-template-columns: 1fr; }
}

.fp-analyzing-panel {
    background: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.fp-analyzing-panel-inner {
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.fp-analyzing-domain {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-align: center;
    word-break: break-all;
}

.fp-analyzing-placeholder-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.07);
    margin: 8px auto;
}

.fp-analyzing-main {
    padding: 40px 48px;
    max-width: 720px;
}

@media (max-width: 900px) { .fp-analyzing-main { padding: 24px 20px; } }

/* ─── Locked Card ──────────────────────────────────────────────────────────── */
.fp-locked-card {
    background: #f8f8f6;
    border-radius: 12px;
    padding: 22px 20px;
    border: 1px dashed #e0e0dc;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
    margin-bottom: 12px;
}

.fp-locked-icon  { font-size: 16px; }
.fp-locked-label { font-size: 13px; font-style: italic; }

/* ─── Preview Ready ────────────────────────────────────────────────────────── */
.fp-preview-ready { margin-bottom: 32px; }

.fp-preview-heading { font-size: 18px; font-weight: 700; margin: 0 0 20px; }

/* ─── Scanning Hint ────────────────────────────────────────────────────────── */
.fp-scanning-hint { padding: 40px 0; text-align: center; }
.fp-scanning-hint p { font-size: 15px; color: #555; margin: 0 0 8px; }

/* ─── Insight Carousel ─────────────────────────────────────────────────────── */
@keyframes fp-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fp-carousel {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fp-carousel-card {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 14px;
    padding: 28px 32px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    animation: fp-fade-in 0.45s ease both;
}

.fp-carousel-headline {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.4;
}

.fp-carousel-consequence {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
    line-height: 1.5;
}

.fp-carousel-solution {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.fp-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.fp-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.fp-carousel-dot--active {
    background: #1a1a1a;
    transform: scale(1.3);
}

/* ─── Complete Redirect ────────────────────────────────────────────────────── */
.fp-complete-redirect { padding: 60px 0; text-align: center; color: #888; font-size: 15px; }

/* ─── Email Card ───────────────────────────────────────────────────────────── */
.fp-email-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #e8e8e4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.fp-email-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.fp-email-card p  { font-size: 14px; color: #666; line-height: 1.55; margin: 0 0 20px; }

.fp-email-form { display: flex; gap: 8px; }

.fp-email-input {
    flex: 1;
    padding: 11px 14px;
    font-size: 14px;
    border: 2px solid #e0e0dc;
    border-radius: 7px;
    outline: none;
    transition: border-color 0.15s;
}

.fp-email-input:focus { border-color: #1a1a1a; }

.fp-email-btn {
    padding: 11px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.fp-email-btn:disabled { opacity: 0.5; cursor: default; }

.fp-email-fine-print {
    font-size: 12px;
    color: #bbb;
    margin-top: 10px;
    text-align: center;
}

/* ─── Email Sent Card ──────────────────────────────────────────────────────── */
.fp-email-sent-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px 32px;
    border: 1px solid #e8e8e4;
    text-align: center;
}

.fp-email-sent-icon  { font-size: 32px; margin-bottom: 12px; }
.fp-email-sent-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.fp-email-sent-card p  { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 8px; }

/* ─── URL Input + Button ───────────────────────────────────────────────────── */
.fp-url-error {
    font-size: 13px;
    color: #dc2626;
    margin-top: 8px;
    text-align: center;
}

.fp-url-warning {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    text-align: left;
}
.fp-url-warning strong { font-weight: 700; }

.fp-url-input-wrap {
    display: flex;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
    border: 2px solid #e0e0dc;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s;
}

.fp-url-input-wrap:focus-within { border-color: #1a1a1a; }

.fp-url-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 15px;
    border: none;
    outline: none;
    background: transparent;
    color: #1a1a1a;
    min-width: 0;
}

.fp-url-input::placeholder { color: #bbb; }

.fp-url-btn {
    padding: 14px 22px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.fp-url-btn:hover:not(:disabled) { opacity: 0.85; }
.fp-url-btn:disabled { opacity: 0.5; cursor: default; }

/* ─── Landing Page ─────────────────────────────────────────────────────────── */
.fp-landing { min-height: 100vh; }

.fp-hero {
    background: #fff;
    border-bottom: 1px solid #e8e8e4;
}

.fp-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 24px 60px;
}

.fp-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    background: #f4f4f0;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.fp-hero-heading {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.14;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.fp-hero-accent { color: #4f46e5; }

.fp-hero-sub {
    font-size: 17px;
    color: #555;
    line-height: 1.65;
    margin: 0 0 36px;
}

.fp-hero-form { margin-bottom: 14px; }

.fp-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #bbb;
    margin-bottom: 16px;
}

.fp-trust-strip span { padding: 0 6px; }
.fp-trust-dot { color: #d1d5db !important; padding: 0 !important; }

.fp-sample-chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.fp-sample-label { color: #aaa; }

.fp-sample-chip {
    padding: 5px 14px;
    border: 1px solid #e0e0dc;
    border-radius: 20px;
    cursor: pointer;
    background: #fff;
    font-size: 13px;
    color: #555;
    transition: all 0.12s;
}

.fp-sample-chip:hover { border-color: #1a1a1a; color: #1a1a1a; }

/* ─── Score Explainer ──────────────────────────────────────────────────────── */
.fp-score-explainer {
    background: #f8f8f6;
    border-bottom: 1px solid #e8e8e4;
}

.fp-explainer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px;
}

.fp-explainer-heading {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
}

.fp-explainer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 640px) { .fp-explainer-grid { grid-template-columns: 1fr; } }

.fp-explainer-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e8e8e4;
    text-align: center;
}

.fp-explainer-icon { font-size: 28px; margin-bottom: 12px; }

.fp-explainer-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.fp-explainer-item h3 span { font-weight: 400; color: #888; font-size: 13px; margin-left: 4px; }
.fp-explainer-item p  { font-size: 13px; color: #666; line-height: 1.55; margin: 0; }

/* ─── Examples Section ─────────────────────────────────────────────────────── */
.fp-examples-section {
    padding: 64px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.fp-examples-heading { font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.fp-examples-sub     { font-size: 14px; color: #888; text-align: center; margin: 0 0 28px; }

.fp-examples-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.fp-examples-tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e0e0dc;
    background: transparent;
    cursor: pointer;
    color: #888;
    transition: all 0.12s;
}

.fp-examples-tab.active,
.fp-examples-tab:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.fp-example-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8e8e4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

@media (max-width: 640px) { .fp-example-card { grid-template-columns: 1fr; } }

.fp-example-sidebar {
    background: #1a1a1a;
    color: #fff;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.fp-example-domain {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.fp-example-main {
    padding: 28px;
    background: #fafaf8;
    overflow-y: auto;
    max-height: 580px;
}

/* ─── Landing Footer CTA ───────────────────────────────────────────────────── */
.fp-cta-footer {
    background: #1a1a1a;
    color: #fff;
}

.fp-cta-footer-inner {
    max-width: 660px;
    margin: 0 auto;
    padding: 64px 24px;
    text-align: center;
}

.fp-cta-footer-inner h2 { font-size: 26px; font-weight: 700; margin: 0 0 12px; }
.fp-cta-footer-inner p  { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0 0 32px; }

.fp-cta-footer .fp-url-input-wrap {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}

.fp-cta-footer .fp-url-input-wrap:focus-within { border-color: rgba(255,255,255,0.45); }
.fp-cta-footer .fp-url-input { color: #fff; }
.fp-cta-footer .fp-url-input::placeholder { color: rgba(255,255,255,0.3); }

/* ─── Preview Card Enrichments ─────────────────────────────────────────────── */
.fp-preview-quote-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #aaa;
    margin: 0 0 6px;
}

.fp-preview-quote {
    margin: 0 0 16px;
    padding: 14px 16px;
    background: #f8f8f6;
    border-left: 3px solid #e0e0dc;
    border-radius: 0 8px 8px 0;
}

.fp-preview-quote p { margin: 0; font-size: 13px; line-height: 1.55; color: #444; }
.fp-preview-quote-positioning { font-style: italic; }
.fp-preview-quote-description  { color: #777; margin-top: 6px !important; }

.fp-verdict-caveat {
    font-size: 11px;
    color: #bbb;
    margin: 4px 0 16px;
}

.fp-verdict-insight {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: rgba(96,165,250,0.07);
    border-radius: 8px;
}

.fp-meta-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    margin: 0 0 16px;
    font-size: 13px;
}

.fp-meta-row { display: contents; }

.fp-meta-label {
    color: #999;
    font-weight: 500;
    white-space: nowrap;
    padding: 2px 0;
}

.fp-meta-value {
    color: #1a1a1a;
    padding: 2px 0;
}

.fp-keywords-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
}

.fp-keyword-chip {
    padding: 3px 10px;
    background: #f0f0ec;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

.fp-keyword-overflow {
    padding: 3px 10px;
    background: transparent;
    border-radius: 20px;
    font-size: 12px;
    color: #bbb;
    border: 1px dashed #e0e0dc;
}

.fp-preview-channels-footer {
    font-size: 12px;
    color: #bbb;
    padding-top: 10px;
    border-top: 1px solid #f0f0ec;
    margin-top: 4px;
}

/* ─── Mandatory Email Capture ───────────────────────────────────────────────── */
.fp-email-mandatory {
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 24px;
    border: 1px solid #e8e8e4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.fp-email-mandatory-headline {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.fp-email-mandatory-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* ─── Post-Submit Confirmation ──────────────────────────────────────────────── */
.fp-confirmation-block {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #d1fae5;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    text-align: center;
}

.fp-confirmation-check {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d1fae5;
    color: #16a34a;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.fp-confirmation-block h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.fp-confirmation-block p  { font-size: 14px; color: #555; line-height: 1.55; margin: 0 0 6px; }

.fp-confirmation-eta {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px !important;
}

.fp-confirmation-internal-divider {
    border: none;
    border-top: 1px solid #e8e8e4;
    margin: 20px 0;
}

.fp-confirmation-aside-body {
    font-size: 14px;
    color: #888;
    line-height: 1.75;
    margin: 0 0 0;
    text-align: left;
}

.fp-confirmation-learn {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: #5b6af5;
    text-decoration: none;
    transition: opacity 0.15s;
}

.fp-confirmation-learn:hover { opacity: 0.75; }

/* ─── Score Ring — Pending placeholder ────────────────────────────────────── */
.fp-score-ring-pending-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 0 8px;
}

.fp-score-ring-pending-dash {
    font-size: 32px;
    font-weight: 300;
    color: #d1d5db;
    line-height: 1;
}

.fp-score-ring-pending-caption {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.02em;
}
.fp-cta-footer .fp-url-btn  { background: #fff; color: #1a1a1a; }

/* ─── Benchmark Section ────────────────────────────────────────────────────── */
.fp-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    margin: 0 0 8px;
}

.fp-benchmark-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e8e8e4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.fp-benchmark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fp-benchmark-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.fp-benchmark-subtitle {
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
}

.fp-percentile-pill {
    background: #dcfce7;
    color: #16a34a;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.fp-benchmark-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 480px) { .fp-benchmark-metric-grid { grid-template-columns: 1fr; } }

.fp-benchmark-metric-card {
    background: #f9f9f7;
    border-radius: 8px;
    padding: 14px;
}

.fp-benchmark-metric-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-benchmark-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 3px 0 2px;
}

.fp-benchmark-metric-delta {
    font-size: 12px;
}

.fp-benchmark-metric-delta.positive { color: #16a34a; }
.fp-benchmark-metric-delta.negative { color: #ef4444; }

.fp-benchmark-legend {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
}

.fp-benchmark-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fp-benchmark-legend-item::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.fp-legend-you::before     { background: #5b6af5; }
.fp-legend-median::before  { background: #9ca3af; }
.fp-legend-top25::before   { background: #bbf7d0; border: 1px solid #86efac; }

.fp-benchmark-bar-row {
    margin-bottom: 16px;
}

.fp-benchmark-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.fp-benchmark-bar-track {
    position: relative;
    height: 10px;
    background: #f0f0ee;
    border-radius: 5px;
    overflow: hidden;
}

.fp-benchmark-bar-top25 {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(187,247,208,0.55);
}

.fp-benchmark-bar-you {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #5b6af5;
    border-radius: 5px;
    z-index: 2;
}

.fp-benchmark-bar-median-line {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #9ca3af;
    z-index: 3;
}

.fp-benchmark-divider {
    border: none;
    border-top: 1px solid #e8e8e4;
    margin: 20px 0;
}

.fp-benchmark-insight {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 20px;
}

.fp-benchmark-share-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e8e8e4;
    font-size: 13px;
    color: #888;
    gap: 16px;
    flex-wrap: wrap;
}

.fp-benchmark-share-btn {
    background: #5b6af5;
    color: #fff;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.fp-benchmark-share-btn:hover { opacity: 0.85; }

/* ── Spotlight card ─────────────────────────────────────── */
.fp-spotlight-card {
    background: #fffbf0;
    border-left: 4px solid #d97706;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.fp-spotlight-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d97706;
    margin-bottom: 8px;
}

.fp-spotlight-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1.3;
    margin-bottom: 10px;
}

.fp-spotlight-body {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin: 0 0 16px;
}

.fp-spotlight-divider {
    border: none;
    border-top: 1px solid #fde68a;
    margin: 0 0 12px;
}

.fp-spotlight-nudge {
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.fp-spotlight-nudge a {
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
}

/* ── Wordmark ────────────────────────────────────────────── */
.fp-wordmark {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}
.fp-wordmark-text { color: #4f46e5; }
.fp-wordmark-dot  { color: #1a1a1a; }

/* ── Site footer ────────────────────────────────────────── */
.fp-site-footer {
    border-top: 1px solid #e8e8e4;
    padding: 20px 24px;
    text-align: center;
}
.fp-site-footer-inner {
    font-size: 12px;
    color: #aaa;
}
.fp-site-footer-inner a {
    color: #888;
    text-decoration: underline;
}
.fp-site-footer-inner a:hover { color: #555; }
