/*
    site.css — the landing page's rules. Values come from tokens.css.
    Round 1 of the first screen, 2026-10-01. Mobile-first: the phone is the base,
    desktop adds what width allows at 40rem and 64rem.
*/

/* --- Fonts: self-hosted, subset, with metric-matched fallbacks so nothing shifts --- */
@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}
/* Fallbacks: Arial Narrow Bold and Arial scaled to Archivo's widths and heights. Ratios
   measured with fonttools on the subset file (headline sample at width 62, weight 900;
   body sample at width 100, weight 400). */
@font-face {
    font-family: "Archivo Fallback";
    src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Arial Narrow");
    size-adjust: 87.1%;
    ascent-override: 87.8%;
    descent-override: 21%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Archivo Body Fallback";
    src: local("Arial"), local("ArialMT");
    size-adjust: 98.2%;
    ascent-override: 87.8%;
    descent-override: 21%;
    line-gap-override: 0%;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background-color: var(--ground);
    /* A faint warm grain, tiled, no gradient. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.92 0 0 0 0 0.84 0.07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    color: var(--ink-body);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-leading);
}
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* the hidden attribute wins over any display rule */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header, main, .site-footer {
    width: min(100% - 2 * var(--gutter), var(--page));
    margin-inline: auto;
}

/* --- 1. Header --- */
.site-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: var(--space-3);
    padding-block: var(--space-3);
}
.logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    font-size: var(--text-l);
    line-height: 1;
    letter-spacing: 0.005em;
    color: var(--ink);
    text-decoration: none;
}
.logo-mark { height: 1.15em; width: auto; color: var(--accent); flex: 0 0 auto; }
/* The burger: a plain button, visible on the phone only. */
.menu-toggle {
    order: 3;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -9px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
}
/* The menu as a popover: a panel under the header, full width, the page dimmed behind. */
.site-header nav[popover] {
    position: fixed;
    inset: 0 0 auto 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 72px var(--gutter) var(--space-5);
    border: 0;
    background: var(--ground);
    color: var(--ink-body);
    display: none;
    flex-direction: column;
    gap: 0;
    font-size: var(--text-l);
    font-weight: 400;
}
.site-header nav[popover]:popover-open { display: flex; }
.site-header nav[popover]::backdrop { background: rgba(0, 0, 0, 0.5); }
.site-header nav a {
    color: var(--ink-body);
    text-decoration: none;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--line);
}
.site-header nav a:first-of-type { border-top: 0; }
.menu-close {
    position: absolute;
    top: 12px;
    right: calc(var(--gutter) - 9px);
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav .sign-in { color: var(--ink); }
/* Browsers without popovers keep the links in a row under the header, and no burger. */
@supports not selector(:popover-open) {
    .menu-toggle, .menu-close { display: none; }
    .site-header nav[popover] {
        display: flex;
        position: static;
        flex-direction: row;
        gap: var(--space-4);
        grid-column: 1 / -1;
        padding: 0;
        font-size: var(--text-s);
        overflow-x: auto;
        white-space: nowrap;
    }
    .site-header nav a { padding: 0; border: 0; }
}
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-s);
    white-space: nowrap;
}
.header-actions > a { color: var(--ink-body); text-decoration: none; }
.header-actions .lang-switch { font-size: var(--text-s); }
.button {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-s);
    text-decoration: none;
    line-height: 1.2;
}
.header-actions .button {
    color: var(--accent);
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* --- 2. Hero: the promise and the try-it --- */
.hero {
    padding-block: var(--space-5) var(--space-5);
    text-align: center;
    /* The first screen is the hero alone: it fills the window below the header (65px),
       so the next heading always starts below the fold (Jonas, 2026-10-22). Space left
       over goes evenly around the three parts: promise, form, covers. Taller content
       simply makes it taller. */
    min-height: calc(100svh - 4.0625rem);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.hero h1 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    word-spacing: var(--head-word-spacing);
    font-size: clamp(3rem, 1.4rem + 6vw, 5rem);
    line-height: 0.93;
    max-width: 58rem;
    margin-inline: auto;
    text-wrap: balance;
}
.hero h1:lang(de) { font-size: clamp(2.4rem, 1rem + 6vw, 4.6rem); max-width: 60rem; overflow-wrap: anywhere; }
@media (max-width: 22.5rem) { .header-actions { gap: var(--space-2); } }
.hero .lead {
    font-size: var(--body-size);
    max-width: 44rem;
    margin: var(--space-4) auto 0;
    text-wrap: pretty;
}

/* The form, inside its tinted box. */
.try {
    margin: var(--space-6) auto 0;
    max-width: 50rem;
    text-align: left;
}
.try-box {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-4) 20px;
    background: var(--ground-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.try .field { min-width: 0; }

.try input {
    width: 100%;
    font: inherit;
    font-size: var(--body-size);  /* above the 16 px below which iOS zooms in on focus */
    color: var(--ink);
    background: var(--ground);
    border: 0;
    border-radius: var(--radius-s);
    padding: 0.8rem 0.9rem;
}
.try input:focus-visible { outline-offset: 0; }
.try input::placeholder { color: var(--ink-muted); opacity: 1; }

/* The search under the podcast field: the list of matches, and the chosen cover in the field. */
.field-search { position: relative; }
.field-cover { position: absolute; left: 0.7rem; bottom: 0.75rem; width: 28px; height: 28px; border-radius: 4px; pointer-events: none; }
.field-search.has-cover input[type=text] { padding-left: 2.9rem; }
.results {
    position: absolute;
    z-index: 20;
    left: 0; right: 0;
    top: 100%;
    margin: var(--space-2) 0 0;
    padding: var(--space-2);
    list-style: none;
    background: var(--ground-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    text-align: left;
}
.results li[role=option] {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: var(--space-3);
    align-items: center;
    padding: var(--space-2);
    border-radius: 4px;
    cursor: pointer;
}
.results li[role=option] img { grid-row: 1 / span 2; border-radius: 4px; }
.results li[role=option]:hover, .results li[aria-selected=true] { background: var(--ground); }
.result-name { color: var(--ink); font-size: var(--body-size); line-height: 1.25; }
.result-by { color: var(--ink-muted); font-size: var(--text-s); line-height: 1.25; }
/* The app's answer at the form: a line under the field it concerns, or under the form. */
.form-error { font-size: var(--text-s); color: var(--ink); margin-top: var(--space-3); line-height: 1.4; padding-left: var(--space-3); border-left: 2px solid var(--accent); }
.form-error:empty { display: none; }
/* The confirmation step and the terms, in the footnote's size (Jonas, 2026-10-22). */
.form-legal { font-size: 12px; line-height: 1.5; color: var(--ink-muted); margin-top: var(--space-3); }
.form-legal a { color: var(--ink-body); }   /* a permanent live region: present, announced when text arrives */
.try input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--ink-muted); }
.try.sending button { opacity: 0.7; cursor: progress; }
.try button {
    font: inherit;
    font-weight: 700;
    color: var(--accent-ink);
    background: var(--accent);
    border: 0;
    border-radius: var(--radius-s);
    padding: 0.85rem 1.25rem;
    cursor: pointer;
}
.try button:hover { filter: brightness(1.06); }

/* The covers: real artworks, untouched, laid in a row like photographs. */
.artwork-row {
    --cover: clamp(132px, 36vw, 190px);
    --overlap: clamp(22px, 2.4vw, 34px);
    list-style: none;
    margin: var(--space-6) calc(-1 * var(--gutter)) 0;
    padding: var(--space-3) var(--gutter) var(--space-3);
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.artwork-row::-webkit-scrollbar { display: none; }
.artwork-row li {
    flex: 0 0 var(--cover);
    min-width: 0;                 /* or a long caption widens the tile and staggers the row */
    scroll-snap-align: start;
    position: relative;
}
.artwork-row li + li { margin-left: calc(-1 * var(--overlap)); }
.artwork-row li:nth-child(1) { z-index: 8; }
.artwork-row li:nth-child(2) { z-index: 7; }
.artwork-row li:nth-child(3) { z-index: 6; }
.artwork-row li:nth-child(4) { z-index: 5; }
.artwork-row li:nth-child(5) { z-index: 4; }
.artwork-row li:nth-child(6) { z-index: 3; }
.artwork-row li:nth-child(7) { z-index: 2; }
.artwork-row li:nth-child(8) { z-index: 1; }
.artwork-row li:nth-child(1) { --tilt: -1.4deg; }
.artwork-row li:nth-child(2) { --tilt: 1.1deg; }
.artwork-row li:nth-child(3) { --tilt: -0.8deg; }
.artwork-row li:nth-child(4) { --tilt: 1.6deg; }
.artwork-row li:nth-child(5) { --tilt: -1.2deg; }
.artwork-row li:nth-child(6) { --tilt: 0.9deg; }
.artwork-row li:nth-child(7) { --tilt: -1.5deg; }
.artwork-row li:nth-child(8) { --tilt: 1.3deg; }
.artwork-row img { transform: rotate(var(--tilt)); }
/* On hover a cover lifts, straightens a little and comes to the front — transform and
   shadow only, so a phone draws it smoothly; no hover on touch screens. */
@media (hover: hover) {
    .artwork-row img { transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease; }
    .artwork-row li:hover { z-index: 9; }
    .artwork-row li:hover img {
        transform: translateY(-8px) scale(1.045) rotate(calc(var(--tilt) * 0.5));
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.6);
    }
}
.artwork-row a:focus-visible { outline: none; }
.artwork-row a:focus-visible img { outline: 2px solid var(--accent); outline-offset: 3px; }
.artwork-row a { display: block; color: inherit; text-decoration: none; text-align: center; }
.artwork-row img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    box-shadow: var(--shadow);
}
.artwork-row .name {
    display: block;
    font-size: var(--text-s);
    color: var(--ink-muted);
    margin-top: var(--space-4);
    width: calc(100% - var(--overlap) - 6px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --- 3. Why: the heading, one week as listening time struck through and reading time beside it,
   one sentence. No picture — the covers stand right above. The strike draws as the block
   scrolls in; without scroll-driven animations, or with reduced motion, it simply stands. --- */
main > section.why > .why-sum { max-width: none; }
.why-sum { display: grid; justify-items: start; gap: var(--space-5); margin-top: var(--space-6); view-timeline: --why; }
.why-from, .why-to { display: grid; gap: var(--space-2); }
.why-n {
    position: relative;
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    font-size: clamp(3.25rem, 1.75rem + 5vw, 5.5rem);
    line-height: 0.9;
    white-space: nowrap;
    color: var(--ink);
}
.why-from .why-n { color: var(--ink-muted); }
.why-to .why-n { color: var(--accent); }   /* the one exception to the accent rule: the reading time (Jonas, 2026-10-21) */
.why-strike {
    position: absolute; left: -0.04em; right: -0.04em; top: 46%;
    height: 0.07em; background: var(--ink); border-radius: 0.04em;
    transform-origin: left center;
}
.why-l { font-size: var(--text-s); color: var(--ink-body); letter-spacing: 0.02em; }
.why-star { font-size: 0.5em; vertical-align: 0.8em; margin-left: 0.05em; }
.why-note { font-size: 12px;   /* below --text-s on purpose: a footnote (Jonas, 2026-10-21) */ color: var(--ink-muted); max-width: var(--measure); margin-top: var(--space-6); }
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .why-strike { animation: why-strike linear both; animation-timeline: --why; animation-range: entry 60% cover 30%; }
        .why-to { animation: why-in linear both; animation-timeline: --why; animation-range: cover 25% cover 40%; }
    }
}
@keyframes why-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes why-in { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }

/* --- 5. Price --- */
.price-amount { margin: 0 0 var(--space-5); line-height: 1; display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.price-n {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3rem);
    line-height: 0.95;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-per { font-size: var(--body-size); color: var(--ink-body); }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.includes li { color: var(--ink); }
.price-guarantee { color: var(--ink-body); margin-top: var(--space-4); max-width: var(--measure); }
.price-cta { display: block; text-align: center; margin-top: var(--space-5); padding: 0.85rem 1.25rem; }

/* --- 6. Questions: native <details>, collapsible without a script --- */
.qas { border-top: 1px solid var(--line); margin-top: var(--space-5); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    cursor: pointer;
    list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: var(--text-l); line-height: 1.3; margin: 0; }
.qa summary::after {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    /* On the middle of the question's first line, so two questions side by side have
       their arrows at one height however many lines each runs to (Jonas, 2026-10-22). */
    margin-top: calc(var(--text-l) * 0.65 - 10px);
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    align-self: flex-start;
}
.qa[open] summary::after { transform: rotate(225deg); margin-top: calc(var(--text-l) * 0.65 - 3px); }
.qa summary:hover h3 { color: var(--accent); }
.qa-body { padding: 0 0 var(--space-4); }
.qa-body p { color: var(--ink-body); max-width: var(--measure); }
.qa-body a { color: var(--accent); }

/* --- 7. The try-it again --- */
.again { text-align: center; }
.again .lead { color: var(--ink-body); max-width: 34rem; margin: var(--space-3) auto 0; text-wrap: pretty; }
.again .try { margin-top: var(--space-5); }

/* --- 8. Footer --- */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3) var(--space-5);
    padding-block: var(--space-6) var(--space-7);
    border-top: 1px solid var(--line);
    font-size: var(--text-s);
    color: var(--ink-muted);
}
.footer-mark {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    font-size: var(--text-l);
    color: var(--ink-muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-5); }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* --- The reading page: one example summary --- */
.read-back { font-size: var(--text-s); margin-bottom: var(--space-5); }
.read-back a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-body); text-decoration: none; padding: var(--space-1) 0; }
.read-back a:hover { color: var(--ink); }
.read-back svg { flex: 0 0 auto; transition: transform 0.18s ease; }
.read-back a:hover svg { transform: translateX(-3px); }
.read { max-width: 50rem; margin-inline: auto; padding-block: var(--space-6) var(--space-8); }
/* The head: the artwork large, then the podcast, the episode's title, the meta line. */
.read-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.read-cover { width: min(100%, 15rem); height: auto; aspect-ratio: 1; border-radius: 10px; box-shadow: var(--shadow); }
.read-show { font-size: var(--text-s); color: var(--ink-body); margin-top: var(--space-2); }
.read-meta { font-size: var(--text-s); color: var(--ink-muted); }
.read-head h1 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    word-spacing: var(--head-word-spacing);
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
    line-height: 0.95;
    margin: 0;
    text-wrap: balance;
}
/* The 404 page's cover: no artwork, the number in the display face on an empty tile. */
.cover-404 {
    display: grid;
    place-items: center;
    background: var(--ground-raised);
    border: 1px solid var(--line);
    box-shadow: none;
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    font-size: clamp(4rem, 3rem + 4vw, 5.5rem);
    line-height: 1;
    color: var(--ink-muted);
}
.read-note { font-size: var(--text-s); color: var(--ink-muted); padding: var(--space-3) var(--space-4); border: 1px dashed var(--line); border-radius: var(--radius-s); margin-bottom: var(--space-5); }
.read-body { color: var(--ink-body); }
.read-body p { margin: 0 0 var(--space-4); }
.read-body h3 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    word-spacing: var(--head-word-spacing);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--ink);
    margin: var(--space-7) 0 var(--space-4);
}
.read-body > p:first-child { font-size: var(--text-l); font-weight: 400; color: var(--ink); }
/* The episode's points, as in the email: a bullet in the margin, then the timestamp, the lead, the text. */
.points { list-style: disc; margin: 0 0 var(--space-4); padding: 0 0 0 1.3rem; }
.points li { margin: 0 0 var(--space-4); padding-left: var(--space-1); }
.points li::marker { color: var(--ink-muted); }
.points strong { color: var(--ink); }
.stamp {
    display: inline-block;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: var(--text-s);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    background: var(--accent-pale);          /* the accent, pale: the email's chip on a dark ground */
    border-radius: 4px;
    padding: 2px 7px;
    margin-right: 4px;
    vertical-align: 1px;
    white-space: nowrap;
}
.stamp::before { content: "("; }
.stamp::after { content: ")"; }
.read-body ul:not(.points) { margin: 0 0 var(--space-4); padding-left: 1.3rem; }
.read-body ul:not(.points) li { margin-bottom: var(--space-3); }
.read-body strong { color: var(--ink); font-weight: 700; }
.read-body blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 2px solid var(--line); color: var(--ink-muted); }
.read-body a { color: var(--accent); }
.read-cta { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.read-cta h2 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem);
    line-height: 0.95;
    margin-bottom: var(--space-3);
}
.read-cta p { color: var(--ink-body); margin-bottom: var(--space-5); }
.read-cta .button { padding: 0.85rem 1.25rem; }
@media (min-width: 40rem) {
    /* Beside each other: the artwork left, the words right, centred on it. */
    .read-head { grid-template-columns: 16rem 1fr; column-gap: var(--space-6); row-gap: var(--space-3); align-content: center; }
    .read-cover { width: 16rem; grid-row: 1 / span 3; }
    .read-show { align-self: end; margin-top: 0; }
    .read-meta { align-self: start; }
}

/* --- The app's answer after the form (mock-ups under /m/) --- */
.answer-main { max-width: var(--measure); margin-inline: auto; padding-block: var(--space-7) var(--space-8); min-height: 60vh; }
.answer-state { font-size: var(--text-s); color: var(--ink-muted); margin-bottom: var(--space-5); }
.answer-main h1 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    word-spacing: var(--head-word-spacing);
    font-size: clamp(2.5rem, 1.6rem + 3.5vw, 3.75rem);
    line-height: 0.95;
    margin-bottom: var(--space-5);
    text-wrap: balance;
}
.answer-main .lead { font-size: var(--body-size); color: var(--ink); }
.answer-more { color: var(--ink-body); margin-top: var(--space-4); }
.app-header { grid-template-columns: 1fr auto; }
.answer-states { margin-top: var(--space-8); font-size: var(--text-s); color: var(--ink-muted); }
.answer-states a { color: var(--ink-muted); }
/* The same box as the landing page's form: raised ground, hairline, soft shadow, dark fields. */
.answer-form {
    display: grid; gap: var(--space-3); max-width: 26rem; margin-top: var(--space-6);
    padding: var(--space-4) var(--space-4) 20px;
    background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-m);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.answer-form input {
    width: 100%; font: inherit; font-size: var(--body-size); color: var(--ink);
    background: var(--ground); border: 0; border-radius: var(--radius-s); padding: 0.8rem 0.9rem;
}
.answer-form input::placeholder { color: var(--ink-muted); opacity: 1; }
.answer-form button {
    font: inherit; font-weight: 700; color: var(--accent-ink); background: var(--accent);
    border: 0; border-radius: var(--radius-s); padding: 0.85rem 1.25rem; cursor: pointer;
}
.answer-legal { font-size: var(--text-s); color: var(--ink-muted); margin-top: var(--space-4); max-width: 26rem; }
.answer-legal a { color: var(--ink-body); }
.answer-link a:not(.button) { color: var(--accent); }
.answer-link { margin-top: var(--space-6); }
.answer-link .button { padding: 0.85rem 1.25rem; }

/* --- Below the first screen: readable, not yet designed --- */
main > section:not(.hero) {
    padding-block: var(--space-7);
    border-top: 1px solid var(--line);
    max-width: 58rem;              /* the hero headline's measure */
    margin-inline: auto;
}
main > section:not(.hero) > p { max-width: var(--measure); }
main > section:not(.hero) h2 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    font-stretch: var(--head-stretch);
    letter-spacing: var(--head-tracking);
    word-spacing: var(--head-word-spacing);
    font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3rem);
    line-height: 0.95;
    margin-bottom: var(--space-4);
}
main > section:not(.hero) p + p { margin-top: var(--space-3); }
.artwork-grid { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.artwork-grid li, .artwork-grid a { display: block; }
.artwork-grid a { color: inherit; text-decoration: none; }
.artwork-grid img { border-radius: 8px; }
.artwork-grid .name { display: block; font-size: var(--text-s); margin-top: var(--space-2); }
/* The grid's covers lift on hover like the hero's. */
@media (hover: hover) {
    .artwork-grid img { transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease; }
    .artwork-grid a:hover img { transform: translateY(-6px) scale(1.04); box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55); }
}
.artwork-grid .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Behind each cover: the episode. Its title in up to three lines, so rows stay level. */
.artwork-grid .episode {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: var(--body-size);
    line-height: 1.3;
    color: var(--ink);
    margin: 2px 0 var(--space-1);
    min-height: 3.9em;
}
.artwork-grid li:has(.episode) .name { color: var(--ink-muted); }
.artwork-grid li:has(.episode) .by { min-height: 0; }
.artwork-grid .by { display: block; font-size: var(--text-s); line-height: 1.35; color: var(--ink-muted); min-height: 2.7em; }
.artwork-grid .name { font-size: var(--text-s); color: var(--ink); }
.open-question { font-size: var(--text-s); color: var(--ink-muted); margin-top: var(--space-4); }

/* --- Desktop: what width allows --- */
@media (min-width: 40rem) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        column-gap: var(--space-4);
        padding-block: var(--space-4);
    }
    .menu-toggle { display: none; }
    /* The same nav, in the header row: the popover rules are undone here. */
    .site-header nav[popover],
    .site-header nav[popover]:popover-open {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--space-5);
        margin-left: var(--space-4);
        padding: 0;
        background: none;
        font-size: var(--text-s);
    }
    .site-header nav a { padding: 0; border: 0; }
    .menu-close { display: none; }
    .site-header nav .sign-in { margin-left: auto; color: var(--ink-body); }
    .header-actions { gap: var(--space-4); font-size: var(--text-s); }
    .header-actions .lang-switch { font-size: var(--text-s); }
    .button { padding: 0.5rem 0.95rem; }
    .logo { font-size: var(--text-l); }
    .hero { padding-block: min(var(--space-6), 3vh) var(--space-6); }
    .hero h1 { font-size: min(clamp(3rem, 1.4rem + 6vw, 5rem), 9.6vh); }
    .hero h1:lang(de) { font-size: min(clamp(2.8rem, 1.3rem + 5.6vw, 4.6rem), 8.9vh); }
    .hero .lead { font-size: var(--body-size); margin-top: min(var(--space-4), 2vh); }
    .try { margin-top: min(var(--space-7), 4.5vh); }
    .try-box {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: end;
        gap: var(--space-3);
        padding: 14px var(--space-5) 20px;
    }
    .try button { white-space: nowrap; }
    .artwork-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 40rem) {
    .price { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-7); align-items: start; }
    .price h2 { grid-column: 1 / -1; }
    .price-amount { margin-bottom: 0; }
    .includes { grid-column: 2; grid-row: 2 / span 3; }
    .price-guarantee { grid-column: 1; margin-top: var(--space-5); }
    .price .price-cta { display: inline-block; grid-column: 1; justify-self: start; padding: 0.85rem 1.25rem; }
    .qas { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-7); border-top: 0; }
    .qa summary { padding: var(--space-5) 0; }
    .qa summary h3 { font-size: var(--text-l); }
    .qa-body { padding-bottom: var(--space-5); }
    .qa:nth-child(1), .qa:nth-child(2) { border-top: 1px solid var(--line); }
    /* The last question, "I have another question", centred under the two columns; on a
       phone, in one column, it stays left like the others (Jonas, 2026-10-21). */
    .qa:last-child { grid-column: 1 / -1; }
    .qa:last-child summary { justify-content: center; }
    .qa:last-child .qa-body { text-align: center; }
    .qa:last-child .qa-body p { margin-inline: auto; }
    .again .lead { max-width: 40rem; }
}

@media (min-width: 64rem) {
    .artwork-row {
        /* Eight covers across the page's full width. The cover's size follows the
           viewport height so the row stays above the fold; what is left over becomes
           the overlap (tall screens) or a gap (very short ones). */
        --cover: clamp(calc(100% / 8), 22.5vh, calc((100% + 7 * 18px) / 8));
        margin: min(var(--space-7), 4.5vh) 0 0;
        padding-inline: 0;
        overflow: visible;
        scroll-snap-type: none;
    }
    .artwork-row li { flex: 0 0 var(--cover); min-width: 0; }
    .artwork-row li + li { margin-left: calc((100% - 8 * var(--cover)) / 7); }
    .artwork-row .name { margin-top: var(--space-3); width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .try button:hover { filter: none; }
    .qa summary::after { transition: none; }
    .artwork-row img, .artwork-grid img, .read-back svg { transition: none; }
    .artwork-row li:hover img { transform: rotate(var(--tilt)); }
    .artwork-grid a:hover img { transform: none; }
}
