/* Landing page (public/index.html): the website's page pattern. Shared components are in app.css. */

.wrap {
    max-width: var(--gow-max);
    margin: 0 auto;
    padding-left: var(--gow-gutter);
    padding-right: var(--gow-gutter);
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    padding: 10px 16px;
    background: var(--gow-navy);
    color: var(--gow-white);
    font-weight: var(--gow-weight-bold);
    transform: translateY(-200%);
}

.skip-link:hover {
    color: var(--gow-white);
}

.skip-link:focus-visible {
    transform: none;
    outline-color: var(--gow-white);
    box-shadow: 0 0 0 3px var(--gow-navy);
}

/* Header: white, the color logo at the left and the site name beside it. */
.site-header {
    padding: 14px 0;
    background: var(--gow-white);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-logo {
    display: block;
    width: auto;
    height: 44px;
}

.site-name {
    padding-left: 18px;
    border-left: 1px solid var(--gow-rule);
    color: var(--gow-navy);
    font-family: var(--gow-font-display);
    font-size: 1.35rem;
    font-weight: var(--gow-weight-heading);
}

/* Rep stripe band: at seams only. */
.stripes {
    height: var(--gow-stripe-height);
    background: var(--gow-stripes-navy);
}

.section {
    padding: 48px 0 64px;
}

.section h1 {
    margin: 0 0 12px;
    font-size: var(--gow-fs-h2);
    line-height: var(--gow-lh-heading);
}

.section-lead {
    margin: 0 0 28px;
    text-wrap: pretty;
    font-size: var(--gow-fs-lead);
}

.portal-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gow-gap-cards);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Cards: white, square, Silver border, colored top edge. GSSP keeps its yellow. */
.choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--gow-pad-card);
    border: 1px solid var(--gow-rule);
    border-top: var(--gow-edge) solid var(--gow-navy);
    background: var(--gow-white);
}

.choice-gssp {
    border-top-color: #F2A900; /* GSSP primary yellow, as in gssp/css/brand.css */
}

.choice h2 {
    margin: 0 0 8px;
    font-size: var(--gow-fs-h3);
    line-height: 1.2;
}

.choice p {
    margin: 0 0 24px;
}

.choice .button {
    margin-top: auto;
}

@media (max-width: 860px) {
    .section {
        padding: 32px 0 48px;
    }

    .portal-choices {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding-left: var(--gow-gutter-phone);
        padding-right: var(--gow-gutter-phone);
    }

    .site-logo {
        height: 36px;
    }

    .site-name {
        padding-left: 12px;
        font-size: 1.1rem;
    }

    .header-inner {
        gap: 12px;
    }

    .choice .button {
        width: 100%;
    }
}
