/*
 * New-brand landing. Static file (no build step): production ships the committed public/build and
 * never rebuilds CSS, so this page must not depend on Tailwind. Every class is `nb-` prefixed.
 *
 * Art direction "unread dot" (manychat-rea-analysis/design/landing-v2-art-direction.md), motion and
 * stage rules from landing v3 (manychat-rea-analysis/design/landing-v3-motion-brief.md):
 *  - Type: Wanted Sans Variable for headings in three steps (display, h2, h3; tokens in brand.css,
 *    rules below), Pretendard Variable for text. No mono, no uppercase labels, no eyebrows.
 *  - Colour: white + ink, one neon Acid Lime (#CCFF3A, a fill with ink on it, 16.1:1; never lime text on
 *    white). Full-bleed stages alternate ink (hero, templates, footer), lime (features, closing CTA) and
 *    white; the dot motif sits on them. Same tokens as the app (brand.css), no landing override.
 *  - Images: real catalog products on mist tiles, scenes of people around them.
 *  - Motion: section loops are pre-rendered videos (public/newbrand/v3/media.js loads them all);
 *    reveals start at 90% of the viewport and finish in 240ms. Durations 150/200/240/300ms, one curve.
 *
 * This file holds the page frame (layout tokens, type, buttons, nav, shelf, pricing, FAQ, login,
 * reveals). Each v3 section has its own file in public/newbrand/v3/.
 *
 * Tokens and the shared primitives (logo, language switch, product tile, phone frame) come from
 * brand.css, the same file the signed-in app uses.
 *
 * Breakpoints follow the repo: 576 (mobile+), 640 (tablet), 1024 (laptop), 1280 (desktop).
 */

:root {
    /* Layout only. Colour, type, motion and shape tokens come from brand.css. */
    --wrap: 1240px;
    --gutter: 16px;
    --inset: 8px;
    --sec: clamp(80px, 9vw, 152px);
    --nav-h: 60px;
    /* The header as drawn (bar + top safe area). landing.js sets the measured value; sticky rows sit right under it. */
    --nb-header-h: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    --r-panel: 20px;
    --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));

    interpolate-size: allow-keywords;
}
@media (min-width: 640px) { :root { --gutter: 24px; --inset: 12px; --nav-h: 68px; --r-panel: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --r-panel: 32px; } }
@media (min-width: 1600px) { :root { --wrap: 1440px; } }

html.nb-l { scroll-behavior: smooth; scroll-padding-top: calc(var(--nb-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html.nb-l { scroll-behavior: auto; } }
.nb-l__body {
    background: var(--nb-paper);
    color: var(--nb-ink);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}
:where(.nb-l) :where(ul, ol, dl, dd, figure) { list-style: none; margin: 0; padding: 0; }
.nb-l img { display: block; max-width: 100%; }
.nb-l :where(a, button, summary, input):focus-visible { outline: 2px solid var(--nb-ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--nb-accent); }
.nb-i { width: 18px; height: 18px; flex: none; stroke-width: 2.2; }
.nb-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Type (landing v3, owned by the hero lane; every section inherits it) ─────────
 * Why v2 headings read as machine-made: every title was the same 900-weight block at -0.05em with
 * line-height 1.0, a second line in red, and a grey sentence under it. v3 rules:
 *  - Three steps only: display (hero, closing CTA), h2 (one per section), h3 (chapter, card, step).
 *    Sizes at 1440: 88 / 54 / 30. At 390: 44 / 32 / 24. Weight and tracking from brand.css tokens.
 *  - One colour per heading. Emphasis comes from what the words say, not from a red second line.
 *  - Line breaks are written into the copy ("\n" → .nb-line blocks, each balanced). A line that opens
 *    with a quote mark hangs it into the margin so the letters stay on the left edge (.nb-line--hang).
 *  - At most one supporting sentence (.nb-lead) under an h2, and only when it adds a fact.
 *  - No eyebrow labels, no numbering, no period-stacked fragments as decoration. */
.nb-display, .nb-h2, .nb-h3, .nb-plan__price b {
    font-family: var(--nb-display);
    font-feature-settings: "kern";
    text-wrap: balance;
}
.nb-display { font-weight: var(--nb-h-display-w); letter-spacing: var(--nb-h-display-ls); line-height: var(--nb-h-display-lh); font-size: clamp(44px, 4.4vw + 25px, 104px); }
.nb-h2 { font-weight: var(--nb-h2-w); letter-spacing: var(--nb-h2-ls); line-height: var(--nb-h2-lh); font-size: clamp(32px, 2.1vw + 24px, 64px); }
.nb-h3 { font-weight: var(--nb-h3-w); letter-spacing: var(--nb-h3-ls); line-height: var(--nb-h3-lh); }
.nb-h3 { font-size: clamp(24px, .55vw + 22px, 34px); }
.nb-plan__price b { font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.nb-line { display: block; text-wrap: balance; }
.nb-line--hang { text-indent: max(-0.4em, calc(8px - var(--gutter))); } /* never closer than 8px to the screen edge */
.nb-lead {
    margin-top: 20px;
    font-size: clamp(17px, .2vw + 16px, 20px);
    line-height: 1.55;
    color: var(--nb-ink-2);
    max-width: 34em;
    text-wrap: pretty;
}
.nb-sec { padding: var(--sec) 0; }
.nb-sec__head { max-width: 760px; }
.nb-sec__head--center { margin: 0 auto; text-align: center; }
.nb-sec__head--center .nb-lead { margin-left: auto; margin-right: auto; }
.nb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nb-accent); box-shadow: inset 0 0 0 1.5px var(--nb-ink); }

/* ─── Buttons ─────────────────────────────────────────────── */
.nb-b {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border: 0; border-radius: 999px;
    font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--nb-dur-2) ease, color var(--nb-dur-2) ease, transform var(--nb-dur-1) var(--nb-ease);
}
.nb-b:active { transform: scale(.98); }
.nb-b--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nb-b--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.nb-b--accent { background: var(--nb-accent); color: var(--nb-on-accent); }
.nb-b--ink { background: var(--nb-ink); color: #fff; }
.nb-b--mist { background: var(--nb-mist); color: var(--nb-ink); }
.nb-b--light { background: #fff; color: var(--nb-ink); }
@media (hover: hover) {
    .nb-b--accent:hover { background: var(--nb-accent-2); }
    .nb-b--ink:hover { background: #2a2a2e; }
    .nb-b--mist:hover { background: #e7e7eb; }
    .nb-b--light:hover { background: #f1f1f3; }
}
.nb-round {
    display: grid; place-items: center; width: 48px; height: 48px; flex: none;
    border: 0; border-radius: 50%; background: var(--nb-mist); color: var(--nb-ink); cursor: pointer;
    transition: background-color var(--nb-dur-2) ease, opacity var(--nb-dur-2) ease;
}
.nb-round--sm { width: 44px; height: 44px; }
.nb-round:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .nb-round:not(:disabled):hover { background: #e7e7eb; } }

/* ─── Nav ─────────────────────────────────────────────────── */
.nb-nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); }
.nb-nav__bar {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 8px;
    height: var(--nav-h);
    max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}
.nb-nav::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
    box-shadow: 0 1px 0 var(--nb-line);
    opacity: 0; transition: opacity var(--nb-dur-2) ease;
}
.nb-nav.is-stuck::before, .nb-nav[data-open]::before { opacity: 1; }
.nb-nav[data-open]::before { background: var(--nb-paper); }
.nb-nav__brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; font-family: var(--nb-display); font-weight: 900; font-size: 20px; letter-spacing: -0.03em; }
.nb-nav__links { display: none; gap: 4px; }
.nb-nav__links > a, .nb-nav__login {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--nb-ink-2);
    transition: color var(--nb-dur-2) ease, background-color var(--nb-dur-2) ease;
}
@media (hover: hover) { .nb-nav__links > a:hover, .nb-nav__login:hover { color: var(--nb-ink); background: var(--nb-mist); } }
.nb-nav__links > a[aria-current="page"] {
    background: var(--nb-mist); color: var(--nb-ink); font-weight: 700;
}
.nb-nav__login { display: none; }
.nb-nav__cta-long { display: none; }
.nb-nav__menu {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.nb-nav__menu span { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--nb-ink); transition: transform var(--nb-dur-2) var(--nb-ease); }
.nb-nav[data-open] .nb-nav__menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nb-nav[data-open] .nb-nav__menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nb-nav__sheet {
    position: relative; z-index: 2;
    display: grid; padding: 0 var(--gutter); /* no padding of its own: closed, it must add 0px under the bar */
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height var(--nb-dur-3) var(--nb-ease), visibility 0s linear var(--nb-dur-3);
}
.nb-nav[data-open] .nb-nav__sheet { max-height: calc(100svh - var(--nb-header-h)); visibility: visible; overflow-y: auto; overscroll-behavior: contain; transition: max-height var(--nb-dur-3) var(--nb-ease); }
.nb-nav__sheet-in { display: grid; padding-bottom: 16px; }
.nb-nav__sheet-in > a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--nb-line); font-size: 17px; font-weight: 700; }
.nb-nav__sheet-in > a[aria-current="page"] { color: var(--nb-ink); }
.nb-nav__sheet-in > a[aria-current="page"]::after {
    content: ""; width: 6px; height: 6px; margin-inline-start: auto;
    border-radius: 50%; background: currentColor;
}
/* One centre line (Steve 2026-11-19, "mobile header items not aligned"): logo, language, CTA and menu are all
   40px boxes on the bar's centre, the gaps read the same (12px of air between what you see), and the menu glyph,
   not its box, sits on the right gutter so the bar mirrors the logo on the left. Each control keeps the 44px
   touch floor with an invisible 2px extension above and below (the bar is 60px+, so they never overlap). */
.nb-nav__actions { display: flex; align-items: center; gap: 6px; }
.nb-nav__brand, .nb-nav__actions .nb-b, .nb-nav__login, .nb-nav__menu, .nb-nav .nb-lang--nav a { position: relative; height: 40px; min-height: 40px; line-height: 1; }
.nb-nav__actions .nb-b::after, .nb-nav__login::after, .nb-nav__menu::after, .nb-nav .nb-lang--nav a::after { content: ""; position: absolute; inset: -2px 0; }
.nb-nav__menu { width: 40px; margin: 0 -11px 0 -5px; }
@media (max-width: 374.98px) {
    .nb-nav__bar .nb-brand__name { display: none; }
    .nb-nav__bar .nb-wordmark + .nb-logo { display: inline-block; }
}
@media (min-width: 640px) {
    .nb-nav__login { display: inline-flex; }
    .nb-nav__cta-long { display: inline; }
    .nb-nav__cta-short { display: none; }
}
@media (min-width: 1024px) {
    .nb-nav__bar > .nb-nav__brand { margin-inline-end: 0; }
    .nb-nav__links { display: flex; margin-inline: auto; white-space: nowrap; }
    .nb-nav__menu, .nb-nav__sheet { display: none; }
}
/* PC: a floating pill (Steve 2026-11-20, "floating like ManyChat or the old StylMatch"). It sits 12px under the
   top edge, as wide as the page column plus its own 20px inset, so the logo lines up with the content below.
   Its footprint stays --nav-h (12 + 56 = 68), so the hero, the My shop jump row and anchors do not move.
   Transparent with white type over the ink hero at the top; once the page moves, a light frosted pill.
   The pill's box never changes: only its backdrop fades (opacity) and the type changes colour with it, on the
   same curve and duration, so no frame shows light type on the light pill. The page stays clickable around it. */
@media (min-width: 1024px) {
    :root { --pill-top: 12px; --pill-pad: 20px; }
    .nb-nav { pointer-events: none; padding-top: calc(env(safe-area-inset-top, 0px) + var(--pill-top)); }
    .nb-nav::before { display: none; }
    .nb-nav__bar {
        pointer-events: auto;
        width: calc(100% - 2 * (var(--gutter) - var(--pill-pad)));
        max-width: calc(var(--wrap) + 2 * var(--pill-pad));
        height: calc(var(--nav-h) - var(--pill-top));
        padding: 0 8px 0 var(--pill-pad);
        border-radius: 999px;
    }
    .nb-nav__bar::before {
        content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
        background: rgba(255, 255, 255, .8);
        -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
        box-shadow: 0 0 0 1px rgba(17, 17, 19, .06), 0 12px 32px -14px rgba(17, 17, 19, .3);
        opacity: 0; transition: opacity var(--nb-dur-2) var(--nb-ease);
    }
    .nb-nav.is-stuck .nb-nav__bar::before { opacity: 1; }
}


/* ─── Photo panels (generated scenes) ─────────────────────── */
.nb-photo { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--nb-mist); }
.nb-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Hero: public/newbrand/v3/hero.css ─────────────────── */

/* ─── Use cases: public/newbrand/v3/features.css (u4-*) ───── */

/* ─── Pricing ─────────────────────────────────────────────── */
.nb-pricing { padding-top: calc(var(--sec) * .5); } /* follows the steps stage, which keeps its own bottom space */
.nb-plans { display: grid; gap: 12px; margin-top: 48px; }
.nb-plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 24px; background: var(--nb-mist); }
.nb-plan--free { background: var(--nb-ink); color: #fff; }
.nb-plan__name { font-size: 18px; font-weight: 800; }
.nb-plan__for { margin-top: 4px; min-height: 3em; font-size: 15px; color: var(--nb-ink-2); }
.nb-plan--free .nb-plan__for { color: rgba(255, 255, 255, .7); }
.nb-plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.nb-plan__price b { font-size: clamp(36px, 1.6vw + 26px, 52px); font-variant-numeric: tabular-nums; }
.nb-plan__price span { font-size: 15px; font-weight: 600; color: var(--nb-ink-3); }
.nb-plan__trial { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--nb-ink); }
/* Under the cards: what no plan charges for. One mist row, centred under the three cards. */
.nb-pricing__free {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
    max-width: 720px; margin: 16px auto 0; padding: 10px 20px; border-radius: 999px;
    background: var(--nb-mist); font-size: 15px; font-weight: 600; color: var(--nb-ink); text-align: center;
}
.nb-pricing__free > .nb-i { width: 18px; height: 18px; flex: none; }
.nb-pricing__free a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; color: var(--nb-ink); text-decoration: underline; text-underline-offset: 3px; }
.nb-pricing__free a .nb-i { width: 16px; height: 16px; transition: transform var(--nb-dur-2) var(--nb-ease); }
@media (hover: hover) { .nb-pricing__free a:hover .nb-i { transform: translateX(3px); } }
@media (max-width: 639.98px) { .nb-pricing__free { border-radius: 20px; padding: 12px 16px 4px; } }
.nb-plan__lines { display: grid; gap: 12px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--nb-line); }
.nb-plan--free .nb-plan__lines { border-color: rgba(255, 255, 255, .14); }
.nb-plan__lines li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.nb-plan__lines .nb-i { margin-top: 2px; color: var(--nb-ink); }
.nb-plan--free .nb-plan__lines .nb-i { color: var(--nb-accent); }
.nb-plan__lines li.is-soon { color: var(--nb-ink-3); }
.nb-plan__lines li.is-soon .nb-i { color: var(--nb-ink-3); }
.nb-soon { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: #fff; font-size: 12px; font-style: normal; font-weight: 700; color: var(--nb-ink-2); white-space: nowrap; }
.nb-plan .nb-b { margin-top: auto; }
.nb-plan__lines + .nb-b { margin-top: 32px; }
@media (min-width: 900px) { .nb-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* Phones: the three cards stack, so each one is tighter (no reserved line under the name, closer rows). */
@media (max-width: 639.98px) {
    .nb-plans { margin-top: 32px; }
    .nb-plan { padding: 24px 22px; }
    .nb-plan__for { min-height: 0; }
    .nb-plan__price { margin-top: 14px; }
    .nb-plan__lines { gap: 8px; margin-top: 18px; padding-top: 16px; }
    .nb-plan__lines + .nb-b { margin-top: 22px; }
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.nb-faq { padding-top: 0; }
.nb-faq__grid { display: grid; gap: 32px; }
.nb-faq__list { border-top: 1px solid var(--nb-line); }
.nb-qa { border-bottom: 1px solid var(--nb-line); }
.nb-qa summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none;
    font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}
.nb-qa summary::-webkit-details-marker { display: none; }
.nb-qa__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--nb-mist); transition: transform var(--nb-dur-2) ease, background-color var(--nb-dur-2) ease, color var(--nb-dur-2) ease; }
.nb-qa[open] .nb-qa__icon { transform: rotate(45deg); background: var(--nb-ink); color: #fff; }
.nb-qa p { padding: 0 52px 24px 0; color: var(--nb-ink-2); font-size: 16px; }
.nb-qa::details-content { block-size: 0; overflow: clip; transition: block-size var(--nb-dur-3) var(--nb-ease), content-visibility var(--nb-dur-3) allow-discrete; }
.nb-qa[open]::details-content { block-size: auto; }
@media (min-width: 1024px) { .nb-faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }

/* ─── Login sheet ─────────────────────────────────────────── */
.nb-login {
    width: min(420px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0;
    border-radius: 24px; background: #fff; color: var(--nb-ink);
    box-shadow: var(--nb-e-phone);
}
.nb-login[open] { animation: nb-drop var(--nb-dur-2) ease both; }
.nb-login::backdrop { background: rgba(17, 17, 19, .42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: nb-fade var(--nb-dur-3) ease-in-out both; }
@keyframes nb-fade { from { opacity: 0; } }
@keyframes nb-drop { from { opacity: 0; transform: translateY(-20px); } }
.nb-login:target:not([open]) { display: block; position: fixed; inset: 0; margin: auto; z-index: 60; height: fit-content; }
.nb-login__form { display: grid; gap: 16px; padding: 24px; }
.nb-login__head { display: flex; align-items: center; justify-content: space-between; }
.nb-login__title { font-family: var(--nb-display); font-size: 24px; font-weight: var(--nb-h3-w); letter-spacing: var(--nb-h3-ls); }
.nb-login__field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--nb-ink-2); }
.nb-login__field input {
    height: 52px; padding: 0 14px; border: 1px solid #d6d6dc; border-radius: 14px;
    font: inherit; font-size: 16px; color: var(--nb-ink); background: #fff;
    transition: border-color var(--nb-dur-1) ease, box-shadow var(--nb-dur-1) ease;
}
.nb-login__field input:focus { outline: none; border-color: var(--nb-ink); box-shadow: 0 0 0 3px rgba(17, 17, 19, .10); }
.nb-login__error { font-size: 14px; color: var(--nb-danger); }
.nb-login__new { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: -4px; font-size: 14px; color: var(--nb-ink-2); }
.nb-login__new a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--nb-ink); text-decoration: underline; text-decoration-color: var(--nb-line-2); text-underline-offset: 4px; }
/* Google first (one tap), then "or", then the email form; the agreement is one line under the buttons. */
.nb-google { gap: 10px; border: 1px solid var(--nb-line-2); background: #fff; color: var(--nb-ink); }
@media (hover: hover) { .nb-google:hover { background: var(--nb-mist); } }
.nb-google__g { width: 18px; height: 18px; flex: none; }
.nb-login__or { display: flex; align-items: center; gap: 12px; margin: -4px 0; font-size: 13px; color: var(--nb-ink-3); }
.nb-login__or::before, .nb-login__or::after { content: ""; flex: 1; height: 1px; background: var(--nb-line); }
.nb-login__consent { margin-top: -8px; font-size: 13px; line-height: 1.5; text-align: center; color: var(--nb-ink-2); word-break: keep-all; }
.nb-login__consent a { color: var(--nb-ink); text-decoration: underline; text-decoration-color: var(--nb-line-2); text-underline-offset: 3px; }
/* Phones: a bottom sheet (300ms rise), the same sheet the app uses. */
@media (max-width: 639.98px) {
    .nb-login { width: 100%; max-width: none; margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .nb-login[open] { animation: nb-rise var(--nb-dur-3) var(--nb-ease-io) both; }
    .nb-login:target:not([open]) { top: auto; margin: 0; }
    .nb-login__form { padding: 12px 20px 20px; }
    .nb-login__form::before { content: ""; justify-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--nb-line-2); }
}
@keyframes nb-rise { from { transform: translateY(100%); } }

/* ─── Reveal (only while the motion script is in charge) ──── */
.nb-motion [data-reveal] { transition: opacity var(--nb-dur-reveal) ease, transform var(--nb-dur-reveal) var(--nb-ease); }
.nb-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(12px); }
/* Tab into a block before it has scrolled in: show it at once, no fade under a focus ring. */
.nb-motion [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }
