/* ============================================================
   shell.css — cool-paper furniture shared by every page.
   Loaded by the landing and by every secondary page, after
   styles.css (which owns the tokens) and before the page's own
   sheet (landing.css or pages.css).
   ============================================================ */

/* the site-wide html,body height:100% rule caps the document at one
   viewport on this page; release it so the page reports its true height */
html:has(body.lp),
body.lp {
    height: auto;
}

body.lp {
    background: var(--lp-ground);
    color: var(--lp-text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.lp a {
    color: var(--lp-ink);
    text-decoration: none;
}
body.lp a:hover {
    color: var(--lp-soft);
}

.lp-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* header */
.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    padding-top: 28px;
    padding-bottom: 28px;
}
.lp-wordmark {
    font-family: var(--font-brand);
    font-size: 22px;
    letter-spacing: -0.01em;
}
.lp-nav {
    display: flex;
    gap: 32px;
    font-size: 14.5px;
}
.lp-nav a {
    color: var(--lp-soft);
}
.lp-pill {
    border: 1px solid var(--lp-pill-line);
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 14.5px;
    font-weight: 500;
}

/* shared type */
.lp-kicker {
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-label);
    font-weight: 500;
    margin: 0 0 20px;
}
.lp-h2 {
    font-family: var(--font-display);
    font-weight: var(--lp-weight-display);
    font-size: 38px;
    line-height: var(--lp-lh-display);
    letter-spacing: -0.015em;
    color: var(--lp-ink);
    margin: 0;
    text-wrap: pretty;
}
.lp-h2--large {
    font-size: 44px;
}
.lp-body {
    margin: 0 0 22px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--lp-text);
}
.lp-body--soft {
    color: var(--lp-soft);
}
.lp-btn {
    background: var(--lp-ink);
    color: var(--lp-ground) !important;
    border-radius: var(--lp-radius-btn);
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}
.lp-btn:hover {
    background: var(--lp-text);
}
.lp-btn--big {
    padding: 16px 34px;
}

/* keyboard focus */
body.lp a:focus-visible,
body.lp button:focus-visible,
body.lp input:focus-visible {
    outline: 2px solid var(--lp-ink);
    outline-offset: 2px;
    border-radius: 4px;
}
.lp-btn:focus-visible,
.lp-pill:focus-visible,
.lp-android__btn:focus-visible {
    border-radius: var(--lp-radius-btn);
}
.lp-pill:focus-visible {
    border-radius: 999px;
}

/* footer */
.lp-footer {
    border-top: 1px solid var(--lp-panel-line);
}
.lp-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    padding-top: 36px;
    padding-bottom: 36px;
    font-size: 14px;
}
.lp-footer__brand {
    font-family: var(--font-brand);
    font-size: 16px;
    color: var(--lp-ink);
}
.lp-footer__tag {
    color: var(--lp-label);
}
.lp-footer__links {
    display: flex;
    gap: 14px 28px;
    flex-wrap: wrap;
}
.lp-footer__links a {
    color: var(--lp-soft);
}
/* footer language switcher: its own full-width line under the links */
.lp-lang {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    border-top: 1px solid var(--lp-rule);
    padding-top: 20px;
    margin-top: 28px;
}
.lp-lang a,
.lp-lang .lp-lang__current {
    font-size: 14px;
    color: var(--lp-label);
    text-decoration: none;
}
.lp-lang a:hover {
    color: var(--lp-ink);
}
.lp-lang .lp-lang__current {
    color: var(--lp-ink);
    font-weight: 600;
}

/* responsive */
@media (max-width: 640px) {
    .lp-shell {
        padding: 0 24px;
    }
    .lp-nav {
        display: none;
    }
}
