:root {
    /* Surfaces (light since 2026-10-10, like the app and its store
       screenshots). The names and values match the light content
       pages, so the shared footer CSS from build.js (FOOTER_CSS) reads
       the same on every page. */
    --paper: #f9f8f8;
    --paper-2: #f4f4f5;
    --card: #ffffff;
    --ink: #18181b;
    --ink-soft: #67676f;
    --body: #3f3f46;
    --line: rgba(9, 9, 11, 0.08);
    --line-strong: rgba(9, 9, 11, 0.14);

    /* One accent, three jobs. --accent is decorative (borders, rules),
       --accent-soft is small text on --paper (5.5:1), and --accent-btn
       carries white button text (5.1:1) — the brighter #ee2b4e would
       land at 4.1:1 and miss WCAG AA. */
    --accent: #c81a3a;
    --accent-soft: #c81a3a;
    --accent-btn: #d61f41;
    --accent-btn-hover: #c81a3a;
    --accent-wash: rgba(238, 43, 78, 0.10);
    --accent-wash-2: rgba(238, 43, 78, 0.05);
    --accent-edge: rgba(238, 43, 78, 0.25);

    /* The phone screens are light, like the app itself. */
    --app-bg: #efebeb;
    --app-card: #ffffff;
    --app-ink: #131111;
    --app-soft: #8a8484;
    --app-line: #e6e1e1;

    /* Kept for compatibility with FOOTER_CSS + shared partials. */
    --clay: #c81a3a;
    --clay-ink: #c81a3a;
    --cream: #fafafa;

    --r: 16px;
    --r-lg: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --serif: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --gut: clamp(20px, 4.6vw, 50px);
    color-scheme: only light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.024em;
    line-height: 1.15;
    text-wrap: balance;
}

h1 em, h2 em {
    font-style: normal;
    font-weight: inherit;
    color: var(--accent);
}

h1 em.it, h2 em.it { font-style: italic; }

a { color: inherit; }

img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
    border-radius: 4px;
}

[id] { scroll-margin-top: 12px; }

.wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.wrap-wide { max-width: 1120px; }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--card);
    color: var(--ink);
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
    z-index: 200;
}

.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 100px;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary {
    background: var(--accent-btn);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-btn-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--card);
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: rgba(9, 9, 11, 0.3);
    color: var(--ink);
    transform: translateY(-1px);
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--ink);
}

.brand img { display: block; border-radius: 9px; transition: opacity 0.25s ease; }

.brand-mark { display: block; flex: none; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right .btn {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 0.88rem;
}

/* ---------- Hero ---------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 20px 8px;
    gap: 34px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent-soft);
    background: var(--accent-wash);
    border: 1px solid var(--accent-edge);
    border-radius: 100px;
    padding: 7px 15px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.05rem, 9vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.05;
    max-width: 16ch;
}

.hero p {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 44ch;
    text-wrap: pretty;
}

.hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 26px;
}

/* ---------- Phone frame (hero demo + the launch screenshot) ---------- */
.phone {
    width: 186px;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 9 / 19.5;
    background: #000;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    padding: 7px;
}

.phone img,
.phone > .hd {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.phone img { display: block; }

/* Same specificity as the rule above, so the flex column (and its gap)
   actually wins over it. */
.phone > .hd { display: flex; }

.hero-phone { width: 250px; }

/* The animated timeline: a light mini-app (see the .lk-* rules below).
   Fixed px throughout: it's a picture of a phone, not body text. */
.hd {
    background: var(--app-bg);
    color: var(--app-ink);
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
    padding: 16px 11px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

/* The hero screen (2026-10-10): the app's timeline in the "Locker"
   style, as in the launch screenshot. On a 12 s loop a Munkki from
   Anna arrives, then Anna's memory with its place, then her mood.
   Each new thing lands on top and pushes the older ones down; the
   mood joins the memory under one header, as in the app. */
.lk-hi { padding: 0 3px 2px; }
.lk-hi b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.lk-hi span { font-size: 9.5px; font-weight: 600; color: var(--app-soft); }
.lk-slot { display: grid; grid-template-rows: 1fr; }
.lk-slot > div { overflow: hidden; min-height: 0; }
.lk-who { display: flex; align-items: center; gap: 6px; padding: 1px 3px 5px; font-size: 10.5px; font-weight: 700; }
.lk-av { width: 22px; height: 22px; border-radius: 100px; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; flex: 0 0 auto; }
.lk-card { background: var(--app-card); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.lk-card.top { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.lk-card.joined { border-top-left-radius: 5px; border-top-right-radius: 5px; margin-top: 2px; }
.lk-meta { padding: 8px 10px 0; font-size: 8.5px; font-weight: 600; color: var(--app-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-title { padding: 2px 10px 7px; font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.lk-tile { display: block; margin: 0 5px 5px; border-radius: 10px; overflow: hidden; position: relative; }
.lk-map { height: 62px; background: #e7ecee; }
.lk-map > i { position: absolute; background: #fff; border-radius: 3px; }
.lk-map > b { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: #bcd6e6; }
.lk-pin {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    display: grid;
    place-items: center;
    color: var(--accent-soft);
    font-size: 15px;
}
.lk-photo img { display: block; width: 100%; height: 74px; object-fit: cover; }
.lk-mood { display: flex; align-items: center; gap: 8px; padding: 0 10px 7px; }
.lk-orb { width: 30px; height: 30px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: #f3a35f; display: grid; place-items: center; font-size: 15px; line-height: 1; flex: 0 0 auto; }
.lk-mood small { display: block; font-size: 8px; font-weight: 600; color: var(--app-soft); }
.lk-mood b { display: block; font-size: 10.5px; font-weight: 700; }
.lk-scale { display: flex; gap: 2px; padding: 0 10px 9px; }
.lk-scale i { flex: 1; height: 3px; border-radius: 2px; background: #e6e1e1; }
.lk-scale i:last-child { background: #e8742a; }
.lk-nudge { background: #e8e6fb; border-radius: 14px; padding: 8px 8px 8px 10px; display: flex; align-items: center; gap: 8px; color: #2b2a8c; }
.lk-nudge .em { font-size: 20px; line-height: 1; }
.lk-nudge b { display: block; font-size: 11.5px; font-weight: 700; }
.lk-nudge small { display: block; font-size: 8.5px; color: #5b5aa8; }
.lk-nudge .hrt {
    margin-left: auto;
    flex: none;
    color: var(--accent-soft);
    font-size: 12px;
}
.lk-day { align-self: center; background: var(--app-card); border-radius: 100px; padding: 3px 9px; font-size: 8.5px; font-weight: 700; margin-top: 4px; }
.lk-day em { font-style: normal; font-weight: 500; color: var(--app-soft); margin-left: 5px; }
.lk-words { padding: 0 3px 2px; }
.lk-words small { display: block; font-size: 8.5px; font-weight: 600; color: var(--app-soft); }
.lk-words b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1px; }

/* A photo lifted straight out of the old app screenshot — the tile
   grid is a sprite, --x/--y pick the photo and --s scales it. */
.thumb {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    --s: 0.325;
    background-image: url(/app-screenshot_b.webp);
    background-repeat: no-repeat;
    background-size: calc(552px * var(--s)) auto;
    background-position: calc(-1 * var(--x) * var(--s)) calc(-1 * var(--y) * var(--s));
}

/* A video: play badge + duration on the thumbnail. */
.thumb.vid { position: relative; }

.thumb.vid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.55);
}

.thumb.vid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -4px 0 0 -2px;
    border-left: 6px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.thumb.vid i {
    position: absolute;
    right: 2px;
    bottom: 2px;
    font-size: 7px;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100px;
    padding: 1px 4px;
}

.hd-time { font-variant-numeric: tabular-nums; font-size: 9px; }

/* Voice waveform: one row of bars in a muted colour, and (JS) a clone in
   the accent colour clipped from the left — the clip sweeping open is
   the "playing" state. Without JS there is just the muted row. */
.play {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 100px;
    background: var(--accent-btn);
    position: relative;
}

.play::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 5px;
    border-left: 6px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.wave {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 16px;
    color: rgba(0, 0, 0, 0.16);
}

.wave i,
.wave-fill i {
    display: block;
    flex: 0 0 2.5px;
    border-radius: 2px;
    background: currentColor;
    height: var(--h);
}

.wave-fill {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent);
    clip-path: inset(0 0 0 0);
}

/* Hero loop: 12 s. Base styles above are the finished picture; the
   loop starts with all three new things folded away. */
.lk-s1 { animation: lk-s1 12s var(--ease) infinite; }
.lk-s2 { animation: lk-s2 12s var(--ease) infinite; }
.lk-s3 { animation: lk-s3 12s var(--ease) infinite; }
.lk-s1 .em, .lk-s1 .hrt { animation: lk-pop 12s ease-out infinite; }
.lk-s2 .lk-pin { animation: lk-drop 12s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.lk-s2 .lk-place { animation: lk-fade 12s ease-out infinite; }
.lk-card.joined { animation: lk-join 12s var(--ease) infinite; }
.lk-s3 .lk-orb { animation: lk-breathe 12s ease-in-out infinite; }
.lk-s3 .lk-scale i:last-child { animation: lk-level 12s ease-out infinite; }

@keyframes lk-s1 {
    0%, 2% { grid-template-rows: 0fr; opacity: 0; }
    8%, 93% { grid-template-rows: 1fr; opacity: 1; }
    99%, 100% { grid-template-rows: 0fr; opacity: 0; }
}

@keyframes lk-s2 {
    0%, 31% { grid-template-rows: 0fr; opacity: 0; }
    37%, 93% { grid-template-rows: 1fr; opacity: 1; }
    99%, 100% { grid-template-rows: 0fr; opacity: 0; }
}

@keyframes lk-s3 {
    0%, 62% { grid-template-rows: 0fr; opacity: 0; }
    68%, 93% { grid-template-rows: 1fr; opacity: 1; }
    99%, 100% { grid-template-rows: 0fr; opacity: 0; }
}

@keyframes lk-pop {
    0%, 8% { transform: scale(0); }
    12% { transform: scale(1.3); }
    15%, 100% { transform: scale(1); }
}

@keyframes lk-drop {
    0%, 39% { transform: translateY(-22px); opacity: 0; }
    45%, 100% { transform: none; opacity: 1; }
}

@keyframes lk-fade {
    0%, 44% { opacity: 0; }
    49%, 100% { opacity: 1; }
}

@keyframes lk-join {
    0%, 62% { border-top-left-radius: 14px; border-top-right-radius: 14px; margin-top: 0; }
    68%, 100% { border-top-left-radius: 5px; border-top-right-radius: 5px; margin-top: 2px; }
}

@keyframes lk-breathe {
    0%, 66% { transform: scale(0.4); background: #d9dee5; }
    71% { transform: scale(1.1); background: #f3a35f; }
    76% { transform: scale(0.95); }
    81% { transform: scale(1.04); }
    86% { transform: scale(0.97); }
    91%, 100% { transform: scale(1); background: #f3a35f; }
}

@keyframes lk-level {
    0%, 70% { background: #e6e1e1; }
    76%, 100% { background: #e8742a; }
}

/* ---------- The timeline ---------- */
.tl-section { padding: 30px 0 0; position: relative; }

.tl {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.tl-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

/* Phone: the date is a small inline pill above its card. */
.tl-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding-left: 4px;
}

.tl-when {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.tl-num {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.tl-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 18px 22px;
    overflow: hidden;
}

.tl-card h2 {
    font-size: clamp(1.24rem, 5vw, 1.5rem);
    margin-bottom: 12px;
}

.tl-card p {
    font-size: 1rem;
    color: var(--body);
    line-height: 1.7;
}

.tl-card p + p { margin-top: 12px; }

.tl-card .home-huddle-benefit { color: var(--ink); font-weight: 600; }

/* Card meta strip ("Munkki · Zum ersten Mal") */
.tl-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 13px;
}

.tl-meta .tl-hl { color: var(--accent-soft); font-weight: 600; }

.tl-ic {
    flex: none;
    color: var(--accent-soft);
    font-size: 0.875rem;
}

/* The first prototype */
.tl-fig { margin-top: 18px; }

.tl-fig img {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.tl-fig figcaption {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.tl-fig figcaption i { color: var(--accent-soft); }

@keyframes wave-play {
    0% { clip-path: inset(0 100% 0 0); }
    70%, 100% { clip-path: inset(0 0 0 0); }
}

/* Card 3 — the launch: real screenshot + "what a space holds" */
.tl-app {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 18px;
}

.tl-app h2 { margin-bottom: 10px; }
.tl-app p { font-size: 0.98rem; line-height: 1.65; }
.tl-app .tl-app-copy { text-align: center; }
.tl-app .tl-meta { justify-content: center; }

.holds { grid-column: 1 / -1; margin-top: 6px; }

.holds-h {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
}

.holds-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tile {
    min-width: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tile-v {
    position: relative;
    height: 96px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.tile-l {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--body);
    line-height: 1.35;
    text-align: left;
}

/* Tile: a photo that resolves from blur to sharp. */
.m-photo .thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    --s: 0.683;
    animation: m-sharpen 5s ease-in-out infinite;
}

.m-tag {
    position: absolute;
    right: 6px;
    bottom: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 100px;
    padding: 3px 7px;
    animation: m-fade 5s ease-in-out infinite;
}

@keyframes m-sharpen {
    0% { filter: blur(7px) saturate(0.6); transform: scale(1.04); }
    40%, 100% { filter: none; transform: none; }
}

@keyframes m-fade {
    0%, 35% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

/* Tile: a voice note playing. */
.m-voice .tile-v { padding: 0 12px; }
.m-voice .row { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 0.75rem; color: var(--ink-soft); }
.m-voice .play { width: 24px; height: 24px; }
.m-voice .play::after { left: 9px; top: 7px; border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.m-voice .wave { height: 30px; color: rgba(9, 9, 11, 0.18); }
.m-voice .wave-fill { animation: wave-play 3.2s linear infinite; }

/* Tile: a pin on a map. */
.map {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(9, 9, 11, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(90deg, rgba(9, 9, 11, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
        #f1efef;
}

.map::before,
.map::after {
    content: "";
    position: absolute;
    left: -10%;
    width: 120%;
    height: 7px;
    border-radius: 4px;
    background: rgba(9, 9, 11, 0.07);
}

.map::before { top: 58%; transform: rotate(-16deg); }
.map::after { top: 22%; height: 4px; transform: rotate(9deg); }

.pin {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    color: var(--accent-soft);
    font-size: 1.4rem;
    animation: pin-drop 4s var(--ease) infinite;
}

.pin small {
    font-size: 0.66rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 100px;
    padding: 2px 7px;
}

.pin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 22px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 100px;
    border: 2px solid var(--accent-soft);
    opacity: 0;
    animation: pin-pulse 2s ease-out 1s infinite;
}

@keyframes pin-drop {
    0% { transform: translateY(-40px); opacity: 0; }
    18%, 100% { transform: none; opacity: 1; }
}

@keyframes pin-pulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Tile: an album fanning open. */
.stack { position: relative; width: 60px; height: 60px; }

.stack .thumb {
    position: absolute;
    inset: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transform-origin: 50% 130%;
    transform: rotate(var(--r));
    --s: 0.488;
    animation: fan 5s var(--ease) infinite;
}

@keyframes fan {
    0%, 12% { transform: rotate(0deg); }
    45%, 72% { transform: rotate(var(--r)); }
    100% { transform: rotate(0deg); }
}

/* Tile: a plan, ticked off as memories get shared against it. */
.plan {
    width: calc(100% - 16px);
    min-width: 0;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 600;
}

.plan b { font-size: 0.7rem; font-weight: 700; margin-bottom: 1px; }

.pi { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }

.pi .box {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    border: 1.5px solid var(--accent-btn);
    background: var(--accent-btn);
    position: relative;
    animation: tick 9s var(--ease) infinite;
}

.pi .box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: tickmark 9s var(--ease) infinite;
}

.pi span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--app-soft); animation: strike 9s var(--ease) infinite; }

.pi .thumb {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    --s: 0.146;
    animation: p-thumb 9s var(--ease) infinite;
}

.pi .box, .pi .box::after, .pi span, .pi .thumb { animation-fill-mode: backwards; }
.pi:nth-child(3) .box, .pi:nth-child(3) .box::after, .pi:nth-child(3) span, .pi:nth-child(3) .thumb { animation-delay: 2.2s; }
.pi:nth-child(4) .box, .pi:nth-child(4) .box::after, .pi:nth-child(4) span, .pi:nth-child(4) .thumb { animation-delay: 4.4s; }

@keyframes tick {
    0%, 22% { background: transparent; border-color: #c9c3c3; }
    30%, 100% { background: var(--accent-btn); border-color: var(--accent-btn); }
}

@keyframes tickmark {
    0%, 22% { opacity: 0; }
    30%, 100% { opacity: 1; }
}

@keyframes strike {
    0%, 22% { color: var(--app-ink); }
    30%, 100% { color: var(--app-soft); }
}

@keyframes p-thumb {
    0%, 22% { opacity: 0; transform: scale(0.6); }
    30%, 100% { opacity: 1; transform: none; }
}

/* Tile: a memory that opens on a date, for a set time. Fixed size —
   only the lock breathes. */
.later {
    width: calc(100% - 16px);
    background: var(--card);
    border: 1px solid var(--accent-edge);
    border-radius: 12px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.later-top { display: flex; align-items: center; gap: 7px; min-width: 0; }

.later-lock {
    flex: none;
    color: var(--accent-soft);
    font-size: 0.875rem;
}

.later em { font-style: normal; font-size: 0.66rem; font-weight: 700; color: var(--accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.later b { display: block; min-width: 0; font-size: 0.72rem; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.later small { align-self: flex-start; font-size: 0.58rem; font-weight: 600; color: var(--ink-soft); background: rgba(9, 9, 11, 0.05); border-radius: 100px; padding: 2px 7px; white-space: nowrap; }

/* Tile: a song playing on a memory. */
.song {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 100px;
    padding: 7px 14px 7px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    max-width: calc(100% - 16px);
    min-width: 0;
}

.song > span:not(.eq) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }

.eq i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: var(--accent-btn);
    height: var(--h);
    transform-origin: bottom;
    animation: eq 0.9s ease-in-out infinite alternate;
}

.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.4s; }
.eq i:nth-child(4) { animation-delay: 0.1s; }

@keyframes eq {
    from { transform: scaleY(0.35); }
    to { transform: scaleY(1); }
}

/* Tile: files attached to a memory. */
.files { display: flex; flex-direction: column; gap: 5px; width: calc(100% - 20px); min-width: 0; }

.chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 8px;
    padding: 5px 9px 5px 6px;
    font-size: 0.66rem;
    font-weight: 600;
    font-family: var(--mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: chip-in 6s var(--ease) infinite backwards;
}

.chip::before {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 15px;
    border-radius: 2px 5px 2px 2px;
    background: linear-gradient(135deg, transparent 4px, var(--accent-btn) 4px);
}

.chip:nth-child(2) { animation-delay: 0.5s; }
.chip:nth-child(3) { animation-delay: 1s; }

@keyframes chip-in {
    0% { opacity: 0; transform: translateX(16px); }
    14%, 100% { opacity: 1; transform: none; }
}

/* Tile: view once — the photo is seen, then it's gone. */
.once { position: relative; width: 84px; height: 84px; }

.once .thumb { width: 84px; height: 84px; border-radius: 12px; --s: 0.683; animation: once 6s ease-in-out infinite; }

.once-tag {
    position: absolute;
    left: 6px;
    top: 6px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 100px;
    padding: 2px 7px;
}

.once-seen {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink);
    opacity: 0;
    animation: once-seen 6s ease-in-out infinite;
}

@keyframes once {
    0%, 35% { filter: none; opacity: 1; }
    48%, 85% { filter: blur(9px) grayscale(1); opacity: 0.3; }
    100% { filter: none; opacity: 1; }
}

@keyframes once-seen {
    0%, 40% { opacity: 0; }
    50%, 85% { opacity: 1; }
    100% { opacity: 0; }
}

/* Tile: a workout route drawing itself. */
.m-run svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.m-run .route {
    fill: none;
    stroke: var(--accent-soft);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    animation: draw 5s var(--ease) infinite;
}

.m-run .route-bg { fill: none; stroke: rgba(9, 9, 11, 0.1); stroke-width: 3; stroke-linecap: round; }

.m-run .stat {
    position: absolute;
    left: 8px;
    bottom: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 100px;
    padding: 3px 8px;
    animation: m-fade 5s ease-in-out infinite;
}

@keyframes draw {
    0% { stroke-dashoffset: 100; }
    60%, 100% { stroke-dashoffset: 0; }
}

/* Tile: a mood that changes. */
.mood {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 100px;
    padding: 7px 14px 7px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mood .dot {
    width: 11px;
    height: 11px;
    border-radius: 100px;
    background: #ffb43a;
    animation: moodc 8s ease-in-out infinite;
}

.mood .mws { display: grid; }
.mood .mw { grid-area: 1 / 1; opacity: 1; animation: moodw 8s ease-in-out infinite backwards; }
.mood .mw:nth-child(2) { animation-delay: 2s; }
.mood .mw:nth-child(3) { animation-delay: 4s; }
.mood .mw:nth-child(4) { animation-delay: 6s; }

@keyframes moodc {
    0%, 20% { background: #ffb43a; }
    25%, 45% { background: #4fa3ff; }
    50%, 70% { background: #8a8f98; }
    75%, 95% { background: var(--accent); }
    100% { background: #ffb43a; }
}

@keyframes moodw {
    0% { opacity: 0; }
    4%, 21% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

/* Tile: your colours — a widget and the app itself, cycling together. */
.m-color .tile-v { display: block; }

.m-color .wdg { position: absolute; left: 50%; top: 50%; transform: translate(-72%, -50%); z-index: 1; }

.ui {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-4%, -50%) rotate(6deg);
    width: 60px;
    height: 78px;
    border-radius: 12px;
    background: var(--app-card);
    padding: 8px 7px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.ui i { display: block; height: 5px; border-radius: 3px; background: var(--app-line); }
.ui i:first-child { width: 70%; height: 9px; border-radius: 100px; background: var(--accent-btn); animation: hue 9s ease-in-out infinite; }
.ui i:nth-child(3) { width: 80%; }
.ui b { position: absolute; right: 7px; bottom: 7px; width: 16px; height: 16px; border-radius: 100px; background: var(--accent-btn); animation: hue 9s ease-in-out infinite; }

.wdg {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    padding: 9px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--accent-btn);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    animation: hue 9s ease-in-out infinite;
}

.wdg .thumb { width: 26px; height: 26px; border-radius: 7px; --s: 0.211; }
.wdg b { display: block; font-size: 0.62rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdg small { font-size: 0.6rem; opacity: 0.8; }

@keyframes hue {
    0%, 26% { background: #d61f41; }
    33%, 59% { background: #2f6df6; }
    66%, 92% { background: #1f9d6a; }
    100% { background: #d61f41; }
}

/* The comparison: shared album vs messenger vs Munkki. */
.cmp { margin-top: 22px; }

.cmp-box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

.cmp table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 0.8rem; line-height: 1.35; }

.cmp th, .cmp td { padding: 9px 4px; text-align: center; border-top: 1px solid var(--line); }

.cmp th { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); border-top: 0; padding: 11px 2px 9px; }

.cmp th:first-child, .cmp td:first-child { width: 40%; text-align: left; color: var(--body); font-weight: 500; padding-left: 12px; }

.cmp .no { color: rgba(9, 9, 11, 0.28); }
.cmp .yes { color: var(--accent-soft); font-weight: 700; }

.cmp th:last-child, .cmp td:last-child { background: var(--accent-wash-2); color: var(--ink); }

.tl-card .cmp-note { margin-top: 8px; font-size: 0.74rem; color: var(--ink-soft); line-height: 1.5; }

/* Card 6 — the call to action */
.tl-cta {
    background: var(--accent-wash-2);
    border: 1.5px dashed rgba(238, 43, 78, 0.45);
    border-radius: 22px;
    padding: 30px 18px;
    text-align: center;
}

.tl-cta h2 {
    font-size: clamp(1.4rem, 6vw, 1.7rem);
    margin-bottom: 0;
}

.tl-cta p {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--ink-soft);
}

.tl-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tl-cta-btns .btn { flex: 1 1 auto; max-width: 260px; }

/* ---------- FAQ ---------- */
/* Longhands only — this element also carries .wrap, whose `padding: 0 20px`
   supplies the side gutter. A shorthand here would reset it to 0. */
.faq { padding-top: 64px; padding-bottom: 8px; }

.faq > h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: -0.03em;
    margin-bottom: 26px;
}

.faq-list { display: flex; flex-direction: column; gap: 11px; }

.faq details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
}

.faq details[open] { border-color: var(--line-strong); }

.faq summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    min-height: 56px;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.faq summary i {
    flex: 0 0 auto;
    color: var(--accent-soft);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary i { transform: rotate(45deg); }

.faq details p {
    padding: 0 20px 20px;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ---------- Reveal on scroll ---------- */
/* Hidden only under .js — set in <head> and only when IntersectionObserver
   exists to undo it. Without JS the timeline is simply visible, so a
   broken observer can never leave the page blank. */

/* Tile: a question on a memory, the answers coming in. */
.ask {
    width: calc(100% - 16px);
    min-width: 0;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.66rem;
    font-weight: 600;
}
.ask b { font-size: 0.72rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt { display: grid; grid-template-columns: 42px minmax(0, 1fr) 12px; align-items: center; gap: 6px; }
.opt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt i { position: relative; display: block; height: 6px; border-radius: 3px; background: #eee8e8; overflow: hidden; }
.opt i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    border-radius: 3px;
    background: var(--accent-btn);
    animation: ask-fill 6s var(--ease) infinite backwards;
}
.opt:nth-child(3) i::after { animation-delay: 0.6s; }
.opt small { font-size: 0.62rem; color: var(--app-soft); text-align: right; }
@keyframes ask-fill {
    0%, 8% { width: 0; }
    40%, 100% { width: var(--w); }
}

/* Tile: what's coming — a birthday that comes round again, a plan. */
.soon { display: flex; flex-direction: column; gap: 5px; width: calc(100% - 8px); min-width: 0; }
.sr {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    background: var(--app-card);
    color: var(--app-ink);
    border-radius: 9px;
    padding: 5px 8px 5px 5px;
    animation: chip-in 6s var(--ease) infinite backwards;
}
.sr:nth-child(2) { animation-delay: 0.5s; }
.sd {
    flex: 0 0 auto;
    width: 26px;
    border-radius: 6px;
    background: var(--accent-wash);
    color: var(--accent-btn);
    display: grid;
    place-items: center;
    line-height: 1.05;
    padding: 2px 0;
}
.sd small { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; }
.sd b { font-size: 0.74rem; font-weight: 800; }
.st { display: flex; flex-direction: column; min-width: 0; }
.st b, .st small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st b { font-size: 0.66rem; font-weight: 700; }
.st small { font-size: 0.58rem; font-weight: 600; color: var(--app-soft); }

/* Tile: looking back — a memory from a year ago, coming back. The
   15th tile: alone in its row on two columns, so it spans both
   there (three columns fill evenly). */
.m-back { grid-column: span 2; }
.back { position: relative; display: block; }
.back .thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    --s: 0.683;
    animation: back-in 6s var(--ease) infinite backwards;
}
.back-tag {
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100px;
    padding: 3px 8px;
}
@keyframes back-in {
    0%, 6% { filter: grayscale(1) brightness(0.7); transform: scale(0.94); }
    35%, 100% { filter: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    /* Demos: no loops at all — base styles are the finished picture. */
    .demo, .demo *, .demo *::before, .demo *::after { animation: none !important; }
    .mood .mw:not(:first-child) { display: none; }
    .pin::after { display: none; }
}

/* ---------- Tablet and up ---------- */
@media (min-width: 720px) {
    .wrap { padding: 0 28px; }

    .hero { padding: 72px 28px 16px; }
    .hero-badge { font-size: 0.84rem; padding: 7px 16px; margin-bottom: 28px; }
    .hero p { font-size: 1.05rem; margin-top: 24px; }

    .tl-section { padding: 40px 0 0; }
    .tl { gap: 26px; }

    /* The rail: one hairline behind the date column, masked by each
       marker's own background so it reads as a series of stops. */
    .tl::before {
        content: "";
        position: absolute;
        left: 34px;
        top: 8px;
        bottom: 8px;
        width: 1px;
        background: var(--line);
    }

    .tl-item {
        grid-template-columns: 68px 1fr;
        gap: 22px;
        align-items: start;
    }

    .tl-mark {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-align: center;
        padding: 22px 0 6px;
        background: var(--paper);
        position: relative;
        z-index: 1;
    }

    .tl-num { font-size: 1.9rem; }

    .tl-card { border-radius: 24px; padding: 22px 26px 24px; }
    .tl-card p { font-size: 1.02rem; }

    .tl-app {
        grid-template-columns: auto 1fr;
        gap: 26px;
        padding: 26px;
    }

    .phone { width: 236px; margin: 0; border-radius: 36px; padding: 8px; }
    .phone img, .phone > .hd { border-radius: 28px; }
    .tl-app .tl-app-copy { text-align: left; }
    .tl-app .tl-meta { justify-content: flex-start; }

    .holds { margin-top: 10px; }
    .holds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .m-back { grid-column: auto; }
    .tile { padding: 14px; }
    .tile-v { height: 104px; }

    .cmp table { font-size: 0.88rem; }
    .cmp th { font-size: 0.62rem; letter-spacing: 0.08em; }
    .cmp th, .cmp td { padding: 10px 12px; }
    .cmp th:first-child, .cmp td:first-child { width: 46%; padding-left: 16px; }

    .tl-cta { border-radius: 24px; padding: 34px 26px; }
    .tl-cta-btns .btn { flex: 0 0 auto; font-size: 1rem; min-height: 50px; padding: 14px 28px; }

    .faq { padding-top: 96px; padding-bottom: 16px; }
    .faq > h2 { margin-bottom: 32px; }
    .faq summary { padding: 20px 24px; }
    .faq summary h3 { font-size: 1.05rem; }
    .faq details p { padding: 0 26px 22px; font-size: 1rem; }
}

/* FOOTER_CSS is shared with the light content pages; these three rules
   fit it to the homepage's cards and spacing. */
.lang-opt.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(9, 9, 11, 0.08); }
.lang-switch { background: var(--card); }
.site-footer { margin-top: 72px; }

/* Homepage layout and interactions */
[hidden] { display: none !important; }
.wrap { max-width: 1080px; padding-inline: var(--gut); }
.home-header { position: relative; z-index: 1; background: var(--card); }
.home-header .nav { min-height: 72px; height: auto; flex-wrap: wrap; padding-block: 8px; }
.home-header .brand { font-size: 1.25rem; min-height: 44px; }
.home-header .brand-mark, .home-header .brand-mark img { width: 32px; height: 32px; }
.home-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2.7vw, 28px); }
.home-nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.home-nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang-switch { box-shadow: none; border-radius: 8px; }
.lang-opt { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 33px; }
.btn { border-radius: 10px; }
.btn-primary { background: #bc1735; }
.btn-primary:hover { background: #a8132d; }
.home-header .btn { background: var(--ink); }
.home-header .btn:hover { background: #38363a; }

.home-hero {
    margin: 0 auto;
    max-width: 1080px;
    padding: clamp(26px, 5.5vw, 62px) var(--gut);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 48px);
    align-items: center;
    text-align: left;
}
.home-hero .hero-copy { align-items: flex-start; min-width: 0; }
.home-hero .hero-badge {
    align-items: center;
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 17px;
    font-size: .79rem;
    font-weight: 700;
}
.home-hero h1 {
    font-size: clamp(2.45rem, 5.4vw, 4.45rem);
    line-height: 1.01;
    letter-spacing: -.065em;
    max-width: 12ch;
    text-wrap: initial;
    overflow-wrap: anywhere;
}
.home-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero p { margin-top: 19px; max-width: 39ch; font-size: 1rem; color: var(--body); }
.home-hero .hero-btns { margin-top: 23px; justify-content: flex-start; }
.home-hero .btn { padding-inline: 17px; }
.hero-btns .btn, .tl-cta-btns .btn {
    min-height: 48px;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.hero-btns .btn:hover, .tl-cta-btns .btn:hover { background: #3b3237; color: #fff; }
.hero-btns .btn { flex: 1 0 auto; }
.home-assurances { margin-top: 18px; display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 5px; list-style: none; color: var(--body); font-size: .8rem; font-weight: 600; }
.home-assurances li { display: flex; align-items: center; gap: 5px; }
.home-assurances [aria-hidden] { color: var(--accent-soft); }

.home-control {
    appearance: none;
    font: 650 .79rem/1.35 var(--sans);
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--body);
}
.home-control[aria-pressed="true"] {
    border-color: var(--line-strong);
    background: #fff;
    color: var(--ink);
}
.home-control:hover { border-color: var(--line-strong); }

.tl-section { padding: 0; }
.tl { gap: 28px; }
.tl-item { gap: 9px; }
.tl-item .tl-mark { background: var(--paper); }
.tl-card { padding: clamp(21px, 3.3vw, 35px); border-radius: 24px; }
.tl-card h2 { font-size: clamp(1.82rem, 3.65vw, 2.85rem); line-height: 1.06; letter-spacing: -.055em; }
.tl-card h2, .tl-cta h2, .faq > h2 { text-wrap: balance; }
.tl-card p { color: var(--body); }
.tl-card p.tl-meta { font-size: .8rem; }
.home-origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); align-items: center; gap: clamp(18px, 3vw, 34px); }
.home-origin .tl-fig { margin-top: 7px; }
.home-origin .tl-fig img { width: 100%; }
.home-origin figcaption { padding-inline: 2px; }
.home-mascot { width: min(100%, 310px); justify-self: center; }
.home-mascot img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 16px; }
.home-mascot figcaption { color: var(--body); font-size: .86rem; font-weight: 600; margin-top: 8px; }
.home-prototype { margin-top: 9px; }
summary { cursor: pointer; }
.home-compare summary, .home-prototype summary, .home-timeline-details summary {
    min-height: 44px;
    padding: 10px 0;
    color: var(--accent-soft);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.home-developers {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: clamp(15px, 2.2vw, 23px);
}
.home-developers h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.52rem);
    letter-spacing: -.035em;
    margin-bottom: 7px;
    text-wrap: initial;
}
.home-developers p { max-width: 68ch; }
.home-developers strong { color: var(--ink); }
.home-privacy, .home-price {
    --paper: #2a2629;
    --card: #211e20;
    --ink: #fff9fb;
    --body: #f3e8ed;
    --ink-soft: #ded1d8;
    --line: #ffffff26;
    --line-strong: #ffffff42;
    --accent-soft: #ff9cad;
    --accent-edge: #ffffff26;
    --accent-wash: #fc879629;
    color: var(--ink);
}
.home-price h2 em { color: var(--accent-soft); }
.home-privacy .privacy-server { margin-top: 12px; font-size: .91rem; }
.home-privacy-guides {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 20px;
    margin-top: 10px;
}
.home-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    padding: 0;
    min-height: 44px;
    color: #ffc3ce;
    background: transparent;
    font: 650 .94rem/1.4 var(--sans);
    text-align: start;
    text-decoration: underline;
    text-underline-offset: .23em;
}
.home-doc-link:hover { color: #fff; }
.home-doc-link span { font-size: .79rem; font-weight: 500; }
.home-launch { background: #fff; grid-template-columns: minmax(0, 1fr); }
.home-launch .launch-sample {
    display: grid;
    justify-items: center;
    min-width: 0;
    padding: 22px 14px 10px;
    border-radius: 20px;
    background: radial-gradient(ellipse at top, #fff1f3, #f2eded);
}
.home-animation {
    min-width: 0;
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 20px;
}
.home-animation-screen {
    display: block;
    width: min(100%, 218px);
    overflow: hidden;
    border: 5px solid #18191b;
    border-radius: 23px;
    background: #18191b;
}
.home-animation-screen img {
    display: block;
    width: 100%;
    aspect-ratio: 480 / 1068;
}
.home-animation figcaption, .home-screenshot-gallery figcaption {
    color: var(--ink-soft);
    font-size: .8rem;
    text-align: center;
}
.home-launch .home-screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    gap: clamp(7px, 1.5vw, 15px);
    padding: clamp(10px, 1.8vw, 18px);
}
.home-screenshot-gallery figure { min-width: 0; }
.home-screenshot-gallery img {
    width: 100%;
    display: block;
    aspect-ratio: 1344 / 2992;
    object-fit: contain;
    border: 3px solid #18191b;
    border-radius: clamp(11px, 1.6vw, 20px);
    background: #f4f4f4;
}
.home-screenshot-gallery figcaption { margin-top: 6px; }
.home-timeline-details { margin-top: 12px; }
.home-timeline-details .hero-demo { margin-top: 5px; }
.home-launch .hero-phone { width: 239px; aspect-ratio: 9 / 22; }
.home-launch .hd { padding: 11px 8px 9px; gap: 4px; }
.home-launch .lk-map { height: 45px; }
.home-launch .lk-photo img { height: 67px; }
.home-launch .hero-demo { display: block; }
.home-launch .lk-photo img { border-radius: 0; }
.home-launch .tl-app-copy { text-align: left; }
.home-launch .tl-app-copy .tl-meta { justify-content: flex-start; }
.home-launch .holds { margin-top: 12px; min-width: 0; }
.home-feature-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.home-feature-head .holds-h { font-size: clamp(1.25rem, 2.9vw, 1.85rem); letter-spacing: -.04em; text-transform: none; color: var(--ink); margin: 0; }
.home-play { border: 1px solid var(--line-strong); margin-block-start: 8px; }
.home-feature-head .home-play { margin-block-start: 0; }
.home-feature-groups { display: grid; gap: 18px; padding-top: 4px; }
.home-feature-group h4 { margin-bottom: 7px; font-size: .99rem; font-weight: 700; }
.home-feature-group .holds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-feature-group .m-back { grid-column: auto; }
.home-launch .tile { background: #f9f7f7; }
.home-launch .tile-l { font-size: .86rem; overflow-wrap: anywhere; }
.home-launch .demo:not(.home-playing),
.home-launch .demo:not(.home-playing) *,
.home-launch .demo:not(.home-playing) *::before,
.home-launch .demo:not(.home-playing) *::after { animation: none !important; }
.home-feature-groups:not(.home-playing) .mood .mw:not(:first-child) { display: none; }
.home-feature-groups:not(.home-playing) .pin::after { display: none; }
.home-huddle-demo {
    background: #f8f5f6;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-top: 22px;
    padding: clamp(12px, 2.5vw, 22px);
}
.home-huddle-demo h3 { font-size: clamp(1.18rem, 2.4vw, 1.62rem); text-wrap: initial; }
.home-huddle-demo p { margin-top: 8px; }
.home-huddle-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}
.home-huddle-option {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
    font: 500 .8rem/1.35 var(--sans);
    color: var(--body);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.home-huddle-option[aria-pressed=true] {
    border-color: #ba3857;
    box-shadow: 0 0 0 1px #ba3857;
}
.home-huddle-option strong { font-size: .96rem; color: var(--ink); }
.home-huddle-option small { color: var(--ink-soft); font-size: .76rem; margin-top: 3px; }
.home-huddle-avatars { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 6px; }
.home-huddle-avatars > span {
    display: inline-grid;
    place-items: center;
    width: 23px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--member-color);
    color: #322c30;
    font-size: .66rem;
    font-weight: 750;
}
.home-huddle-demo .home-huddle-caption { margin-top: 13px; font-size: .91rem; font-weight: 650; }
.home-huddle-option:hover { border-color: #ba3857; }
.home-compare { margin-top: 17px; }
.home-compare .cmp { margin-top: 3px; }
.home-compare .cmp-box { overflow: auto; }
.home-compare .cmp th { font-size: clamp(.68rem, 1.15vw, .87rem); letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.home-compare .cmp th[scope="row"] { border-top: 1px solid var(--line); line-height: 1.38; }
.tl-cta { background: #fff; border-color: var(--line); }
.faq { padding-block: 56px 12px; }
.faq > h2 { font-size: clamp(1.85rem, 3.65vw, 2.85rem); letter-spacing: -.055em; margin-bottom: 16px; }
.faq .faq-list { gap: 0; border-top: 1px solid var(--line-strong); }
.faq .faq-list details { border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; }
.faq .faq-list summary { min-height: 48px; padding-inline: 2px; }
.faq .faq-list details p { padding-inline: 2px; max-width: 76ch; }
.site-footer { margin-top: 45px; }
.site-footer .ft-grid { padding-inline: var(--gut); }
@media (min-width: 720px) {
    .tl { gap: 22px; }
    .home-launch.tl-app { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; }
    .tl-app .launch-sample { grid-column: 2; grid-row: 1; }
    .tl-app .tl-app-copy { grid-column: 1; grid-row: 1; }
    .home-feature-group:last-child .holds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 945px) {
    .home-feature-group:not(:last-child) .holds-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .home-header .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 7px; }
    .home-header .home-nav-links { order: 1; grid-column: 1 / -1; width: 100%; gap: 1px 12px; }
    .home-header .nav-right { gap: 5px; }
    .home-header .nav-right .btn { padding: 8px 10px; }
    .home-hero { grid-template-columns: 1fr; gap: 22px; }
    .home-animation { padding: 12px; }
    .home-animation-screen { width: min(100%, 165px); border-width: 4px; border-radius: 17px; }
    .home-hero h1 { max-width: 16ch; font-size: clamp(2.35rem, 9.1vw, 3.8rem); }
    .home-huddle-picker { grid-template-columns: 1fr; }
    .home-huddle-option {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .home-huddle-avatars { grid-column: 1 / -1; }
    .home-huddle-option small { grid-column: 2; grid-row: 2; margin: 0; }
    .home-origin { grid-template-columns: 1fr; }
    .home-mascot { justify-self: start; width: min(100%, 270px); }
    .home-launch .launch-sample { order: 1; overflow: hidden; }
    .home-launch .holds { order: 2; }
}
@media (max-width: 380px) {
    .home-header .brand { font-size: 1.02rem; gap: 6px; }
    .home-header .brand-mark, .home-header .brand-mark img { width: 26px; height: 26px; }
    .home-header .nav-right .btn { font-size: .73rem; }
    .home-header .home-nav-links a { font-size: .75rem; }
    .home-hero .btn { font-size: .86rem; padding-inline: 12px; }
    .home-launch .tile { padding: 7px; }
    .home-launch .launch-sample { padding-inline: 9px; }
    .home-launch .launch-sample button { font-size: .73rem; padding-inline: 6px; }
    .home-launch .hero-phone { width: 192px; }
    .home-launch .hd { font-size: 10px; gap: 3px; }
    .home-launch .lk-photo img { height: 46px; }
}
@media (max-width: 390px) {
    .home-feature-group .holds-grid { grid-template-columns: minmax(0, 1fr); }
    .home-feature-group .tile { padding: 9px 10px; gap: 6px; }
    .home-feature-group .tile-v { height: 91px; }
    .home-feature-group .tile-l { font-size: .86rem; hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .home-play { display: none; }
}

button[data-demo], button[data-huddle] { cursor: pointer; }
