:root {
    --color-ink: #15232c;
    --color-ink-soft: #50606a;
    --color-line: #d9e3e7;
    --color-surface: #ffffff;
    --color-mist: #edf4f6;
    --color-steel: #6f818b;
    --color-sky: #0077a8;
    --color-sky-dark: #005a7c;
    --color-safety: #f2b441;
    --shadow: 0 18px 45px rgba(21, 35, 44, 0.12);
    --container: min(1180px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    background: var(--color-surface);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-sky);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.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;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(14px);
}

.top-strip {
    color: #ffffff;
    background: var(--color-ink);
    font-size: 0.82rem;
}

.top-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 20px;
}

.top-strip a {
    color: #ffffff;
    font-weight: 700;
}

.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 82px;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 42px;
    color: #ffffff;
    background: var(--color-sky);
    border-left: 8px solid var(--color-safety);
    font-size: 0.78rem;
}

.brand__text {
    font-size: 1.02rem;
    text-transform: uppercase;
}

.primary-menu,
.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 800;
    line-height: 1;
}

.header-cta,
.button--primary {
    color: #ffffff;
    background: var(--color-sky);
}

.header-cta:hover,
.button--primary:hover {
    color: #ffffff;
    background: var(--color-sky-dark);
}

.button--secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.72);
}

.button--secondary:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: #ffffff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--color-ink);
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    color: #ffffff;
    background: #1f313a;
}

.hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 24, 31, 0.88) 0%, rgba(13, 24, 31, 0.58) 43%, rgba(13, 24, 31, 0.22) 100%),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=82") center / cover;
    transform: scale(1.02);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 96px 0 88px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-safety);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.34rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.stats-strip {
    background: var(--color-ink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: #ffffff;
}

.stats-grid div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-height: 104px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-grid div:last-child {
    border-right: 0;
}

.stats-grid strong {
    color: var(--color-safety);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.section {
    padding: 92px 0;
}

.section--muted {
    background: var(--color-mist);
}

.section-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 42px;
    align-items: start;
    margin-bottom: 38px;
}

.section-heading h2,
.split-section h2,
.case-intro h2,
.cta-band h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-line);
    border: 1px solid var(--color-line);
}

.product-card {
    min-height: 330px;
    padding: 30px;
    background: #ffffff;
}

.product-card__number {
    display: block;
    color: var(--color-sky);
    font-weight: 900;
    margin-bottom: 58px;
}

.product-card h3,
.case-grid h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.product-card p,
.case-grid p,
.split-section p,
.site-footer p,
.narrow-content {
    color: var(--color-ink-soft);
}

.product-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--color-sky-dark);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 590px);
    min-height: 640px;
    background: var(--color-ink);
}

.split-section__image {
    background:
        linear-gradient(90deg, rgba(21, 35, 44, 0.1), rgba(21, 35, 44, 0.48)),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=82") center / cover;
}

.split-section__content {
    align-self: center;
    padding: 70px clamp(30px, 5vw, 74px);
    color: #ffffff;
}

.split-section p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 800;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 14px;
    height: 2px;
    background: var(--color-safety);
}

.case-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1px;
    background: #cbd8dd;
    border: 1px solid #cbd8dd;
}

.case-grid > * {
    min-height: 260px;
    padding: 30px;
    background: var(--color-mist);
}

.case-intro {
    background: #ffffff;
}

.cta-band {
    padding: 70px 0;
    color: #ffffff;
    background: var(--color-sky-dark);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-band h2 {
    max-width: 760px;
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}

.page-hero {
    padding: 96px 0;
    color: #ffffff;
    background: var(--color-ink);
}

.page-band {
    padding: 72px 0;
}

.narrow-content {
    max-width: 840px;
    font-size: 1.08rem;
}

.post-card {
    padding: 28px 0;
    border-bottom: 1px solid var(--color-line);
}

.post-card h1 {
    margin: 0 0 8px;
}

.entry-meta {
    color: var(--color-steel);
    font-size: 0.92rem;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: #101a20;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding: 58px 0;
}

.footer-brand,
.site-footer h2,
.site-footer a {
    color: #ffffff;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 1rem;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .header-main {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        padding: 18px 20px 24px;
        background: #ffffff;
        border-bottom: 1px solid var(--color-line);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .primary-menu a {
        min-height: 48px;
    }

    .header-cta {
        display: none;
    }

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

    .section-heading,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .split-section__image {
        min-height: 360px;
    }
}

@media (max-width: 680px) {
    :root {
        --container: min(100vw - 28px, 1180px);
    }

    .top-strip__inner,
    .cta-band__inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: 620px;
    }

    .hero__content {
        padding: 72px 0 62px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(3rem, 17vw, 4.6rem);
    }

    .stats-grid,
    .product-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid div {
        min-height: 86px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .section {
        padding: 66px 0;
    }

    .product-card,
    .case-grid > * {
        min-height: auto;
    }
}

