/* THE LANDING PAGE'S OWN STYLESHEET, loaded on / only (2026-11-12, mobile LCP). It was Landing.razor.css, compiled into
   the scoped bundle EVERY page loads render-blocking, about 30 KB of it for a page a signed-in reader never sees. Same
   move as builder.css (tree-builder.md, 2026-10-20): Landing.razor links this file through <HeadContent>, which the
   HeadOutlet places after the bundle, and EVERY RULE STARTS WITH .landing-root (Landing wraps its markup in a
   display:contents div of that class), which is the specificity the scoped [b-...] attribute used to add. A rule that
   starts from <html> ([data-bs-theme="light"]) takes the prefix after that compound. Converted mechanically, then
   compared pixel for pixel against the scoped version in both themes at 1400 and 390 px.

   Not purged (the purge scans only the vendor sheets and app.css). A new landing rule follows both forms above.

   The original note follows. */
.landing-root {
    display: contents;
}

/* The landing page. SCOPED CSS, deliberately: a rule in app.less is compiled and then NOT served until
   somebody remembers `npm run purge:vendor-css`, a trap that has already cost this app a black chart
   and a missing icon. This file is compiled into Proceptio.MontagemRoots.Blazor.styles.css, which
   App.razor already links -- one step, and it cannot be forgotten.

   Its own palette, derived from the theme tokens rather than invented. DARK: the ground is
   Variables.less's @d-bg taken a step deeper, the ink is @d-ink warmed toward bone, and the only
   accent is the lifted brass (@d-accent) that the favicon and the sidebar already use. LIGHT: the
   same page printed as a botanical engraving on archival paper -- iron-gall ink, a deeper brass, and
   the emblem kept as a dark medallion, the way a seal sits on a document.

   EVERY COLOUR BELOW IS A --lx-* TOKEN, and the light block at the end redefines only tokens. A
   hardcoded colour further down is a colour the light theme cannot reach -- the first cut of this
   page was full of them, which is what "dark regardless of theme" was quietly relying on. */

.landing-root .landing {
    --lx-ground:     #0a0e15;
    --lx-ground-2:   #0d121b;
    --lx-ink:        #ece8dd;   /* headings -- @d-ink warmed toward bone */
    --lx-ink-soft:   #aab0bc;   /* body, ~9:1 on the ground */
    --lx-ink-faint:  #737a89;   /* hints and rules only, never body text */
    --lx-brass:      #d9b569;
    --lx-brass-deep: #b08a42;
    --lx-essence:    #f7e9bf;
    --lx-sage:       #8fbf7a;
    --lx-hair:       rgba(217, 181, 105, .2);
    /* light, as an RGB triple so one token serves every alpha the rays and halo need */
    --lx-glow-rgb:   247, 233, 191;
    --lx-brass-rgb:  217, 181, 105;
    --lx-sky-pool:   #1a2130;
    --lx-sky-edge:   #06080d;
    --lx-word:       #e3ddcd;
    --lx-word-lit:   #fff6df;
    --lx-link-hover: #f7e9bf;
    --lx-quiet-bg:   rgba(236, 232, 221, .03);
    --lx-quiet-line: rgba(236, 232, 221, .16);
    --lx-quiet-hover:#fff;
    --lx-divider:    rgba(236, 232, 221, .06);
    --lx-panel-1:    #171d29;
    --lx-panel-2:    #10141c;
    --lx-panel-shadow: rgba(0, 0, 0, .65);
    --lx-backdrop:   rgba(5, 7, 11, .64);
    --lx-grain-blend: overlay;
    --lx-grain:      .07;

    position: relative;
    min-height: 100dvh;
    /* The page is measured against ITSELF, not the viewport: beside the sidebar it is 240px narrower
       than the window, so anything sized to the page uses 100cqw rather than 100vw. */
    container-type: inline-size;
    background: var(--lx-ground);
    color: var(--lx-ink-soft);
    font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    overflow-x: clip;
}

/* A local copy on purpose. Bootstrap's is present in the trimmed stylesheet only while something else
   in the markup happens to use it; the purge would silently drop it the day that stopped, and this h1
   would then appear in the middle of the hero. */
.landing-root .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================================================ HERO */

/* NOT a full screen (founder, 2026-09-29: "pomakni još sve prema gore ... da ne bude previše
   scrollanja"). The hero used to be 100dvh with the lockup centred in it, which put the emblem in the
   middle of the screen and the four facts a whole screen below. It is now as tall as its content, so
   the facts start just under the buttons. */
.landing-root .landing-hero {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3rem 1.25rem 3.5rem;
    isolation: isolate;
}

/* The night: a single pool of light where the emblem sits, a vignette to the edges, and a fine grain
   so the dark reads as printed rather than as a flat #000 screen. The grain is an inline SVG
   turbulence -- data: is allowed by this app's img-src, and it costs no request. */
.landing-root .landing-sky {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 58% 46% at 50% 42%, var(--lx-sky-pool) 0%, transparent 70%),
        radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, var(--lx-sky-edge) 100%),
        linear-gradient(to bottom, var(--lx-ground) 0%, var(--lx-ground-2) 100%);
    /* The sky ends where the hero ends; whenever the hero is taller than a screen its bottom edge
       is on show, so it fades into the page's own ground rather than being cut. Measured as a hard
       line on the light theme before this. */
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.landing-root .landing-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: var(--lx-grain);
    mix-blend-mode: var(--lx-grain-blend);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------------------------------------------------------------- the network under the forest */

.landing-root .landing-roots {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    /* hangs from under the buttons down behind the facts, fading out */
    top: calc(100% - 4.5rem);
    width: 100%;
    height: 34rem;
    pointer-events: none;
    /* emerge from darkness: there should be no visible point the roots grow FROM */
    /* gone before the facts begin: lines running through text an older reader has to read is the one
       place this ornament costs something */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, transparent 34%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, transparent 34%);
}

.landing-root .lr-strands path {
    fill: none;
    stroke: var(--lx-sage);
    stroke-linecap: round;
}

.landing-root .lr-strands .lr-d0 { stroke-width: 1.5; opacity: .17; }
.landing-root .lr-strands .lr-d1 { stroke-width: 1.1; opacity: .14; }
.landing-root .lr-strands .lr-d2 { stroke-width: .85; opacity: .12; }
.landing-root .lr-strands .lr-d3 { stroke-width: .65; opacity: .09; }
.landing-root .lr-strands .lr-d4 { stroke-width: .5;  opacity: .07; }

/* THE ROOTS BREATHE (founder, 2026-09-29: "može i ove light rays ispod tipki dobit isto takvu gentle
   animaciju"). A slow wave of light runs down the network: each depth of root brightens a little in
   turn, trunk first, so the light seems to sink into the ground. Over 9 s, brightness only. */
.landing-root .lr-strands path {
    animation: lr-breathe 9s ease-in-out infinite;
}

.landing-root .lr-strands .lr-d1 { animation-delay: .9s; }
.landing-root .lr-strands .lr-d2 { animation-delay: 1.8s; }
.landing-root .lr-strands .lr-d3 { animation-delay: 2.7s; }
.landing-root .lr-strands .lr-d4 { animation-delay: 3.6s; }

@keyframes lr-breathe {
    0%, 100% { filter: brightness(1); }
    35%      { filter: brightness(1.9); }
}

/* Three soft glints travelling the three longest roots: long, blurred and faint, fading in as each
   sets out and out before it arrives, so none ever appears or vanishes in one step. pathLength is
   100 on each path, so one dash pattern fits all three. */
.landing-root .lr-flow path {
    fill: none;
    stroke: var(--lx-essence);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 16 84;
    stroke-dashoffset: 100;
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(var(--lx-glow-rgb), .6));
    animation: lr-glint 15s ease-in-out infinite;
}

.landing-root .lr-flow .lr-flow-2 { animation-duration: 18s; animation-delay: -6s; }
.landing-root .lr-flow .lr-flow-3 { animation-duration: 14s; animation-delay: -10s; }

@keyframes lr-glint {
    0%   { stroke-dashoffset: 100; opacity: 0; }
    15%  { opacity: .28; }
    70%  { opacity: .22; }
    100% { stroke-dashoffset: 0;   opacity: 0; }
}

[data-bs-theme="light"] .landing-root .lr-flow path {
    stroke: var(--lx-brass);
    filter: none;
}

/* the web joining the root tips -- finer and paler than the strands, a second material. A fine
   CONTINUOUS curve: it was a 2-3 dash pattern, which in a still frame reads as noise, not thread. */
.landing-root .lr-threads path {
    fill: none;
    stroke: var(--lx-sage);
    stroke-width: .55;
    stroke-linecap: round;
    opacity: .16;
}

/* ---------------------------------------------------------------- the lockup */

.landing-root .landing-center {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 1.6rem;
}

/* ONE button holding the emblem and the word, so hovering either lights both -- which is what was
   asked: "dok se hovera oko Montagem ikone i Roots, zasvijetli". Reset to nothing, then built up. */
.landing-root .landing-lockup {
    --em-lit: 0;
    /* One emblem size and one left padding, read by the halo and the rays too, so the light stays
       centred on the emblem at every width instead of on a number that happened to be right once. */
    --lx-emblem: clamp(112px, 14vw, 168px);
    --lx-pad-l: 1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(.9rem, 2.2vw, 1.6rem);
    padding: 1rem 1.75rem 1rem var(--lx-pad-l);
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    isolation: isolate;
}

.landing-root .landing-emblem {
    display: block;
    width: var(--lx-emblem);
    transition: filter 800ms cubic-bezier(.2, .7, .2, 1);
    filter: drop-shadow(0 0 0 rgba(217, 181, 105, 0));
}

.landing-root .landing-word {
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    font-size: clamp(3.3rem, 7.8vw, 5.9rem);
    line-height: 1;
    letter-spacing: -.012em;
    color: var(--lx-word);
    transition: color 800ms cubic-bezier(.2, .7, .2, 1), text-shadow 800ms cubic-bezier(.2, .7, .2, 1);
    text-shadow: 0 0 0 rgba(217, 181, 105, 0);
    /* optical: the serif's cap height sits slightly high against a circle; nudge onto its centre */
    transform: translateY(.04em);
}

/* THE LIGHT. Two layers, and NEITHER MOVES (founder, 2026-09-29: "lighting effect čudno putuje okolo
   u krug ... da ne putuje dok hoveraš, nego da samo zasvijetli jače, ali da se konstantno vidi sijanje
   u pozadini lagano").

   It used to be a halo plus RAYS: two repeating conic gradients turning once every 90 seconds. Both
   halves of that were wrong. The rotation was motion nobody asked for, and a conic gradient's stops
   are hard edges, so the rays rendered as scratched hairlines rather than light. Light has no edges.

   So: a small warm HALO on the emblem, and a wide soft BLOOM behind the whole lockup, emblem and word
   together. Both are always faintly visible -- the Whispering Root is never fully dark -- and both
   only brighten when lit. The one thing that varies at rest is a slow breath in the halo's opacity;
   nothing translates or rotates.

   Every gradient is a GAUSSIAN written as a dozen stops. A three-stop radial gradient on a dark ground
   shows its rings as bands, which reads as exactly the polygonal edge this rewrite removes. */
.landing-root .landing-halo {
    position: absolute;
    z-index: -1;
    left: calc(var(--lx-pad-l) + var(--lx-emblem) / 2);
    top: 50%;
    width: calc(var(--lx-emblem) * 2.6);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, rgba(var(--lx-glow-rgb), 0.340) 0.0%, rgba(var(--lx-glow-rgb), 0.330) 8.3%, rgba(var(--lx-glow-rgb), 0.303) 16.7%, rgba(var(--lx-glow-rgb), 0.262) 25.0%, rgba(var(--lx-glow-rgb), 0.213) 33.3%, rgba(var(--lx-glow-rgb), 0.164) 41.7%, rgba(var(--lx-glow-rgb), 0.119) 50.0%, rgba(var(--lx-glow-rgb), 0.081) 58.3%, rgba(var(--lx-glow-rgb), 0.053) 66.7%, rgba(var(--lx-glow-rgb), 0.032) 75.0%, rgba(var(--lx-glow-rgb), 0.018) 83.3%, rgba(var(--lx-glow-rgb), 0.010) 91.7%, rgba(var(--lx-glow-rgb), 0.000) 100.0%);
    transform: translate(-50%, -50%);
    opacity: .5;
    transition: opacity 1100ms cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}

/* The bloom: an ellipse the shape of the lockup, centred on the lockup rather than on the emblem, so
   the word sits in the light too. Class name kept from the rays it replaced. */
.landing-root .landing-rays {
    position: absolute;
    z-index: -2;
    left: 50%;
    top: 50%;
    width: 150%;
    height: 330%;
    background: radial-gradient(ellipse closest-side, rgba(var(--lx-brass-rgb), 0.160) 0.0%, rgba(var(--lx-brass-rgb), 0.155) 8.3%, rgba(var(--lx-brass-rgb), 0.142) 16.7%, rgba(var(--lx-brass-rgb), 0.123) 25.0%, rgba(var(--lx-brass-rgb), 0.100) 33.3%, rgba(var(--lx-brass-rgb), 0.077) 41.7%, rgba(var(--lx-brass-rgb), 0.056) 50.0%, rgba(var(--lx-brass-rgb), 0.038) 58.3%, rgba(var(--lx-brass-rgb), 0.025) 66.7%, rgba(var(--lx-brass-rgb), 0.015) 75.0%, rgba(var(--lx-brass-rgb), 0.009) 83.3%, rgba(var(--lx-brass-rgb), 0.005) 91.7%, rgba(var(--lx-brass-rgb), 0.000) 100.0%);
    transform: translate(-50%, -50%);
    opacity: .45;
    transition: opacity 1400ms cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}

/* ---------------------------------------------------------------- the living light

   Founder, 2026-09-29: the glow should "pulsira, pomiče se, nešto kao u Ori and the Will of the
   Wisps ... jako jako subtle, da ne bude epileptično". Three layers, all slow and all small:

     halo    breathes: opacity .42 -> .72 and a 4% swell, over 8 s
     bloom   drifts a few pixels and back, over 13 s, out of step with the halo
     motes   seven specks rising ~40px and fading, 9-15 s each, staggered

   WCAG 2.3.1 forbids more than three flashes a second; the fastest change here is a nine-second
   fade, and no layer ever goes from dark to bright in one step. Opacity and transform only, so the
   compositor does it without repainting. All of it stops under prefers-reduced-motion. */
.landing-root .landing-halo {
    animation: lx-halo-breathe 8s ease-in-out infinite;
}

@keyframes lx-halo-breathe {
    0%, 100% { opacity: .42; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: .72; transform: translate(-50%, -50%) scale(1.04); }
}

.landing-root .landing-rays {
    animation: lx-bloom-drift 13s ease-in-out infinite;
}

@keyframes lx-bloom-drift {
    0%, 100% { opacity: .4;  transform: translate(-50%, -50%); }
    33%      { opacity: .55; transform: translate(calc(-50% + 6px), calc(-50% - 4px)); }
    66%      { opacity: .47; transform: translate(calc(-50% - 5px), calc(-50% + 3px)); }
}

/* The field the motes (dark) / bubbles (light) drift in. Founder, 2026-09-30: twice as wide as it
   was, and reaching down past the buttons to the tops of points I and II, so they can appear "i okolo
   malo" rather than only round the emblem. Anchored at the emblem's centre horizontally and just above
   it vertically; the points' text paints over it because it comes later in the document. */
.landing-root .landing-motes {
    position: absolute;
    z-index: -1;
    left: calc(var(--lx-pad-l) + var(--lx-emblem) / 2);
    top: calc(50% - var(--lx-emblem) * 1.1);
    width: calc(var(--lx-emblem) * 6.4);
    height: calc(var(--lx-emblem) * 3.9);
    transform: translateX(-50%);
    pointer-events: none;
}

.landing-root .landing-motes i {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--lx-glow-rgb), .95) 0%, rgba(var(--lx-glow-rgb), 0) 70%);
    box-shadow: 0 0 6px 1px rgba(var(--lx-glow-rgb), .35);
    opacity: 0;
    animation: lx-mote 11s ease-in-out infinite;
}

.landing-root .landing-motes i:nth-child(1) { left: 14%; top: 22%; animation-duration: 11s;   animation-delay: -1s; }
.landing-root .landing-motes i:nth-child(2) { left: 80%; top: 16%; animation-duration: 13.5s; animation-delay: -6s; }
.landing-root .landing-motes i:nth-child(3) { left: 36%; top: 6%;  animation-duration: 9.5s;  animation-delay: -3.5s; width: 3px; height: 3px; }
.landing-root .landing-motes i:nth-child(4) { left: 64%; top: 8%;  animation-duration: 15s;   animation-delay: -9s; }
.landing-root .landing-motes i:nth-child(5) { left: 50%; top: 48%; animation-duration: 12s;   animation-delay: -4.5s; width: 3px; height: 3px; }
.landing-root .landing-motes i:nth-child(6) { left: 3%;  top: 38%; animation-duration: 14s;   animation-delay: -11s; }
.landing-root .landing-motes i:nth-child(7) { left: 95%; top: 30%; animation-duration: 10s;   animation-delay: -7.5s; width: 3px; height: 3px; }
.landing-root .landing-motes i:nth-child(8) { left: 24%; top: 58%; animation-duration: 12.5s; animation-delay: -2s; }
.landing-root .landing-motes i:nth-child(9) { left: 72%; top: 62%; animation-duration: 11.5s; animation-delay: -8s; width: 3px; height: 3px; }
.landing-root .landing-motes i:nth-child(10) { left: 9%;  top: 80%; animation-duration: 14.5s; animation-delay: -5s; }
.landing-root .landing-motes i:nth-child(11) { left: 88%; top: 84%; animation-duration: 10.5s; animation-delay: -12s; }
.landing-root .landing-motes i:nth-child(12) { left: 42%; top: 92%; animation-duration: 13s;   animation-delay: -10s; width: 3px; height: 3px; }
.landing-root .landing-motes i:nth-child(13) { left: 58%; top: 76%; animation-duration: 15.5s; animation-delay: -3s; }
.landing-root .landing-motes i:nth-child(14) { left: 30%; top: 34%; animation-duration: 9s;    animation-delay: -6.5s; }

@keyframes lx-mote {
    0%   { opacity: 0;   transform: translate(0, 0); }
    25%  { opacity: .55; }
    60%  { opacity: .35; }
    100% { opacity: 0;   transform: translate(6px, -40px); }
}

/* ---------------------------------------------------------------- light mode: dream bubbles

   Founder, 2026-09-30: on the light ground the glow and the motes barely showed -- pale light on a
   pale ground has nothing to stand against -- and the ask was for the light to go DARKER rather than
   brighter, "da izgleda kao dream bubbles kako lebde kroz zrak". So in light mode:

     halo    a soft slate shade instead of a brass glow: the emblem sits in a dim pool, the way an
             object casts its own quiet shadow on paper
     bloom   the same slate, fainter, behind the whole lockup
     motes   become BUBBLES: 7-13px, a thin darker rim, a faint fill and a white catch-light at the
             upper left, rising ~90px on a gentle sway and swelling slightly before they fade

   Ink is the app's own --ink hue (26, 32, 48), so the shade reads as part of the page rather than
   as a new colour. Slow and small like everything else here: the quickest change is a 10 s fade,
   and prefers-reduced-motion still stops all of it. */
[data-bs-theme="light"] .landing-root .landing-halo {
    background: radial-gradient(circle closest-side, rgba(38, 48, 74, 0.300) 0%, rgba(38, 48, 74, 0.285) 10%, rgba(38, 48, 74, 0.248) 20%, rgba(38, 48, 74, 0.198) 30%, rgba(38, 48, 74, 0.147) 40%, rgba(38, 48, 74, 0.102) 50%, rgba(38, 48, 74, 0.065) 60%, rgba(38, 48, 74, 0.038) 70%, rgba(38, 48, 74, 0.018) 80%, rgba(38, 48, 74, 0.006) 90%, rgba(38, 48, 74, 0) 100%);
}

[data-bs-theme="light"] .landing-root .landing-rays {
    opacity: 1;
    background: radial-gradient(ellipse closest-side, rgba(38, 48, 74, 0.090) 0%, rgba(38, 48, 74, 0.085) 10%, rgba(38, 48, 74, 0.072) 20%, rgba(38, 48, 74, 0.057) 30%, rgba(38, 48, 74, 0.042) 40%, rgba(38, 48, 74, 0.029) 50%, rgba(38, 48, 74, 0.018) 60%, rgba(38, 48, 74, 0.010) 70%, rgba(38, 48, 74, 0.005) 80%, rgba(38, 48, 74, 0.002) 90%, rgba(38, 48, 74, 0) 100%);
}

[data-bs-theme="light"] .landing-root .landing-motes i {
    width: 11px;
    height: 11px;
    box-shadow: none;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 9%, rgba(255, 255, 255, 0) 20%),
        radial-gradient(circle, rgba(38, 48, 74, .06) 0 56%, rgba(38, 48, 74, .48) 68%, rgba(38, 48, 74, .10) 76%, rgba(38, 48, 74, 0) 80%);
    animation-name: lx-bubble;
}

[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(3),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(7),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(9),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(12) {
    width: 7px;
    height: 7px;
}

[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(2),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(4),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(10),
[data-bs-theme="light"] .landing-root .landing-motes i:nth-child(13) {
    width: 13px;
    height: 13px;
}

@keyframes lx-bubble {
    0%   { opacity: 0;   transform: translate(0, 0) scale(.8); }
    20%  { opacity: .85; }
    45%  { transform: translate(-7px, -38px) scale(.95); }
    70%  { opacity: .7;  transform: translate(6px, -64px) scale(1.02); }
    100% { opacity: 0;   transform: translate(-2px, -90px) scale(1.08); }
}

/* ---------------------------------------------------------------- beneath the lockup */

.landing-root .landing-tagline {
    margin: 0;
    text-wrap: balance;
    max-width: 30rem;
    font-size: clamp(1.15rem, 1.9vw, 1.4rem);
    line-height: 1.55;
    color: var(--lx-ink-soft);
}

/* app.less draws a brass bar above every h2 and h3 -- right for the app's section heads, wrong here,
   where headings are centred and this page has its own ornament. The first render showed them as
   stray left-aligned dashes above every title. A scoped class plus attribute outranks the element
   selector, so this wins without !important. */
.landing-root .landing-point-title::before {
    content: none;
}

.landing-root .landing-point-title {
    padding-top: 0;
}

/* ============================================================================ REGISTER */

.landing-root .landing-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.5rem;
    row-gap: 3rem;
}

/* A ledger entry, not a card: a hairline rule above, a numeral, a title, a paragraph. No box, no
   shadow, no icon. */
.landing-root .landing-point {
    position: relative;
    padding-top: 1.35rem;
    border-top: 1px solid var(--lx-hair);
}

.landing-root .landing-point-numeral {
    display: block;
    margin-bottom: .7rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .75rem;
    letter-spacing: .18em;
    color: var(--lx-brass);
}

.landing-root .landing-point-title {
    text-wrap: balance;
    margin: 0 0 .55rem;
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--lx-ink);
}

.landing-root .landing-point-body {
    text-wrap: pretty;
    margin: 0;
    font-size: 1rem;
    line-height: 1.72;
    color: var(--lx-ink-soft);
}

.landing-root .landing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
}

/* ============================================================================ REGISTER */

.landing-root .landing-register {
    position: relative;
    max-width: 62rem;
    margin: 0 auto;
    padding: 1rem 1.25rem 4rem;
}

/* the two doors directly under the tagline */
.landing-root .landing-actions-hero {
    margin-top: .4rem;
}

/* ============================================================================ BUTTONS (shared) */

.landing-root .landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Large and plainly labelled (2026-09-29): this page's reader is often older, and the two buttons
       are now the only way in, so they are sized to be found at a glance and hit without aiming. */
    min-height: 54px;
    padding: 0 1.9rem;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .005em;
    text-decoration: none;
    transition: background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.landing-root .landing-btn:hover,
.landing-root .landing-btn:focus-visible {
    text-decoration: none;
}

.landing-root .landing-btn-primary {
    color: #1b1508;
    background: linear-gradient(180deg, #e4c47c 0%, var(--lx-brass) 48%, var(--lx-brass-deep) 100%);
    box-shadow: 0 1px 0 rgba(255, 244, 214, .45) inset, 0 8px 24px rgba(217, 181, 105, .18);
}

.landing-root .landing-btn-primary:hover,
.landing-root .landing-btn-primary:focus-visible {
    color: #1b1508;
    box-shadow: 0 1px 0 rgba(255, 244, 214, .55) inset, 0 10px 34px rgba(217, 181, 105, .34);
    transform: translateY(-1px);
}

.landing-root .landing-btn-quiet {
    color: var(--lx-ink);
    background: var(--lx-quiet-bg);
    border: 1px solid var(--lx-quiet-line);
}

.landing-root .landing-btn-quiet:hover,
.landing-root .landing-btn-quiet:focus-visible {
    color: var(--lx-quiet-hover);
    border-color: rgba(var(--lx-brass-rgb), .55);
    background: rgba(217, 181, 105, .06);
}

.landing-root .landing-btn:focus-visible {
    outline: 2px solid var(--lx-essence);
    outline-offset: 3px;
}

/* ============================================================================ FOOTER */

.landing-root .landing-footer {
    display: grid;
    justify-items: center;
    gap: .9rem;
    padding: 2.25rem 1.25rem 2.75rem;
    border-top: 1px solid var(--lx-divider);
    font-size: 1rem;
    color: var(--lx-ink-faint);
}

.landing-root .landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .35rem .7rem;
}

.landing-root .landing-footer a {
    color: var(--lx-ink-soft);
    text-decoration: none;
    /* 2.5.8: an inline link in a row of links is not governed by line height, so give it a real
       target rather than relying on the inline exception */
    display: inline-block;
    padding: .3rem .15rem;
}

.landing-root .landing-footer a:hover,
.landing-root .landing-footer a:focus-visible {
    color: var(--lx-link-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================================ LIGHT THEME */

/* The same page printed on paper. Only tokens change here; every rule above reads them.

   The GLOW had to be re-thought rather than re-coloured: pale light on a pale ground is invisible,
   and simply darkening it reads as a stain -- the reason this page was once dark in both themes. So
   in light the light becomes WARMTH: the halo and rays are a deep brass at low alpha, which reads as
   gilt catching the light on a printed page rather than as a lamp. The emblem keeps its dark disc
   (the emblem draws that itself), so the one lit object on the page is still lit from within. */
/* THE GROUND IS THE APPLICATION'S OWN (2026-09-30, founder: the landing's light mode should be the
   colour used through the rest of the app). It was a warm beige paper of its own (#efe9dc), so
   signing in stepped from beige onto the cool archival grey every other page uses. The ground, the
   inks and the brass now READ the app's tokens (--bg, --ink, --ink-soft, --accent) rather than
   copying their values, so the two cannot drift apart again. --ink-faint is deliberately NOT used
   for the hint and footer: at #949cb0 it is placeholder-weight and fails 4.5:1 on --bg. */
[data-bs-theme="light"] .landing-root .landing {
    --lx-ground:     var(--bg);
    --lx-ground-2:   var(--bg);
    --lx-ink:        var(--ink);
    --lx-ink-soft:   var(--ink-soft);
    --lx-ink-faint:  var(--ink-soft);
    --lx-brass:      var(--accent);   /* the numerals are text; #7d6428 clears 4.5:1 on --bg */
    --lx-brass-deep: #6d4f12;
    --lx-essence:    #87631a;
    --lx-sage:       #4d7440;
    --lx-hair:       rgba(109, 79, 18, .26);
    --lx-glow-rgb:   196, 150, 62;
    --lx-brass-rgb:  176, 132, 50;
    --lx-sky-pool:   var(--bg-subtle);
    --lx-sky-edge:   var(--bg);
    --lx-word:       var(--ink);
    --lx-word-lit:   #5a3f0b;
    --lx-link-hover: #5a3f0b;
    --lx-quiet-bg:   rgba(31, 36, 48, .03);
    --lx-quiet-line: rgba(31, 36, 48, .22);
    --lx-quiet-hover:#1f2430;
    --lx-divider:    rgba(31, 36, 48, .1);
    --lx-panel-1:    #fbf7ee;
    --lx-panel-2:    #f1eadb;
    --lx-panel-shadow: rgba(60, 45, 20, .22);
    --lx-backdrop:   rgba(40, 32, 18, .28);
    --lx-grain-blend: multiply;
    --lx-grain:      .05;
}

/* the primary button's gilt is lit from above on paper exactly as on the night; only its glow is
   toned down, or it becomes a yellow smudge under the button */
[data-bs-theme="light"] .landing-root .landing-btn-primary {
    color: #fffaf0;
    background: linear-gradient(180deg, #a57c2c 0%, #8a6519 52%, #6d4f12 100%);
    box-shadow: 0 1px 0 rgba(255, 244, 214, .3) inset, 0 6px 18px rgba(109, 79, 18, .18);
}

[data-bs-theme="light"] .landing-root .landing-btn-primary:hover,
[data-bs-theme="light"] .landing-root .landing-btn-primary:focus-visible {
    color: #fffaf0;
    box-shadow: 0 1px 0 rgba(255, 244, 214, .4) inset, 0 9px 26px rgba(109, 79, 18, .28);
}

/* On pale paper an 8-bit gradient shows its steps as faint rings, which the dark ground hides. The
   bloom is quieter here: the warmth still reads, the banding does not. */
[data-bs-theme="light"] .landing-root .landing-rays {
    opacity: .22;
}

/* ============================================================================ SMALL SCREENS */

@media (max-width: 720px) {
    .landing-root .landing-hero {
        padding: 2rem 1rem 2.5rem;
    }

    .landing-root .landing-lockup {
        --lx-emblem: 96px;
        --lx-pad-l: .6rem;
        padding: .75rem 1.1rem .75rem var(--lx-pad-l);
    }

    .landing-root .landing-points {
        grid-template-columns: 1fr;
        row-gap: 2.4rem;
    }

    .landing-root .landing-roots {
        top: calc(100% - 3rem);
        height: 26rem;
    }
}

/* ============================================================================ EFFECTS SWITCH */

/* The reader turned background effects off (EffectsToggle, <html data-fx="off">, 2026-09-30): the
   motes and the travelling glints go, and the rest holds still. Same list as reduced motion below. */
.landing-root [data-fx="off"] .lr-strands path,
.landing-root [data-fx="off"] .landing-halo,
.landing-root [data-fx="off"] .landing-rays {
    animation: none;
}

.landing-root [data-fx="off"] .lr-flow,
.landing-root [data-fx="off"] .landing-motes {
    display: none;
}

/* ============================================================================ REDUCED MOTION */

/* Every animation here is decoration and none carries information, so all of them go. The lit state
   still reads -- it is built from opacity and colour, which stay -- and simply arrives without a
   transition. */
@media (prefers-reduced-motion: reduce) {
    .landing-root .lr-strands path {
        animation: none;
    }

    .landing-root .lr-flow {
        display: none;
    }

    .landing-root .landing-halo,
.landing-root .landing-rays {
        animation: none;
    }

    .landing-root .landing-motes {
        display: none;
    }

    .landing-root .landing-emblem,
.landing-root .landing-word,
.landing-root .landing-halo,
.landing-root .landing-rays,
.landing-root .landing-btn {
        transition: none;
    }
}

/* ==== The tour (2026-11-20, founder: a strip on the right edge with an arrow that lights up when the pointer comes near;
   a click slides the page aside and shows, with small animations, what the product does: a mini tutorial).
   Markup: Components/Landing/LandingTour.razor. No script: #lt-open (checkbox) opens it, the radios choose the step.
   Motion answers the reader's own click (the slide, the drawings of the chosen step); the only thing that moves by
   itself is the chevron on the strip, gently, to say it can be pulled. Reduced motion: none of it moves. ============ */

.landing-root .lt-edge,
.landing-root .lt-panel {
    --lt-ground: #0b1019;
    --lt-panel:  #10161f;
    --lt-ink:    #ece8dd;
    --lt-soft:   #aab0bc;
    --lt-brass:  #d9b569;
    --lt-sage:   #8fbf7a;
    --lt-male:   #3b5f8a;
    --lt-female: #8a4a68;
    --lt-line:   rgba(236, 232, 221, .14);
}

[data-bs-theme="light"] .landing-root .lt-edge,
[data-bs-theme="light"] .landing-root .lt-panel {
    --lt-ground: var(--bg);
    --lt-panel:  var(--panel);
    --lt-ink:    var(--ink);
    --lt-soft:   var(--ink-soft);
    --lt-brass:  var(--accent);
    --lt-sage:   #4d7440;
    --lt-male:   #a9c9ea;
    --lt-female: #e7b9cd;
    --lt-line:   rgba(31, 36, 48, .14);
}

/* the checkbox: off screen but focusable, so Tab reaches it and Space opens the tour */
.landing-root .lt-open {
    position: fixed;
    right: 0;
    top: 50%;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ---- the strip on the right edge ---- */
.landing-root .lt-edge {
    position: fixed;
    top: 3.5rem;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 4.5rem;
    cursor: pointer;
    background: linear-gradient(90deg, transparent, rgba(217, 181, 105, .05));
    border-left: 1px solid transparent;
    transition: width .35s cubic-bezier(.2, .8, .2, 1), background .35s ease, border-color .35s ease, opacity .3s ease;
}

.landing-root .lt-edge:hover,
.landing-root .lt-open:focus-visible + .lt-edge {
    width: 6.5rem;
    background: linear-gradient(90deg, transparent, rgba(217, 181, 105, .16) 70%, rgba(217, 181, 105, .24));
    border-left-color: rgba(217, 181, 105, .35);
}

.landing-root .lt-open:focus-visible + .lt-edge {
    outline: 2px solid var(--lt-brass);
    outline-offset: -4px;
}

.landing-root .lt-edge-chev {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1.5px solid rgba(217, 181, 105, .55);
    border-radius: 50%;
    background: color-mix(in srgb, var(--lt-ground) 70%, transparent);
    animation: lt-nudge 3.2s ease-in-out infinite;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.landing-root .lt-edge-chev::before {
    content: "";
    width: .6rem;
    height: .6rem;
    margin-left: .25rem;
    border-left: 2px solid var(--lt-brass);
    border-bottom: 2px solid var(--lt-brass);
    transform: rotate(45deg);
}

.landing-root .lt-edge:hover .lt-edge-chev {
    border-color: var(--lt-brass);
    box-shadow: 0 0 0 6px rgba(217, 181, 105, .12), 0 0 22px rgba(217, 181, 105, .45);
    animation-play-state: paused;
}

.landing-root .lt-edge-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--lt-brass);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    white-space: nowrap;
    opacity: .75;
    transition: opacity .3s ease;
}

.landing-root .lt-edge:hover .lt-edge-text {
    opacity: 1;
}

@keyframes lt-nudge {
    0%, 70%, 100% { transform: translateX(0); }
    80% { transform: translateX(-6px); }
    90% { transform: translateX(0); }
}

/* ---- the page moves aside, the panel comes in from the right ---- */
.landing-root .landing {
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease, filter .6s ease;
}

.landing-root .lt-open:checked ~ .landing {
    transform: translateX(-18%) scale(.96);
    opacity: .25;
    filter: blur(2px);
    pointer-events: none;
}

.landing-root .lt-open:checked + .lt-edge {
    opacity: 0;
    pointer-events: none;
}

.landing-root .lt-panel {
    position: fixed;
    top: 3.5rem;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    width: min(64rem, 100%);
    padding: clamp(1rem, 3vw, 2.25rem) clamp(1rem, 4vw, 3rem);
    overflow-y: auto;
    background: linear-gradient(160deg, var(--lt-panel), var(--lt-ground));
    border-left: 1px solid var(--lt-line);
    box-shadow: -30px 0 60px rgba(0, 0, 0, .35);
    color: var(--lt-ink);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
}

.landing-root .lt-open:checked ~ .lt-panel {
    transform: none;
    visibility: visible;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.landing-root .lt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1rem, 3vh, 2rem);
}

.landing-root .lt-title {
    margin: 0;
    color: var(--lt-ink);
    font-family: 'Spectral', Georgia, serif;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 600;
}

.landing-root .lt-title::before,
.landing-root .lt-step-title::before {
    display: none;
}

.landing-root .lt-close {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 2.75rem;
    padding: 0 1.1rem;
    border: 1px solid var(--lt-line);
    border-radius: 999px;
    color: var(--lt-ink);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.landing-root .lt-close:hover {
    border-color: var(--lt-brass);
    background: rgba(217, 181, 105, .1);
}

.landing-root .lt-close-chev,
.landing-root .lt-chev {
    width: .5rem;
    height: .5rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.landing-root .lt-close-chev,
.landing-root .lt-chev.is-back {
    transform: rotate(-135deg);
}

/* the radios: off screen, still focusable while the panel is open (arrow keys move between steps) */
.landing-root .lt-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.landing-root .lt-stage {
    flex: 1 0 auto;
    display: grid;
    align-items: center;
}

.landing-root .lt-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    animation: lt-slide-in .55s cubic-bezier(.2, .8, .2, 1) both;
}

.landing-root #lt-s1:checked ~ .lt-stage .lt-slide-1,
.landing-root #lt-s2:checked ~ .lt-stage .lt-slide-2,
.landing-root #lt-s3:checked ~ .lt-stage .lt-slide-3,
.landing-root #lt-s4:checked ~ .lt-stage .lt-slide-4,
.landing-root #lt-s5:checked ~ .lt-stage .lt-slide-5 {
    display: grid;
}

@keyframes lt-slide-in {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: none; }
}

.landing-root .lt-art {
    position: relative;
    aspect-ratio: 32 / 22;
    border: 1px solid var(--lt-line);
    border-radius: 1.25rem;
    background: radial-gradient(120% 90% at 50% 40%, rgba(217, 181, 105, .08), transparent 70%), var(--lt-ground);
    padding: 1rem;
}

.landing-root .lt-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.landing-root .lt-count {
    margin: 0 0 .5rem;
    color: var(--lt-brass);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: .75rem;
    letter-spacing: .08em;
}

.landing-root .lt-step-title {
    margin: 0 0 .75rem;
    color: var(--lt-ink);
    font-family: 'Spectral', Georgia, serif;
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.landing-root .lt-step-body {
    max-width: 34rem;
    margin: 0;
    color: var(--lt-soft);
    font-size: 1rem;
    line-height: 1.65;
}


.landing-root .lt-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    height: 2.75rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.landing-root .lt-btn-next {
    background: linear-gradient(180deg, #e8c77f, var(--lt-brass));
    color: #1a1408;
    box-shadow: 0 6px 20px rgba(217, 181, 105, .25);
}

.landing-root .lt-btn-next:hover {
    color: #1a1408;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(217, 181, 105, .4);
}

.landing-root .lt-btn-quiet {
    border: 1px solid var(--lt-line);
    color: var(--lt-ink);
}

.landing-root .lt-btn-quiet:hover {
    border-color: var(--lt-brass);
    background: rgba(217, 181, 105, .08);
}

.landing-root .lt-dots {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    gap: .6rem;
}

/* the foot: Back | dots | Next, fixed under the step whatever its text */
.landing-root .lt-foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    margin-top: clamp(1rem, 3vh, 2rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--lt-line);
}

.landing-root .lt-nav {
    display: none;
}

.landing-root #lt-s1:checked ~ .lt-foot .lt-nav-1,
.landing-root #lt-s2:checked ~ .lt-foot .lt-nav-2,
.landing-root #lt-s3:checked ~ .lt-foot .lt-nav-3,
.landing-root #lt-s4:checked ~ .lt-foot .lt-nav-4,
.landing-root #lt-s5:checked ~ .lt-foot .lt-nav-5 {
    display: contents;
}

.landing-root .lt-prev { grid-column: 1; grid-row: 1; justify-self: end; }
.landing-root .lt-next { grid-column: 3; grid-row: 1; justify-self: start; }

.landing-root .lt-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    background: var(--lt-line);
    cursor: pointer;
    transition: width .3s cubic-bezier(.2, .8, .2, 1), background .3s ease;
}

.landing-root .lt-dot:hover {
    background: rgba(217, 181, 105, .5);
}

.landing-root #lt-s1:checked ~ .lt-foot .lt-dot-1,
.landing-root #lt-s2:checked ~ .lt-foot .lt-dot-2,
.landing-root #lt-s3:checked ~ .lt-foot .lt-dot-3,
.landing-root #lt-s4:checked ~ .lt-foot .lt-dot-4,
.landing-root #lt-s5:checked ~ .lt-foot .lt-dot-5 {
    width: 2rem;
    background: var(--lt-brass);
}

.landing-root .lt-radio:focus-visible ~ .lt-foot .lt-dots {
    outline: 2px solid var(--lt-brass);
    outline-offset: 6px;
    border-radius: 999px;
}

/* ---- the drawings ---- */
.landing-root .lt-box { stroke: rgba(236, 232, 221, .25); stroke-width: 1.5; }
.landing-root .lt-box.is-m { fill: var(--lt-male); }
.landing-root .lt-box.is-f { fill: var(--lt-female); }
.landing-root .lt-wire { fill: none; stroke: var(--lt-brass); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.landing-root .lt-wire.is-dash { stroke: var(--lt-soft); stroke-width: 2.5; }
.landing-root .lt-dotmark { fill: var(--lt-soft); }

/* step 1: boxes pop in, the lines draw, a pointer drags the last box into place */
.landing-root .lt-slide-1 .lt-box { transform-box: fill-box; transform-origin: center; animation: lt-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.landing-root .lt-slide-1 .lt-b1 { animation-delay: .15s; }
.landing-root .lt-slide-1 .lt-b2 { animation-delay: .35s; }
.landing-root .lt-slide-1 .lt-b3 { animation-delay: 1.1s; }
.landing-root .lt-slide-1 .lt-b4 { animation: lt-pop .5s cubic-bezier(.34, 1.56, .64, 1) 1.3s both, lt-drag 2.2s cubic-bezier(.2, .8, .2, 1) 1.9s both; }
.landing-root .lt-slide-1 .lt-w1 { animation: lt-draw .7s ease .65s forwards; }
.landing-root .lt-slide-1 path.lt-w2 { animation: lt-draw .9s ease 1.4s forwards; }
.landing-root .lt-slide-1 .lt-w3 { animation: lt-draw .9s ease 3.6s forwards; }
.landing-root .lt-slide-1 circle.lt-w2 { opacity: 0; animation: lt-fade .3s ease 1.4s forwards; }
.landing-root .lt-pointer { fill: var(--lt-ink); stroke: #000; stroke-width: 1; opacity: 0; animation: lt-pointer 2.4s cubic-bezier(.2, .8, .2, 1) 1.8s both; }

@keyframes lt-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes lt-draw { to { stroke-dashoffset: 0; } }
@keyframes lt-fade { to { opacity: 1; } }
@keyframes lt-drag { 0% { transform: translate(40px, 30px); } 60%, 100% { transform: none; } }
@keyframes lt-pointer {
    0% { opacity: 0; transform: translate(260px, 210px); }
    15% { opacity: 1; transform: translate(260px, 210px); }
    65% { opacity: 1; transform: translate(222px, 170px); }
    100% { opacity: 0; transform: translate(222px, 170px); }
}

/* step 2: relatives arrive from the edges and join the tree */
.landing-root .lt-orbit { fill: none; stroke: var(--lt-line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.landing-root .lt-core { fill: color-mix(in srgb, var(--lt-sage) 22%, var(--lt-ground)); stroke: var(--lt-sage); stroke-width: 2; }
.landing-root .lt-sprout .lt-soil { fill: none; stroke: color-mix(in srgb, var(--lt-sage) 45%, transparent); stroke-width: 2; stroke-linecap: round; }
.landing-root .lt-sprout .lt-stem { fill: none; stroke: var(--lt-sage); stroke-width: 3; stroke-linecap: round; }
.landing-root .lt-sprout .lt-leaf { fill: var(--lt-sage); }
.landing-root .lt-sprout .lt-rib { fill: none; stroke: color-mix(in srgb, var(--lt-ground) 55%, var(--lt-sage)); stroke-width: 1.2; stroke-linecap: round; }
.landing-root .lt-guest circle:first-child { fill: var(--lt-panel); stroke: var(--lt-brass); stroke-width: 2; }
.landing-root .lt-guest-head { fill: var(--lt-brass); }
.landing-root .lt-guest-body { fill: var(--lt-brass); }
.landing-root .lt-guest { animation: lt-arrive .8s cubic-bezier(.2, .8, .2, 1) both; }
.landing-root .lt-g1 { --from: translate(0, -60px); animation-delay: .2s; }
.landing-root .lt-g2 { --from: translate(70px, 40px); animation-delay: .6s; }
.landing-root .lt-g3 { --from: translate(-70px, 40px); animation-delay: 1s; }
.landing-root .lt-slide-2 .lt-l1 { animation: lt-draw .5s ease .9s forwards; }
.landing-root .lt-slide-2 .lt-l2 { animation: lt-draw .5s ease 1.3s forwards; }
.landing-root .lt-slide-2 .lt-l3 { animation: lt-draw .5s ease 1.7s forwards; }
.landing-root .lt-slide-2 .lt-core { transform-box: fill-box; transform-origin: center; animation: lt-glow 2.4s ease-in-out 2s infinite; }

@keyframes lt-arrive { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }
@keyframes lt-glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 10px rgba(143, 191, 122, .55)); } }

/* step 3: the generations appear one row after another */
.landing-root .lt-gen { opacity: 0; animation: lt-rise .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.landing-root .lt-gen .lt-wire { stroke-dashoffset: 0; }
.landing-root .lt-gen1 { animation-delay: .15s; }
.landing-root .lt-gen2 { animation-delay: .65s; }
.landing-root .lt-gen3 { animation-delay: 1.15s; }
.landing-root .lt-gen4 { animation-delay: 1.65s; }

@keyframes lt-rise { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* step 4: the same person in two trees, joined by a thread */
.landing-root .lt-cluster { fill: rgba(217, 181, 105, .04); stroke: rgba(217, 181, 105, .45); stroke-width: 1.5; stroke-dasharray: 6 5; }
.landing-root .lt-cluster.is-kin { fill: rgba(138, 148, 224, .05); stroke: rgba(138, 148, 224, .55); }
.landing-root .lt-same { animation: lt-same 1.8s ease-in-out 1.6s infinite; }
.landing-root .lt-thread { fill: none; stroke: var(--lt-brass); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: lt-draw 1.1s ease .4s forwards; }
.landing-root .lt-equal circle { fill: var(--lt-ground); stroke: var(--lt-brass); stroke-width: 2; }
.landing-root .lt-equal path { stroke: var(--lt-brass); stroke-width: 2.5; stroke-linecap: round; }
.landing-root .lt-equal { opacity: 0; transform-box: fill-box; transform-origin: center; animation: lt-pop .5s cubic-bezier(.34, 1.56, .64, 1) 1.4s both; }

@keyframes lt-same { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px rgba(217, 181, 105, .8)); } }

/* step 5: places light up, a journey draws between them, the file drops in */
.landing-root .lt-land { fill: rgba(143, 191, 122, .1); stroke: rgba(143, 191, 122, .55); stroke-width: 1.5; stroke-linejoin: round; }
.landing-root .lt-journey { fill: none; stroke: var(--lt-brass); stroke-width: 2.5; stroke-dasharray: 6 6; opacity: 0; animation: lt-fade .8s ease 1.2s forwards; }
.landing-root .lt-pin circle { fill: var(--lt-brass); }
.landing-root .lt-pin { opacity: 0; transform-box: fill-box; transform-origin: center; animation: lt-pop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.landing-root .lt-p1 { animation-delay: .3s; }
.landing-root .lt-p2 { animation-delay: .6s; }
.landing-root .lt-p3 { animation-delay: .9s; }
.landing-root .lt-pulse { transform-box: fill-box; transform-origin: center; opacity: .5; animation: lt-ring 2s ease-out 1.2s infinite; }
.landing-root .lt-file path { fill: none; stroke: var(--lt-ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.landing-root .lt-file .lt-file-arrow { stroke: var(--lt-brass); stroke-width: 3; }
.landing-root .lt-file { opacity: 0; animation: lt-drop .7s cubic-bezier(.34, 1.56, .64, 1) 1.8s forwards; }

@keyframes lt-ring { from { transform: scale(1); opacity: .55; } to { transform: scale(3); opacity: 0; } }
@keyframes lt-drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }

/* ---- a phone: no hover, so the strip is a pill at the bottom right; the slides stack ---- */
@media (max-width: 760px) {
    .landing-root .lt-edge {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        flex-direction: row;
        gap: .6rem;
        width: auto;
        height: 3rem;
        padding: 0 1rem 0 .4rem;
        border: 1px solid rgba(217, 181, 105, .45);
        border-radius: 999px;
        background: color-mix(in srgb, var(--lt-ground) 88%, transparent);
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    }

    .landing-root .lt-edge:hover,
    .landing-root .lt-open:focus-visible + .lt-edge {
        width: auto;
    }

    .landing-root .lt-edge-chev {
        width: 2.25rem;
        height: 2.25rem;
    }

    .landing-root .lt-edge-text {
        writing-mode: horizontal-tb;
        transform: none;
        opacity: 1;
        letter-spacing: .02em;
    }

    .landing-root .lt-slide {
        grid-template-columns: 1fr;
    }

    .landing-root .lt-foot {
        gap: .6rem;
    }

    .landing-root .lt-foot .lt-btn {
        padding: 0 .85rem;
        font-size: .875rem;
    }

    .landing-root .lt-dots {
        gap: .35rem;
    }

    .landing-root .lt-open:checked ~ .landing {
        transform: translateX(-30%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-root .lt-edge,
    .landing-root .lt-edge-chev,
    .landing-root .landing,
    .landing-root .lt-panel,
    .landing-root .lt-dot {
        transition: none;
    }

    .landing-root .lt-edge-chev,
    .landing-root .lt-slide,
    .landing-root .lt-slide *,
    .landing-root .lt-pointer {
        animation: none !important;
    }

    .landing-root .lt-wire,
    .landing-root .lt-thread { stroke-dashoffset: 0; }

    .landing-root .lt-gen,
    .landing-root .lt-equal,
    .landing-root .lt-pin,
    .landing-root .lt-file,
    .landing-root .lt-journey,
    .landing-root .lt-slide-1 circle.lt-w2 { opacity: 1; }

    .landing-root .lt-pointer { display: none; }
}

/* the Roots mark at the centre of step 2 (the svg's 60-unit core circle: 60 / 320 of the drawing's width) */
.landing-root .lt-emblem {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc((100% - 2rem) * .1875);
    aspect-ratio: 1;
    translate: -50% -50%;   /* the property, not transform: the pop-in animation owns transform */
    --em-lit: 1;
    animation: lt-pop .6s cubic-bezier(.34, 1.56, .64, 1) both;
    filter: drop-shadow(0 0 12px rgba(217, 181, 105, .35));
}

.landing-root .lt-emblem svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .landing-root .lt-emblem { animation: none; }
}

/* Back on the first step: in place, greyed, inert, so Next never moves */
.landing-root .lt-btn.is-off {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}
