:root {
    --navy: #112e51;
    --blue: #0065ad;
    --purple: #7c55b5;
    --purple-dark: #624092;
    --ink: #34445d;
    --muted: #6c788a;
    --line: #dbe6f0;
    --tint: #f4f1fa;
    --blue-tint: #eef6fc;
    --white: #fff;
    --shadow: 0 18px 45px rgba(17, 46, 81, .10);
    --radius: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--purple-dark); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0 0 .55em; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.13; }
h1 { font-size: clamp(2.15rem, 3.8vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.15rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: linear-gradient(135deg, var(--blue-tint), var(--tint)); }
.eyebrow { margin-bottom: 14px; color: var(--purple); font-size: .77rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; padding: 10px 16px; background: #fff; transform: translateY(-160%); box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(17,46,81,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 210px; max-height: 58px; object-fit: contain; object-position: left center; }
.custom-logo-link img { width: 210px; max-height: 58px; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: 24px; }
.primary-menu { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.primary-menu a { color: var(--navy); font-size: .91rem; font-weight: 700; }
.primary-menu a:hover { color: var(--purple); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s ease; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 27px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--blue)); border: 0; border-radius: 999px; box-shadow: 0 12px 28px rgba(98,64,146,.22); font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(98,64,146,.28); }
.button-small { min-height: 42px; padding: 0 20px; font-size: .84rem; }
.button-ghost { color: var(--navy); background: rgba(255,255,255,.76); border: 1px solid rgba(17,46,81,.14); box-shadow: none; }
.button-ghost:hover { color: var(--navy); background: #fff; }
.button-light { color: var(--navy); background: #fff; box-shadow: none; }
.button-light:hover { color: var(--purple-dark); }
.button-row { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.secondary-link { color: var(--purple-dark); font-size: .92rem; font-weight: 700; }

.hero { min-height: 720px; display: flex; align-items: center; background-image: url("../images/hero-desktop.webp"); background-position: center; background-size: cover; }
.hero-content { padding-top: 58px; padding-bottom: 58px; }
.hero-content > * { max-width: 630px; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.75rem); }
.hero h1 span { color: var(--purple); }
.hero-kicker { color: var(--navy); font-size: .87rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker b { padding: 0 9px; color: var(--purple); }
.hero-copy { max-width: 590px; font-size: 1.05rem; }
.page-hero { padding: clamp(90px, 11vw, 150px) 0; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 32%), linear-gradient(135deg, var(--navy), var(--purple-dark)); }
.page-hero.compact { padding: 75px 0; }
.page-hero .container { max-width: var(--container); }
.page-hero h1 { max-width: 850px; color: #fff; }
.page-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.86); font-size: 1.1rem; }
.page-hero .eyebrow { color: #d9c8f3; }
.page-hero .button { margin-top: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.rounded-media { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.section-heading { max-width: 780px; margin: 0 auto 45px; text-align: center; }
.heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; }
.heading-row .eyebrow { margin-bottom: 10px; }
.heading-row h2 { margin-bottom: 0; }
.feature-grid, .cert-grid, .cert-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { padding: 30px; background: rgba(255,255,255,.8); border: 1px solid rgba(124,85,181,.12); border-radius: 18px; box-shadow: 0 10px 28px rgba(17,46,81,.06); }
.feature-card > span, .cert-detail-grid article > span { display: inline-grid; width: 40px; height: 40px; margin-bottom: 22px; place-items: center; color: #fff; background: var(--purple); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.feature-card h3 { font-family: Inter, "Segoe UI", sans-serif; font-size: 1.08rem; }
.feature-card p { margin: 0; font-size: .94rem; }
.cert-grid article { display: flex; min-height: 140px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; background: #fff; border-radius: 17px; box-shadow: 0 12px 30px rgba(17,46,81,.06); text-align: center; }
.cert-grid strong { color: var(--purple-dark); font-size: 1.1rem; }
.cert-grid span { color: var(--muted); font-size: .86rem; }
.centered { margin-top: 35px; text-align: center; }
.brand-section { background: #fff; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.category-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(17,46,81,.07); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card > img { width: 100%; aspect-ratio: 4/3; background: #f4f6fa; object-fit: cover; }
.category-card > div { padding: 25px; }
.category-card h2, .category-card h3 { font-family: Inter, "Segoe UI", sans-serif; }
.category-card h2 { font-size: 1.36rem; }
.category-card h3 { font-size: 1.08rem; }
.category-card p { color: var(--muted); font-size: .92rem; }
.product-card details { margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-card summary { padding: 13px 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.product-card details ul { padding-left: 20px; margin: 0 0 16px; font-size: .9rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.filter-bar, .literature-filters { padding: 24px; margin-bottom: 36px; background: var(--blue-tint); border: 1px solid var(--line); border-radius: 16px; }
.filter-bar label, .literature-filters label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.filter-bar input, .literature-filters input, .literature-filters select { width: 100%; height: 50px; padding: 0 15px; color: var(--ink); background: #fff; border: 1px solid #cbd9e7; border-radius: 10px; }
.literature-filters { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.literature-notice { margin-bottom: 28px; }
.literature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.literature-card { display: grid; grid-template-columns: 120px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 28px rgba(17,46,81,.06); }
.literature-thumb { padding: 13px; background: var(--blue-tint); }
.literature-thumb img { width: 100%; height: 100%; min-height: 190px; object-fit: contain; }
.literature-content { padding: 21px 18px; }
.literature-content h2 { font-family: Inter, "Segoe UI", sans-serif; font-size: 1.02rem; }
.literature-content > p { color: var(--muted); font-size: .8rem; }
.document-meta { color: var(--purple) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.literature-content .card-actions { align-items: flex-start; flex-direction: column; }
.no-results { padding: 30px; background: var(--tint); border-radius: 14px; text-align: center; }
.download-feature { display: grid; grid-template-columns: minmax(220px, .72fr) 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 54px); margin-bottom: 32px; background: linear-gradient(135deg, var(--blue-tint), #fff); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.download-feature-cover { display: block; padding: 15px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(17,46,81,.12); }
.download-feature-cover img { width: 100%; max-height: 390px; object-fit: contain; }
.download-feature-content h2 { margin-bottom: 16px; }
.download-feature-content > p:not(.eyebrow) { max-width: 650px; }
.download-feature-content .button-row { margin-top: 25px; }
.downloads-heading { margin-top: 54px; }

.featured-product { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(30px, 5vw, 62px); align-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.featured-product-image { display: block; padding: 18px; background: linear-gradient(135deg, var(--tint), var(--blue-tint)); }
.featured-product-image img { width: 100%; aspect-ratio: 3/2; object-fit: contain; transition: transform .25s ease; }
.featured-product-image:hover img { transform: scale(1.015); }
.featured-product-content { padding: 38px 42px 38px 0; }
.product-highlights { display: flex; gap: 10px; padding: 0; margin: 24px 0; flex-wrap: wrap; list-style: none; }
.product-highlights li { padding: 8px 13px; color: var(--purple-dark); background: var(--tint); border-radius: 999px; font-size: .8rem; font-weight: 800; }
.product-category-preview { display: grid; grid-template-columns: minmax(250px, .72fr) 1.28fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.category-preview-image { overflow: hidden; border-radius: 16px; }
.category-preview-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.category-preview-image:hover img { transform: scale(1.025); }
.product-category-preview h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.product-category-preview h4 { margin: 22px 0 8px; color: var(--navy); }
.clickable-product-list { display: flex; gap: 8px 22px; padding-left: 20px; margin: 0 0 25px; flex-wrap: wrap; }
.clickable-product-list a { font-weight: 800; }
.selected-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.selected-product-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(17,46,81,.08); transition: transform .2s ease, box-shadow .2s ease; }
.selected-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.selected-product-image { display: block; padding: 16px; background: linear-gradient(135deg, var(--tint), var(--blue-tint)); }
.selected-product-image img { width: 100%; aspect-ratio: 3/2; object-fit: contain; }
.selected-product-card > div { padding: 26px 28px 30px; }
.selected-product-card h2 { font-family: Inter, "Segoe UI", sans-serif; font-size: 1.35rem; }
.selected-product-card h2 a { color: var(--navy); }
.selected-product-card h2 a:hover { color: var(--purple-dark); }
.hero-breadcrumb { color: rgba(255,255,255,.9); }
.hero-breadcrumb:hover { color: #fff; text-decoration: underline; }
.product-detail-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail-graphic { width: 100%; background: var(--tint); object-fit: contain; }
.product-detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(28px, 5vw, 52px); }
.product-detail-actions > div:first-child { max-width: 620px; }
.product-detail-actions .button-row { max-width: 520px; justify-content: flex-end; margin-top: 0; }

.two-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.statement-card { padding: clamp(35px, 5vw, 60px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cert-detail-grid { margin-bottom: 50px; }
.cert-detail-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 18px; }
.cert-detail-grid article h2 { font-family: Inter, "Segoe UI", sans-serif; font-size: 1.1rem; }
.notice-section { padding-top: 0; }
.notice { padding: 30px 34px; background: var(--blue-tint); border-left: 5px solid var(--purple); border-radius: 12px; }
.notice h2 { font-family: Inter, "Segoe UI", sans-serif; font-size: 1.25rem; }
.notice p:last-child { margin-bottom: 0; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.contact-details { position: sticky; top: 115px; }
.contact-item { display: flex; flex-direction: column; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-item strong { color: var(--purple); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel { padding: clamp(25px, 4vw, 45px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 18px; color: var(--navy); font-size: .84rem; font-weight: 800; }
.contact-form label span { color: #a1325c; }
.contact-form label small { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; color: var(--ink); background: #fbfdff; border: 1px solid #cbd9e7; border-radius: 9px; }
.contact-form input { height: 48px; }
.contact-form input:focus, .contact-form textarea:focus, .filter-bar input:focus, .literature-filters input:focus, .literature-filters select:focus { outline: 3px solid rgba(124,85,181,.18); border-color: var(--purple); }
.form-note { display: inline-block; margin: 0 0 0 14px; color: var(--muted); font-size: .86rem; }
.form-alert { padding: 14px 18px; margin-bottom: 22px; border-radius: 10px; font-weight: 700; }
.form-alert.success { color: #155c38; background: #e5f7ed; }
.form-alert.error { color: #8a2346; background: #fdebf1; }
.honeypot { position: absolute !important; left: -9999px !important; }

.cta-section { color: #fff; background: linear-gradient(135deg, var(--purple-dark), var(--navy)); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p:not(.eyebrow) { max-width: 750px; color: rgba(255,255,255,.84); }
.site-footer { padding-top: 70px; color: rgba(255,255,255,.72); background: #0d233d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1fr; gap: 45px; padding-bottom: 50px; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-family: Inter, "Segoe UI", sans-serif; font-size: .96rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: .77rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 23px; padding-bottom: 23px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.prose-content { max-width: 840px; padding-top: 70px; padding-bottom: 90px; }
.prose-content h2 { margin-top: 1.4em; font-size: 1.8rem; }

@media (max-width: 1050px) {
    .menu-toggle { display: block; }
    .primary-navigation { position: fixed; inset: 82px 0 auto; display: none; max-height: calc(100vh - 82px); padding: 25px 30px 35px; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .primary-navigation.is-open { display: block; }
    .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
    .primary-menu li { border-bottom: 1px solid var(--line); }
    .primary-menu a { display: block; padding: 14px 0; }
    .header-cta { margin-top: 20px; }
    .feature-grid, .cert-grid, .cert-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid, .selected-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .literature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 68px 0; }
    .hero { min-height: 730px; align-items: flex-start; padding-top: 55px; background-image: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.93) 72%), url("../images/hero-mobile.webp"); background-position: center top; }
    .hero-content { padding-top: 30px; }
    .hero-copy { font-size: .98rem; }
    .split, .two-card-grid, .contact-layout, .cta-inner, .download-feature, .featured-product, .product-category-preview { grid-template-columns: 1fr; }
    .reverse-mobile > img { order: 2; }
    .heading-row { align-items: flex-start; flex-direction: column; }
    .category-grid, .literature-grid, .feature-grid, .cert-grid, .cert-detail-grid, .selected-product-grid { grid-template-columns: 1fr; }
    .home-categories .category-card:nth-child(n+5) { display: none; }
    .literature-filters, .form-grid { grid-template-columns: 1fr; }
    .literature-card { grid-template-columns: 105px 1fr; }
    .featured-product-content { padding: 0 28px 32px; }
    .product-detail-actions { align-items: flex-start; flex-direction: column; }
    .product-detail-actions .button-row { justify-content: flex-start; }
    .contact-details { position: static; }
    .form-note { display: block; margin: 13px 0 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :last-child { grid-column: auto; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.65rem; }
    .hero h1 { font-size: 2.2rem; }
    .header-inner { min-height: 72px; }
    .brand img, .custom-logo-link img { width: 170px; }
    .primary-navigation { inset-block-start: 72px; }
    .button-row .button { width: 100%; }
    .literature-card { grid-template-columns: 1fr; }
    .literature-thumb img { height: 210px; min-height: 0; }
    .download-feature { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
}
