:root {
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --navy: #021a4a;
    --gold: #f2a51a;
    --muted: #c8d2e1;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: #fff;
    background: var(--navy);
}

.landing {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--navy);
}

.landing-header,
.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.landing-header {
    width: calc(100% - 64px);
    min-height: 224px;
    justify-content: flex-start;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.landing-brand img {
    display: block;
    width: auto;
    height: 170px;
    flex: 0 0 auto;
    object-fit: contain;
}

.landing-brand-wordmark {
    display: grid;
    gap: 3px;
    margin-left: 0;
    color: #e8b744;
    text-align: center;
    white-space: nowrap;
}

.landing-brand-wordmark strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1;
}

.landing-brand-wordmark small {
    padding-top: 3px;
    border-top: 1px solid #e8b744;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(.55rem, .9vw, .7rem);
    font-weight: 700;
    letter-spacing: .04em;
}

.landing-location,
.landing-footer {
    color: var(--muted);
    font-size: .82rem;
}

.landing-content {
    width: min(1160px, calc(100% - 64px));
    margin: auto;
    padding-block: 64px 80px;
    text-align: center;
    transform: translateY(-48px);
}

.landing-eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.landing-content h1 {
    max-width: none;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.5rem, 4.8vw, 4rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
    white-space: nowrap;
}

.landing-content h1 span {
    color: var(--gold);
}

.landing-intro {
    max-width: 600px;
    margin: -8px auto 8px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
}

.platform-card {
    display: grid;
    min-height: 150px;
    grid-template-columns: 48px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    column-gap: 15px;
    padding: 22px;
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 10px;
    color: #fff;
    background: #0b2a60;
    box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
    appearance: none;
    font: inherit;
    text-align: left;
    opacity: 1;
}

.platform-card[href] {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.platform-card[href]:hover {
    transform: translateY(-2px);
    border-color: rgb(242 165 26 / 65%);
    background: #10316b;
}

.platform-card[href]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.platform-icon {
    display: grid;
    width: 48px;
    height: 48px;
    grid-row: span 2;
    place-items: center;
    border-radius: 9px;
    color: var(--gold);
    background: #17366d;
}

.platform-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.platform-copy {
    display: grid;
    gap: 6px;
}

.platform-copy strong {
    font-size: 1rem;
    line-height: 1.3;
}

.platform-copy small {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.5;
}

.platform-action {
    grid-column: 2;
    margin-top: 12px;
    color: var(--gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.landing-note {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.landing-footer {
    min-height: 76px;
    border-top: 1px solid rgb(255 255 255 / 20%);
}

@media (max-width: 800px) {
    .landing-content h1 {
        white-space: normal;
    }

    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .landing-header,
    .landing-footer,
    .landing-content {
        width: min(100% - 36px, 460px);
    }

    .landing-header {
        width: calc(100% - 36px);
        min-height: 146px;
    }

    .landing-brand {
        gap: 6px;
    }

    .landing-brand img {
        width: auto;
        height: 96px;
    }

    .landing-brand-wordmark {
        margin-left: 0;
    }

    .landing-brand-wordmark strong {
        font-size: clamp(.9rem, 3.8vw, 1.2rem);
    }

    .landing-brand-wordmark small {
        font-size: clamp(.45rem, 2vw, .58rem);
    }

    .landing-location {
        font-size: .72rem;
    }

    .landing-content {
        padding-block: 54px 60px;
    }

    .landing-intro {
        margin-bottom: 8px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .platform-card {
        min-height: 132px;
        padding: 19px;
    }

    .landing-footer {
        gap: 12px;
        font-size: .72rem;
    }
}

@media (min-width: 700px) and (max-height: 850px) {
    .landing {
        min-height: 100svh;
    }

    .landing-header {
        min-height: clamp(144px, 19vh, 166px);
        flex: 0 0 clamp(144px, 19vh, 166px);
    }

    .landing-brand img {
        width: auto;
        height: 132px;
    }

    .landing-brand-wordmark {
        margin-left: 0;
    }

    .landing-content {
        min-height: 0;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        padding: 14px 0;
        transform: none;
    }

    .landing-content h1 {
        font-size: clamp(1.9rem, 4vw, 3rem);
    }

    .landing-intro {
        margin: 8px auto 16px;
        font-size: clamp(.84rem, 1.25vw, 1rem);
        line-height: 1.45;
    }

    .platform-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(0, 1fr);
        gap: 12px;
    }

    .platform-card {
        min-height: clamp(84px, 16vh, 128px);
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
        padding: clamp(12px, 1.5vw, 20px);
    }

    .platform-copy {
        gap: 5px;
    }

    .platform-copy strong {
        font-size: clamp(.88rem, 1.25vw, 1rem);
    }

    .platform-copy small {
        font-size: clamp(.72rem, 1.05vw, .84rem);
        line-height: 1.4;
    }

    .platform-action {
        margin-top: 8px;
        font-size: clamp(.65rem, .95vw, .76rem);
    }

    .landing-note {
        margin-top: 14px;
        font-size: clamp(.72rem, .9vw, .84rem);
    }

    .landing-footer {
        min-height: clamp(36px, 6vh, 52px);
        flex: 0 0 clamp(36px, 6vh, 52px);
        font-size: clamp(.7rem, .9vw, .82rem);
    }
}

@media (max-width: 560px) and (min-height: 560px) {
    .landing {
        min-height: 100svh;
    }

    .landing-header {
        min-height: 96px;
        flex: 0 0 96px;
    }

    .landing-brand {
        gap: 6px;
    }

    .landing-brand img {
        width: auto;
        height: 68px;
    }

    .landing-brand-wordmark {
        margin-left: 0;
        letter-spacing: .015em;
    }

    .landing-brand-wordmark strong {
        font-size: clamp(.78rem, 4vw, 1rem);
    }

    .landing-brand-wordmark small {
        font-size: clamp(.4rem, 1.9vw, .5rem);
        letter-spacing: .03em;
    }

    .landing-content {
        min-height: 0;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        padding: 8px 0;
        transform: none;
    }

    .landing-content h1 {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .landing-intro {
        margin: 4px auto 8px;
        font-size: .78rem;
        line-height: 1.3;
    }

    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(0, 1fr);
        gap: 6px;
    }

    .platform-card {
        min-height: 0;
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 8px;
        padding: 8px;
    }

    .platform-icon {
        width: 30px;
        height: 30px;
    }

    .platform-copy {
        gap: 3px;
    }

    .platform-copy strong {
        font-size: .78rem;
    }

    .platform-copy small {
        font-size: .64rem;
        line-height: 1.25;
    }

    .platform-action {
        margin-top: 4px;
        font-size: .58rem;
    }

    .landing-note {
        margin-top: 6px;
        font-size: .68rem;
    }

    .landing-footer {
        min-height: 40px;
        flex: 0 0 40px;
        font-size: .65rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .platform-card {
        animation: card-enter .45s both;
    }

    .platform-card:nth-child(2) { animation-delay: 50ms; }
    .platform-card:nth-child(3) { animation-delay: 100ms; }
    .platform-card:nth-child(4) { animation-delay: 150ms; }
    .platform-card:nth-child(5) { animation-delay: 200ms; }
    .platform-card:nth-child(6) { animation-delay: 250ms; }

    @keyframes card-enter {
        from { opacity: 0; transform: translateY(9px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
