:root {
    --bg: #1b2433;
    --surface: #ffffff;
    --surface-soft: #f4f7f3;
    --text: #172031;
    --muted: #5e6978;
    --line: #dce4de;
    --green: #1ca261;
    --green-dark: #117946;
    --yellow: #ffcf46;
    --shadow: 0 20px 60px rgba(27, 36, 51, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface-soft);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.narrow {
    width: min(100% - 32px, 780px);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 30;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--yellow);
    color: var(--bg);
    font-weight: 800;
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(27, 36, 51, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    width: 158px;
    height: auto;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 10px;
}

.main-nav {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: var(--shadow);
}

.main-nav.is-open {
    display: grid;
}

.main-nav a {
    padding: 12px 14px;
    border-radius: 6px;
    color: white;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    background: var(--bg);
    color: white;
    overflow: hidden;
}

.hero-inner {
    min-height: calc(100svh - 72px);
    display: grid;
    align-items: center;
    gap: 34px;
    padding: 56px 0 44px;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.1rem, 11vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
}

.button.primary,
.product-button {
    background: var(--green);
    color: white;
}

.button.primary:hover,
.product-button:hover {
    background: var(--green-dark);
}

.button.secondary {
    background: var(--yellow);
    color: var(--bg);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    align-items: center;
    gap: 22px;
}

.signal-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.signal-card span,
.eyebrow,
.product-kicker {
    display: block;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-card strong {
    display: block;
    margin-top: 6px;
    color: white;
    font-size: 1.1rem;
}

.floating-mark {
    width: 116px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-self: center;
}

.floating-mark img {
    width: 100%;
    height: auto;
}

.section {
    padding: 60px 0;
}

.intro-section {
    background: white;
}

.intro-section h2,
.section-heading h2,
.page-card h1 {
    margin: 8px 0 0;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.intro-section p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.products-section {
    background: var(--surface-soft);
}

.section-heading {
    margin-bottom: 24px;
}

.products-list {
    display: grid;
    gap: 18px;
}

.product-card {
    display: grid;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 14px 40px rgba(27, 36, 51, 0.08);
}

.product-image {
    min-height: 210px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--bg);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    display: grid;
    align-content: center;
}

.product-content h3 {
    margin: 8px 0 0;
    font-size: clamp(1.45rem, 6vw, 2.4rem);
    line-height: 1.1;
}

.product-content p {
    margin: 12px 0 18px;
    color: var(--muted);
}

.product-button {
    width: fit-content;
}

.legal-page {
    padding: 44px 0 64px;
}

.page-card {
    padding: 28px 0;
}

.page-card p,
.page-card li {
    color: var(--muted);
}

.page-card h2 {
    margin: 28px 0 6px;
    font-size: 1.22rem;
}

.page-card a:not(.button) {
    color: var(--green-dark);
    font-weight: 800;
}

.product-detail-image {
    width: 100%;
    max-height: 420px;
    margin: 24px 0;
    border-radius: 8px;
    object-fit: cover;
}

.site-footer {
    background: var(--bg);
    color: white;
    padding: 42px 0 22px;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-logo {
    width: 158px;
    height: auto;
}

.site-footer p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.74);
}

.email-link {
    color: var(--yellow);
    font-weight: 800;
}

.footer-nav {
    display: grid;
    gap: 10px;
}

.footer-nav a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--yellow);
}

.social-block span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.social-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(83%) sepia(81%) saturate(620%) hue-rotate(330deg) brightness(104%) contrast(101%);
}

.social-links a:hover,
.social-links a:focus {
    background: var(--green);
}

.copyright {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 760px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .main-nav a {
        color: rgba(255, 255, 255, 0.82);
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        padding: 78px 0 70px;
    }

    .hero-panel {
        align-self: stretch;
        align-content: center;
    }

    .product-card {
        grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
        padding: 18px;
    }

    .product-image {
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 0.8fr 0.8fr;
        align-items: start;
    }
}
