:root {
    --color-background: #f6f7f9;
    --color-surface: #ffffff;
    --color-primary: #1c5a4d;
    --color-primary-contrast: #ffffff;
    --color-accent: #ec6f47;
    --color-muted: #657079;
    --color-border: #d6dde3;
    --shadow-soft: 0 10px 30px rgba(15, 33, 27, 0.08);
    --radius-large: 28px;
    --radius-medium: 18px;
    --radius-small: 10px;
    --transition-base: 180ms ease-in-out;
    --font-base: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width-shell: 1180px;
    --section-padding-y: clamp(3rem, 6vw, 5rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background-color: var(--color-background);
    color: #1a1f22;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-medium);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: #101618;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 3vw + 1.6rem, 3.4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 2vw + 1.4rem, 2.6rem);
}

h3 {
    font-size: clamp(1.6rem, 1.5vw + 1rem, 2rem);
}

.shell {
    width: min(100%, var(--max-width-shell));
    margin-inline: auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-small);
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(246, 247, 249, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(214, 221, 227, 0.6);
}

.site-header .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1.5rem;
}

.brand img {
    height: 54px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: var(--color-primary);
    border: none;
    color: var(--color-primary-contrast);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-small);
    position: relative;
}

.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after,
.nav-toggle span[aria-hidden="true"] {
    position: absolute;
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-primary-contrast);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    transition: var(--transition-base);
}

.nav-toggle span[aria-hidden="true"] {
    top: 50%;
}

.nav-toggle span[aria-hidden="true"]::before {
    top: -8px;
}

.nav-toggle span[aria-hidden="true"]::after {
    top: 8px;
}

.nav-toggle.is-active span[aria-hidden="true"] {
    background: transparent;
}

.nav-toggle.is-active span[aria-hidden="true"]::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-active span[aria-hidden="true"]::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

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

.primary-nav a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.primary-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--color-accent);
}

.hero {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.hero .shell {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__content {
    display: grid;
    gap: 1.5rem;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0;
}

.hero__media img {
    margin-left: auto;
    box-shadow: var(--shadow-soft);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: var(--transition-base);
}

.button--primary {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.button--primary:hover,
.button--primary:focus {
    background: #174d43;
    text-decoration: none;
}

.button--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.button--ghost:hover,
.button--ghost:focus {
    background: rgba(28, 90, 77, 0.08);
    text-decoration: none;
}

.section {
    padding: var(--section-padding-y) 0;
}

body.page-products {
    --section-padding-y: clamp(1.75rem, 3vw, 2.5rem);
}

.page-products .hero {
    padding: clamp(1.5rem, 2.5vw, 2.5rem) 0;
}

.page-products .hero .shell {
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.section--accent {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.section--accent h1,
.section--accent h2,
.section--accent h3,
.section--accent h4 {
    color: var(--color-primary-contrast);
}

.section__header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lede {
    font-size: 1.2rem;
    max-width: 60ch;
    color: var(--color-muted);
}

.section--accent .lede {
    color: rgba(255, 255, 255, 0.85);
}

.card-grid {
    display: grid;
    gap: clamp(1.5rem, 2vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius-medium);
    padding: 1.8rem;
    display: grid;
    gap: 1.25rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 33, 27, 0.12);
}

.card img {
    border-radius: var(--radius-small);
    box-shadow: 0 10px 24px rgba(16, 22, 24, 0.08);
}

.card__visual {
    display: grid;
    gap: 1rem;
    text-decoration: none;
}

.card__visual img {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card__visual:hover img,
.card__visual:focus img {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 33, 27, 0.16);
}

.card h3 a {
    color: inherit;
    text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus {
    text-decoration: underline;
}

.media-link {
    display: inline-block;
    border-radius: var(--radius-medium);
}

.media-link img {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.media-link:hover img,
.media-link:focus img {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 33, 27, 0.16);
}

.card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.card__actions {
    margin-top: auto;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: rgba(28, 90, 77, 0.1);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.icon-text svg {
    width: 24px;
    height: 24px;
}

.split {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.quote {
    background: var(--color-surface);
    margin: 0;
    padding: 2.25rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.5rem;
    position: relative;
}

.quote::before {
    content: '“';
    font-size: 3rem;
    color: var(--color-accent);
}

.quote cite {
    font-style: normal;
    color: var(--color-muted);
    font-weight: 500;
}

.list-check {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.list-check li {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.list-check li::before {
    content: '✔';
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 0.2rem;
}

.badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    background: rgba(28, 90, 77, 0.08);
    color: var(--color-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
}

.section--accent .badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-primary-contrast);
}

.site-footer {
    background: #101618;
    color: rgba(255, 255, 255, 0.84);
    padding-top: 3rem;
}

.site-footer .shell {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
}

.footer__title {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__form input {
    flex: 1 1 180px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-small);
    border: none;
}

.footer__form button {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-small);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.footer__form button:hover,
.footer__form button:focus {
    background: #da5a30;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding: 1rem 0 2rem;
}

.site-footer__bottom small {
    color: rgba(255, 255, 255, 0.6);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table thead {
    background: rgba(28, 90, 77, 0.1);
}

.table th,
.table td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.table tr:last-child td {
    border-bottom: none;
}

.stack {
    display: grid;
    gap: 1.5rem;
}

.tile {
    background: var(--color-surface);
    border-radius: var(--radius-medium);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.75rem;
}

.tile--muted {
    background: rgba(28, 90, 77, 0.08);
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.logo-row img {
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-small);
    box-shadow: 0 10px 24px rgba(15, 33, 27, 0.08);
    height: 70px;
    width: auto;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.resource-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-surface);
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-soft);
    gap: 1rem;
}

.resource-list li span {
    font-weight: 500;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .primary-nav {
        position: absolute;
        inset: 100% 0 auto;
        background: rgba(246, 247, 249, 0.95);
        border-bottom: 1px solid rgba(214, 221, 227, 0.6);
        display: none;
        padding: 1.5rem;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav[data-open="true"] {
        display: block;
    }
}

@media (max-width: 640px) {
    .footer__form {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}
