/*
 * landing.css — the landing page (/) for visitors who are not logged in (Components/Landing).
 *
 * Reads the brand tokens of css/brand.css (loaded before it; colours are RGB channels: rgb(var(--sd-brand-600))).
 * Own classes with the lp- prefix, no framework. The page is complete without JS: js/landing.js only adds
 *   - data-scrolled on the header (condensed bar),
 *   - the phone menu sheet (<dialog class="lp-menu">; without JS the menu button is a link to the footer navigation),
 *   - data-lp-reveal on <html> + data-revealed on [data-reveal] blocks (fade-in, only with motion allowed).
 * The theme switcher (#designs) is radio buttons + :has() — no JS.
 * Breakpoints: 480, 640, 768 (the two plans of #preise side by side), 1024 (desktop header, two-column rows), 1280.
 * Contrast (WCAG AA): text brand-950 at ≥ 72 % on white/cream ≥ 7:1; white at ≥ 72 % on brand-900/950 ≥ 8:1;
 * brand-600 links/eyebrows on cream 5.8:1; brand-950 on accent-400 7.7:1.
 */

/* ---- Base ---- */
html[data-landing-page] {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
    html[data-landing-page] { scroll-behavior: smooth; }
}

html[data-lp-menu-open] { overflow: hidden; }

.lp-body {
    --lp-gutter: 1rem;
    --lp-ink: rgb(var(--sd-brand-950));
    --lp-text: rgb(var(--sd-brand-950) / .76);
    --lp-line: rgb(var(--sd-brand-950) / .1);
    --lp-cream: rgb(var(--sd-accent-50));
    margin: 0;
    min-width: 320px;
    background: rgb(var(--sd-surface));
    color: var(--lp-ink);
    font-family: var(--sd-font-sans);
    font-size: 1rem;
    line-height: var(--sd-leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (min-width: 640px) { .lp-body { --lp-gutter: 1.5rem; } }
@media (min-width: 1024px) { .lp-body { --lp-gutter: 2rem; } }

.lp-body *,
.lp-body *::before,
.lp-body *::after { box-sizing: border-box; }

/* Resets without specificity (:where), so every component class below wins over them */
:where(.lp-body) :where(h1, h2, h3, h4, p, ul, ol, figure, fieldset) { margin: 0; }
:where(.lp-body) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.lp-body) :where(a) { color: inherit; }

.lp-body :focus-visible {
    outline: 3px solid rgb(var(--sd-focus-color));
    outline-offset: 3px;
}

/* The menu sheet's first link after a tap (js/landing.js): no ring until a key is pressed */
.lp-body [data-lp-quiet]:focus-visible { outline: none; }

/* Reduced motion: no movement at all — the header does not shrink animated, the FAQ toggle does not turn */
@media (prefers-reduced-motion: reduce) {
    .lp-header,
    .lp-header-inner,
    .lp-faq-toggle,
    .lp-faq-toggle .lp-icon { transition: none; }
}

.lp-icon { flex: none; width: 1.25rem; height: 1.25rem; }

.lp-main:focus { outline: none; }

.lp-container {
    width: 100%;
    max-width: calc(75rem + 2 * var(--lp-gutter));
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
}

.lp-skip {
    position: absolute;
    top: -6rem;
    left: 1rem;
    z-index: 100;
    padding: .75rem 1.125rem;
    border-radius: var(--sd-radius-lg);
    background: rgb(var(--sd-brand-950));
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.lp-skip:focus { top: 1rem; }

/* ---- Buttons and links ---- */
.lp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .5rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--sd-radius-lg);
    font: 600 .9375rem/1.2 var(--sd-font-sans);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.lp-button .lp-icon { width: 1.125rem; height: 1.125rem; }

@media (prefers-reduced-motion: no-preference) {
    .lp-button .lp-icon { transition: transform .15s ease; }
    .lp-button:hover .lp-icon { transform: translateX(3px); }
}

.lp-button--lg {
    min-height: 3.25rem;
    padding: .75rem 1.5rem;
    border-radius: .875rem;
    font-size: 1rem;
}

.lp-button--primary {
    background: rgb(var(--sd-brand-600));
    color: #fff;
    box-shadow: 0 1px 2px rgb(var(--sd-brand-950) / .25), inset 0 1px 0 rgb(255 255 255 / .14);
}

.lp-button--primary:hover { background: rgb(var(--sd-brand-700)); }

.lp-button--secondary {
    border-color: rgb(var(--sd-brand-950) / .16);
    background: #fff;
    color: var(--lp-ink);
}

.lp-button--secondary:hover {
    border-color: rgb(var(--sd-brand-950) / .32);
    background: rgb(var(--sd-brand-50));
}

.lp-button--accent {
    background: rgb(var(--sd-accent-400));
    color: rgb(var(--sd-brand-950));
    box-shadow: 0 1px 2px rgb(0 0 0 / .2), inset 0 1px 0 rgb(255 255 255 / .3);
}

.lp-button--accent:hover { background: rgb(var(--sd-accent-300)); }

.lp-button--on-dark {
    border-color: rgb(255 255 255 / .38);
    background: transparent;
    color: #fff;
}

.lp-button--on-dark:hover {
    border-color: rgb(255 255 255 / .7);
    background: rgb(255 255 255 / .08);
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (max-width: 479.98px) {
    .lp-actions .lp-button { flex: 1 1 100%; }
}

.lp-icon-button {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    padding: 0;
    border: 1px solid rgb(var(--sd-brand-950) / .14);
    border-radius: .875rem;
    background: rgb(255 255 255 / .6);
    color: var(--lp-ink);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.lp-icon-button:hover {
    border-color: rgb(var(--sd-brand-950) / .3);
    background: #fff;
}

.lp-icon-button .lp-icon { width: 1.375rem; height: 1.375rem; }

/* ---- Header ---- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--lp-line);
    background: rgb(var(--sd-accent-50) / .9);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

html[data-landing-ready] .lp-header:not([data-scrolled]) { border-bottom-color: transparent; }

.lp-header[data-scrolled] {
    background: rgb(255 255 255 / .92);
    box-shadow: 0 10px 30px -18px rgb(var(--sd-brand-950) / .35);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 4.5rem;
    transition: height .25s ease;
}

.lp-header[data-scrolled] .lp-header-inner { height: 4rem; }

.lp-brand {
    display: inline-flex;
    align-items: center;
    flex: none;
    min-height: 2.75rem;
    border-radius: var(--sd-radius-md);
}

.lp-brand img { width: auto; height: 1.75rem; }

@media (min-width: 400px) {
    .lp-brand img { height: 2rem; }
}

.lp-nav { display: none; }

.lp-nav ul {
    display: flex;
    gap: .25rem;
    padding: 0;
    list-style: none;
}

.lp-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 .875rem;
    border-radius: 999px;
    color: rgb(var(--sd-brand-950) / .8);
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.lp-nav-link:hover {
    background: rgb(var(--sd-brand-950) / .06);
    color: var(--lp-ink);
}

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.lp-text-link {
    display: none;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 .875rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
}

.lp-text-link:hover { background: rgb(var(--sd-brand-950) / .06); }

.lp-header-cta {
    min-height: 2.75rem;
    padding-inline: 1rem;
    font-size: .9375rem;
}

.lp-cta-short { display: none; }

@media (max-width: 639.98px) {
    .lp-header-cta .lp-cta-long {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .lp-header-cta .lp-cta-short { display: inline; }
}

@media (min-width: 640px) {
    .lp-text-link { display: inline-flex; }
}

@media (min-width: 1024px) {
    .lp-nav { display: block; margin-inline: auto; }
    .lp-header-actions { margin-left: 0; }
    .lp-menu-button { display: none; }
}

/* Five sections ("Preise" while billing is on) next to the German "Kostenlos registrieren": narrower pills keep every
   entry on one line up to 1280 px */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .lp-nav--compact .lp-nav-link { padding-inline: .5rem; white-space: nowrap; }
}

/* ---- Menu sheet (phones and tablets) ---- */
.lp-menu {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lp-ink);
    overflow: visible;
}

.lp-menu::backdrop {
    background: rgb(var(--sd-brand-950) / .5);
}

.lp-menu-panel {
    max-height: 100dvh;
    overflow-y: auto;
    padding: .5rem var(--lp-gutter) 1.5rem;
    border-radius: 0 0 1.75rem 1.75rem;
    background: var(--lp-cream);
    box-shadow: var(--sd-shadow-lg);
}

.lp-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.lp-menu-head .lp-brand img { height: 1.875rem; }

.lp-menu-links {
    margin-top: .75rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--lp-line);
}

.lp-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding: 0 .25rem;
    border-bottom: 1px solid var(--lp-line);
    font: 700 1.25rem/1.2 var(--sd-font-display);
    letter-spacing: -.01em;
    text-decoration: none;
}

.lp-menu-link .lp-icon { color: rgb(var(--sd-brand-600)); }

.lp-menu-actions {
    display: grid;
    gap: .75rem;
    margin-top: 1.5rem;
}

@media (min-width: 480px) {
    .lp-menu-actions { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .lp-menu[open] .lp-menu-panel { animation: lp-menu-in .24s cubic-bezier(.2, .8, .2, 1); }
    .lp-menu[open]::backdrop { animation: lp-fade-in .24s ease; }
}

@keyframes lp-menu-in {
    from { transform: translateY(-1rem); opacity: 0; }
}

@keyframes lp-fade-in {
    from { opacity: 0; }
}

/* ---- Typography ---- */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    margin-bottom: 1rem;
    color: rgb(var(--sd-brand-600));
    font: 700 .8125rem/1.3 var(--sd-font-sans);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-eyebrow-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgb(var(--sd-accent-500));
    box-shadow: 0 0 0 4px rgb(var(--sd-accent-400) / .28);
}

.lp-hero-title {
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.lp-mark {
    padding: 0 .08em;
    background: linear-gradient(transparent 58%, rgb(var(--sd-accent-300)) 58%, rgb(var(--sd-accent-300)) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.lp-lead {
    max-width: 34rem;
    margin-top: 1.5rem;
    color: var(--lp-text);
    font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    line-height: 1.6;
}

.lp-h2 {
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.lp-h3 {
    margin-bottom: 1rem;
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 1.15vw, 2.25rem);
    line-height: 1.14;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.lp-h4 {
    font-family: var(--sd-font-display);
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: rgb(var(--sd-brand-600));
    font-weight: 700;
    font-size: .9375rem;
}

/* ---- Hero ---- */
.lp-hero {
    padding: 2.5rem 0 3rem;
    background:
        radial-gradient(56rem 36rem at 92% -12%, rgb(var(--sd-brand-100) / .85), transparent 62%),
        radial-gradient(40rem 30rem at -10% 110%, rgb(var(--sd-accent-100) / .9), transparent 60%),
        var(--lp-cream);
}

.lp-hero-grid {
    display: grid;
    gap: 2.75rem;
    align-items: center;
}

.lp-hero .lp-actions { margin-top: 2rem; }

.lp-hero-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.125rem;
    color: rgb(var(--sd-brand-950) / .72);
    font-size: .9375rem;
}

.lp-hero-note .lp-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: rgb(var(--sd-brand-600));
}

/* The stage: a petrol panel, the phone rises from its lower edge (clipped), QR viewfinder corners above it */
.lp-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    align-items: start;
    height: clamp(25rem, 17rem + 40vw, 32rem);
    padding: 2.25rem 1rem 0;
    border-radius: 2rem;
    background: radial-gradient(120% 85% at 82% 0%, rgb(var(--sd-brand-600)) 0%, rgb(var(--sd-brand-900)) 52%, rgb(var(--sd-brand-950)) 100%);
    box-shadow: 0 40px 80px -40px rgb(var(--sd-brand-950) / .6);
    overflow: hidden;
}

.lp-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgb(255 255 255 / .14) 1px, transparent 1.6px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 100%);
    mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 100%);
}

.lp-stage::after {
    content: "";
    position: absolute;
    right: -20%;
    bottom: -30%;
    z-index: -1;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--sd-accent-400) / .38), transparent 66%);
}

.lp-stage-phone {
    position: relative;
    padding: 1rem 1rem 0;
}

.lp-corner {
    position: absolute;
    width: 2.25rem;
    height: 2.25rem;
    border: 4px solid rgb(var(--sd-accent-400));
}

.lp-corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 1.125rem; }
.lp-corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 1.125rem; }

.lp-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem .875rem .625rem .625rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / .97);
    box-shadow: 0 18px 40px -16px rgb(0 0 0 / .45);
    color: rgb(var(--sd-brand-950) / .72);
    font-size: .8125rem;
    line-height: 1.3;
}

.lp-float strong {
    display: block;
    color: var(--lp-ink);
    font-size: .875rem;
}

.lp-float > span:last-child > span { display: block; }

.lp-float-icon {
    display: grid;
    place-items: center;
    width: 2.375rem;
    height: 2.375rem;
    flex: none;
    border-radius: .75rem;
    background: rgb(var(--sd-brand-50));
    color: rgb(var(--sd-brand-600));
}

.lp-float-icon--accent {
    background: rgb(var(--sd-accent-100));
    color: rgb(var(--sd-accent-800));
}

.lp-float--scan { top: 34%; left: .75rem; }
.lp-float--live { right: .75rem; bottom: 12%; }

@media (max-width: 419.98px) {
    .lp-float { display: none; }
}

@media (min-width: 640px) {
    .lp-stage { padding: 3rem 2rem 0; }
    .lp-float--scan { left: 1.5rem; }
    .lp-float--live { right: 1.5rem; }
}

@media (min-width: 1024px) {
    .lp-hero { padding: 3.5rem 0 4rem; }
    .lp-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        gap: 3rem;
    }
    .lp-stage { height: 34rem; padding: 3.25rem 2rem 0; }
    .lp-float--scan { top: 18%; left: 1rem; }
    .lp-float--live { right: 1rem; }
}

@media (min-width: 1280px) {
    .lp-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3.5rem; }
    .lp-float--scan { left: 1.75rem; }
    .lp-float--live { right: 1.75rem; }
}

.lp-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 2.5rem;
    padding: 0;
    list-style: none;
}

.lp-proof li {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 2.25rem;
    padding: .25rem .75rem .25rem .625rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: rgb(255 255 255 / .78);
    font-weight: 600;
    font-size: .8125rem;
}

.lp-proof .lp-icon {
    width: 1rem;
    height: 1rem;
    color: rgb(var(--sd-brand-600));
}

@media (min-width: 640px) {
    .lp-proof { margin-top: 3rem; gap: .625rem; }
    .lp-proof li { gap: .5rem; min-height: 2.5rem; padding: .375rem 1rem .375rem .75rem; font-size: .9375rem; }
    .lp-proof .lp-icon { width: 1.125rem; height: 1.125rem; }
}

@media (min-width: 1024px) {
    .lp-proof { margin-top: 4rem; gap: .75rem; }
}

/* ---- Phone and browser frames ---- */
.lp-phone {
    position: relative;
    width: var(--lp-phone-w, 18.75rem);
    max-width: 100%;
    padding: .5625rem;
    border-radius: 2.6rem;
    background: linear-gradient(150deg, #33464d 0%, #0d1a1e 45%, #050b0d 100%);
    box-shadow:
        inset 0 0 0 1px rgb(255 255 255 / .1),
        0 40px 70px -30px rgb(13 38 45 / .55),
        0 14px 28px -14px rgb(13 38 45 / .4);
}

.lp-phone-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 300 / 649;
    border-radius: 2.1rem;
    background: #fff;
}

.lp-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-phone-island {
    position: absolute;
    top: 1.0625rem;
    left: 50%;
    width: 27%;
    height: 1.375rem;
    border-radius: 999px;
    background: #04090b;
    transform: translateX(-50%);
}

.lp-phone--hero { --lp-phone-w: clamp(14.5rem, 62vw, 17.5rem); }

.lp-browser {
    width: 100%;
    max-width: 40rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px rgb(var(--sd-brand-950) / .08), 0 30px 60px -30px rgb(var(--sd-brand-950) / .45);
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    height: 2.25rem;
    padding: 0 .875rem;
    border-bottom: 1px solid rgb(var(--sd-border));
    background: rgb(var(--sd-surface-muted));
}

.lp-browser-dots { display: flex; gap: .375rem; }

.lp-browser-dots span {
    width: .625rem;
    height: .625rem;
    border-radius: 50%;
    background: rgb(var(--sd-border-strong));
}

.lp-browser-address {
    flex: 1;
    max-width: 16rem;
    height: 1.25rem;
    margin-inline: auto;
    border: 1px solid rgb(var(--sd-border));
    border-radius: 999px;
    background: #fff;
}

.lp-browser img { width: 100%; }

/* ---- Sections ---- */
.lp-section {
    padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem);
}

.lp-section--cream { background: var(--lp-cream); }
.lp-section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }

.lp-intro {
    max-width: 48rem;
    margin-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}

.lp-intro-text {
    max-width: 40rem;
    margin-top: 1.25rem;
    color: var(--lp-text);
    font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
    line-height: 1.6;
}

.lp-intro--center {
    margin-inline: auto;
    text-align: center;
}

.lp-intro--center .lp-intro-text { margin-inline: auto; }

@media (min-width: 1024px) {
    .lp-intro:not(.lp-intro--center) {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        column-gap: 4rem;
        max-width: none;
    }

    .lp-intro:not(.lp-intro--center) > .lp-eyebrow,
    .lp-intro:not(.lp-intro--center) > .lp-h2 { grid-column: 1; }

    .lp-intro:not(.lp-intro--center) > .lp-eyebrow { justify-self: start; }

    .lp-intro:not(.lp-intro--center) > .lp-intro-text {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: end;
        margin-top: 0;
    }
}

/* ---- Feature rows ---- */
.lp-feature {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.lp-feature + .lp-feature { margin-top: clamp(4.5rem, 3rem + 6vw, 8rem); }

.lp-feature-copy > p:not(.lp-kicker) {
    max-width: 34rem;
    color: var(--lp-text);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.lp-checks {
    display: grid;
    gap: .875rem;
    margin-top: 1.75rem;
    padding: 0;
    list-style: none;
}

.lp-checks li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: rgb(var(--sd-brand-950) / .86);
    line-height: 1.5;
}

.lp-checks .lp-icon {
    width: 1.375rem;
    height: 1.375rem;
    margin-top: .0625rem;
    padding: .25rem;
    border-radius: 50%;
    background: rgb(var(--sd-brand-600));
    color: #fff;
}

.lp-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: clamp(2rem, 1rem + 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
    border-radius: 2rem;
    background:
        radial-gradient(70% 60% at 85% 10%, rgb(var(--sd-brand-100)), transparent 70%),
        linear-gradient(165deg, var(--lp-cream) 0%, rgb(var(--sd-accent-100) / .7) 100%);
    overflow: hidden;
}

.lp-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgb(var(--sd-brand-950) / .09) 1px, transparent 1.5px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.lp-visual .lp-phone { --lp-phone-w: min(17.5rem, 100%); }

.lp-visual--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: clamp(.75rem, 3vw, 2.5rem);
}

.lp-visual--duo .lp-phone { --lp-phone-w: min(15.5rem, 100%); }

.lp-phone--back {
    justify-self: end;
    margin-right: -14%;
    transform: translateY(6%) scale(.94);
}

.lp-phone--front {
    z-index: 1;
    justify-self: start;
    margin-left: -14%;
    transform: translateY(-4%);
}

.lp-visual--wide { padding: clamp(1.25rem, .5rem + 3vw, 2.75rem); }

@media (min-width: 1024px) {
    .lp-feature {
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
        gap: 4.5rem;
    }

    .lp-feature--flip { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
    .lp-feature--flip .lp-feature-copy { order: 2; }
}

/* ---- Designs (theme switcher) ---- */
.lp-designs-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.lp-theme-picker {
    min-width: 0;
    margin: 2.25rem 0 0;
    padding: 0;
    border: 0;
}

.lp-theme-legend {
    margin-bottom: .875rem;
    padding: 0;
    color: rgb(var(--sd-brand-950) / .72);
    font-weight: 700;
    font-size: .875rem;
}

.lp-theme-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

@media (min-width: 480px) {
    .lp-theme-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.lp-theme-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.lp-theme-chip {
    display: flex;
    align-items: center;
    gap: .625rem;
    min-height: 3rem;
    padding: 0 .875rem;
    border: 1px solid rgb(var(--sd-brand-950) / .14);
    border-radius: .875rem;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.lp-theme-chip:hover { border-color: rgb(var(--sd-brand-950) / .32); }

.lp-theme-input:checked + .lp-theme-chip {
    border-color: rgb(var(--sd-brand-600));
    background: rgb(var(--sd-brand-50));
    box-shadow: inset 0 0 0 1px rgb(var(--sd-brand-600));
}

.lp-theme-input:focus-visible + .lp-theme-chip {
    outline: 3px solid rgb(var(--sd-focus-color));
    outline-offset: 2px;
}

.lp-swatch {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    border-radius: 50%;
    background: var(--lp-swatch);
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / .55), 0 0 0 1px rgb(0 0 0 / .12);
}

.lp-designs-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1rem 0;
}

.lp-designs-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(30rem, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--sd-brand-100)) 0%, rgb(var(--sd-brand-100) / 0) 68%);
}

.lp-phone--themes {
    z-index: 1;
    --lp-phone-w: clamp(14rem, 66vw, 18.75rem);
}

/* One screenshot at a time: the checked radio's (without :has() support the default, LandingImages.DefaultThemeKey) */
.lp-theme-shot { display: none; }
.lp-theme-shot[data-theme="classic"] { display: block; }

@supports selector(:has(*)) {
    .lp-designs .lp-theme-shot[data-theme="classic"] { display: none; }

    .lp-designs:has(#lp-theme-modern:checked) .lp-theme-shot[data-theme="modern"],
    .lp-designs:has(#lp-theme-classic:checked) .lp-theme-shot[data-theme="classic"],
    .lp-designs:has(#lp-theme-elegant:checked) .lp-theme-shot[data-theme="elegant"],
    .lp-designs:has(#lp-theme-minimal:checked) .lp-theme-shot[data-theme="minimal"],
    .lp-designs:has(#lp-theme-fancy:checked) .lp-theme-shot[data-theme="fancy"],
    .lp-designs:has(#lp-theme-dark:checked) .lp-theme-shot[data-theme="dark"] { display: block; }
}

/* "Try the … design live": the checked design's link into the demo (/demo?theme=…), like the screenshots */
.lp-theme-demo { margin: 1.25rem 0 0; }

.lp-theme-demo-link {
    display: none;
    align-items: center;
    gap: .375rem;
    min-height: 2.75rem;
    color: rgb(var(--sd-brand-700));
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
}

.lp-theme-demo-link:hover { color: rgb(var(--sd-brand-900)); text-decoration-thickness: 2px; }
.lp-theme-demo-link .lp-icon { width: 1.125rem; height: 1.125rem; }
.lp-theme-demo-link[data-theme="classic"] { display: inline-flex; }

@supports selector(:has(*)) {
    .lp-designs .lp-theme-demo-link[data-theme="classic"] { display: none; }

    .lp-designs:has(#lp-theme-modern:checked) .lp-theme-demo-link[data-theme="modern"],
    .lp-designs:has(#lp-theme-classic:checked) .lp-theme-demo-link[data-theme="classic"],
    .lp-designs:has(#lp-theme-elegant:checked) .lp-theme-demo-link[data-theme="elegant"],
    .lp-designs:has(#lp-theme-minimal:checked) .lp-theme-demo-link[data-theme="minimal"],
    .lp-designs:has(#lp-theme-fancy:checked) .lp-theme-demo-link[data-theme="fancy"],
    .lp-designs:has(#lp-theme-dark:checked) .lp-theme-demo-link[data-theme="dark"] { display: inline-flex; }
}

/* Below 1024 px the phone sits between the text and the choices, so a tap shows its result right above the finger */
@media (max-width: 1023.98px) {
    .lp-designs-grid { gap: 0; }
    .lp-designs-copy { display: contents; }
    .lp-designs-visual { order: 1; margin: 2.5rem 0 2rem; }
    .lp-theme-picker { order: 2; margin-top: 0; }
    .lp-theme-demo { order: 3; }
}

@media (min-width: 1024px) {
    .lp-designs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 4rem; }
}

/* ---- Bento cards ---- */
.lp-bento {
    display: grid;
    gap: 1rem;
}

.lp-card {
    padding: 1.75rem;
    border: 1px solid rgb(var(--sd-brand-950) / .08);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--sd-shadow-xs);
}

.lp-card .lp-h4 { margin: 1.25rem 0 .5rem; }

.lp-card p {
    color: var(--lp-text);
    font-size: .975rem;
    line-height: 1.6;
}

.lp-card-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .875rem;
    background: rgb(var(--sd-brand-50));
    color: rgb(var(--sd-brand-600));
}

.lp-card--media {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    overflow: hidden;
    background:
        radial-gradient(80% 70% at 100% 100%, rgb(var(--sd-brand-100) / .9), transparent 70%),
        #fff;
}

.lp-card--media .lp-card-icon {
    background: rgb(var(--sd-accent-100));
    color: rgb(var(--sd-accent-800));
}

.lp-card-text p { max-width: 32rem; }

.lp-card-media {
    margin-top: auto;
    padding-top: 1.75rem;
}

.lp-card-note {
    margin-top: .5rem;
    color: rgb(var(--sd-brand-950) / .62);
    font-size: .8125rem;
}

.lp-card-shot {
    width: 100%;
    border: 1px solid rgb(var(--sd-brand-950) / .08);
    border-bottom: 0;
    border-radius: .875rem .875rem 0 0;
    box-shadow: 0 -10px 40px -20px rgb(var(--sd-brand-950) / .35);
}

@media (min-width: 640px) {
    .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-card--wide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    .lp-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
    .lp-card--wide { grid-column: span 2; grid-row: span 2; }
}

/* ---- Steps (dark band) ---- */
.lp-steps {
    position: relative;
    background:
        radial-gradient(60rem 30rem at 10% 0%, rgb(var(--sd-brand-700) / .9), transparent 65%),
        radial-gradient(40rem 26rem at 100% 100%, rgb(var(--sd-accent-600) / .22), transparent 65%),
        rgb(var(--sd-brand-950));
    color: #fff;
}

.lp-intro--on-dark .lp-eyebrow { color: rgb(var(--sd-accent-300)); }
.lp-steps .lp-h2 { color: #fff; }

.lp-step-list {
    display: grid;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.lp-step {
    position: relative;
    padding: 2rem 1.75rem 2.25rem;
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 1.5rem;
    background: rgb(255 255 255 / .05);
}

.lp-step-number {
    position: absolute;
    top: 1.375rem;
    right: 1.5rem;
    color: rgb(var(--sd-accent-400));
    font: 800 2.75rem/1 var(--sd-font-display);
    letter-spacing: -.04em;
}

.lp-step-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / .1);
    color: #fff;
}

.lp-step-icon .lp-icon { width: 1.5rem; height: 1.5rem; }

.lp-step .lp-h4 {
    margin: 1.5rem 0 .5rem;
    color: #fff;
    font-size: 1.3125rem;
}

.lp-step p { color: rgb(255 255 255 / .76); line-height: 1.6; }

.lp-steps-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.lp-steps :focus-visible,
.lp-cta-band :focus-visible,
.lp-footer :focus-visible { outline-color: rgb(var(--sd-accent-300)); }

@media (min-width: 1024px) {
    .lp-step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

/* ---- Pricing (#preise, Components/Landing/LandingPricing; rendered only while billing is on) ----
   Two plans side by side from 768 px, stacked below; equal heights, the call to action at the bottom of each card. The
   paid plan is highlighted by a thicker brand border, a stronger shadow and its text badge (dark text on accent) — not
   by colour alone. */
.lp-plans {
    display: grid;
    gap: 2rem;
    max-width: 60rem;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.lp-plan {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
    border: 1px solid rgb(var(--sd-brand-950) / .1);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--sd-shadow-xs);
}

.lp-plan--featured {
    position: relative;
    border: 2px solid rgb(var(--sd-brand-600));
    background:
        radial-gradient(90% 55% at 100% 0%, rgb(var(--sd-brand-50)), transparent 70%),
        #fff;
    box-shadow: 0 30px 60px -32px rgb(var(--sd-brand-950) / .45);
}

.lp-plan-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    min-height: 2rem;
}

.lp-plan-name {
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: 1.375rem;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.lp-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 1.875rem;
    padding: .25rem .75rem .25rem .625rem;
    border-radius: 999px;
    background: rgb(var(--sd-accent-400));
    color: rgb(var(--sd-brand-950));
    font-weight: 700;
    font-size: .8125rem;
    line-height: 1.2;
}

.lp-plan-badge .lp-icon { width: 1rem; height: 1rem; }

/* The badge sits on the card's top border (after the name in the markup, so it is read after it): both cards' names
   and prices stay on one line however long the product's name is */
.lp-plan--featured .lp-plan-badge {
    position: absolute;
    top: -1px;
    left: clamp(1.5rem, 1rem + 2vw, 2.25rem);
    transform: translateY(-50%);
}

/* "29,00 € pro Monat": the amount (UiMarkup.Strong) large, the rest of the sentence in the text size */
.lp-plan-price {
    margin-top: 1.25rem;
    color: var(--lp-text);
    font-weight: 600;
}

.lp-plan-amount {
    margin-right: .25rem;
    color: var(--lp-ink);
    font: 800 clamp(2.25rem, 1.9rem + 1.4vw, 3rem)/1.05 var(--sd-font-display);
    letter-spacing: -.03em;
    white-space: nowrap;
}

.lp-plan-text {
    margin-top: .75rem;
    color: var(--lp-text);
    line-height: 1.6;
}

.lp-plan-checks {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-line);
}

.lp-plan-sub {
    display: block;
    margin-top: .125rem;
    color: rgb(var(--sd-brand-950) / .72);
    font-size: .875rem;
}

.lp-plan-action {
    display: grid;
    gap: .875rem;
    margin-top: auto;
    padding-top: 2rem;
}

.lp-plan-action .lp-button { width: 100%; }

.lp-plan-note {
    color: rgb(var(--sd-brand-950) / .72);
    font-size: .9375rem;
    line-height: 1.5;
}

.lp-pricing-vat {
    max-width: 40rem;
    margin: 1.75rem auto 0;
    color: rgb(var(--sd-brand-950) / .72);
    font-size: .875rem;
    line-height: 1.5;
    text-align: center;
}

/* ---- FAQ ---- */
.lp-faq-grid {
    display: grid;
    gap: 2.5rem;
}

.lp-faq-list { border-top: 1px solid var(--lp-line); }

.lp-faq-item { border-bottom: 1px solid var(--lp-line); }

.lp-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.75rem;
    padding: 1rem 0;
    font: 700 1.0625rem/1.4 var(--sd-font-display);
    letter-spacing: -.005em;
    list-style: none;
    cursor: pointer;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary:focus-visible { border-radius: .5rem; }

.lp-faq-toggle {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: none;
    border-radius: 50%;
    background: rgb(var(--sd-brand-50));
    color: rgb(var(--sd-brand-700));
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.lp-faq-toggle .lp-icon { width: 1.125rem; height: 1.125rem; }

.lp-faq-item summary:hover .lp-faq-toggle { background: rgb(var(--sd-brand-100)); }

.lp-faq-item[open] .lp-faq-toggle {
    transform: rotate(45deg);
    background: rgb(var(--sd-brand-600));
    color: #fff;
}

.lp-faq-answer {
    max-width: 42rem;
    padding: 0 3.25rem 1.5rem 0;
    color: var(--lp-text);
    line-height: 1.65;
}

@media (min-width: 1024px) {
    .lp-faq-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 5rem;
        align-items: start;
    }

    .lp-faq-intro { position: sticky; top: 6.5rem; }
}

/* ---- Closing CTA band ---- */
.lp-cta-band {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 2rem;
    padding: clamp(2.25rem, 1rem + 4.5vw, 4.5rem);
    border-radius: 2rem;
    background:
        radial-gradient(70% 120% at 100% 0%, rgb(var(--sd-brand-600)), transparent 60%),
        rgb(var(--sd-brand-900));
    color: #fff;
    overflow: hidden;
}

.lp-cta-band::before,
.lp-cta-band::after {
    content: none;
    position: absolute;
    z-index: -1;
    width: 3.5rem;
    height: 3.5rem;
    border: 5px solid rgb(var(--sd-accent-400) / .85);
}

.lp-cta-band::before { top: 1.25rem; left: 1.25rem; border-right: 0; border-bottom: 0; border-top-left-radius: 1.25rem; }
.lp-cta-band::after { right: 1.25rem; bottom: 1.25rem; border-left: 0; border-top: 0; border-bottom-right-radius: 1.25rem; }

@media (min-width: 640px) {
    .lp-cta-band::before,
    .lp-cta-band::after { content: ""; }
}

.lp-cta-band .lp-h2 {
    color: #fff;
    font-size: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
}

.lp-cta-band p {
    max-width: 34rem;
    margin-top: 1rem;
    color: rgb(255 255 255 / .8);
    font-size: 1.125rem;
}

@media (min-width: 1024px) {
    .lp-cta-band {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 3rem;
    }
}

/* ---- Legal pages (/impressum, Components/Legal/ImprintPage) ----
   The text column stays readable (≤ 44rem); from 1024 px the heading sits sticky on the left like the FAQ intro.
   Long words (addresses, e-mail) wrap instead of widening the page. */
.lp-legal {
    padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 4vw, 7rem);
    background: linear-gradient(rgb(var(--sd-accent-50)), rgb(var(--sd-surface)) 22rem);
}

.lp-legal-grid {
    display: grid;
    gap: 2.5rem;
}

.lp-legal-title {
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.lp-legal-lead {
    max-width: 30rem;
    margin-top: 1.25rem;
    color: var(--lp-text);
    font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
    line-height: 1.6;
}

.lp-legal-note {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    max-width: 30rem;
    margin-top: 1.5rem;
    padding: .75rem 1rem;
    border: 1px solid rgb(var(--sd-brand-600) / .18);
    border-radius: var(--sd-radius-lg);
    background: rgb(var(--sd-brand-50));
    color: rgb(var(--sd-brand-900));
    font-size: .9375rem;
    line-height: 1.5;
}

.lp-legal-note .lp-icon {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(var(--sd-brand-600));
}

.lp-legal-body {
    max-width: 44rem;
    border-top: 1px solid var(--lp-line);
}

.lp-legal-body section {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--lp-line);
}

.lp-legal-body h2 {
    margin-bottom: .5rem;
    font-family: var(--sd-font-display);
    font-weight: 800;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.lp-legal-body p {
    color: var(--lp-text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.lp-legal-body strong { color: var(--lp-ink); }

.lp-legal-body a {
    color: rgb(var(--sd-brand-700));
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lp-legal-body a:hover { color: rgb(var(--sd-brand-900)); }

.lp-legal-placeholder { font-style: italic; }

/* The privacy policy (/datenschutz, AP16b): long sections with several paragraphs, lists, code, the cookie table,
   the contents list in the head and the counter's opt-out switch (js/legal.js) */

/* "Datenschutzerklärung" is one long word: the title shrinks with its column (≈ 10.4 em wide) instead of overflowing */
.lp-legal-head--toc { container-type: inline-size; }

.lp-legal-head--toc .lp-legal-title { font-size: min(clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem), 9.2cqi); }

.lp-legal-toc { margin-top: 2rem; }

.lp-legal-toc-title {
    color: rgb(var(--sd-brand-700));
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.lp-legal-toc ul {
    margin-top: .375rem;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--lp-line);
}

.lp-legal-toc a {
    display: block;
    padding: .5625rem 0 .5625rem 1rem;
    color: var(--lp-text);
    font-size: .9375rem;
    line-height: 1.4;
    text-decoration: none;
}

.lp-legal-toc a:focus-visible { border-radius: .375rem; outline-offset: -3px; }

.lp-legal-toc a:hover {
    color: rgb(var(--sd-brand-700));
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-legal-intro {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--lp-line);
}

.lp-legal-prose section > * + * { margin-top: .875rem; }

.lp-legal-prose section > h2 + * { margin-top: 0; }

.lp-legal-prose ul {
    padding-left: 1.25rem;
    color: var(--lp-text);
    line-height: 1.7;
    list-style: disc;
}

.lp-legal-prose li { overflow-wrap: anywhere; }

.lp-legal-prose li + li,
.lp-legal-prose li > ul,
.lp-legal-prose li > p { margin-top: .375rem; }

.lp-legal-prose li > ul { list-style: circle; }

.lp-legal-prose code {
    padding: .0625rem .3125rem;
    border-radius: .3125rem;
    background: rgb(var(--sd-brand-950) / .06);
    color: var(--lp-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .875em;
    overflow-wrap: anywhere;
}

.lp-legal-table-wrap { overflow-x: auto; }

.lp-legal-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--lp-text);
    font-size: .9375rem;
    line-height: 1.55;
}

.lp-legal-table th,
.lp-legal-table td {
    padding: .625rem .75rem;
    border-bottom: 1px solid var(--lp-line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.lp-legal-table thead th {
    background: rgb(var(--sd-brand-50));
    color: var(--lp-ink);
    font-weight: 700;
}

.lp-legal-table tbody th { color: var(--lp-ink); font-weight: 600; }

/* A cookie name breaks only after a dot (<wbr> in the markup), never inside a word */
.lp-legal-table th code { overflow-wrap: normal; }

/* Phones: one block per cookie, the column names as small labels (the head stays for screen readers) */
@media (max-width: 639.98px) {
    .lp-legal-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .lp-legal-table,
    .lp-legal-table tbody,
    .lp-legal-table tr,
    .lp-legal-table th,
    .lp-legal-table td { display: block; }

    .lp-legal-table tbody tr {
        padding-block: .875rem;
        border-bottom: 1px solid var(--lp-line);
    }

    .lp-legal-table tbody tr:first-child { border-top: 1px solid var(--lp-line); }

    .lp-legal-table th,
    .lp-legal-table td { padding: 0; border: 0; }

    .lp-legal-table td { margin-top: .5rem; }

    .lp-legal-table td::before {
        content: attr(data-label);
        display: block;
        color: rgb(var(--sd-brand-700));
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
}

.lp-legal-optout {
    padding: 1rem 1.125rem;
    border: 1px solid rgb(var(--sd-brand-600) / .22);
    border-radius: var(--sd-radius-lg);
    background: rgb(var(--sd-brand-50));
}

.lp-legal-body .lp-legal-optout p { color: rgb(var(--sd-brand-950)); }

.lp-legal-optout-actions { margin-top: .75rem; }

.lp-legal-optout-actions:has(> [hidden]) { display: none; }

.lp-legal-optout .lp-button[hidden] { display: none; }

.lp-legal-stand { font-style: italic; }

@media (min-width: 1024px) {
    .lp-legal-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 5rem;
        align-items: start;
    }

    .lp-legal-head { position: sticky; top: 6.5rem; }

    /* The contents list may make the head taller than a short window: it scrolls on its own then */
    .lp-legal-head--toc {
        max-height: calc(100vh - 7.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .lp-legal-body section:first-child { padding-top: 0; }

    .lp-legal-body { border-top: 0; }

    .lp-legal-intro { padding-top: 0; }
}

/* ---- Footer ---- */
.lp-footer {
    padding: 4rem 0 2rem;
    background: rgb(var(--sd-brand-950));
    color: rgb(255 255 255 / .74);
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}

.lp-footer-brand { grid-column: 1 / -1; }

.lp-footer-brand img { height: 2rem; width: auto; }

.lp-footer-brand p {
    max-width: 22rem;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.lp-footer-title {
    margin-bottom: .75rem;
    color: #fff;
    font: 700 .8125rem/1.3 var(--sd-font-sans);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-footer ul {
    display: grid;
    gap: .125rem;
    padding: 0;
    list-style: none;
}

.lp-footer a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
    color: rgb(255 255 255 / .8);
    text-decoration: none;
}

.lp-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-footer-mail { margin-top: 1rem; }

#lp-footer-nav:focus { outline: none; }

.lp-footer-bottom-wrap { margin-top: 3rem; }

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / .12);
    font-size: .875rem;
}

.lp-footer-bottom p + p { color: rgb(255 255 255 / .6); }

@media (min-width: 1024px) {
    .lp-footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
    .lp-footer-brand { grid-column: auto; }
}

/* ---- Reveal (js/landing.js; never without JS, never with reduced motion) ---- */
@media (prefers-reduced-motion: no-preference) {
    /* Hidden at once (below the first screen), animated only on the way in */
    html[data-lp-reveal] [data-reveal][data-revealed] {
        transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    }

    html[data-lp-reveal] [data-reveal]:not([data-revealed]) {
        opacity: 0;
        transform: translateY(1.5rem);
    }
}

@media print {
    .lp-header, .lp-menu, .lp-skip { display: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
