:root {
    --pf-primary: #455e68;
    --pf-deep: #2f454d;
    --pf-soft: #6f8790;
    --pf-accent: #7fa9b8;
    --pf-background: #f4f6f7;
    --pf-surface: #ffffff;
    --pf-border: #dde3e6;
    --pf-text: #1e2528;
    --pf-text-secondary: #5f6b70;
    --pf-page-width: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--pf-text);
    background: var(--pf-background);
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--pf-accent);
    outline-offset: 4px;
}

.site-shell {
    overflow: hidden;
}

.site-container {
    width: min(100%, var(--pf-page-width));
    margin-inline: auto;
    padding-inline: clamp(24px, 5vw, 80px);
}

.hero-content {
    min-width: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(244 246 247 / 92%);
    border-bottom: 1px solid rgb(221 227 230 / 85%);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr) 150px;
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    width: min(100%, var(--pf-page-width));
    min-height: 88px;
    margin-inline: auto;
    padding: 16px clamp(24px, 5vw, 80px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    text-decoration: none;
}

.brand img {
    background: var(--pf-surface);
    border-radius: 8px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name strong {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.brand-name span {
    color: var(--pf-text-secondary);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-navigation {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(-50%);
}

.site-navigation a {
    position: relative;
    color: var(--pf-text-secondary);
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--pf-primary);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-navigation a:hover {
    color: var(--pf-text);
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-status {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}

.status-indicator {
    width: 13px;
    height: 13px;
    background: #5c8b78;
    border: 4px solid #dce9e3;
    border-radius: 50%;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--pf-soft);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
}

.hero-actions p {
    margin: 0;
    color: var(--pf-text-secondary);
    font-size: 14px;
}

.primary-action {
    display: inline-flex;
    padding: 14px 20px;
    color: #ffffff;
    background: var(--pf-deep);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.primary-action:hover {
    color: #ffffff;
    background: var(--pf-primary);
    transform: translateY(-2px);
}

.site-footer {
    color: #ffffff;
    background: #23363d;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    width: min(100%, var(--pf-page-width));
    min-height: 120px;
    margin-inline: auto;
    padding: 32px clamp(24px, 5vw, 80px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #ffffff;
    text-decoration: none;
}

.footer-brand img {
    background: #ffffff;
    border-radius: 8px;
}

.footer-brand > span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.footer-brand strong {
    font-size: 15px;
    font-weight: 650;
}

.footer-brand small {
    color: #aebdc2;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-inner > p {
    margin: 0;
    color: #aebdc2;
    font-size: 12px;
}

.footer-product {
    display: flex;
    flex-direction: column;
    justify-self: end;
    text-align: right;
}

.footer-product span {
    color: #aebdc2;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-product strong {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 550;
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 24px;
    }

    .site-navigation {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner > p {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 0;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 0 16px;
        min-height: 0;
        padding: 12px 24px 0;
    }

    .header-status {
        grid-column: 2;
        grid-row: 1;
        font-size: 0;
    }

    .site-navigation {
        position: static;
        left: auto;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        gap: 28px;
        overflow-x: auto;
        margin: 12px -24px 0;
        padding: 0 24px;
        border-top: 1px solid var(--pf-border);
        transform: none;
        scrollbar-width: none;
    }

    .site-navigation::-webkit-scrollbar {
        display: none;
    }

    .site-navigation a {
        padding-block: 14px;
    }

    .site-navigation a::after {
        bottom: 8px;
    }
}

@media (max-width: 700px) {
    .footer-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 40px;
    }

    .footer-product {
        justify-self: start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
