:root
{
    --red:#D71920;
    --red-dark:#B01015;
    --navy:#14243A;
    --navy-2:#1d3350;
    --white:#fff;
    --off:#F7F6F2;
    --char:#252A31;
    --gold:#C7A45B;
    --muted:#5d6672;
    --line:#e3e0d8;
    --radius:10px;
    --shadow:0 6px 24px rgba(20,36,58,.10);
    --wrap:1420px;
    --font-head:Georgia,"Times New Roman",serif;
    --font-body:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    font-family: var(--font-body);
    color: var(--char);
    background: #fff;
    line-height: 1.65;
    font-size: 17px;
    overflow-x: hidden;
}

img, svg
{
    max-width: 100%;
    height: auto;
    display: block;
}

a
{
    color: var(--red);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

    a:hover
    {
        color: var(--red-dark);
    }

h1, h2, h3, h4
{
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 .6em;
}

h1
{
    font-size: clamp(2rem,4.5vw,3.2rem);
}

h2
{
    font-size: clamp(1.6rem,3vw,2.2rem);
}

h3
{
    font-size: 1.25rem;
}

h4
{
    font-size: 1.05rem;
}

p
{
    margin: 0 0 1em;
}

:focus-visible
{
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.wrap
{
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

.section
{
    padding: 14px 0;
}

    .section.alt
    {
        background: var(--off);
    }

    .section.dark
    {
        background: var(--navy);
        color: #e8edf4;
    }

        .section.dark h2, .section.dark h3
        {
            color: #fff;
        }

.eyebrow
{
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-bottom: .6rem;
}

.section.dark .eyebrow
{
    color: var(--gold);
}

.lead
{
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 720px;
}

.section.dark .lead
{
    color: #c9d3e0;
}

.section-head
{
    margin-bottom: 34px;
}

.center
{
    text-align: center;
}

    .center .lead
    {
        margin-left: auto;
        margin-right: auto;
    }

.skip
{
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    padding: 10px;
    z-index: 100;
}

    .skip:focus
    {
        left: 10px;
    }

/* announcement + header */
.announce
{
    background: var(--navy);
    color: #fff;
    font-size: .88rem;
    text-align: center;
    padding: 8px 14px;
}

    .announce a
    {
        color: var(--gold);
        font-weight: 600;
    }

.site-header
{
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.header-row
{
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
}

.logo img
{
    height: 46px;
    width: auto;
}

.nav-toggle
{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-burger
{
    display: none;
    margin-left: auto;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    line-height: 1;
}

.nav
{
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

    .nav > ul
    {
        list-style: none;
        display: flex;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .nav li
    {
        position: relative;
    }

    .nav a.top
    {
        display: block;
        padding: 26px 11px;
        color: var(--navy);
        text-decoration: none;
        font-weight: 600;
        font-size: .93rem;
    }

        .nav a.top:hover, .nav a.top.active
        {
            color: var(--red);
        }

.dropdown
{
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 60;
    list-style: none;
    margin: 0;
}

.nav li:hover > .dropdown, .nav li:focus-within > .dropdown
{
    display: block;
}

.dropdown a
{
    display: block;
    padding: 9px 18px;
    color: var(--char);
    text-decoration: none;
    font-size: .92rem;
}

    .dropdown a:hover
    {
        background: var(--off);
        color: var(--red);
    }

.header-actions
{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.icon-link
{
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    padding: 8px 6px;
}

.cart-pill
{
    background: var(--off);
    border-radius: 999px;
    padding: 7px 14px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}

/* buttons */
.btn
{
    display: inline-block;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: transform .15s,background .15s,box-shadow .15s;
    text-align: center;
}

    .btn:hover
    {
        transform: translateY(-1px);
    }

.btn-red
{
    background: var(--red);
    color: #fff;
}

    .btn-red:hover
    {
        background: var(--red-dark);
        color: #fff;
        box-shadow: 0 6px 16px rgba(215,25,32,.3);
    }

.btn-navy
{
    background: var(--navy);
    color: #fff;
}

    .btn-navy:hover
    {
        background: var(--navy-2);
        color: #fff;
    }

.btn-outline
{
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}

    .btn-outline:hover
    {
        background: var(--navy);
        color: #fff;
    }

.btn-light
{
    background: #fff;
    color: var(--navy);
}

    .btn-light:hover
    {
        color: var(--red);
    }

.btn-sm
{
    padding: 8px 16px;
    font-size: .9rem;
}

.btn-row
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* hero */
.hero
{
    background: linear-gradient(135deg,var(--off) 55%,#fff);
    /*padding: 70px 0 60px;*/
}

.hero-grid
{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.hero h1 em
{
    color: var(--red);
    font-style: normal;
}

.hero-visual img
{
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.page-head
{
    background: var(--navy);
    color: #fff;
    padding: 48px 0;
}

    .page-head h1
    {
        color: #fff;
        margin-bottom: .3em;
    }

    .page-head p
    {
        color: #c9d3e0;
        max-width: 760px;
        margin: 0;
    }

.crumbs
{
    font-size: .85rem;
    margin-bottom: 14px;
    color: #9fb0c6;
}

    .crumbs a
    {
        color: #c9d3e0;
    }

/* grids and cards */
.grid
{
    display: grid;
    gap: 24px;
}

.g2
{
    grid-template-columns: repeat(2,1fr);
}

.g3
{
    grid-template-columns: repeat(3,1fr);
}

.g4
{
    grid-template-columns: repeat(4,1fr);
}

.card
{
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s,transform .2s;
}

    .card:hover
    {
        box-shadow: var(--shadow);
        transform: translateY(-2px);
    }

.card-body
{
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .card-body p
    {
        color: var(--muted);
        font-size: .95rem;
    }

    .card-body .btn-row
    {
        margin-top: auto;
        padding-top: 10px;
    }

.card-img
{
    background: var(--off);
    padding: 18px;
    display: flex;
    justify-content: center;
}

    .card-img img
    {
        max-height: 260px;
        width: auto;
        box-shadow: 0 8px 20px rgba(0,0,0,.18);
    }

    .card-img.wide
    {
        padding: 0;
    }

        .card-img.wide img
        {
            width: 100%;
            max-height: none;
            box-shadow: none;
        }

.tag
{
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--off);
    color: var(--navy);
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 8px;
    align-self: flex-start;
}

    .tag.red
    {
        background: #fde8e9;
        color: var(--red-dark);
    }

    .tag.gold
    {
        background: #f6edd7;
        color: #7a5f20;
    }

.meta
{
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.price
{
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
}

.tile
{
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow .2s,border-color .2s;
}

    .tile:hover
    {
        box-shadow: var(--shadow);
        border-color: var(--red);
        color: inherit;
    }

    .tile .ico
    {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .tile h3
    {
        margin-bottom: .3em;
    }

    .tile p
    {
        color: var(--muted);
        font-size: .95rem;
        margin: 0;
    }

.split
{
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 44px;
    align-items: center;
}

    .split.top
    {
        align-items: start;
    }

.checks
{
    list-style: none;
    padding: 0;
    margin: 0 0 1em;
}

    .checks li
    {
        padding-left: 28px;
        position: relative;
        margin-bottom: .55em;
    }

        .checks li:before
        {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--red);
            font-weight: 700;
        }

.section.dark .checks li:before
{
    color: var(--gold);
}

.badge-sample
{
    background: #fff7e0;
    border: 1px dashed var(--gold);
    color: #6b5413;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .88rem;
    margin: 0 0 24px;
}

.dev-note
{
    background: #eef3fa;
    border-left: 4px solid var(--navy);
    padding: 12px 16px;
    font-size: .88rem;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    color: var(--navy);
}

.stat-row
{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.stat b
{
    display: block;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--navy);
}

.stat span
{
    font-size: .85rem;
    color: var(--muted);
}

/* tables, forms */
table
{
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    background: #fff;
}

th, td
{
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th
{
    background: var(--off);
    color: var(--navy);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.table-wrap
{
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

form .field
{
    margin-bottom: 16px;
}

label
{
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 5px;
    color: var(--navy);
}

input, select, textarea
{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9c6bc;
    border-radius: 8px;
    font: inherit;
    background: #fff;
    color: var(--char);
}

    input[type=checkbox], input[type=radio]
    {
        width: auto;
        margin-right: 8px;
    }

.check
{
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-weight: 400;
    margin-bottom: 10px;
}

.form-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

    .form-grid .full
    {
        grid-column: 1/-1;
    }

.form-box
{
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.summary
{
    background: var(--off);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

    .summary .row
    {
        display: flex;
        justify-content: space-between;
        padding: 7px 0;
        border-bottom: 1px dashed var(--line);
    }

        .summary .row.total
        {
            font-weight: 700;
            font-size: 1.1rem;
            border-bottom: 0;
            color: var(--navy);
        }

.search
{
    display: flex;
    gap: 10px;
    max-width: 640px;
}

.chips
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.chip
{
    padding: 7px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
}

    .chip:hover
    {
        border-color: var(--red);
        color: var(--red);
    }

/* details/faq */
details
{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 20px;
    margin-bottom: 12px;
    background: #fff;
}

summary
{
    padding: 16px 0;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
}

details[open] summary
{
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
}

details p
{
    color: var(--muted);
}

/* MCQ */
.mcq
{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 22px;
    background: #fff;
}

    .mcq ol
    {
        list-style: upper-alpha;
        padding-left: 24px;
    }

    .mcq .answer
    {
        background: var(--off);
        padding: 14px 16px;
        border-radius: 8px;
        margin-top: 10px;
    }

/* article */
.article
{
    max-width: 760px;
    margin: 0 auto;
}

    .article h2
    {
        margin-top: 1.6em;
    }

    .article h3
    {
        margin-top: 1.2em;
    }

    .article p, .article li
    {
        font-size: 1.06rem;
    }

.takeaways
{
    background: var(--off);
    border-left: 4px solid var(--red);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 28px 0;
}

.toc
{
    background: var(--off);
    padding: 16px 22px;
    border-radius: var(--radius);
    margin-bottom: 26px;
}

    .toc ul
    {
        margin: 6px 0 0;
        padding-left: 18px;
    }

.byline
{
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 24px;
}

/* footer */
.site-footer
{
    background: var(--navy);
    color: #c9d3e0;
    padding: 56px 0 24px;
    font-size: .93rem;
}

    .site-footer h4
    {
        color: #fff;
        font-family: var(--font-body);
        font-size: .95rem;
        letter-spacing: .05em;
        text-transform: uppercase;
        margin-bottom: .9em;
    }

    .site-footer a
    {
        color: #c9d3e0;
        text-decoration: none;
    }

        .site-footer a:hover
        {
            color: #fff;
            text-decoration: underline;
        }

    .site-footer ul
    {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .site-footer li
    {
        margin-bottom: .5em;
    }

.foot-grid
{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.foot-bottom
{
    border-top: 1px solid #2c4160;
    margin-top: 34px;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: space-between;
    font-size: .85rem;
}

.newsletter
{
    display: flex;
    gap: 8px;
}

    .newsletter input
    {
        flex: 1;
    }

.cta-band
{
    background: linear-gradient(120deg,var(--red),var(--red-dark));
    color: #fff;
    padding: 44px 0;
}

    .cta-band h2
    {
        color: #fff;
        margin-bottom: .3em;
    }

/* ================= RESPONSIVE FIXES ================= */
@media(max-width:1100px)
{
    .header-actions .btn-red, .header-actions .icon-link:not(.user-name);

{
    display: none;
}

}

@media(max-width:1020px)
{
    .nav-burger;

{
    display: block;
}

.header-actions
{
    display: none;
}

.nav
{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    margin: 0;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.nav-toggle:checked ~ .nav
{
    display: flex;
}

.nav > ul
{
    flex-direction: column;
}

.nav a.top
{
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
}

.dropdown
{
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 6px 14px;
    min-width: 0;
}

.mobile-actions
{
    display: flex !important;
}

.g4
{
    grid-template-columns: repeat(2,1fr);
}

.g3
{
    grid-template-columns: repeat(2,1fr);
}

.hero-grid, .split
{
    grid-template-columns: 1fr;
}

.foot-grid
{
    grid-template-columns: 1fr 1fr;
}

}

.mobile-actions
{
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
}

@media(max-width:640px)
{
    body;

{
    font-size: 16px;
}

.section
{
    padding: 44px 0;
}

.g2, .g3, .g4, .form-grid, .foot-grid
{
    grid-template-columns: 1fr;
}

.search, .newsletter
{
    flex-direction: column;
}

.logo img
{
    height: 40px;
}
}
