:root {
    --bg: #ffffff;
    --bg-elevated: #ffffff;
    --bg-soft: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --text: #000000;
    --text-soft: #000000;
    --text-muted: #000000;
    --accent: #9f3d45;
    --accent-strong: #b64b53;
    --line: rgba(80, 49, 40, 0.12);
    --shadow: 0 24px 60px rgba(82, 53, 40, 0.12);
    --shell: 1180px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --header-bg-alpha: 0.12;
    --section-spacing: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Calibri, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.shell {
    width: min(calc(100% - 2rem), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(17, 17, 17, var(--header-bg-alpha));
    border-bottom: 0;
    transition: background-color 0.2s ease;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 62px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: transparent;
    border: 0;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.nav-toggle {
    display: none;
    margin-left: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.92);
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    cursor: pointer;
}

@media (min-width: 721px) {
    .nav-toggle {
        display: none;
        visibility: hidden;
        pointer-events: none;
    }
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    margin-left: auto;
    font-weight: 700;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    min-width: 92px;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.contact-panel a:hover,
.contact-panel a:focus-visible {
    color: #ffffff;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: #2a2a2a;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: #111111;
    color: #ffffff;
    box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #2a2a2a;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(80, 49, 40, 0.16);
    color: var(--text);
}

.nav-cta {
    min-height: 30px;
    min-width: 92px;
    padding: 0.32rem 0.75rem;
    font-size: 0.82rem;
    line-height: 1;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.9);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    line-height: 0;
    margin-top: -1px;
    background: #000000;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    background: #000000;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.12s linear;
}

.hero-overlay-text {
    max-width: 46ch;
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    font-size: clamp(2.325rem, 4.65vw, 4.875rem);
    font-weight: 700;
    line-height: 1.08;
}

.hero-text-group {
    display: inline;
}

.partner-card,
.stat-card,
.feature-card,
.team-card,
.contact-card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.section-intro h2,
.contact-panel h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.panel-label,
.feature-number,
.team-role {
    margin: 0 0 0.65rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.1;
}

.section-intro p,
.contact-panel p,
.contact-card p,
.team-copy,
.feature-card p {
    color: var(--text-soft);
}

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

.section-muted {
    background: #ffffff;
}

.section-dark {
    background: #ffffff;
}

.section-intro {
    max-width: 52rem;
    margin-bottom: 2.25rem;
}

.section-intro-compact {
    margin-bottom: 1.2rem;
}

.section-intro h2,
.contact-panel h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.section-intro p,
.contact-panel p,
.contact-card p {
    margin: 1rem 0 0;
    font-size: 1.04rem;
}

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

.partner-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem 0 1.5rem;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.partner-marquee.is-dragging {
    cursor: grabbing;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    will-change: transform;
}

.partner-card {
    flex: 0 0 auto;
    min-width: 240px;
    min-height: 118px;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(80, 49, 40, 0.12);
    box-shadow: 0 10px 24px rgba(82, 53, 40, 0.08);
    display: grid;
    place-items: center;
}

.partner-card img {
    max-height: 58px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.stats-grid,
.feature-grid,
.team-grid {
    display: grid;
    gap: 1.25rem;
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.66);
}

.stat-value {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.stat-copy {
    margin: 0.75rem 0 0;
    color: var(--text-soft);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    position: relative;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(56, 38, 32, 0.08) 0%, rgba(56, 38, 32, 0.72) 100%);
}

.feature-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: 1.6rem 1.4rem 1.2rem;
    color: #ffffff;
}

.feature-content::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 44%;
    border-radius: 0;
    background: rgba(17, 17, 17, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.feature-content h3,
.team-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.feature-content h3,
.feature-content p,
.feature-number {
    color: #ffffff;
}

.feature-number {
    margin-bottom: 0.45rem;
}

.feature-content h3 {
    margin-bottom: 0.45rem;
}

.feature-content p {
    margin: 0;
    max-width: 22ch;
}

.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.66);
}

.team-card img {
    width: 220px;
    height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #ffffff;
    border: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}

.contact-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
}

.recaptcha-disclosure {
    max-width: 540px;
    margin: 0.85rem auto 0;
    color: #000000;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: left;
}

.recaptcha-disclosure a {
    color: #000000;
    text-decoration: underline;
}

.signup-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.signup-form input {
    flex: 1;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(80, 49, 40, 0.14);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    padding: 0 1rem;
    font: inherit;
}

.signup-form input::placeholder {
    color: var(--text-muted);
}

.signup-form input:focus-visible {
    outline: 2px solid rgba(178, 58, 72, 0.7);
    outline-offset: 2px;
}

.site-footer {
    padding: 1.5rem 0 2.5rem;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(80, 49, 40, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

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

@media (max-width: 980px) {
    .site-nav,
    .footer-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: grid;
        justify-items: start;
        padding: 1rem 0;
        position: relative;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 0.9rem 1.1rem;
        margin-left: 0;
    }

    .nav-cta {
        display: none;
    }

    .stats-grid,
    .feature-grid,
    .team-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    :root {
        --section-spacing: 3.5rem;
    }

    body {
        font-size: 0.98rem;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        min-height: 100svh;
        object-fit: cover;
        object-position: center center;
    }

    .shell {
        width: min(calc(100% - 1.32rem), var(--shell));
    }

    .site-nav {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        justify-items: stretch;
        gap: 0.75rem;
        padding-inline: 0.42rem;
    }

    .brand {
        min-width: 0;
        max-width: calc(100vw - 6.5rem);
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-self: end;
        position: relative;
        z-index: 1;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.4rem);
        right: 0;
        width: min(240px, calc(100vw - 1.2rem));
        margin-left: 0;
        padding: 0.45rem;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(17, 17, 17, 0.96);
        box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.35rem);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        justify-content: flex-start;
        padding: 0.75rem 0.95rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
    }

    .hero-overlay {
        align-items: center;
        justify-content: center;
        padding: 6.25rem 1.25rem 2rem;
    }

    .hero-overlay-text {
        max-width: 11.5ch;
        margin: 0 auto;
        font-size: clamp(1.9375rem, 9.75vw, 3.0625rem);
        line-height: 1;
        text-align: center;
    }

    .hero-actions,
    .signup-form,
    .footer-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .signup-form input {
        width: 100%;
    }
}
