/*
    The front page, on the board pages' dark look (site.css). The
    cards' pictures are the board's own (scripts/front-page-pictures.ps1).
    The logo's red is --lp-red; its greys are the board's own text greys.
*/

.lp {
    --lp-red: #da2127;
}

.lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.lp-copy {
    padding: 24px 0;
}

/* The wordmark and the headline, one as wide as the other. */
.lp-title {
    display: inline-block;
    max-width: 100%;
}

.lp-mark {
    margin: 0 0 28px;
    line-height: 0;
}

.lp-mark img {
    width: 100%;
    height: auto;
}

/* The leader's bar, run under the headline, its width. */
.lp-lede {
    font-size: min(46px, 4vw);
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.15;
    color: var(--bp-bright);
    margin: 0 0 18px;
    padding-bottom: 18px;
    background: linear-gradient(var(--lp-red), var(--lp-red)) left bottom / 100% 5px no-repeat;
}

.lp-intro {
    font-size: 18px;
    color: var(--bp-muted);
    max-width: 46ch;
    margin: 0 0 24px;
}

.lp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.lp-tag {
    padding: 6px 14px;
    border: 1px solid var(--bp-rule);
    border-left: 4px solid #c1c4c9;
    background: var(--bp-panel);
    color: var(--bp-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-tag-red {
    border-left-color: var(--lp-red);
    color: var(--bp-bright);
}

.lp-powered {
    font-size: 15px;
    color: var(--bp-faint);
    margin: 0;
}

/* The render's own dark background melts into the page's. */
.lp-art {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-art img {
    width: 100%;
    max-width: 440px;
    height: auto;
    --fade: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent),
        linear-gradient(transparent, #000 14%, #000 80%, transparent);
    -webkit-mask-image: var(--fade);
    -webkit-mask-composite: source-in;
    mask-image: var(--fade);
    mask-composite: intersect;
}

/* The cards (the features, See It In Action's streams). */
.lp-points,
.lp-videos {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    max-width: none;
}

.lp-points > li,
.lp-videos > li {
    margin: 0;
    padding: 0;
    background: var(--bp-panel);
    border: 1px solid var(--bp-rule);
}

/*
    The features: an example on the board's own carbon, then what it is.
    Three a row: six columns, a card two of them, so the last row's two are centred.
*/
.lp-points {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lp-points > li {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    padding-bottom: 18px;
}

.lp-points > li.lp-centred {
    grid-column: 2 / span 2;
}

/*
    A grid, not a flex column: an image that is a flex item kept too tall for
    its width in WebKit (Chrome and Safari on an iPad, 2026-11-13), squeezing
    the picture about 7% sideways, the stopwatch no longer round.
*/
.lp-example {
    flex: 1;
    display: grid;
    align-content: center;
    padding: 16px 14px;
    margin-bottom: 16px;
    background: #0a0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23101114'/%3E%3Cstop offset='.5' stop-color='%231c1d21'/%3E%3Cstop offset='1' stop-color='%230d0e10'/%3E%3C/linearGradient%3E%3ClinearGradient id='v' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%230a0b0d'/%3E%3Cstop offset='.5' stop-color='%23131417'/%3E%3Cstop offset='1' stop-color='%2308090a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect y='0' width='4' height='1' fill='url(%23h)'/%3E%3Crect y='1' width='4' height='1' fill='url(%23h)'/%3E%3Crect y='2' width='4' height='1' fill='url(%23h)'/%3E%3Crect y='3' width='4' height='1' fill='url(%23h)'/%3E%3Crect x='2' y='0' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='3' y='0' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='1' y='1' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='2' y='1' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='0' y='2' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='1' y='2' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='0' y='3' width='1' height='1' fill='url(%23v)'/%3E%3Crect x='3' y='3' width='1' height='1' fill='url(%23v)'/%3E%3Cpath d='M0 0h4M0 1h4M0 2h4M0 3h4M0 4h4' stroke='%23040405' stroke-width='.06'/%3E%3C/svg%3E") 0 0 / 28px 28px;
    border-bottom: 1px solid var(--bp-rule);
    overflow: hidden;
}

/* A picture of the board, clear round its plates, as wide as the card lets it be. */
.lp-example img {
    display: block;
    width: 100%;
    height: auto;
}

/* See It In Action: two clubs' streams side by side. */
.lp-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* The club, in the tags' lettering, over its stream. */
.lp-video-club {
    margin: 0;
    padding: 10px 16px;
    border-left: 4px solid var(--lp-red);
    color: var(--bp-bright);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0b0d;
}

.lp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lp-points > li > h2,
.lp-points > li > p {
    margin-left: 18px;
    margin-right: 18px;
}

.lp-points > li > h2 {
    font-size: 17px;
    margin-bottom: 6px;
}

.lp-points > li > p {
    margin-bottom: 0;
    color: var(--bp-muted);
    font-size: 15px;
}

.lp-panel {
    margin-top: 16px;
    padding: 22px 22px 18px;
    background: var(--bp-panel);
    border: 1px solid var(--bp-rule);
    border-left: 4px solid var(--lp-red);
}

.lp-panel h2 {
    font-size: 21px;
    margin-bottom: 8px;
}

.lp-panel p {
    color: var(--bp-muted);
    max-width: 80ch;
}

/* Join the Wait List: the page's one button, in the logo's red. */
.lp-panel .lp-join {
    margin: 16px 0 4px;
}

.lp-join a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--lp-red);
    color: #fff;
    font-weight: 600;
    transition: background .12s;
}

.lp-join a:hover {
    background: #f0333a;
    color: #fff;
    text-decoration: none;
}

.lp-heading {
    font-size: 24px;
    margin: 40px 0 0;
}
@media (max-width: 1100px) {
    .lp-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-points > li,
    .lp-points > li.lp-centred {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .lp-videos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lp-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0;
    }

    .lp-art {
        order: -1;
    }

    .lp-lede {
        font-size: min(46px, 9vw);
    }

    .lp-art img {
        max-width: 360px;
    }

    .lp-points {
        grid-template-columns: 1fr;
    }

    .lp-example {
        min-height: 0;
    }
}
