/* FranGlobal Mongolia — public website stylesheet (no build step) */
:root {
    --navy: #004C6C;
    --navy-2: #003B54;
    --navy-3: #006699;
    --orange: #004C6C;
    --orange-dark: #006699;
    --teal: #006699;
    --ink: #333333;
    --muted: #666666;
    --line: #DFDFDF;
    --bg: #FBFBFB;
    --white: #ffffff;
    --radius: 4px;
    --shadow: 0 10px 30px rgba(0, 76, 108, .08);
    --shadow-lg: 0 20px 50px rgba(0, 76, 108, .14);
    --font: 'Open Sans', Helvetica, Arial, sans-serif;
    --font-headline: 'Open Sans', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); font-family: var(--font-headline); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .brand-img { height: 40px; width: auto; display: block; }
.site-footer .brand .brand-img { height: 48px; }
.brand .logo-f {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--orange); color: #fff;
    display: grid; place-items: center; font-size: 1.15rem; font-weight: 800;
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: #9fb2c6; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
    color: #cdd9e5; font-size: .92rem; font-weight: 600;
    padding: 8px 11px; border-radius: 10px; white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.main-nav a.active { color: #fff; background: rgba(0, 102, 153, .18); }
.header-ctas { display: flex; gap: 10px; align-items: center; }
.btn-login { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-login:hover { background: #fff; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 6px 10px; }

@media (max-width: 1020px) {
    .main-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; background: var(--navy); padding: 12px 5%;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .nav-toggle { display: block; margin-left: auto; }
    .header-ctas { margin-left: 0; }
    .header-ctas .btn-ghost { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
    font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(0, 102, 153, .35); }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #1d9d8e; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(0, 102, 153, .25), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(0, 102, 153, .22), transparent 55%),
        var(--navy);
    color: #fff; padding: 84px 0 72px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
.hero h1 .accent { color: var(--orange); }
.hero p { color: #b9c8d8; font-size: 1.1rem; margin: 18px 0 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 20px; color: #8fa3b8; font-size: .85rem; flex-wrap: wrap; }
.hero-card {
    background: linear-gradient(160deg, var(--navy-3), var(--navy-2));
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.hero-card li { display: flex; gap: 10px; color: #c2d2e2; padding: 8px 0; font-size: .95rem; list-style: none; }
.hero-card li::before { content: "✓"; color: var(--teal); font-weight: 800; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.stat { text-align: center; color: #fff; }
.stat b { display: block; font-size: 2rem; color: var(--orange); }
.stat span { color: #9fb2c6; font-size: .88rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 701px) { .stats-grid.stats-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }

.badge {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.badge-teal { background: rgba(0, 102, 153, .12); color: #004C6C; }
.badge-orange { background: rgba(0, 102, 153, .12); color: var(--orange-dark); }
.badge-navy { background: rgba(0, 76, 108, .08); color: var(--navy); }
.badge-green { background: rgba(0, 102, 153, .15); color: #004C6C; }
.badge-amber { background: rgba(255, 159, 67, .15); color: #b96e00; }
.badge-red { background: rgba(228, 87, 46, .12); color: var(--orange-dark); }

.brand-logo {
    width: 54px; height: 54px; border-radius: 14px; flex: none;
    background: linear-gradient(140deg, var(--navy-3), var(--navy));
    color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.brand-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .85rem; margin: 12px 0; }
.meta-list b { color: var(--ink); }

.card-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.details-toggle { display: none; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 16px; }
.details-toggle.open { display: block; }
.details-toggle h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 4px; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(0, 102, 153, .3), transparent 60%),
        linear-gradient(120deg, var(--navy), var(--navy-3));
    border-radius: 24px; padding: 48px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c8d8; margin-top: 8px; max-width: 520px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.input, select.input, textarea.input {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(0, 102, 153, .15); }
textarea.input { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.checkbox-row label { font-weight: 500; font-size: .88rem; color: var(--muted); }
.form-error { color: #c0392b; font-size: .82rem; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 6px; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: .92rem; }
.alert-success { background: rgba(0, 102, 153, .12); color: #0f766e; border: 1px solid rgba(0, 102, 153, .3); }
.alert-info { background: rgba(56, 130, 246, .1); color: #1d4ed8; border: 1px solid rgba(56, 130, 246, .25); }
.alert-error { background: rgba(228, 87, 46, .1); color: var(--orange-dark); border: 1px solid rgba(228, 87, 46, .3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.page-hero p { color: #b9c8d8; margin-top: 10px; max-width: 640px; }
.breadcrumb { font-size: .82rem; color: #8fa3b8; margin-bottom: 12px; }
.breadcrumb a { color: #cdd9e5; }

/* ---------- Filters ---------- */
.filter-bar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow); margin-bottom: 28px;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end;
}
.filter-bar .field { margin-bottom: 0; }
@media (max-width: 900px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.quick-links a { font-size: .82rem; font-weight: 700; }

/* ---------- Events ---------- */
.event-date {
    width: 64px; flex: none; text-align: center; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--line); background: #fff;
}
.event-date b { display: block; background: var(--orange); color: #fff; font-size: 1.25rem; padding: 6px 0 2px; }
.event-date span { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 3px 0 6px; text-transform: uppercase; }
.event-row { display: flex; gap: 18px; align-items: flex-start; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-thumb {
    height: 150px; border-radius: 12px; margin-bottom: 16px;
    background: linear-gradient(130deg, var(--navy-3), var(--teal));
    display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 2rem;
}
.post-body h3 a { color: var(--navy); }
.post-body h3 a:hover { color: var(--orange); text-decoration: none; }
.post-meta { font-size: .8rem; color: var(--muted); margin: 6px 0 10px; }
.article { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.article h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.article-content { margin-top: 24px; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { margin: 28px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content img { border-radius: 12px; margin: 16px 0; }
.article-content blockquote { border-left: 4px solid var(--orange); padding: 8px 18px; color: var(--muted); margin: 16px 0; background: rgba(0, 102, 153, .05); border-radius: 0 12px 12px 0; }

/* ---------- Stories ---------- */
.story-quote { font-size: 1.02rem; color: var(--ink); }
.story-quote::before { content: "“"; color: var(--orange); font-size: 2rem; line-height: 0; vertical-align: -8px; margin-right: 2px; }

/* ---------- Assessment wizard ---------- */
.wizard-shell { max-width: 640px; margin: 0 auto; }
.progress-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 18px 0 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--teal)); border-radius: 999px; transition: width .3s ease; }
.progress-label { font-size: .82rem; color: var(--muted); font-weight: 600; }

.q-text { font-size: 1.35rem; color: var(--navy); margin: 20px 0 8px; }
.q-section { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--teal); }
.option-list { display: grid; gap: 12px; margin-top: 24px; }
.option-btn {
    display: block; width: 100%; text-align: left; cursor: pointer;
    padding: 16px 20px; border: 2px solid var(--line); border-radius: 14px;
    background: #fff; font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink);
    transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.option-btn:hover { border-color: var(--orange); background: rgba(0, 102, 153, .05); }
.option-btn:active { transform: scale(.99); }
.option-btn.selected { border-color: var(--orange); background: rgba(0, 102, 153, .1); color: var(--navy); }
.option-btn input { position: absolute; opacity: 0; pointer-events: none; }

.star-row { display: flex; gap: 10px; justify-content: center; margin: 26px 0 10px; direction: rtl; }
.star-row input { display: none; }
.star-row label { font-size: 2.6rem; color: #d4dce4; cursor: pointer; line-height: 1; transition: color .12s ease, transform .12s ease; }
.star-row label:hover { transform: scale(1.1); }
.star-row input:checked ~ label,
.star-row label:hover, .star-row label:hover ~ label { color: var(--orange); }
.star-row input:checked + label { color: var(--orange); }

.yesno-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.yesno-row .option-btn { text-align: center; padding: 20px; font-size: 1.15rem; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }

/* ---------- Result ---------- */
.gauge-wrap { text-align: center; padding: 10px 0 4px; }
.gauge { width: 220px; height: 120px; margin: 0 auto; }
.gauge-val { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.gauge-of { color: var(--muted); font-size: .95rem; }
.level-badge { display: inline-block; padding: 8px 22px; border-radius: 999px; font-weight: 800; font-size: 1.05rem; margin-top: 12px; }
.list-check li, .list-warn li { list-style: none; padding: 7px 0 7px 30px; position: relative; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 102, 153, .15); color: #004C6C; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.list-warn li::before { content: "!"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 102, 153, .15); color: var(--orange-dark); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

.disclaimer-box {
    background: rgba(255, 159, 67, .08); border: 1px solid rgba(255, 159, 67, .35);
    border-radius: 14px; padding: 18px 20px; font-size: .9rem; color: #7a5200;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8d8; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: 56px 0 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb2c6; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: .88rem; color: #8fa3b8; margin-top: 12px; max-width: 300px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 6px; }
.newsletter-form .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter-form .input::placeholder { color: #7b8ea1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #71859a; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    width: min(680px, 92%); background: #fff; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px; z-index: 200;
    display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-banner p { font-size: .85rem; color: var(--muted); flex: 1; min-width: 240px; }
[hidden] { display: none !important; }

/* ---------- Scroll reveal (CSS only) ---------- */
.reveal { animation: rise .55s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Tables (public pages) ---------- */
.table-wrap { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.simple th { text-align: left; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 2px solid var(--line); }
table.simple td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---- Franchisor readiness assessment (FRANCHISE framework) ---- */
.fra-lang { display: flex; gap: 6px; justify-content: flex-end; font-size: .85rem; }
.fra-lang a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.fra-lang a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fra-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 18px 0; }
.fra-pillar { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fra-letter { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.fra-letter.done { background: var(--orange); }
.fra-q { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.fra-q.missing { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(0, 102, 153, .12); }
.fra-q-text { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.fra-q-text .en { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.fra-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fra-scale label { cursor: pointer; }
.fra-scale input { position: absolute; opacity: 0; pointer-events: none; }
.fra-scale span { display: block; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 4px; font-size: .78rem; line-height: 1.25; color: var(--muted); min-height: 58px; }
.fra-scale span b { display: block; font-size: 1.15rem; color: var(--navy); }
.fra-scale input:checked + span { border-color: var(--orange); background: #E6EFF3; color: var(--ink); }
.fra-scale input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.fra-note { margin-top: 10px; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .88rem; }
.fra-score { font-size: 3.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.fra-bar { height: 10px; background: #eef2f5; border-radius: 999px; overflow: hidden; }
.fra-bar i { display: block; height: 100%; border-radius: 999px; }
.fra-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fra-table th, .fra-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.fra-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.st-strength { background: #dcf3ea; color: #146c4d; } .st-solid { background: #e3eff6; color: #004C6C; }
.st-developing { background: #fdf1d8; color: #8a5a00; } .st-gap { background: #fde7df; color: #a3401b; } .st-critical { background: #fbe0e6; color: #a01d3d; }
.fra-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .fra-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fra-scale span { font-size: .68rem; min-height: 64px; } .fra-score { font-size: 2.6rem; } }

/* ---------- www.franglobal.com typography (2026-09-29) ---------- */
body { font-size: 14px; color: #666666; }
h1, h2, h3 { font-weight: 600; }
.lead, .muted { color: #666666; }
.main-nav a { font-weight: 300; text-transform: uppercase; font-size: 12.5px; letter-spacing: .02em; }
.btn, button.btn, a.btn { text-transform: uppercase; font-weight: 400; border-radius: 4px; letter-spacing: .02em; }

/* ---------- www.franglobal.com header: navy top strip + white nav bar (2026-09-29) ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12px; }
.topbar-inner { display: flex; gap: 22px; height: 30px; align-items: center; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: none; opacity: .85; }
.topbar .topbar-lang { margin-left: auto; font-weight: 600; letter-spacing: .04em; padding: 1px 9px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.site-header { background: #fff; box-shadow: 0 1px 0 #DFDFDF, 0 2px 10px rgba(0, 0, 0, .05); }
.main-nav a { color: #333333; }
.main-nav a:hover { color: var(--navy); background: #F3F3F3; }
.main-nav a.active { color: var(--navy); background: transparent; box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.header-ctas .btn-ghost, .btn-login { background: #fff; color: var(--navy); border: 1px solid var(--navy); box-shadow: none; }
.header-ctas .btn-ghost:hover, .btn-login:hover { background: var(--navy); color: #fff; }
.nav-toggle { color: var(--navy); }
/* Public page usability: consistent type, readable contrast and accessible navigation. */
body { font-size: 16px; color: #374957; }
.btn, button.btn, a.btn, .main-nav a { text-transform: none; font-weight: 600; letter-spacing: normal; }
.header-inner { height: auto; min-height: 80px; gap: 16px; }
.main-nav a { font-size: 13px; padding: 10px 8px; }
.header-ctas { gap: 7px; }
.header-ctas .btn { font-size: 12px; padding: 10px; max-width: 155px; }
.brand { flex-shrink: 0; }
.grid > *, .hero-grid > *, .footer-grid > *, .field { min-width: 0; }
.hero h1 .accent { color: #fff; }
.hero .btn-orange { background: #fff; color: var(--navy); box-shadow: none; }
.hero .btn-orange:hover { background: #e6eff3; }
.page-hero p, .article-content { max-width: 72ch; }
.article-content p + p { margin-top: 18px; }
.article-content h2:not(:first-child) { margin-top: 32px; }
.input { font-size: 16px; }
textarea.input { min-height: 150px; resize: vertical; }
.checkbox-row { align-items: flex-start; }
.checkbox-row input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; }
.site-footer, .site-footer a, .footer-brand p, .footer-bottom { color: #d2e1e9; }
.newsletter-form { flex-wrap: wrap; }
.newsletter-form .input { flex: 1 1 180px; min-width: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 500; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid #006699; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.btn:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.mobile-nav-actions { display: none; }
.empty-state { padding: 28px; border: 1px solid var(--line); background: #fff; text-align: center; grid-column: 1 / -1; }
/* The header holds 7–8 menu items and three buttons (~1300px in Mongolian): wider than the 1180px page container. */
.topbar .container, .site-header .container { width: min(1640px, calc(100% - 48px)); }
@media (min-width: 1366px) {
    .main-nav { min-width: 0; flex-wrap: wrap; justify-content: flex-end; } /* an extra menu item wraps instead of pushing the buttons off-screen */
}
@media (max-width: 1365px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; background: #fff; padding: 12px 4%; max-height: calc(100dvh - 110px); overflow-y: auto; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; font-size: 15px; }
    .nav-toggle { display: block; margin-left: auto; min-width: 44px; min-height: 44px; }
    .mobile-nav-actions { display: grid; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
    .header-ctas { margin-left: auto; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .topbar .container, .site-header .container { width: calc(100% - 32px); }
    .header-inner { min-height: 70px; }
    .header-ctas { display: none; }
    .brand .brand-img { height: 38px; }
    .section { padding: 40px 0; }
    .hero { padding: 48px 0; }
    .hero-grid, .grid.grid-2, .grid.grid-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hero-actions > a, .hero-actions > form { width: 100%; }
    .hero-actions .btn { width: 100%; }
    .article[style], .form-card { padding: 22px !important; }
    .page-hero h1 { font-size: 1.9rem; overflow-wrap: anywhere; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-banner p { min-width: 0; flex-basis: 100%; }
    .cookie-banner { bottom: 8px; padding: 14px; }
    .fra-pillars { grid-template-columns: minmax(0, 1fr); }
    .wizard-nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1020px) {
    .main-nav { background: #fff; border-top: 1px solid #DFDFDF; box-shadow: 0 8px 16px rgba(0, 0, 0, .08); }
    .main-nav { top: 100%; }
    .topbar-inner { justify-content: center; }
}

/* ---------- Design v2 (2026-10-05): same look as the CRM + mobile app (see theme.css) ----------
   teal #1B4A5A, amber #FBAB52 (primary buttons = amber pills), peach #FFF0E0, bg #F6F7F7,
   links #AD5F0C, Poppins (css/poppins.css). Overrides everything above, so keep this block last. */
:root {
    --navy: #1B4A5A; --navy-2: #143A47; --navy-3: #2A6275;
    --orange: #FBAB52; --orange-dark: #F09A3C; --teal: #2A6275;
    --amber-ink: #AD5F0C; --peach: #FFF0E0;
    --ink: #2E3F44; --muted: #7D898D; --line: #ECEFF0; --bg: #F6F7F7;
    --radius: 18px;
    --shadow: 0 6px 18px rgba(27, 74, 90, .06);
    --shadow-lg: 0 18px 40px rgba(27, 74, 90, .16);
    --font: 'Poppins', Helvetica, Arial, sans-serif;
    --font-headline: 'Poppins', Helvetica, Arial, sans-serif;
}
body { color: var(--ink); background: var(--bg); }
.lead, .muted { color: var(--muted); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.01em; }
a { color: var(--amber-ink); }
.eyebrow, .q-section { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--orange); }

/* header */
.topbar { background: var(--navy); }
.site-header { box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(27, 74, 90, .05); }
.main-nav a { color: var(--ink); font-weight: 500; border-radius: 999px; padding: 9px 12px; }
.main-nav a:hover { color: var(--navy); background: #EEF2F3; }
.main-nav a.active { color: #fff; background: var(--orange); box-shadow: 0 6px 14px rgba(251, 171, 82, .28); border-radius: 999px; }

/* buttons: amber pills */
.btn, button.btn, a.btn { border-radius: 999px; font-weight: 600; }
.btn-orange, .hero .btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(251, 171, 82, .28); }
.btn-orange:hover, .hero .btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-teal { background: var(--navy); color: #fff; }
.btn-teal:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border: 1.5px solid #E3E8E9; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.header-ctas .btn-ghost, .btn-login { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.header-ctas .btn-ghost:hover, .btn-login:hover { background: var(--navy); color: #fff; }

/* teal surfaces with the thin concentric rings of the app design */
.hero, .page-hero, .cta-band { position: relative; overflow: hidden; }
.hero {
    background: radial-gradient(900px 420px at 92% -10%, rgba(251, 171, 82, .16), transparent 60%), var(--navy);
}
.page-hero { background: radial-gradient(700px 300px at 95% -20%, rgba(251, 171, 82, .14), transparent 60%), var(--navy); }
.cta-band { background: radial-gradient(600px 260px at 95% 0%, rgba(251, 171, 82, .2), transparent 60%), var(--navy); border-radius: 22px; }
.hero::before, .page-hero::before, .cta-band::before {
    content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .09); pointer-events: none;
}
.hero::after, .page-hero::after, .cta-band::after {
    content: ""; position: absolute; left: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .08); pointer-events: none;
}
.hero > *, .page-hero > *, .cta-band > * { position: relative; z-index: 1; }
.hero h1 .accent { color: var(--orange); }
.hero p, .page-hero p, .cta-band p { color: #C9D8DC; }
.hero-trust, .breadcrumb { color: #A9BEC4; }
.breadcrumb a { color: #fff; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; box-shadow: none; }
.hero-card li { color: #DCE6E8; }
.hero-card li::before { color: var(--orange); }
.stats-strip { background: var(--navy-2); }
.stat b { color: var(--orange); }
.stat span { color: #A9BEC4; }

/* cards: borderless, rounder, soft shadow */
.card, .form-card, .filter-bar, .article, .empty-state { border-color: transparent; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-hover:hover { box-shadow: var(--shadow-lg); }
.brand-logo { background: linear-gradient(140deg, var(--navy-3), var(--navy)); border-radius: 16px; }
.post-thumb { background: linear-gradient(130deg, var(--navy), var(--navy-3)); border-radius: 14px; }
.post-body h3 a:hover { color: var(--amber-ink); }
.article-content blockquote { border-left-color: var(--orange); background: var(--peach); }

/* badges */
.badge-teal, .badge-green { background: rgba(27, 74, 90, .08); color: var(--navy); }
.badge-navy { background: #EEF2F3; color: var(--navy); }
.badge-orange, .badge-amber { background: var(--peach); color: var(--amber-ink); }
.badge-red { background: rgba(242, 36, 6, .08); color: #B41C05; }

/* forms */
.field label { color: var(--ink); font-weight: 600; }
.input, select.input, textarea.input { border: 1.5px solid #E3E8E9; border-radius: 12px; background: #FBFCFC; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251, 171, 82, .25); }
.checkbox-row input { accent-color: var(--orange); }
.form-error { color: #C21D05; }

/* alerts */
.alert { border-radius: 14px; }
.alert-success { background: #E8F5EF; color: #146C4D; border-color: #BFE3D2; }
.alert-info { background: rgba(27, 74, 90, .06); color: var(--navy); border-color: rgba(27, 74, 90, .18); }
.alert-error { background: rgba(242, 36, 6, .07); color: #B41C05; border-color: rgba(242, 36, 6, .25); }

/* assessments */
.progress-fill { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.option-btn:hover { border-color: var(--orange); background: var(--peach); }
.option-btn.selected { border-color: var(--orange); background: var(--peach); color: var(--navy); }
.list-check li::before { background: rgba(27, 74, 90, .1); color: var(--navy); }
.list-warn li::before { background: var(--peach); color: var(--amber-ink); }
.disclaimer-box { background: var(--peach); border-color: rgba(251, 171, 82, .45); color: #7A4A0E; }
.fra-letter.done { background: var(--orange); }
.fra-q { border-color: var(--line); border-radius: var(--radius); }
.fra-q.missing { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251, 171, 82, .2); }
.fra-scale input:checked + span { border-color: var(--orange); background: var(--peach); }
.st-solid { background: rgba(27, 74, 90, .08); color: var(--navy); }

/* footer + cookie banner */
.site-footer { background: var(--navy); }
.site-footer, .site-footer a, .footer-brand p { color: #C9D8DC; }
.site-footer a:hover { color: #fff; }
.footer-bottom { color: #A9BEC4; border-top-color: rgba(255, 255, 255, .1); }
.newsletter-form .input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.newsletter-form .input::placeholder { color: #A9BEC4; }
.cookie-banner { border-color: transparent; border-radius: var(--radius); }
.header-ctas .btn { border-radius: 14px; line-height: 1.15; }
@media (min-width: 1680px) {
    .header-ctas .btn { border-radius: 999px; }
    .main-nav { gap: 2px; }
    .main-nav a { padding: 8px 10px; }
    .header-ctas .btn { max-width: none; white-space: nowrap; padding: 9px 14px; }
}

/* ---------- System review 2026-10-22 (W1 audience paths, W2 trust proof, W10 mobile bar): layout only, existing colours ---------- */
.audience-card { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.audience-card:hover { text-decoration: none; }
.audience-card > span.small { margin-top: auto; font-weight: 600; color: var(--amber-ink); }
.stats-grid.stats-auto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.trust-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.trust-proof { display: flex; gap: 18px; align-items: flex-start; }
.trust-logo { width: 96px; height: 96px; object-fit: contain; flex: none; }
.trust-cert-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 10px; }
.partner-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: inherit; }
.partner-tile:hover { text-decoration: none; }
.partner-logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 6px; }
.map-embed { margin-top: 16px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.topbar-page { display: none; }
@media (min-width: 1366px) {
    .main-nav .nav-secondary { display: none; } /* About/Contact move to the top strip so the audience paths fit one row */
    .topbar .topbar-page { display: inline; }
}
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
    .stats-grid.stats-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-proof { flex-direction: column; }
    .mobile-cta-bar {
        display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: var(--shadow-lg);
    }
    .mobile-cta-bar a {
        display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 0; padding: 0 8px;
        border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; font-size: 14px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .mobile-cta-bar a:hover { text-decoration: none; }
    .mobile-cta-bar .mobile-cta-primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .cookie-banner { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
