/* ─── Design tokens ────────────────────────────────────── */
:root {
    --green:        #1A3C2A;
    --green-mid:    #245235;
    --green-light:  #2E6642;
    --amber:        #F59E0B;
    --amber-dark:   #D97706;
    --amber-pale:   #FFFBEB;
    --off-white:    #F8FAFC;
    --white:        #FFFFFF;
    --slate-100:    #F1F5F9;
    --slate-200:    #E2E8F0;
    --slate-300:    #CBD5E1;
    --slate-400:    #94A3B8;
    --slate-600:    #475569;
    --slate-700:    #334155;
    --slate-900:    #0F172A;
    --radius:       10px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.09);
}

/* ─── Base ─────────────────────────────────────────────── */
body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--off-white);
    color: var(--slate-900);
    font-size: 1rem;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: var(--green);
}

/* ─── Header ───────────────────────────────────────────── */
.site-header {
    background-color: var(--green);
    padding: 0.875rem 0;
    border-bottom: 3px solid var(--amber);
}
.site-header .brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.site-header .brand em {
    color: var(--amber);
    font-style: normal;
}
.site-header nav a {
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    text-decoration: none;
    margin-left: 1.25rem;
    transition: color 0.15s;
}
.site-header nav a:hover { color: #fff; }

/* ─── Hero strip ───────────────────────────────────────── */
.hero-strip {
    background-color: #1A3C2A;
    padding: 2.25rem 0 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
/* Grain texture overlay via SVG feTurbulence */
.hero-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}
.hero-strip .container { position: relative; z-index: 1; }
.hero-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.35rem;
}
.hero-strip h1 {
    color: #fff;
    font-size: clamp(1.65rem, 3.5vw, 2.4rem);
    margin-bottom: 0.4rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.hero-strip .tagline {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.35);
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    margin-top: 0.75rem;
}

/* ─── Cards ────────────────────────────────────────────── */
.calc-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

/* ─── Section headings ─────────────────────────────────── */
.section-heading {
    font-size: 1.25rem;
    color: var(--green);
    border-bottom: 2px solid var(--amber);
    padding-bottom: 0.4rem;
    margin-bottom: 1.25rem;
}

/* ─── Form controls ────────────────────────────────────── */
.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 0.3rem;
}
.form-control, .form-select {
    border-color: var(--slate-200);
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    color: var(--slate-900);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(46,102,66,0.12);
    outline: none;
}
.input-group-text {
    background: var(--slate-100);
    border-color: var(--slate-200);
    color: var(--slate-600);
    font-weight: 600;
}
.form-text {
    font-size: 0.78rem;
    color: var(--slate-400);
    margin-top: 0.3rem;
}

/* ─── Wizard ───────────────────────────────────────────── */
.wizard-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}
.wizard-header {
    background: var(--green);
    display: flex;
}
.wizard-step-tab {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.wizard-step-tab:last-child { border-right: none; }
.wizard-step-tab.active {
    background: rgba(245,158,11,0.12);
    border-bottom: 3px solid var(--amber);
}
.wizard-step-tab.complete { background: rgba(255,255,255,0.04); }
.step-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.4);
    background: transparent;
    transition: all 0.2s;
}
.wizard-step-tab.active .step-bubble {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--green);
}
.wizard-step-tab.complete .step-bubble {
    background: var(--green-light);
    border-color: var(--green-light);
    color: #fff;
}
.step-label-main {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}
.step-label-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255,255,255,0.42);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
.wizard-body { padding: 1.75rem; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.step-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.step-num-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Injury type card-select */
.injury-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.injury-option {
    border: 2px solid var(--slate-200);
    border-radius: 8px;
    padding: 0.9rem 0.75rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.15s, background 0.15s;
    text-align: center;
    position: relative;
    background: var(--white);
    user-select: none;
}
.injury-option input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.injury-option:hover {
    border-color: var(--green-light);
    background: #F0F7F3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26,60,42,0.13);
}
.injury-option.selected {
    border-color: var(--green);
    background: #EBF4EE;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26,60,42,0.15);
}
.inj-code {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.inj-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.inj-check {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 16px;
    height: 16px;
    background: var(--green);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
}
.injury-option.selected .inj-check { display: flex; }

/* Wizard footer */
.wizard-footer {
    padding: 1rem 1.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--slate-100);
}
.step-dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-200);
    transition: all 0.2s;
}
.step-dot.active {
    background: var(--green);
    width: 24px;
    border-radius: 4px;
}
.step-dot.complete { background: var(--green-light); }

/* Buttons */
.btn-prev {
    background: transparent;
    border: 1.5px solid var(--slate-200);
    color: var(--slate-600);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    border-radius: 7px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: border-color 0.15s, color 0.15s;
}
.btn-prev:hover {
    border-color: var(--slate-400);
    color: var(--slate-900);
}
.btn-next {
    background: var(--green);
    border: none;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.6rem 1.75rem;
    border-radius: 7px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.15s;
}
.btn-next:hover { background: var(--green-light); }
.btn-next:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-calculate-final {
    background: var(--amber);
    border: none;
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.7rem 2rem;
    border-radius: 7px;
    cursor: pointer;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
    transition: background 0.15s, box-shadow 0.15s;
}
.btn-calculate-final:hover {
    background: var(--amber-dark);
    box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.btn-calculate-final:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Results ──────────────────────────────────────────── */
#results-section { display: none; }

/* Staggered reveal */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.results-revealed .result-flank:first-child {
    animation: fadeSlideUp 0.42s ease both;
    animation-delay: 0.05s;
}
.results-revealed .result-center {
    animation: fadeSlideUp 0.42s ease both;
    animation-delay: 0.16s;
}
.results-revealed .result-flank:last-child {
    animation: fadeSlideUp 0.42s ease both;
    animation-delay: 0.26s;
}
.results-revealed .breakdown-card {
    animation: fadeSlideUp 0.42s ease both;
    animation-delay: 0.38s;
}
.results-revealed .formula-note-box,
.results-revealed .disclaimer-strip {
    animation: fadeIn 0.4s ease both;
    animation-delay: 0.55s;
}

.results-band {
    background: var(--green);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}
.result-row {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
}
.result-flank {
    flex: 0 0 27%;
    background: var(--green-mid);
    padding: 1.35rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid rgba(245,158,11,0.25);
}
.result-flank .flank-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.3rem;
}
.result-flank .flank-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
    line-height: 1;
}
.result-flank .flank-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.3rem;
}
.result-center {
    flex: 1;
    background: var(--white);
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 4px solid var(--amber);
    position: relative;
}
.result-center::before {
    content: 'MOST LIKELY';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.18rem 0.8rem;
    border-radius: 0 0 6px 6px;
}
.center-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    letter-spacing: -0.02em;
}
.center-basis {
    font-size: 0.78rem;
    color: var(--green-light);
    font-weight: 600;
    margin-top: 0.25rem;
}
.center-formula {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.2rem;
}
.range-bar-wrap {
    margin-top: 0.85rem;
    width: 100%;
    max-width: 220px;
}
.range-bar-track {
    height: 5px;
    background: var(--slate-200);
    border-radius: 3px;
    position: relative;
}
.range-bar-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0; right: 0;
    background: linear-gradient(to right, var(--slate-300), var(--amber), var(--slate-300));
    border-radius: 3px;
}
.range-bar-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
    background: var(--amber);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: left 0.5s ease;
}
.range-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--slate-400);
    margin-top: 0.3rem;
}

/* ─── Breakdown table ──────────────────────────────────── */
.breakdown-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.breakdown-header {
    background: var(--green);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.breakdown-header h3 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 0.02em;
}
.amber-pill {
    background: rgba(245,158,11,0.18);
    border: 1px solid rgba(245,158,11,0.35);
    color: var(--amber);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.breakdown-table-wrap { overflow-x: auto; }
table.breakdown {
    width: 100%;
    border-collapse: collapse;
}
table.breakdown thead th {
    background: #F0F7F3;
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid #C6E0CB;
    white-space: nowrap;
}
table.breakdown tbody tr {
    border-bottom: 1px solid var(--slate-100);
    transition: background 0.1s;
}
table.breakdown tbody tr:last-child { border-bottom: none; }
table.breakdown tbody tr:hover { background: #FAFCFA; }
table.breakdown td {
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
    vertical-align: middle;
}
.step-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-circle.total { background: var(--amber-dark); font-size: 1rem; }
.step-name {
    font-weight: 600;
    color: var(--slate-700);
    font-size: 0.875rem;
    line-height: 1.3;
}
.step-statute {
    font-size: 0.7rem;
    color: var(--slate-400);
    font-style: italic;
}
.formula-chip {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: var(--slate-600);
    background: var(--slate-100);
    padding: 0.22rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    word-break: break-all;
}
.result-cell-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}
.result-cell-val.total {
    font-size: 1.35rem;
    color: var(--amber-dark);
}
tr.total-row td { background: #F0F7F3; border-top: 2px solid #C6E0CB; }

/* Formula note box */
.formula-note-box {
    padding: 0.8rem 1.25rem;
    background: #EBF4EE;
    border-left: 4px solid var(--green-light);
    font-size: 0.82rem;
    color: var(--green);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Disclaimer */
.disclaimer-strip {
    background: var(--amber-pale);
    border: 1px solid #FCD34D;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #78350F;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.disclaimer-box {
    background: var(--amber-pale);
    border: 1px solid #FCD34D;
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    color: #78350F;
}

/* Formula note (state page formula boxes) */
.formula-note {
    background-color: #EBF4EE;
    border-left: 4px solid var(--green-light);
    padding: 0.85rem 1rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    color: var(--green);
}

/* State pills */
.state-pills a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    margin: 0.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--green-light);
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.02em;
    transition: all 0.15s;
}
.state-pills a:hover, .state-pills a.active {
    background-color: var(--green);
    color: #fff;
    border-color: var(--green);
}

/* Adsense slot */
.adsense-slot {
    background-color: var(--slate-100);
    border: 2px dashed var(--slate-300);
    border-radius: var(--radius);
    text-align: center;
    padding: 2rem 1rem;
    color: var(--slate-400);
    font-size: 0.8rem;
}
.sidebar-sticky {
    position: sticky;
    top: 1.25rem;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-weight: 600;
    color: var(--green);
    font-size: 0.95rem;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.01em;
    padding: 0.85rem 0;
    cursor: pointer;
}
.faq-answer {
    color: var(--slate-600);
    font-size: 0.9rem;
    padding-bottom: 0.85rem;
    display: none;
}
.faq-answer.show { display: block; }

/* Mobile inline ad */
.mobile-inline-ad { display: none; }
@media (max-width: 767px) { .mobile-inline-ad { display: block; } }

/* ─── Mobile Off-Canvas Navigation ────────────────── */
.mobile-hamburger {
    display: none;
    background: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    padding: 0.3rem 0.55rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.4rem;
    line-height: 1;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.mobile-hamburger:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.45);
}
@media (max-width: 991.98px) {
    .mobile-hamburger { display: flex; }
}

.mobile-offcanvas {
    max-width: 280px !important;
    width: 280px !important;
    background-color: #1A3C2A !important;
    border-right: 1px solid rgba(245,158,11,0.2) !important;
}
.mobile-offcanvas .offcanvas-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: #1A3C2A;
}
.mobile-nav-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.mobile-nav-brand em {
    color: var(--amber);
    font-style: normal;
}
.mobile-nav-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    transition: color 0.15s, background 0.15s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-nav-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}
.mobile-offcanvas .offcanvas-body {
    padding: 0.5rem 0 0;
    background-color: #1A3C2A;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav-links { flex: 1; }
.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 14px 20px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-family: 'Source Sans 3', 'Barlow', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-left-color 0.15s;
}
.mobile-nav-item i {
    color: var(--amber);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.mobile-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
    border-left-color: var(--amber);
}
.mobile-nav-item.active {
    color: #fff;
    border-left-color: var(--amber);
    background: rgba(245,158,11,0.09);
}
.mobile-nav-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.6rem 20px 0.4rem;
}
.mobile-nav-divider::before,
.mobile-nav-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(245,158,11,0.35);
}
.mobile-nav-divider span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--amber);
    white-space: nowrap;
}
.mobile-nav-footer {
    padding: 0.85rem 20px 1.25rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.71rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Spinner */
.spinner-border-sm { width: 1rem; height: 1rem; }

/* Footer */
.site-footer {
    background-color: var(--green);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    padding: 2rem 0;
    margin-top: 3rem;
}
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

/* ─── Header Resources dropdown ───────────────────────── */
.site-header .nav-resources-toggle {
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    text-decoration: none;
    margin-left: 1.25rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    transition: color 0.15s;
    line-height: inherit;
}
.site-header .nav-resources-toggle:hover,
.site-header .nav-resources-toggle.show {
    color: #fff;
}
.site-header .nav-resources-toggle::after {
    opacity: 0.65;
    vertical-align: 0.12em;
}
.header-resources-menu {
    background: var(--green);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    margin-top: 0.4rem !important;
    padding: 0.4rem 0;
}
.header-resources-menu .dropdown-item {
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    padding: 0.55rem 1.1rem;
    transition: color 0.15s, background 0.15s;
}
.header-resources-menu .dropdown-item:hover,
.header-resources-menu .dropdown-item:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 575px) {
    .result-row { flex-direction: column; }
    .result-flank {
        flex: none;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
    }
    .result-flank .flank-amount { font-size: 1.4rem; }
    .center-amount { font-size: 3rem; }
    .wizard-step-tab { padding: 0.65rem 0.5rem; gap: 0.35rem; }
    .step-label-sub { display: none; }
    .step-bubble { width: 24px; height: 24px; font-size: 0.78rem; }
    .wizard-body { padding: 1.25rem; }
    .wizard-footer { padding: 0.85rem 1.25rem 1.25rem; }
}


/* ═══════════════════════════════════════════════════════
   UTILITY CLASSES — extracted from inline styles
   ═══════════════════════════════════════════════════════ */

/* ── Footer inline styles ── */
.footer-col-heading { color: #fff; }
.footer-info-text { font-size: 0.75rem; }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 1rem 0; }

/* ── Section-heading size modifiers (placed after base rule so same-specificity override works) ── */
.section-heading-xs { font-size: 1rem; }
.section-heading-sm { font-size: 1.1rem; }
.section-heading-md { font-size: 1.15rem; }

/* ── Form sizing ── */
.select-sm  { max-width: 320px; }
.input-sm   { max-width: 200px; }
.injury-grid-max { max-width: 460px; }
.label-hint { font-weight: 400; color: var(--slate-400); }

/* ── Results panel ── */
.result-flank-right { border-left: 1px solid rgba(255,255,255,0.06); }
.breakdown-th-step    { width: 30%; }
.breakdown-th-formula { width: 38%; }
.breakdown-th-sm      { width: 16%; }

/* ── Feature cards (calculator/index) ── */
.feature-card {
    background: #eef4ff;
    border-radius: 6px;
    border-left: 3px solid #1e5fa8;
}
.feature-card-title { color: #1a2744; }
.feature-card-body  { font-size: 0.875rem; }

/* ── Sidebar ── */
.sidebar-heading       { font-size: 1rem; margin-bottom: 0.75rem; }
.sidebar-link          { color: #1a2744; font-size: 0.9rem; }
.sidebar-link-abbr     { color: #1e5fa8; font-size: 0.8rem; }
.sidebar-link-dark     { color: #1A3C2A; font-size: 0.9rem; }
.sidebar-link-abbr-green { color: #2E6642; font-size: 0.8rem; }
.sidebar-note          { font-size: 0.78rem; color: #6c757d; }
.trust-list            { font-size: 0.85rem; line-height: 1.8; padding-left: 1.2rem; }
.list-relaxed          { font-size: 0.9rem; line-height: 1.8; }

/* ── State calculator page ── */
.hero-breadcrumb-nav  { margin-bottom: 0.5rem; }
.breadcrumb-hero      { font-size: 0.8rem; background: none; padding: 0; margin: 0; }
.breadcrumb-link-hero { color: #a8c4e8; }
.breadcrumb-active-hero { color: rgba(255,255,255,0.7); }
.state-overview       { font-size: 0.95rem; line-height: 1.75; }
.formula-text         { font-size: 0.9rem; line-height: 1.75; }
.body-part-heading    { font-size: 1rem; color: #1A3C2A; }
.thead-green          { background: #1A3C2A; color: #fff; }
.steps-list           { font-size: 0.9rem; line-height: 2; }
.formula-glance-text  { font-size: 0.82rem; line-height: 1.6; }
.settlement-text      { font-size: 0.9rem; }
.table-sm-text        { font-size: 0.85rem; }
.table-base-text      { font-size: 0.875rem; }

/* ── Static pages ── */
.page-title    { font-size: 1.75rem; margin-bottom: 1.25rem; }
.page-title-sm { font-size: 1.75rem; margin-bottom: 0.5rem; }
.page-title-xs { font-size: 1.75rem; margin-bottom: 0.4rem; }
.page-subtitle    { color: var(--slate-400); font-size: 0.82rem; margin-bottom: 1.25rem; }
.page-subtitle-lg { color: var(--slate-400); font-size: 0.82rem; margin-bottom: 1.75rem; }
.contact-intro { color: var(--slate-600); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* Success alert (contact form) */
.success-alert {
    background: #EBF4EE;
    border: 1px solid #C6E0CB;
    border-left: 4px solid var(--green-light);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.success-alert-icon  { font-size: 1.1rem; line-height: 1; }
.success-alert-title { color: var(--green); font-size: 0.9rem; }
.success-alert-text  { color: var(--green); font-size: 0.875rem; margin: 0.25rem 0 0; }

/* Char counter (contact form) */
.char-counter { font-size: 0.78rem; color: var(--slate-400); font-weight: 400; }

/* Submit button full-width variant */
.btn-next-submit { padding: 0.75rem; }

/* Section horizontal rule */
.section-divider-top { border-top: 1px solid var(--slate-100); }

/* Legal content lists */
.content-list { font-size: 0.9rem; line-height: 1.9; }

/* ── Net Settlement (Optional) ──────────────────────────── */
.net-settlement-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.net-settlement-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    border-bottom: 2px solid var(--amber);
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
}
.net-payout-breakdown {
    background: #F8FAF9;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 0.9rem 1.1rem 0.75rem;
}
.net-payout-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--slate-700);
    padding: 0.3rem 0;
}
.net-payout-deduct {
    color: var(--slate-400);
}
.net-payout-divider {
    border-top: 1px solid var(--slate-200);
    margin: 0.45rem 0;
}
.net-payout-total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
}
.net-payout-note {
    font-size: 0.78rem;
    color: var(--slate-400);
    font-style: italic;
    margin: 0.65rem 0 0;
}
