﻿:root {
    --so-orange: #FF6A00;
    --so-orange-600: #E45F00;
    --so-orange-50: #FFF4EC;
    --so-orange-100: #FFE7D4;
    --so-blue: #398bf7;
    --so-blue-600: #2670d8;
    --so-blue-50: #EEF5FF;
    --so-ink: #0a2540;
    --so-ink-2: #283747;
    --so-muted: #5f6d7e;
    --so-muted-2: #8a96a3;
    --so-border: #e3e8ef;
    --so-border-strong: #c9d2dc;
    --so-bg: #ffffff;
    --so-bg-soft: #f6f9fc;
    --so-bg-soft-2: #fafbfd;
    --so-success: #1c8a4e;
    --so-warn: #c47a00;
    --so-danger: #d0342c;
    --so-shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 1px rgba(10,37,64,.04);
    --so-shadow: 0 4px 12px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.05);
    --so-shadow-lg: 0 12px 32px rgba(10,37,64,.10), 0 4px 8px rgba(10,37,64,.05);
    --so-radius: 12px;
    --so-radius-sm: 8px;
    --so-radius-lg: 18px;
    --so-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --so-font-mono: "SF Mono", Menlo, Consolas, Monaco, "Liberation Mono", monospace;
}

/* ----- Base ----- */
html, body { background-color: var(--so-bg) !important; color: var(--so-ink); font-family: var(--so-font-sans); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.6; }
.so-page { background: var(--so-bg); }
a { color: var(--so-orange-600); }
a:hover { color: var(--so-orange); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { color: var(--so-ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 1.85rem; line-height: 1.2; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.so-eyebrow { text-transform: uppercase; font-size: .8rem; font-weight: 700; color: var(--so-orange); letter-spacing: .12em; }
.so-lead { font-size: 1.15rem; color: var(--so-muted); line-height: 1.6; }
.so-mono { font-family: var(--so-font-mono); }
.so-text-orange { color: var(--so-orange); }
.so-text-blue { color: var(--so-blue); }
.so-text-muted { color: var(--so-muted) !important; }
.so-text-ink { color: var(--so-ink) !important; }
.so-bg-soft { background: var(--so-bg-soft); }
.so-bg-orange-50 { background: var(--so-orange-50); }
.so-bg-blue-50 { background: var(--so-blue-50); }

::selection { background: var(--so-orange-100); color: var(--so-ink); }

/* ----- Container ----- */
.so-container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 768px) { .so-container { padding-left: 16px; padding-right: 16px; } }

/* ----- Navbar ----- */
.so-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--so-border);
}
.so-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.so-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--so-ink); text-decoration: none !important; font-size: 1.1rem; letter-spacing: -.01em; }
.so-brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%);
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 4px 12px rgba(255,106,0,.3);
}
.so-brand-mark svg { width: 22px; height: 22px; }
.so-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.so-brand-text small { font-weight: 500; color: var(--so-muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.so-nav-links { display: flex; align-items: center; gap: 4px; }
.so-nav-links a { padding: 8px 14px; color: var(--so-ink-2); font-weight: 500; border-radius: 8px; font-size: .95rem; transition: all .15s ease; }
.so-nav-links a:hover { background: var(--so-bg-soft); color: var(--so-ink); }
.so-nav-links a.active { background: var(--so-orange-50); color: var(--so-orange-600); }
.so-nav-cta {
    background: var(--so-ink); color: #fff !important; padding: 10px 18px; border-radius: 8px; font-weight: 600;
    margin-left: 12px; transition: all .15s ease;
}
.so-nav-cta:hover { background: var(--so-orange)!important; }

.so-nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.so-nav-toggle svg { width: 24px; height: 24px; color: var(--so-ink); }

@media (max-width: 992px) {
    .so-nav-toggle { display: block; }
    .so-nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px; background: #fff; border-bottom: 1px solid var(--so-border); align-items: stretch; box-shadow: var(--so-shadow); }
    .so-nav-links.open { display: flex; }
    .so-nav-links a { padding: 12px 16px; }
    .so-nav-cta { margin-left: 0; text-align: center; }
}

/* ----- Buttons ----- */
.so-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: all .15s ease; text-decoration: none !important; line-height: 1.2; }
.so-btn-primary { background: var(--so-orange); color: #fff !important; }
.so-btn-primary:hover { background: var(--so-orange-600); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,106,0,.25); color: #fff !important; }
.so-btn-secondary { background: var(--so-ink); color: #fff !important; }
.so-btn-secondary:hover { background: var(--so-ink-2); color: #fff !important; }
.so-btn-ghost { background: #fff; color: var(--so-ink) !important; border: 1px solid var(--so-border); }
.so-btn-ghost:hover { background: var(--so-bg-soft); border-color: var(--so-border-strong); }
.so-btn-blue { background: var(--so-blue); color: #fff !important; }
.so-btn-blue:hover { background: var(--so-blue-600); color: #fff !important; }
.so-btn-sm { padding: 6px 12px; font-size: .85rem; }

/* ----- Hero ----- */
.so-hero {
    position: relative; overflow: hidden; padding: 80px 0 72px;
    background: linear-gradient(180deg, #fff 0%, var(--so-bg-soft) 100%);
}
.so-hero::before {
    content: ""; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,106,0,.18) 0%, rgba(255,106,0,0) 70%); border-radius: 50%; pointer-events: none;
}
.so-hero::after {
    content: ""; position: absolute; bottom: -180px; left: -180px; width: 540px; height: 540px;
    background: radial-gradient(circle, rgba(57,139,247,.14) 0%, rgba(57,139,247,0) 70%); border-radius: 50%; pointer-events: none;
}
.so-hero-content { position: relative; z-index: 1; }
.so-hero h1 { font-size: 3.4rem; line-height: 1.05; max-width: 900px; }
.so-hero p.so-lead { max-width: 760px; margin-top: 18px; font-size: 1.25rem; }
.so-hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.so-hero-trust { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--so-muted); font-size: .9rem; }
@media (max-width: 768px) { .so-hero { padding: 56px 0 48px; } .so-hero h1 { font-size: 2.2rem; } .so-hero p.so-lead { font-size: 1.1rem; } }

/* ----- Page header ----- */
.so-page-head {
    padding: 56px 0 32px; background: linear-gradient(180deg, #fff 0%, var(--so-bg-soft) 100%); border-bottom: 1px solid var(--so-border);
    position: relative; overflow: hidden;
}
.so-page-head::before {
    content: ""; position: absolute; top: -100px; right: -80px; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(255,106,0,.10) 0%, rgba(255,106,0,0) 70%); border-radius: 50%; pointer-events: none;
}
.so-page-head h1 { font-size: 2.6rem; }
.so-page-head .so-lead { max-width: 760px; }
.so-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; color: var(--so-muted); font-size: .9rem; margin-bottom: 14px; position: relative; z-index: 1; }
.so-breadcrumb a { color: var(--so-muted); }
.so-breadcrumb a:hover { color: var(--so-orange); }
.so-breadcrumb .sep { color: var(--so-border-strong); }

/* ----- Sections ----- */
.so-section { padding: 20px 0; }
.so-section-tight { padding: 36px 0; }
.so-section-soft { background: var(--so-bg-soft); }
.so-section-head { margin-bottom: 36px; }
.so-section-head h2 { margin-bottom: 8px; }

/* ----- Cards ----- */
.so-card {
    background: #fff; border: 1px solid var(--so-border); border-radius: var(--so-radius); padding: 24px;
    transition: all .2s ease;
}
.so-card-hover:hover { transform: translateY(-3px); box-shadow: var(--so-shadow-lg); border-color: var(--so-border-strong); }
.so-card-link { display: block; text-decoration: none !important; color: inherit; }
.so-card-link:hover { color: inherit; }
.so-card-pad-lg { padding: 32px; }
.so-card-soft { background: var(--so-bg-soft); border: 1px solid var(--so-border); }

/* ----- Stat tile ----- */
.so-stat {
    background: #fff; border: 1px solid var(--so-border); border-radius: var(--so-radius); padding: 24px; height: 100%;
    position: relative; overflow: hidden; transition: all .2s ease;
}
.so-stat-orange { border-top: 4px solid var(--so-orange); }
.so-stat-blue { border-top: 4px solid var(--so-blue); }
.so-stat:hover { transform: translateY(-2px); box-shadow: var(--so-shadow); }
.so-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--so-orange-50); color: var(--so-orange); }
.so-stat-blue .so-stat-icon { background: var(--so-blue-50); color: var(--so-blue); }
.so-stat-icon svg { width: 22px; height: 22px; }
.so-stat-value { font-size: 2.4rem; font-weight: 800; line-height: 1.05; color: var(--so-ink); letter-spacing: -.02em; }
.so-stat-label { color: var(--so-muted); font-size: .95rem; line-height: 1.45; margin-top: 8px; }
.so-stat-source { display: block; margin-top: 12px; font-size: .78rem; color: var(--so-muted-2); }
.so-stat-source a { color: var(--so-muted); }

/* ----- Section tiles (big) ----- */
.so-section-tile {
    display: block; background: #fff; border: 1px solid var(--so-border); border-radius: 16px; padding: 28px;
    color: inherit; text-decoration: none !important; transition: all .2s ease; height: 100%;
    position: relative; overflow: hidden;
}
.so-section-tile:hover { transform: translateY(-4px); box-shadow: var(--so-shadow-lg); border-color: var(--so-border-strong); color: inherit; }
.so-section-tile::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--so-orange) 0%, var(--so-blue) 100%);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.so-section-tile:hover::after { transform: scaleX(1); }
.so-tile-icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%);
    color: #fff; margin-bottom: 20px; box-shadow: 0 6px 16px rgba(255,106,0,.22);
}
.so-tile-icon.blue { background: linear-gradient(135deg, var(--so-blue) 0%, #6aa6f9 100%); box-shadow: 0 6px 16px rgba(57,139,247,.22); }
.so-tile-icon.green { background: linear-gradient(135deg, #1c8a4e 0%, #4ec57f 100%); box-shadow: 0 6px 16px rgba(28,138,78,.22); }
.so-tile-icon.purple { background: linear-gradient(135deg, #6b46c1 0%, #9f7aea 100%); box-shadow: 0 6px 16px rgba(107,70,193,.22); }
.so-tile-icon svg { width: 28px; height: 28px; }
.so-section-tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.so-section-tile p { color: var(--so-muted); margin-bottom: 16px; line-height: 1.55; }
.so-tile-sub { display: flex; flex-wrap: wrap; gap: 6px; }
.so-tile-sub span { background: var(--so-bg-soft); color: var(--so-muted); border-radius: 6px; padding: 4px 10px; font-size: .82rem; font-weight: 500; }

/* ----- Best practice card ----- */
.so-bp-card { background: #fff; border: 1px solid var(--so-border); border-radius: var(--so-radius); padding: 28px; height: 100%; position: relative; transition: all .2s ease; }
.so-bp-card:hover { transform: translateY(-3px); box-shadow: var(--so-shadow-lg); }
.so-bp-num {
    position: absolute; top: 24px; right: 24px; font-size: 2.2rem; font-weight: 800;
    color: var(--so-orange-100); letter-spacing: -.05em; line-height: 1;
}
.so-bp-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--so-orange-50); color: var(--so-orange); margin-bottom: 20px; }
.so-bp-icon.blue { background: var(--so-blue-50); color: var(--so-blue); }
.so-bp-icon.green { background: #e9f7ef; color: var(--so-success); }
.so-bp-icon.orange { background: var(--so-orange-50); color: var(--so-orange); }
.so-bp-icon svg { width: 28px; height: 28px; }
.so-bp-card h3 { font-size: 1.2rem; margin-bottom: 8px; padding-right: 56px; }
.so-bp-tag { color: var(--so-orange); font-weight: 600; font-size: .92rem; margin-bottom: 12px; line-height: 1.45; }
.so-bp-card p { color: var(--so-muted); line-height: 1.55; margin-bottom: 16px; }
.so-bp-bullets { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px dashed var(--so-border); padding-top: 16px; }
.so-bp-bullets li { padding-left: 24px; position: relative; color: var(--so-ink-2); font-size: .92rem; margin-bottom: 8px; line-height: 1.5; }
.so-bp-bullets li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23FF6A00'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ----- Glossary ----- */
.so-filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; padding: 16px; background: var(--so-bg-soft); border: 1px solid var(--so-border); border-radius: 12px; }
.so-search-wrap { flex: 1 1 300px; position: relative; }
.so-search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--so-muted); pointer-events: none; }
.so-search-wrap input { width: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--so-border-strong); border-radius: 8px; font-size: .95rem; background: #fff; transition: border-color .15s ease; }
.so-search-wrap input:focus { outline: none; border-color: var(--so-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.12); }
.so-cat-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.so-chip {
    border: 1px solid var(--so-border-strong); background: #fff; color: var(--so-ink-2);
    padding: 7px 13px; border-radius: 999px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .15s ease;
}
.so-chip:hover { border-color: var(--so-orange); color: var(--so-orange); }
.so-chip.active { background: var(--so-orange); color: #fff; border-color: var(--so-orange); }

.so-gloss-card { background: #fff; border: 1px solid var(--so-border); border-radius: 12px; padding: 22px; height: 100%; transition: all .2s ease; }
.so-gloss-card:hover { transform: translateY(-2px); box-shadow: var(--so-shadow); border-color: var(--so-border-strong); }
.so-gloss-cat { display: inline-block; background: var(--so-orange-50); color: var(--so-orange); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
.so-gloss-card h4 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.so-gloss-def { color: var(--so-ink-2); font-size: .94rem; line-height: 1.55; margin-bottom: 12px; }
.so-gloss-ex { background: var(--so-bg-soft); border-left: 3px solid var(--so-blue); padding: 10px 14px; border-radius: 6px; font-size: .88rem; color: var(--so-ink-2); line-height: 1.5; }
.so-gloss-ex strong { color: var(--so-blue); }

/* ----- Challenge row ----- */
.so-challenge-row { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.so-challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 768px) { .so-challenge-grid { grid-template-columns: 1fr; } }
.so-challenge-side { padding: 28px; }
.so-challenge-problem { background: linear-gradient(135deg, #fff5f5 0%, #fff 100%); border-right: 1px solid var(--so-border); }
.so-challenge-remedy { background: linear-gradient(135deg, var(--so-orange-50) 0%, #fff 100%); }
@media (max-width: 768px) { .so-challenge-problem { border-right: 0; border-bottom: 1px solid var(--so-border); } }
.so-challenge-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.so-tag-problem { background: #ffe4e3; color: var(--so-danger); }
.so-tag-remedy { background: var(--so-orange-50); color: var(--so-orange); }
.so-challenge-title { background: var(--so-ink); color: #fff; padding: 16px 28px; }
.so-challenge-title h3 { color: #fff; font-size: 1.25rem; margin: 0; }
.so-challenge-side h4 { font-size: 1rem; margin-top: 18px; margin-bottom: 8px; color: var(--so-ink); }
.so-challenge-side p { color: var(--so-ink-2); line-height: 1.6; }
.so-challenge-side ul { padding-left: 20px; margin: 0; }
.so-challenge-side ul li { margin-bottom: 6px; line-height: 1.5; color: var(--so-ink-2); }

/* ----- Compliance ----- */
.so-comp-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 28px; height: 100%; transition: all .2s ease; }
.so-comp-card:hover { transform: translateY(-2px); box-shadow: var(--so-shadow); }
.so-comp-cat { display: inline-block; background: var(--so-blue-50); color: var(--so-blue); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 6px; margin-bottom: 12px; }
.so-comp-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.so-comp-card p { color: var(--so-muted); }
.so-callout { margin-top: 16px; padding: 14px 16px; background: var(--so-orange-50); border-left: 4px solid var(--so-orange); border-radius: 8px; }
.so-callout strong { color: var(--so-orange-600); display: block; margin-bottom: 4px; }
.so-callout p { color: var(--so-ink-2); margin: 0; font-size: .92rem; }

.so-statetable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--so-border); border-radius: 14px; overflow: hidden; }
.so-statetable th { background: var(--so-bg-soft); text-align: left; padding: 14px 16px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--so-muted); border-bottom: 1px solid var(--so-border); }
.so-statetable td { padding: 14px 16px; border-bottom: 1px solid var(--so-border); vertical-align: top; font-size: .92rem; color: var(--so-ink-2); }
.so-statetable tr:last-child td { border-bottom: 0; }
.so-risk-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.so-risk-very-high { background: #ffe4e3; color: var(--so-danger); }
.so-risk-high { background: #fff0e0; color: var(--so-orange-600); }
.so-risk-moderate { background: #fff7d6; color: var(--so-warn); }
.so-risk-lower { background: #e9f7ef; color: var(--so-success); }

/* ----- Quizzes ----- */
.so-quiz-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 28px; height: 100%; display: flex; flex-direction: column; transition: all .2s ease; position: relative; overflow: hidden; }
.so-quiz-card:hover { transform: translateY(-3px); box-shadow: var(--so-shadow-lg); }
.so-quiz-badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--so-orange-50); color: var(--so-orange); border-radius: 999px; font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.so-quiz-meta { display: flex; gap: 14px; color: var(--so-muted); font-size: .85rem; margin-bottom: 16px; }
.so-quiz-meta span { display: inline-flex; align-items: center; gap: 4px; }
.so-quiz-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.so-quiz-card p { color: var(--so-muted); flex: 1; line-height: 1.55; }

.so-quiz-runner { background: #fff; border: 1px solid var(--so-border); border-radius: 16px; box-shadow: var(--so-shadow); padding: 36px; }
.so-quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.so-quiz-progress span { flex: 1; height: 6px; border-radius: 999px; background: var(--so-border); }
.so-quiz-progress span.done { background: var(--so-orange); }
.so-quiz-progress span.current { background: var(--so-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.so-quiz-question { font-size: 1.4rem; font-weight: 700; color: var(--so-ink); margin-bottom: 24px; line-height: 1.3; }
.so-quiz-choices { list-style: none; padding: 0; margin: 0 0 24px; }
.so-quiz-choices li { margin-bottom: 10px; }
.so-quiz-choice {
    display: block; padding: 14px 18px; border: 1.5px solid var(--so-border); border-radius: 10px; cursor: pointer;
    transition: all .15s ease; background: #fff; color: var(--so-ink-2); font-size: .98rem;
}
.so-quiz-choice:hover { border-color: var(--so-orange); background: var(--so-orange-50); }
.so-quiz-choice.selected { border-color: var(--so-orange); background: var(--so-orange-50); color: var(--so-orange-600); font-weight: 600; }
.so-quiz-choice.correct { border-color: var(--so-success); background: #e9f7ef; color: var(--so-success); font-weight: 600; }
.so-quiz-choice.incorrect { border-color: var(--so-danger); background: #ffe4e3; color: var(--so-danger); font-weight: 600; }
.so-quiz-explain { background: var(--so-blue-50); border-left: 4px solid var(--so-blue); border-radius: 8px; padding: 16px 18px; margin-bottom: 18px; color: var(--so-ink-2); line-height: 1.55; }
.so-quiz-explain strong { color: var(--so-blue); display: block; margin-bottom: 4px; }
.so-quiz-actions { display: flex; gap: 10px; justify-content: flex-end; }

.so-quiz-result { text-align: center; padding: 30px 20px; }
.so-quiz-score { font-size: 3.5rem; font-weight: 800; color: var(--so-orange); letter-spacing: -.02em; line-height: 1; }
.so-quiz-result h2 { margin-top: 12px; }
.so-quiz-badge-earned {
    margin: 24px auto; max-width: 320px; background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%);
    color: #fff; padding: 24px; border-radius: 16px; box-shadow: 0 12px 32px rgba(255,106,0,.25);
}
.so-quiz-badge-earned svg { width: 56px; height: 56px; }
.so-quiz-badge-earned .badge-name { font-size: 1.3rem; font-weight: 800; margin-top: 12px; }
.so-quiz-badge-earned .badge-sub { font-size: .9rem; opacity: .9; margin-top: 4px; }

/* ----- FAQ ----- */
.so-faq-item { background: #fff; border: 1px solid var(--so-border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all .15s ease; }
.so-faq-item.match-hide { display: none; }
.so-faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--so-ink);
    background: #fff; border: 0; width: 100%; text-align: left;
}
.so-faq-question:hover { background: var(--so-bg-soft); }
.so-faq-question .so-faq-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--so-orange); margin-bottom: 4px; display: block; }
.so-faq-question .so-faq-q { font-size: 1.02rem; line-height: 1.45; }
.so-faq-question .so-faq-toggle { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s ease; color: var(--so-muted); }
.so-faq-item.open .so-faq-toggle { transform: rotate(180deg); color: var(--so-orange); }
.so-faq-answer { padding: 0 22px 0; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--so-ink-2); line-height: 1.65; }
.so-faq-item.open .so-faq-answer { max-height: 1000px; padding: 0 22px 22px; border-top: 1px solid var(--so-border); padding-top: 16px; }

/* ----- Tool selector wizard ----- */
.so-wizard { background: #fff; border: 1px solid var(--so-border); border-radius: 16px; box-shadow: var(--so-shadow); padding: 36px; max-width: 760px; margin: 0 auto; }
.so-wizard-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.so-wizard-step p.so-lead { font-size: 1rem; margin-bottom: 24px; }
.so-wizard-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .so-wizard-options { grid-template-columns: 1fr; } }
.so-wizard-option { padding: 18px 20px; border: 1.5px solid var(--so-border); border-radius: 10px; cursor: pointer; transition: all .15s ease; background: #fff; }
.so-wizard-option:hover { border-color: var(--so-orange); background: var(--so-orange-50); }
.so-wizard-option.selected { border-color: var(--so-orange); background: var(--so-orange-50); }
.so-wizard-option strong { display: block; color: var(--so-ink); font-size: 1rem; margin-bottom: 4px; }
.so-wizard-option span { color: var(--so-muted); font-size: .88rem; line-height: 1.45; }
.so-wizard-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.so-wizard-progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--so-border); }
.so-wizard-progress span.done { background: var(--so-orange); }
.so-wizard-progress span.current { background: var(--so-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.so-wizard-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; }

.so-rec-card {
    background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%);
    color: #fff; padding: 36px; border-radius: 16px; box-shadow: 0 12px 32px rgba(255,106,0,.20);
}
.so-rec-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.so-rec-card p { color: rgba(255,255,255,.92); font-size: 1.05rem; line-height: 1.55; }
.so-rec-card .so-btn-secondary { background: #fff; color: var(--so-orange) !important; }
.so-rec-card .so-btn-secondary:hover { background: var(--so-ink); color: #fff !important; }
.so-rec-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.so-rec-summary div { background: rgba(255,255,255,.16); padding: 12px 14px; border-radius: 10px; }
.so-rec-summary span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.so-rec-summary strong { font-size: 1rem; }

/* ----- Calculators ----- */
.so-calc { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 28px; height: 100%; }
.so-calc h3 { font-size: 1.2rem; margin-bottom: 6px; }
.so-calc p { color: var(--so-muted); margin-bottom: 18px; font-size: .92rem; }
.so-calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
@media (max-width: 600px) { .so-calc-row { grid-template-columns: 1fr; } }
.so-calc-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--so-ink-2); margin-bottom: 6px; }
.so-calc-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--so-border-strong); border-radius: 8px; font-size: .95rem; }
.so-calc-field input:focus { outline: none; border-color: var(--so-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.12); }
.so-calc-output {
    margin-top: 18px; padding: 18px; background: var(--so-bg-soft); border-radius: 10px; border: 1px solid var(--so-border);
}
.so-calc-output-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.so-calc-output-row span { color: var(--so-muted); font-size: .9rem; }
.so-calc-output-row strong { color: var(--so-ink); font-size: 1.1rem; font-weight: 700; margin-left: 5px; }
.so-calc-output-row.primary strong { color: var(--so-orange); font-size: 1.4rem; }

/* ----- Structure card ----- */
.so-struct-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 24px; height: 100%; transition: all .2s ease; display: flex; flex-direction: column; }
.so-struct-card:hover { transform: translateY(-3px); box-shadow: var(--so-shadow-lg); }
.so-struct-cat { display: inline-block; background: var(--so-blue-50); color: var(--so-blue); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 6px; margin-bottom: 12px; }
.so-struct-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--so-orange-50); color: var(--so-orange); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.so-struct-icon svg { width: 26px; height: 26px; }
.so-struct-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.so-struct-one { color: var(--so-muted); font-size: .92rem; line-height: 1.5; margin-bottom: 14px; flex: 1; }
.so-struct-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.so-struct-meta span { background: var(--so-bg-soft); color: var(--so-muted); border-radius: 6px; padding: 3px 8px; font-size: .78rem; font-weight: 500; }
.so-struct-card .so-btn { align-self: flex-start; }

/* ----- Structure detail ----- */
.so-struct-detail { background: #fff; border: 1px solid var(--so-border); border-radius: 16px; padding: 36px; margin-bottom: 24px; }
.so-struct-formula { background: var(--so-ink); color: #fff; padding: 18px 22px; border-radius: 10px; font-family: var(--so-font-mono); font-size: .95rem; line-height: 1.5; margin: 18px 0; }
.so-struct-example { background: var(--so-blue-50); border-left: 4px solid var(--so-blue); border-radius: 8px; padding: 18px 22px; margin: 18px 0; line-height: 1.6; color: var(--so-ink-2); }
.so-struct-example strong { color: var(--so-blue); }
.so-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .so-pros-cons { grid-template-columns: 1fr; } }
.so-pros, .so-cons { padding: 18px 22px; border-radius: 10px; border: 1px solid var(--so-border); }
.so-pros { background: #f4faf6; border-color: #cfe9d8; }
.so-cons { background: #fdf3f3; border-color: #f1c8c5; }
.so-pros h4, .so-cons h4 { font-size: 1rem; margin-bottom: 10px; }
.so-pros h4 { color: var(--so-success); }
.so-cons h4 { color: var(--so-danger); }
.so-pros ul, .so-cons ul { margin: 0; padding-left: 20px; }
.so-pros li, .so-cons li { margin-bottom: 6px; line-height: 1.5; color: var(--so-ink-2); font-size: .92rem; }

/* ----- Playbook step ----- */
.so-step { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 28px; border-radius: 14px; background: #fff; border: 1px solid var(--so-border); margin-bottom: 24px; }
.so-step-num {
    width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800;
    box-shadow: 0 6px 16px rgba(255,106,0,.22);
}
.so-step-num.blue { background: linear-gradient(135deg, var(--so-blue) 0%, #6aa6f9 100%); box-shadow: 0 6px 16px rgba(57,139,247,.22); }
.so-step-num.green { background: linear-gradient(135deg, #1c8a4e 0%, #4ec57f 100%); box-shadow: 0 6px 16px rgba(28,138,78,.22); }
.so-step-content { padding-top: 4px; }
.so-step-title { font-size: 1.5rem; font-weight: 700; color: var(--so-ink); margin-bottom: 4px; }
.so-step-sub { color: var(--so-orange); font-weight: 600; margin-bottom: 12px; font-size: .98rem; }
.so-step-desc { color: var(--so-ink-2); line-height: 1.6; margin-bottom: 18px; }
.so-step-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 768px) { .so-step-grid { grid-template-columns: 1fr; } .so-step { grid-template-columns: 1fr; gap: 16px; } }
.so-step-col { background: var(--so-bg-soft); border-radius: 10px; padding: 16px; border: 1px solid var(--so-border); }
.so-step-col h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--so-muted); margin-bottom: 10px; }
.so-step-col ul { margin: 0; padding-left: 18px; }
.so-step-col li { margin-bottom: 6px; line-height: 1.5; color: var(--so-ink-2); font-size: .9rem; }
.so-step-col.risks h5 { color: var(--so-danger); }

/* ----- Process flow / infographic ----- */
.so-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 24px 0 12px; }
@media (max-width: 1000px) { .so-flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .so-flow { grid-template-columns: repeat(2, 1fr); } }
.so-flow-cell {
    background: #fff; border: 1px solid var(--so-border); border-radius: 12px; padding: 14px;
    text-align: center; position: relative;
}
.so-flow-cell strong { display: block; color: var(--so-ink); font-size: .98rem; margin-bottom: 2px; }
.so-flow-cell span { color: var(--so-muted); font-size: .8rem; line-height: 1.3; display: block; }
.so-flow-cell::after {
    content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--so-orange); font-weight: 800; font-size: 1.2rem;
    z-index: 1;
}
.so-flow-cell:last-child::after { content: ""; }
@media (max-width: 1000px) { .so-flow-cell:nth-child(3n)::after { content: ""; } }
@media (max-width: 600px) { .so-flow-cell:nth-child(2n)::after { content: ""; } }

/* ----- Capability card (automation) ----- */
.so-cap-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 24px; height: 100%; }
.so-cap-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.so-cap-card p { color: var(--so-ink-2); line-height: 1.55; font-size: .94rem; margin-bottom: 14px; }
.so-cap-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--so-orange-50); color: var(--so-orange); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.so-cap-icon svg { width: 24px; height: 24px; }
.so-pain-gain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--so-border); }
.so-pain { background: #fdf3f3; border-radius: 8px; padding: 10px 12px; }
.so-gain { background: #f4faf6; border-radius: 8px; padding: 10px 12px; }
.so-pain h6, .so-gain h6 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.so-pain h6 { color: var(--so-danger); }
.so-gain h6 { color: var(--so-success); }
.so-pain p, .so-gain p { font-size: .82rem; line-height: 1.4; color: var(--so-ink-2); margin: 0; }

/* ----- Roles ----- */
.so-role-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 24px; height: 100%; }
.so-role-card .so-role-fn { color: var(--so-orange); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.so-role-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.so-role-mission { color: var(--so-ink-2); line-height: 1.55; font-size: .94rem; margin-bottom: 14px; }
.so-role-meta { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--so-border); border-bottom: 1px solid var(--so-border); margin-bottom: 14px; }
.so-role-meta div { flex: 1; }
.so-role-meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--so-muted); display: block; margin-bottom: 4px; }
.so-role-meta strong { font-size: .92rem; color: var(--so-ink); }
.so-role-card ul { margin: 0; padding-left: 18px; }
.so-role-card ul li { margin-bottom: 6px; line-height: 1.5; color: var(--so-ink-2); font-size: .9rem; }

/* ----- Badge shelf ----- */
.so-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.so-badge {
    width: 130px; padding: 18px 14px; background: #fff; border: 1.5px solid var(--so-border); border-radius: 14px;
    text-align: center; transition: all .2s ease;
}
.so-badge.earned { border-color: var(--so-orange); background: linear-gradient(135deg, var(--so-orange-50) 0%, #fff 100%); box-shadow: 0 6px 16px rgba(255,106,0,.12); }
.so-badge.locked { opacity: .5; filter: grayscale(.6); }
.so-badge-icon {
    width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--so-bg-soft); color: var(--so-muted-2);
}
.so-badge.earned .so-badge-icon { background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%); color: #fff; box-shadow: 0 6px 16px rgba(255,106,0,.22); }
.so-badge-icon svg { width: 28px; height: 28px; }
.so-badge-name { font-weight: 700; color: var(--so-ink); font-size: .88rem; line-height: 1.3; }
.so-badge-status { font-size: .75rem; color: var(--so-muted); margin-top: 4px; padding: 4px; border: solid 1px orange; border-radius: 5px; }
.so-badge.earned .so-badge-status { color: var(--so-orange); font-weight: 600; }

/* ----- Activity feed + Recommended ----- */
.so-activity-card, .so-recommend-card { background: #fff; border: 1px solid var(--so-border); border-radius: 14px; padding: 24px; height: 100%; }
.so-activity-list { list-style: none; padding: 0; margin: 0; }
.so-activity-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--so-border); align-items: flex-start; }
.so-activity-list li:last-child { border-bottom: 0; }
.so-activity-list .dot { width: 8px; height: 8px; background: var(--so-orange); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.so-activity-list a { color: var(--so-ink); font-weight: 500; font-size: .94rem; display: block; line-height: 1.4; }
.so-activity-list span { color: var(--so-muted); font-size: .78rem; }
.so-activity-empty { color: var(--so-muted); font-size: .9rem; padding: 16px 0; }

.so-reco-list { display: flex; flex-direction: column; gap: 10px; }
.so-reco-item {
    display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--so-border);
    border-radius: 10px; background: #fff; text-decoration: none !important; color: inherit; transition: all .15s ease;
}
.so-reco-item:hover { border-color: var(--so-orange); background: var(--so-orange-50); transform: translateX(4px); color: inherit; }
.so-reco-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--so-orange-50); color: var(--so-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.so-reco-text { flex: 1; }
.so-reco-text strong { display: block; color: var(--so-ink); font-size: .94rem; line-height: 1.3; }
.so-reco-text span { color: var(--so-muted); font-size: .82rem; }

/* ----- Footer ----- */
.so-footer { background: var(--so-ink); color: #fff; padding: 56px 0 28px; margin-top: 80px; }
.so-footer .so-container { color: #fff; }
.so-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 768px) { .so-footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.so-footer h5 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.so-footer ul { list-style: none; padding: 0; margin: 0; }
.so-footer ul li { margin-bottom: 8px; }
.so-footer a { color: rgba(255,255,255,.72); font-size: .92rem; }
.so-footer a:hover { color: #fff; }
.so-footer p { color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.55; }
.so-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.so-footer-brand .so-brand-mark { background: linear-gradient(135deg, var(--so-orange) 0%, #ff8a3c 100%); }
.so-footer-brand .so-brand-text { color: #fff; }
.so-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.6); font-size: .85rem; }

/* ----- Misc utilities ----- */
.so-divider { height: 1px; background: var(--so-border); margin: 28px 0; }
.so-grid { display: grid; gap: 20px; }
.so-mt-0 { margin-top: 0 !important; }
.so-mt-1 { margin-top: 8px !important; }
.so-mt-2 { margin-top: 16px !important; }
.so-mt-3 { margin-top: 24px !important; }
.so-mt-4 { margin-top: 32px !important; }
.so-mb-0 { margin-bottom: 0 !important; }
.so-mb-2 { margin-bottom: 16px !important; }
.so-mb-3 { margin-bottom: 24px !important; }
.so-py-2 { padding-top: 16px; padding-bottom: 16px; }
.so-py-3 { padding-top: 24px; padding-bottom: 24px; }
.so-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--so-orange-50); color: var(--so-orange); }
.so-pill.blue { background: var(--so-blue-50); color: var(--so-blue); }
.so-pill.gray { background: var(--so-bg-soft); color: var(--so-muted); }

.so-no-results { padding: 32px; text-align: center; color: var(--so-muted); font-size: .95rem; background: var(--so-bg-soft); border-radius: 12px; }
.so-no-results.hide { display: none; }
.match-hide { display: none !important; }

.so-cta-banner {
    background: linear-gradient(135deg, var(--so-ink) 0%, #1c3a5e 100%);
    color: #fff; padding: 44px; border-radius: 16px; margin: 60px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.so-cta-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.so-cta-banner p { color: rgba(255,255,255,.85); margin: 0; max-width: 540px; }
