:root {
    --brand-deep-navy: #0f1a2d;
    --brand-gold: #d4af37;
    --brand-emerald: #009b77;
    --brand-slate: #1f2937;
    --brand-slate-light: rgba(148, 163, 184, 0.2);
    --surface-base: rgba(17, 24, 39, 0.6);
    --surface-strong: rgba(17, 24, 39, 0.85);
    --text-primary: #f3f4f6;
    --text-secondary: #94a3b8;
    --text-muted: #6b7280;
    --max-content-width: 1200px;
    --font-body: 'Manrope', 'Noto Sans', sans-serif;
    --font-mono: 'Roboto Mono', 'Fira Mono', monospace;
    --transition-base: all 0.25s ease;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--brand-deep-navy);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--brand-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #f7d364;
}

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

button,
.button {
    font: inherit;
    border: none;
    cursor: pointer;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 500,
        'GRAD' 0,
        'opsz' 40;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--brand-deep-navy);
}

.site-main {
    flex: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 26, 45, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.brand svg {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--brand-gold);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.site-nav a {
    color: rgba(226, 232, 240, 0.75);
    font-weight: 500;
    transition: var(--transition-base);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    color: var(--brand-gold);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-actions__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.75);
    transition: var(--transition-base);
}

.site-actions__link:hover {
    color: var(--brand-gold);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition-base);
}

.button--primary {
    background: var(--brand-gold);
    color: var(--brand-deep-navy);
    box-shadow: 0 16px 30px -18px rgba(212, 175, 55, 0.8);
}

.button--primary:hover {
    background: #e6c857;
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -18px rgba(212, 175, 55, 0.9);
}

.button--ghost {
    background: transparent;
    color: var(--brand-gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
    overflow: hidden;
    text-align: center;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image, none);
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 45, 0.85), rgba(15, 26, 45, 0.65) 45%, rgba(15, 26, 45, 0.9));
    z-index: -1;
}

.hero__content {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.hero__title {
    margin: 0;
    font-size: clamp(2.75rem, 6vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
    margin: 0;
    font-size: 1.125rem;
    color: rgba(229, 231, 235, 0.9);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.section {
    padding: clamp(4rem, 9vw, 6rem) 1.5rem;
}

.section--surface {
    background: rgba(17, 24, 39, 0.65);
}

.section--contrast {
    background: #111827;
}

.section--tinted {
    background: rgba(17, 24, 39, 0.85);
}

.section__inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
}

.section__header {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-emerald);
}

.section__title {
    margin: 0.75rem 0 0;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: #fff;
    letter-spacing: -0.02em;
}

.section__description {
    margin-top: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.card-grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
}

.card-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-grid--two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    border-radius: 1rem;
    padding: clamp(1.75rem, 4vw, 2.25rem);
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: var(--transition-base);
}

.card--hover:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 28px 45px -32px rgba(0, 0, 0, 0.75);
}

.card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 155, 119, 0.12);
    border: 1px solid rgba(0, 155, 119, 0.35);
    color: var(--brand-emerald);
    font-size: 28px;
}

.card__title {
    margin: 0;
    font-size: 1.35rem;
    color: #fff;
}

.card__text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.card__meta {
    margin-top: auto;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.card--link {
    color: inherit;
}

.card--link:hover {
    color: inherit;
}

.card--accent {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(17, 24, 39, 0.7);
}

.split {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split--reverse .split__media {
        order: 2;
    }

    .split--reverse .split__text {
        order: 1;
    }
}

.split__media {
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 32px 55px -38px rgba(0, 0, 0, 0.8);
}

.split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 45, 0.05), rgba(15, 26, 45, 0.5));
}

.split__text h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.split__text p {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.85);
}

.timeline {
    position: relative;
    padding-left: 3.75rem;
    margin: 3rem 0 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(148, 163, 184, 0.25);
}

.timeline__item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -3.75rem;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(17, 24, 39, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    box-shadow: 0 14px 35px -25px rgba(0, 0, 0, 0.9);
    font-size: 26px;
}

.timeline__title {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.timeline__text {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
}

.testimonial {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #111827;
}

.testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--testimonial-image, none);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -2;
}

.testimonial::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.6));
    z-index: -1;
}

.testimonial blockquote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
}

.testimonial figcaption {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.testimonial__media {
    margin-top: 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

.cta {
    text-align: center;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.countdown {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-family: var(--font-mono);
    color: var(--brand-gold);
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.countdown__value {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
}

.countdown__label {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.75);
}

.site-footer {
    background: rgba(17, 24, 39, 0.7);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 3rem 1.5rem;
}

.site-footer__inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
    text-align: center;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.site-footer__nav a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.site-footer__nav a:hover {
    color: var(--brand-gold);
}

.site-footer__copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.text-accent {
    color: var(--brand-gold);
}

.text-muted {
    color: var(--text-secondary);
}

.mono {
    font-family: var(--font-mono);
}

.ledger {
    border-radius: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: clamp(2rem, 6vw, 3rem);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.65));
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-auto {
    display: grid;
    gap: 1.5rem;
}

.grid-auto--three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 960px) {
    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .site-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        align-items: center;
        text-align: center;
    }

    .site-actions {
        justify-content: center;
    }

    .site-nav {
        justify-content: center;
    }

    .split__media {
        min-height: 260px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 28px;
    }

    .timeline__marker {
        left: -0.5rem;
    }
}

@media (max-width: 540px) {
    .site-header__inner {
        padding: 1rem;
    }

    .section__header {
        margin-bottom: 2.5rem;
    }

    .hero {
        padding: 4rem 1.25rem;
    }

    .hero__content {
        gap: 1.25rem;
    }

    .card {
        padding: 1.5rem;
    }

    .countdown__label {
        letter-spacing: 0.05em;
    }
}
