/* FranchiseScout custom skin — loaded AFTER style.css via config 'custom_css'.
   Design language: investment data product (think Carta/Bloomberg), not local
   directory. Ink navy + brass gold, Space Grotesk display, squared geometry,
   ledger-grid hero. Colors still flow from config CSS variables. */

:root {
    --fs-ink: #0d1a2b;
    --fs-ink-2: #122238;
    --fs-line: rgba(13, 26, 43, 0.12);
    --fs-gold: #d9a62e;
    --fs-muted: #5b6878;
}

body { font-size: 16.5px; background: var(--c-bg); }

h1, h2, h3 { letter-spacing: -0.02em; font-weight: 600; }

/* ---- top bar: white, hairline rule, understated ---- */
.topbar {
    background: #ffffff; color: var(--fs-ink);
    box-shadow: none; border-bottom: 1px solid var(--fs-line);
}
.topbar .wrap { padding-top: 16px; padding-bottom: 16px; }
.brand { color: var(--fs-ink); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; }
.brand::before {
    content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 9px;
    background: var(--fs-gold); transform: rotate(45deg); border-radius: 2px;
}
.nav a { color: var(--fs-ink); opacity: 0.72; font-weight: 500; font-size: 0.94rem; }
.nav a:hover { opacity: 1; }
.nav a.nav-cta {
    background: var(--fs-ink); color: #fff; border-radius: 8px;
    padding: 10px 20px; font-weight: 600; box-shadow: none;
}
.nav a.nav-cta:hover { background: var(--fs-ink-2); transform: none; }

/* ---- header house-ad strip → quiet ticker bar ---- */
.ad-header {
    background: #f6f3ea; border: 0; border-bottom: 1px solid var(--fs-line);
    font-size: 0.86rem; padding: 9px 14px; letter-spacing: 0.01em;
}
.ad-header a { color: var(--fs-ink); }
.ad-header strong { color: #8a6a15; }

/* ---- hero: dark ink with ledger grid, no photo ---- */
.hero, .hero-photo {
    background:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
        radial-gradient(ellipse 90% 70% at 50% -10%, #1d3a5f 0%, transparent 60%),
        linear-gradient(170deg, var(--fs-ink) 0%, #0a1421 100%);
    background-size: 44px 44px, 44px 44px, auto, auto;
    padding: 88px 0 96px; text-align: center; position: relative; overflow: hidden;
}
.hero-photo::before { display: none; }
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent 15%, var(--fs-gold) 50%, transparent 85%);
    opacity: 0.9;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em;
    text-shadow: none; margin-bottom: 14px;
}
.hero p { text-shadow: none; opacity: 0.78; font-size: 1.08rem; max-width: 560px; }
.hero-credit { display: none; }

.btn, .searchbox button, .nav a.nav-cta { border-radius: 8px; }
.btn {
    background: var(--fs-gold); color: #141003; font-weight: 700;
    box-shadow: none; padding: 13px 28px;
}
.btn:hover { filter: brightness(1.05); transform: none; }
.btn-hero { font-size: 1.03rem; padding: 16px 36px; letter-spacing: 0.01em; }
.btn-outline { background: transparent; color: var(--fs-ink); border: 1.5px solid var(--fs-ink); }

.hero-search-demoted { opacity: 0.65; }
.searchbox { border-radius: 10px; padding: 5px; box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.searchbox input { border-radius: 7px; }
.searchbox button { background: var(--fs-ink); color: #fff; font-weight: 600; }
.searchbox-secondary { opacity: 0.85; }

/* stats: bordered figure chips, tabular numerals */
.hero-stats { gap: 12px 12px; margin-top: 34px; text-shadow: none; }
.hero-stats span {
    border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
    padding: 9px 18px; font-size: 0.86rem; opacity: 0.9;
    background: rgba(255,255,255,0.04); letter-spacing: 0.02em;
}
.hero-stats strong {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
    font-variant-numeric: tabular-nums; color: var(--fs-gold); margin-right: 4px;
}

/* ---- trust points: numbered keyline cards ---- */
.trust-points { padding-top: 56px; }
.trust-points .grid-3 { gap: 0; border: 1px solid var(--fs-line); border-radius: 12px; overflow: hidden; }
.trust-point {
    text-align: left; padding: 30px 28px; background: #fff;
    border-left: 1px solid var(--fs-line);
}
.trust-point:first-child { border-left: 0; }
@media (max-width: 699px) {
    .trust-point { border-left: 0; border-top: 1px solid var(--fs-line); }
    .trust-point:first-child { border-top: 0; }
}
.trust-icon {
    width: auto; height: auto; background: none; border-radius: 0; margin-bottom: 12px;
    font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700;
    color: var(--fs-gold); letter-spacing: 0.14em;
    border-bottom: 2px solid var(--fs-gold); padding-bottom: 5px;
}
.trust-point h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--fs-ink); }
.trust-point p { color: var(--fs-muted); font-size: 0.93rem; line-height: 1.55; }

/* ---- welcome ---- */
.welcome { padding: 48px 0 10px; }
.welcome h2 { font-size: 1.7rem; color: var(--fs-ink); }
.welcome p { color: var(--fs-muted); }

/* ---- sections ---- */
.section { padding: 44px 0; }
.section-alt { background: #f7f5ef; }
.section-title {
    font-size: 1.5rem; color: var(--fs-ink); margin-bottom: 22px; position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px;
    background: var(--fs-gold);
}

/* ---- industry tiles: flat, keyline, gold hover rail ---- */
.tile {
    border: 1px solid var(--fs-line); border-radius: 10px; box-shadow: none;
    padding: 16px 18px; position: relative; overflow: hidden;
}
.tile::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--fs-gold); transform: scaleY(0); transition: transform 0.18s ease;
    transform-origin: top;
}
.tile:hover { transform: none; box-shadow: 0 10px 28px rgba(13,26,43,0.10); border-color: rgba(13,26,43,0.28); }
.tile:hover::before { transform: scaleY(1); }
.tile .t-icon { background: #f7f5ef; border-radius: 8px; }
.tile .t-name { color: var(--fs-ink); font-weight: 600; }
.tile .t-count { font-variant-numeric: tabular-nums; }

/* ---- cards ---- */
.card { border-radius: 10px; border-color: var(--fs-line); box-shadow: none; }
.card:hover { transform: none; box-shadow: 0 12px 30px rgba(13,26,43,0.10); }
.card.tier-premium { border: 1.5px solid var(--fs-gold); box-shadow: 0 6px 20px rgba(217,166,46,0.16); }
.card.tier-featured { border: 1.5px solid var(--fs-ink); }
.card h3 { font-weight: 600; }
.avatar { border-radius: 8px; }
.badge { border-radius: 4px; letter-spacing: 0.08em; }
.badge-premium { background: var(--fs-gold); color: #141003; }
.badge-featured { background: var(--fs-ink); }
.chip { border-radius: 6px; background: #f1eee6; color: var(--fs-ink); }

/* ---- packages ---- */
.pkg { border-radius: 12px; border-color: var(--fs-line); box-shadow: none; }
.pkg.pkg-highlight { border: 2px solid var(--fs-gold); box-shadow: 0 14px 36px rgba(217,166,46,0.18); }
.pkg .price { color: var(--fs-ink); font-variant-numeric: tabular-nums; }

/* ---- quiz ---- */
.quiz-wizard { border-radius: 14px; border-color: var(--fs-line); box-shadow: 0 10px 40px rgba(13,26,43,0.08); }
.quiz-progress-fill { background: var(--fs-gold); }
.quiz-option-card { border-radius: 10px; }
.quiz-option-card.selected { border-color: var(--fs-gold); background: #faf7ee; }
.quiz-option-card.selected::after { color: var(--fs-gold); }

/* ---- filter pills / pagination: squared ---- */
.filter-links a { border-radius: 7px; }
.filter-links a.current { background: var(--fs-ink); border-color: var(--fs-ink); }
.pagination .current { background: var(--fs-ink); border-color: var(--fs-ink); }

/* ---- ad slots: quieter ---- */
.ad-slot { border: 1px dashed rgba(13,26,43,0.18); border-radius: 10px; background: #f7f5ef; }

/* ---- footer: ink, gold hairline top ---- */
.site-footer { background: var(--fs-ink); border-top: 3px solid var(--fs-gold); margin-top: 64px; }
.cols-footer { border-bottom-color: rgba(255,255,255,0.12); }

/* mute the emoji category icons to fit the premium palette */
.tile .t-icon, .trust-icon { }
.tile .t-icon { filter: grayscale(1) opacity(0.75); }
.ad-slot .btn, .sidebar .btn { padding: 9px 16px; font-size: 0.86rem; }
