/* ===========================================================================
   LOS — public landing page (route "/") only.

   Everything here is scoped under `.los` so it can't leak into the app or the
   other marketing pages, which keep using marketing.css. The palette follows
   the same --sl-accent* custom properties LandingLayout emits, so the page
   still respects the user's chosen accent; the rest of the surface is a fixed,
   near-black "operating system" canvas rather than the MudBlazor background.

   Motion contract: content marked with [data-reveal] is visible by default. Successful JS initialization may add a short fade;
   failure and reduced motion leave readable static content.
   =========================================================================== */

.los {
    --los-bg: #07080b;
    --los-text-primary: #f7f8fa;
    --los-text-secondary: #c6cbd4;
    --los-text-muted: #a2aab8;
    --los-ink: var(--los-text-primary);
    --los-dim: var(--los-text-secondary);
    --los-faint: var(--los-text-muted);
    --los-accent-text: color-mix(in srgb, var(--sl-accent) 40%, white);
    --los-accent-ui: color-mix(in srgb, var(--sl-accent) 45%, white);
    --los-accent-fill: color-mix(in srgb, var(--sl-accent) 22%, var(--los-panel-2));
    --los-radius-card: 12px;
    --los-radius-button: 10px;
    --los-hair: rgba(255, 255, 255, .08);
    --los-hair-soft: rgba(255, 255, 255, .045);
    --los-glass: rgba(255, 255, 255, .026);
    --los-panel: #0c0e13;
    --los-panel-2: #101319;

    /* Rhythm: section block padding is set on .los-section directly — 64–96px on desktop, 48–64px
       below 780px; internal spacing stays 24–40px. Adjacent sections never stack two full gaps:
       the rule on .los-final drops the preceding section's bottom padding. */
    --los-section-gap: clamp(64px, 8vw, 96px);
    --los-content-gap: clamp(24px, 4vw, 40px);
    --los-pad: clamp(24px, 4vw, 40px);
    --los-radius: 16px;

    --ease: cubic-bezier(.16, 1, .3, 1);

    position: relative;
    z-index: 1;
    isolation: isolate;
    background: var(--los-bg);
    color: var(--los-ink);
    font-family: Geist, "Segoe UI", system-ui, sans-serif;
    font-feature-settings: "ss01" 1, "cv01" 1;
    overflow-x: clip;
}

html:has(.los) { background: #07080b; }

@media (prefers-reduced-motion: no-preference) {
    html:has(.los) { scroll-behavior: smooth; }
}

.los-wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(22px, 5vw, 60px);
}

/* Content always sits above the fixed background canvas. The nav is excluded: this
   selector outranks .los-nav, so including it flattened the bar back to
   position:relative;z-index:1 — which dropped the mobile menu behind the hero and
   swallowed its taps. */
.los > *:not(.los-canvas, .los-nav) { position: relative; z-index: 1; }

.los-narrow { max-width: 820px; }

/* ---------------------------------------------------------------------------
   Ambient background: OS grid, drifting aurora, film grain, vignette.
   All fixed and pointer-transparent — the page scrolls over a still canvas.
   --------------------------------------------------------------------------- */

.los-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    contain: strict;
}

.los-canvas i {
    position: absolute;
    display: block;
}

.los-grid {
    inset: -10% -10% 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(148, 163, 184, .18) 1px, transparent 1.15px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(115% 78% at 50% 0%, #000 4%, rgba(0, 0, 0, .35) 46%, transparent 78%);
    mask-image: radial-gradient(115% 78% at 50% 0%, #000 4%, rgba(0, 0, 0, .35) 46%, transparent 78%);
    animation: none;
}

@keyframes los-grid-drift {
    to { transform: translate3d(0, -36px, 0); }
}

.los-aura-1,
.los-aura-2 {
    border-radius: 50%;
    filter: blur(120px);
    opacity: .12;
}

.los-aura-1 {
    top: -34vh;
    left: 50%;
    width: min(1100px, 120vw);
    height: 70vh;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(var(--sl-accent-rgb), .34), transparent 72%);
    animation: none;
}

.los-aura-2 {
    right: -18vw;
    bottom: -22vh;
    width: 62vw;
    height: 56vh;
    background: radial-gradient(closest-side, rgba(90, 110, 190, .16), transparent 70%);
    animation: none;
}

@keyframes los-breathe {
    from { opacity: .34; transform: translateX(-50%) scale(.94); }
    to   { opacity: .62; transform: translateX(-50%) scale(1.06); }
}

.los-aura-2 { animation: none; }

@keyframes los-breathe-b {
    from { opacity: .3; transform: scale(.95); }
    to   { opacity: .55; transform: scale(1.08); }
}

.los-grain {
    inset: 0;
    opacity: .045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

.los-vignette {
    inset: 0;
    background: radial-gradient(125% 95% at 50% 42%, transparent 42%, rgba(0, 0, 0, .62) 100%);
}

/* ---------------------------------------------------------------------------
   Shared typography + primitives
   --------------------------------------------------------------------------- */

.los-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--los-faint);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.los-label::before {
    content: "";
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--sl-accent-rgb), .9));
}

.los-label.is-centred { justify-content: center; }
.los-label.is-centred::after {
    content: "";
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--sl-accent-rgb), .9), transparent);
}

.los-display {
    margin: 26px 0 0;
    font-size: clamp(2.9rem, 7.4vw, 6.4rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.los-h2 {
    margin: 22px 0 0;
    font-size: clamp(2rem, 4.6vw, 3.7rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.042em;
    text-wrap: balance;
}

.los-h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.los-lead {
    max-width: 56ch;
    margin: 26px 0 0;
    color: var(--los-dim);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.68;
    letter-spacing: -.005em;
}

.los-body {
    margin: 18px 0 0;
    color: var(--los-dim);
    font-size: .97rem;
    line-height: 1.72;
}

.los-accent { color: var(--los-accent-text); }

/* Headline word that fades from white into the accent — used once per page. */
.los-fade {
    display: inline-block;
    padding-bottom: .14em;
    margin-bottom: -.14em;
    background: linear-gradient(96deg, var(--los-text-primary) 12%, var(--los-accent-text) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--los-accent-text);
}

.los-quiet {
    color: var(--los-faint);
}

.los-rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--los-hair) 18%, var(--los-hair) 82%, transparent);
}

/* Buttons -------------------------------------------------------------- */

.los-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 40px;
}

.los-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .35s var(--ease), background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .4s ease;
}

.los-btn-primary {
    color: var(--los-text-primary);
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)), var(--sl-accent);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 14px 40px -14px rgba(var(--sl-accent-rgb), .9);
}

.los-btn-primary:hover {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 20px 50px -14px rgba(var(--sl-accent-rgb), 1);
}

.los-btn-ghost {
    color: var(--los-text-secondary);
    border-color: var(--los-hair);
    background: rgba(255, 255, 255, .022);
    backdrop-filter: blur(12px);
}

.los-btn-ghost:hover {
    color: var(--los-text-primary);
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
}

.los-btn svg { flex: none; }

.los-note {
    margin: 0;
    color: var(--los-faint);
    font-size: .8rem;
    letter-spacing: .01em;
}

/* One visible focus ring for every interactive element on the page (links, buttons, tabs, the
   mobile menu summary), so keyboard users can always see where they are. */
.los a:focus-visible,
.los button:focus-visible,
.los summary:focus-visible {
    outline: 2px solid var(--los-text-primary);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------------------------------------------------------------------------
   Navigation — a floating glass bar, condensed once the page scrolls.
   --------------------------------------------------------------------------- */

.los-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
    border-bottom: 1px solid transparent;
}

.los-nav.is-stuck {
    border-bottom-color: var(--los-hair-soft);
    background: rgba(7, 8, 11, .72);
    backdrop-filter: blur(18px) saturate(140%);
}

.los-nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 68px;
}

.los-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--los-text-primary);
    text-decoration: none;
}

/* The LOS wordmark (wwwroot/logo.svg) — it already spells the name, so .los-brand
   carries no text of its own beyond the tagline. */
.los-logo {
    display: block;
    width: auto;
    height: 26px;
}

.los-brand span {
    color: var(--los-faint);
    font-size: .72rem;
    letter-spacing: .06em;
    padding-left: 11px;
    border-left: 1px solid var(--los-hair);
}

.los-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.los-nav-links a {
    padding: 8px 13px;
    border-radius: 9px;
    color: var(--los-text-secondary);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.los-nav-links a:hover {
    color: var(--los-text-primary);
    background: rgba(255, 255, 255, .05);
}

.los-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--los-hair);
    border-radius: 10px;
    color: var(--los-text-primary);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, .03);
    transition: border-color .25s ease, background-color .25s ease;
}

.los-nav-cta:hover {
    border-color: rgba(var(--sl-accent-rgb), .55);
    background: rgba(var(--sl-accent-rgb), .12);
}

.los-menu { display: none; position: relative; }
.los-menu summary { list-style: none; cursor: pointer; padding: 8px; color: var(--los-text-secondary); line-height: 0; }
.los-menu summary::-webkit-details-marker { display: none; }

.los-menu nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 20;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--los-hair);
    border-radius: 13px;
    background: rgba(11, 13, 18, .96);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px -20px #000;
}

.los-menu nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--los-text-secondary);
    font-size: .88rem;
    text-decoration: none;
}

.los-menu nav a:hover { color: var(--los-text-primary); background: rgba(255, 255, 255, .05); }

@media (max-width: 780px) {
    .los-nav-links { display: none; }
    .los-menu { display: block; }
    .los-nav-inner { height: 60px; gap: 10px; }
    .los-brand span { display: none; }
    /* The trial CTA is the whole point of this page — keeping it on mobile is the whole point.
       Compact form: no border, less padding, icon only. Log in stays reachable in the menu. */
    .los-nav-cta { margin-left: auto; padding: 8px 10px; font-size: .8rem; }
    .los-nav-cta svg { display: none; }
}

/* ---------------------------------------------------------------------------
   1 — Hero
   --------------------------------------------------------------------------- */

.los-hero {
    position: relative;
    padding-top: 122px;
    text-align: center;
}

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

.los-hero .los-display { margin-top: 18px; font-size: clamp(2.6rem, 5.9vw, 4.9rem); }
.los-hero .los-lead { max-width: 46ch; margin-top: 22px; margin-inline: auto; }
.los-hero .los-actions { justify-content: center; margin-top: 26px; }
.los-hero .los-hero-meta { margin-top: 22px; }

/* The supported line carries its own break only where there is room for two tidy lines. */
@media (max-width: 620px) { .los-br-wide { display: none; } }

@media (max-width: 780px) {
    .los-hero { padding-top: 98px; }
}

.los-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 44px;
}

/* The meta line as scannable chips rather than loose inline copy. */
.los-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--los-hair);
    border-radius: 999px;
    background: var(--los-glass);
    color: var(--los-faint);
    font-size: .74rem;
    letter-spacing: .04em;
    white-space: nowrap;
}

.los-hero-meta span::before {
    content: "";
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--sl-accent-rgb), .8);
}

/* Stage: the product window. landing-fx.js keeps it nearly upright from the first
   paint (only a whisper of tilt left), so the preview is readable without scrolling;
   the scroll only finishes settling it flat. */
.los-stage {
    position: relative;
    margin-top: 36px;
    padding-bottom: clamp(40px, 6vw, 72px);
    perspective: 2200px;
    perspective-origin: 50% 0%;
}

.los-stage-inner {
    position: relative;
    max-width: 1180px;
    margin-inline: auto;
    transform-style: preserve-3d;
    will-change: transform;
}

.los-stage-glow {
    position: absolute;
    z-index: -1;
    inset: 12% -6% -14%;
    background: radial-gradient(58% 48% at 50% 50%, rgba(var(--sl-accent-rgb), .3), transparent 72%);
    filter: blur(70px);
    opacity: .12;
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   The LOS window — a faithful, static rendering of the weekly planner.
   Reused by the hero and by the interactive showcase.
   --------------------------------------------------------------------------- */

.los-app {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: linear-gradient(180deg, #0e1117, #0a0c11);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .06) inset,
        0 60px 120px -40px rgba(0, 0, 0, .95),
        0 0 90px -30px rgba(var(--sl-accent-rgb), .28);
}

.los-app-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 46px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .015);
}

.los-dots { display: flex; gap: 6px; }
.los-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .13); }

.los-app-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--los-text-secondary);
    font-size: .8rem;
    font-weight: 600;
}

.los-app-title small { color: var(--los-faint); font-size: .68rem; font-weight: 500; }

.los-seg {
    display: flex;
    gap: 2px;
    margin-left: auto;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    background: rgba(0, 0, 0, .3);
}

.los-seg span {
    padding: 5px 11px;
    border-radius: 6px;
    color: var(--los-text-muted);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.los-seg span.on { color: var(--los-text-primary); background: rgba(255, 255, 255, .09); }

.los-app-body {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    min-height: 520px;
}

/* left rail ------------------------------------------------------------- */

.los-rail {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    border-right: 1px solid rgba(255, 255, 255, .055);
    background: rgba(0, 0, 0, .22);
}

.los-rail-kick {
    padding: 0 10px;
    margin: 6px 0 12px;
    color: var(--los-text-muted);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.los-rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--los-text-muted);
    font-size: .78rem;
    font-weight: 500;
}

.los-rail-item i {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .22);
}

.los-rail-item.on {
    color: var(--los-text-primary);
    background: rgba(255, 255, 255, .055);
}

.los-rail-item.on i { background: var(--sl-accent); box-shadow: 0 0 10px rgba(var(--sl-accent-rgb), .9); }

.los-rail-foot {
    margin-top: auto;
    padding: 12px 10px 4px;
    border-top: 1px solid rgba(255, 255, 255, .055);
}

.los-rail-foot span {
    display: flex;
    justify-content: space-between;
    color: var(--los-text-muted);
    font-size: .68rem;
}

.los-rail-foot b { color: var(--los-text-primary); font-weight: 600; }

.los-meter {
    display: block;
    height: 3px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
}

.los-meter i {
    display: block;
    width: var(--v, 64%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(var(--sl-accent-rgb), .5), var(--sl-accent));
    transition: width 1.4s var(--ease);
}

/* calendar -------------------------------------------------------------- */

.los-cal { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }

.los-cal-head {
    display: grid;
    grid-template-columns: 46px repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.los-cal-head span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 11px 0;
    border-left: 1px solid rgba(255, 255, 255, .04);
    color: var(--los-text-muted);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.los-cal-head span:first-child { border-left: 0; }
.los-cal-head b { color: var(--los-text-secondary); font-size: .82rem; font-weight: 600; letter-spacing: 0; }
.los-cal-head .now b {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: -3px 0;
    border-radius: 50%;
    color: var(--los-text-primary);
    background: var(--sl-accent);
    box-shadow: 0 0 22px -4px rgba(var(--sl-accent-rgb), 1);
}

.los-cal-grid {
    position: relative;
    display: grid;
    grid-template-columns: 46px repeat(7, minmax(0, 1fr));
    min-height: 460px;
}

.los-hours {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 8px 22px 0;
    text-align: right;
    color: var(--los-text-muted);
    font-size: .56rem;
    font-variant-numeric: tabular-nums;
}

.los-col {
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, .04);
    background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0 1px, transparent 1px 68px);
}

.los-col.now { background-color: rgba(var(--sl-accent-rgb), .028); }

/* Events are positioned with literal percentages so no server-side number
   formatting (and therefore no culture) is involved. */
.los-ev {
    position: absolute;
    left: 4px;
    right: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 6px 6px;
    overflow: hidden;
    border-radius: 6px;
    border-left: 2px solid var(--c, var(--sl-accent));
    background: color-mix(in srgb, var(--c, var(--sl-accent)) 16%, transparent);
    color: var(--los-text-primary);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    letter-spacing: -.01em;
}

.los-ev small {
    color: var(--los-text-muted);
    font-size: .56rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Day columns get narrow fast; a title must never push past its block. */
.los-ev span { overflow-wrap: break-word; }

/* An hour-long block is too short for two stacked lines. The day columns are
   only ~60px wide, so the time gutter on the left carries the hour and the
   block gives its full width to the title — otherwise the name gets ellipsed
   down to a single letter. */
.los-ev.tight {
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 5px 7px;
}

.los-ev.tight small { display: none; }
.los-ev.tight span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.los-ev.ghost {
    border: 1px dashed rgba(255, 255, 255, .16);
    border-left-style: dashed;
    background: rgba(255, 255, 255, .015);
    color: var(--los-text-muted);
}

.c-work   { --c: #5b8def; }
.c-health { --c: #3fb984; }
.c-learn  { --c: #a679ef; }
.c-people { --c: #e0a13c; }
.c-goal   { --c: var(--sl-accent); }
.c-rest   { --c: #4bb3c9; }

/* Now-line sweeping the current day. */
.los-nowline {
    position: absolute;
    left: 0;
    right: 0;
    top: 46%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--sl-accent-rgb), .85));
}

.los-nowline::after {
    content: "";
    position: absolute;
    right: -3px;
    top: -2.5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sl-accent);
    box-shadow: 0 0 12px rgba(var(--sl-accent-rgb), 1);
}

/* The window is dense; on a phone it drops the rail and, below 620px, the whole week gives way to a
   single readable day (see below). */
/* Below a laptop the rail goes first — seven day columns need the width more. */
@media (max-width: 900px) {
    .los-app-body { grid-template-columns: minmax(0, 1fr); min-height: 430px; }
    .los-rail { display: none; }
    .los-cal-grid { min-height: 380px; }
}

/* Single-day preview: hidden until the week view becomes illegible below 620px. The switch is pure
   CSS, and display:none (not a fixed aria-hidden) is what keeps the inactive variant out of the
   accessibility tree at every width — the screen reader only ever meets the visible mock. */
.los-onenarrow { display: none; }

@media (max-width: 620px) {
    .los-cal.week { display: none; }
    .los-seg { display: none; } /* the day statics replace the week columns, so the view switcher would be a lie */

    .los-onenarrow { display: flex; flex-direction: column; gap: 10px; }
    .los-daycap {
        margin: 0;
        color: var(--los-faint);
        font-size: .78rem;
        letter-spacing: .02em;
        text-align: center;
    }

    .los-cal.day { min-width: 0; }
    .los-cal.day .los-cal-head { grid-template-columns: 56px minmax(0, 1fr); }
    .los-cal.day .los-cal-head span { font-size: .75rem; letter-spacing: .14em; }
    .los-cal.day .los-cal-head b { font-size: 1rem; }
    .los-cal.day .los-cal-grid { grid-template-columns: 56px minmax(0, 1fr); min-height: 320px; }
    .los-cal.day .los-hours { padding-right: 10px; font-size: .75rem; }

    /* Readable sizes: event titles ≥13px, times/metadata ≥12px. One wide column has the space, so
       tight blocks keep their time (it rides above the title) and titles wrap instead of ellipsing. */
    .los-cal.day .los-ev { font-size: .82rem; overflow: visible; padding: 8px 10px; }
    .los-cal.day .los-ev small { display: block; font-size: .76rem; }
    .los-cal.day .los-ev.tight { flex-direction: column; align-items: stretch; gap: 2px; }
    .los-cal.day .los-ev.tight span { white-space: normal; overflow: visible; }
}

/* ---------------------------------------------------------------------------
   Section frame
   --------------------------------------------------------------------------- */

.los-section {
    position: relative;
    padding-block: var(--los-section-gap);
}

/* Mobile rhythm: 48–64px section padding, internal spacing already clamped to 24–40px. */
@media (max-width: 780px) {
    .los-section { padding-block: clamp(48px, 13vw, 64px); }
}

/* The nav is fixed, so an in-page jump has to stop clear of it. */
.los-section[id] { scroll-margin-top: 88px; }

/* Adjacent sections each keep exactly one gap between them: every section already carries its own
   block padding, so a section that follows another drops its top padding. Same for whatever section
   drives into the final CTA. No double empty areas. */
.los-hero + .los-section,
.los-section + .los-section { padding-top: 0; }
.los-section:has(+ .los-final) { padding-bottom: 0; }

.los-section-head { max-width: 780px; }
.los-section-head.is-centred { margin-inline: auto; text-align: center; }
.los-section-head.is-centred .los-lead { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   2 — The problem: five lives, one calendar
   --------------------------------------------------------------------------- */

.los-converge {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: clamp(56px, 7vw, 88px);
}

.los-converge-figure {
    position: relative;
    aspect-ratio: 2.15;
    min-height: 320px;
}

.los-converge-figure svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.los-stream-path {
    fill: none;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-dasharray: var(--len, 900);
    stroke-dashoffset: 0;
    opacity: .75;
    transition: stroke-dashoffset 1.8s var(--ease);
    transition-delay: calc(var(--i) * 140ms);
}

.is-in .los-stream-path { stroke-dashoffset: 0; }

/* Pulses ride the streams via SMIL <animateMotion> in the markup; CSS only
   fades them in once the figure has drawn itself. */
.los-stream-pulse {
    fill: #fff;
    opacity: 0;
    transition: opacity .8s ease 1.4s;
}

.is-in .los-stream-pulse { opacity: .85; }

.los-stream-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(12, 14, 19, .8);
    backdrop-filter: blur(10px);
    color: var(--los-text-secondary);
    font-size: .74rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: calc(var(--i) * 120ms);
}

.is-in .los-stream-label { opacity: 1; transform: none; }

/* Sits centred on the point its stream leaves from. */
.los-stream-label { margin-top: -17px; }

.los-stream-label i {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--c);
    box-shadow: 0 0 12px var(--c);
}

.los-stream-label small { color: var(--los-faint); font-size: .64rem; font-weight: 500; }

.los-converge-target {
    position: absolute;
    top: 50%;
    right: 0;
    width: clamp(150px, 21%, 220px);
    transform: translateY(-50%);
    padding: 14px 12px;
    border: 1px solid rgba(var(--sl-accent-rgb), .3);
    border-radius: 13px;
    background: rgba(12, 14, 19, .86);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 60px -18px rgba(var(--sl-accent-rgb), .8);
}

.los-converge-target header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--los-text-secondary);
    font-size: .68rem;
    font-weight: 600;
}

.los-converge-target header span { color: var(--los-faint); font-weight: 500; }

.los-stack { display: grid; gap: 4px; }

.los-stack i {
    display: block;
    height: 15px;
    border-radius: 4px;
    border-left: 2px solid var(--c);
    background: color-mix(in srgb, var(--c) 18%, transparent);
    opacity: 0;
    transform: translateY(-8px) scaleX(.9);
    transform-origin: left;
    transition: opacity .5s ease, transform .6s var(--ease);
    transition-delay: calc(1.1s + var(--i) * 150ms);
}

.is-in .los-stack i { opacity: 1; transform: none; }

.los-stack i.over {
    border-color: rgba(255, 255, 255, .18);
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 5px, transparent 5px 10px);
}

.los-converge-target footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: var(--los-accent-text);
    font-size: .66rem;
    font-weight: 600;
}

.los-converge-target footer span { color: var(--los-text-muted); font-weight: 500; }

@media (max-width: 760px) {
    .los-converge-figure { aspect-ratio: 1.05; }
}

/* Shared-week capacity principle. The streams terminate on separate rows of the
   plan instead of collapsing into an abstract junction. */
.los-converge { margin-top: clamp(42px, 5vw, 68px); }

.los-converge-figure {
    width: min(100%, 1280px);
    aspect-ratio: 2.14;
    min-height: 390px;
}

.los-stream-label {
    gap: 11px;
    min-width: 210px;
    margin-top: -21px;
    padding: 11px 14px;
    font-size: .82rem;
}

.los-stream-label small {
    margin-left: auto;
    color: var(--los-text-muted);
    font-size: .7rem;
}

.los-converge-target {
    right: 1%;
    width: clamp(330px, 35%, 420px);
    padding: 20px;
    border-color: rgba(255,255,255,.11);
    border-radius: 16px;
    background: rgba(12,14,19,.94);
    box-shadow: 0 28px 80px rgba(0,0,0,.36), 0 0 70px -38px rgba(var(--sl-accent-rgb),.7);
}

.los-converge-target header {
    align-items: baseline;
    margin-bottom: 18px;
    font-size: .78rem;
}

.los-capacity-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--los-faint);
    font-size: .6rem;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.los-stack { position: relative; gap: 5px; }
.los-stack i { height: 23px; }

.los-stack i span {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 9px;
    color: var(--los-text-muted);
    font-size: .62rem;
    font-style: normal;
    font-weight: 600;
}

.los-stack i.over {
    border-color: var(--sl-accent);
    background: repeating-linear-gradient(135deg, rgba(var(--sl-accent-rgb),.16) 0 5px, rgba(var(--sl-accent-rgb),.05) 5px 10px);
}

.los-stack i.over span { color: var(--los-text-primary); }

.los-capacity-limit {
    position: relative;
    height: 1px;
    margin: 3px 0;
    background: rgba(255,255,255,.38);
}

.los-capacity-limit::after {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    width: 1px;
    height: 9px;
    background: rgba(255,255,255,.62);
}

.los-capacity-limit span {
    position: absolute;
    right: 7px;
    bottom: 5px;
    color: var(--los-text-muted);
    font-size: .59rem;
    font-weight: 600;
}

.los-converge-target footer {
    flex-direction: column;
    gap: 4px;
    font-size: .74rem;
}

.los-converge-target footer strong { color: var(--los-text-primary); font-weight: 650; }
.los-converge-target footer span { color: var(--los-text-muted); font-size: .7rem; }

@media (min-width: 761px) and (max-width: 980px) {
    .los-converge-figure { aspect-ratio: 1.7; min-height: 440px; }
    .los-stream-label { min-width: 180px; }
    .los-stream-label small { display: none; }
    .los-converge-target { width: 330px; }
}

@media (max-width: 760px) {
    /* The streams don't survive a phone width, so the section stops pretending to
       converge. It becomes what it actually means: the six areas as a compact
       legend, then the shared-week plan as one solid card. No absolute
       positioning, no desktop draw choreography — nothing to fall out of place. */
    .los-converge { margin-top: 32px; }

    .los-converge-figure {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        aspect-ratio: auto;
        min-height: 0;
    }
    .los-converge-figure svg { display: none; }

    .los-stream-label {
        position: relative;
        top: auto !important;
        width: 100%;
        min-width: 0;
        margin-top: 0;
        gap: 9px;
        padding: 10px 12px;
        font-size: .78rem;
        opacity: 1;
        transform: none;
    }
    /* The per-stream detail ("Product release", …) is decorative; the card below
       carries the real numbers, so drop it to keep the legend tidy in two columns. */
    .los-stream-label small { display: none; }

    .los-converge-target {
        grid-column: 1 / -1;
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 4px;
        transform: none;
    }

    /* Render the plan solid. The reveal's staggered 1.1–2s delay + scaleX(.9) is
       tuned for the desktop side-by-side; on a stacked phone it leaves the card
       looking like an empty shell while you scroll past it. */
    .los-stack i,
    .los-stack i.over {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0s !important;
    }
}

/* ---------------------------------------------------------------------------
   Capacity — two columns on desktop (copy left, figure right), stacked on mobile.
   The quote used to own a full-height section; it is now a short pull-quote that sits
   at the end of this section, right beside the idea it underlines.
   --------------------------------------------------------------------------- */

.los-capacity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

/* Desktop: description left, diagram right. Mobile keeps the existing single-column stack
   (description above diagram), which is the default grid above. */
@media (min-width: 901px) {
    .los-capacity-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

.los-capacity-copy {
    color: var(--los-dim);
    font-size: clamp(1.05rem, 1.4vw, 1.28rem);
    line-height: 1.62;
    letter-spacing: -.012em;
}

.los-capacity-copy > p { margin: 18px 0 0; }
.los-capacity-copy .los-h2 { color: var(--los-ink); }

.los-capacity-brand {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--los-text-primary);
    font-weight: 550;
}

/* The compact quote highlight that replaced the tall philosophy section. */
.los-pullquote {
    margin: var(--los-content-gap) 0 0;
    padding: clamp(20px, 3vw, 30px) clamp(20px, 4vw, 40px);
    border: 1px solid var(--los-hair);
    border-left: 3px solid var(--sl-accent);
    border-radius: 14px;
    background: linear-gradient(100deg, rgba(var(--sl-accent-rgb), .07), transparent 60%);
}

.los-pullquote blockquote {
    margin: 0;
    max-width: 34ch;
    color: var(--los-text-primary);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.035em;
}

/* The streams/converge figure now lives inside the grid column, so drop its old full-width margin. */
.los-capacity-grid .los-converge { margin-top: 0; }

/* Fit the stream diagram to its new half-width column without overlapping labels and plan. */
@media (min-width: 901px) {
    .los-capacity-grid .los-converge-figure { min-height: 360px; aspect-ratio: 1.55; }
    .los-capacity-grid .los-stream-label { min-width: 0; padding: 8px 10px; font-size: .78rem; }
    .los-capacity-grid .los-stream-label small { display: none; }
    .los-capacity-grid .los-converge-target { right: 0; width: 52%; padding: 16px; }
}

@media (max-width: 780px) {
    .los-final { padding-block: clamp(48px, 13vw, 64px); }
}

/* ---------------------------------------------------------------------------
   How it works — three equal, always-visible steps in a plain grid. No scroll-driven
   highlight, no animated axis: each card (and its mini-visual) is fully visible the
   moment it is revealed by the shared [data-reveal] observer, and under
   prefers-reduced-motion (see bottom of file) it is visible from the first paint.
   --------------------------------------------------------------------------- */

.los-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    margin-top: var(--los-content-gap);
}

@media (max-width: 780px) {
    .los-steps { grid-template-columns: 1fr; }
}

.los-step {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.5vw, 26px);
    border: 1px solid var(--los-hair-soft);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .006));
}

.los-step-index {
    display: block;
    margin: 18px 0 0;
    color: var(--los-accent-text);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .2em;
    font-variant-numeric: tabular-nums;
}

.los-step h3 {
    margin: 10px 0 0;
    color: var(--los-text-primary);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -.03em;
}

.los-step p {
    margin: 10px 0 0;
    color: var(--los-dim);
    font-size: .9rem;
    line-height: 1.66;
}

.los-step-vis {
    display: flex;
    justify-content: center;
    padding: 8px;
    height: 180px;
    flex: none;
    align-items: center;
}

/* -- step mini-visuals (static; settle in via the shared [data-reveal] .is-in) -- */

.los-mini-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: var(--los-text-secondary);
    font-size: .74rem;
    font-weight: 500;
}

.los-mini-row + .los-mini-row { margin-top: 6px; }
.los-mini-row i { width: 6px; height: 6px; border-radius: 2px; background: var(--c, var(--sl-accent)); }
.los-mini-row span { margin-left: auto; color: var(--los-faint); font-size: .64rem; }

.los-mini-plan { width: 100%; }
.los-mini-plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.los-mini-plan-head b { color: var(--los-text-primary); font-size: .78rem; font-weight: 600; }
.los-mini-plan-head span { color: var(--los-text-muted); font-size: .62rem; letter-spacing: .04em; }

.los-mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 108px; width: 100%; }
.los-mini-bars i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--sl-accent), rgba(var(--sl-accent-rgb), .16));
    height: var(--h, 50%);
}

.los-mini-decide {
    display: grid;
    place-items: center;
}

.los-mini-arc {
    position: relative;
    margin: 0;
    display: grid;
    place-items: center;
    width: 130px;
    padding: 6px 0;
}

.los-mini-arc svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.los-mini-arc circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.los-mini-arc .track { stroke: rgba(255, 255, 255, .07); }
.los-mini-arc .value {
    stroke: var(--sl-accent);
    stroke-dasharray: 314;
    stroke-dashoffset: 84;
    filter: drop-shadow(0 0 6px rgba(var(--sl-accent-rgb), .7));
}
.los-mini-arc figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--los-text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
}
.los-mini-arc figcaption span {
    display: block;
    margin-top: 5px;
    color: var(--los-faint);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   5 — Interactive showcase
   --------------------------------------------------------------------------- */

.los-showcase { margin-top: var(--los-content-gap); }

.los-scenes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.los-scene-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 14px;
    border: 1px solid var(--los-hair-soft);
    border-radius: 11px;
    background: rgba(255, 255, 255, .018);
    color: var(--los-text-muted);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.los-scene-btn:hover { color: var(--los-text-secondary); border-color: var(--los-hair); }

.los-scene-btn[aria-selected="true"] {
    color: var(--los-text-primary);
    border-color: rgba(var(--sl-accent-rgb), .4);
    background: rgba(var(--sl-accent-rgb), .1);
}

.los-scene-bar {
    position: relative;
    display: block;
    width: 22px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .12);
}

.los-scene-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--sl-accent);
    transform: scaleX(0);
    transform-origin: left;
}

/* The active tab's bar fills over the dwell time, so the auto-advance is legible. */
.los-scene-btn[aria-selected="true"] .los-scene-bar::after {
    animation: los-dwell 9s linear forwards;
}

.los-showcase.is-paused .los-scene-btn[aria-selected="true"] .los-scene-bar::after {
    animation-play-state: paused;
}

@keyframes los-dwell {
    to { transform: scaleX(1); }
}

.los-stagearea {
    position: relative;
    /* Holds the height of the tallest scene so switching tabs doesn't shift the page. */
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--los-radius);
    background: linear-gradient(180deg, #0d1016, #090b0f);
    box-shadow: 0 50px 100px -50px #000;
    overflow: hidden;
}

/* Inactive panels carry the [hidden] attribute (in the server markup and via JS), so only the
   active scene is in the layout and the a11y tree. The active one fades in on switch. */
.los-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 268px;
    min-height: 480px;
}

.los-scene[hidden] { display: none; }

.los.is-enhanced .los-scene.on { animation: los-scene-in .22s ease; }

@keyframes los-scene-in {
    from { opacity: .85; }
    to   { opacity: 1; transform: none; }
}

.los-scene-main { position: relative; min-width: 0; padding: 20px; }

.los-scene-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-left: 1px solid rgba(255, 255, 255, .055);
    background: rgba(0, 0, 0, .24);
}

.los-scene-side h3 {
    margin: 0;
    color: var(--los-text-primary);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.los-scene-side p {
    margin: 0;
    color: var(--los-dim);
    font-size: .82rem;
    line-height: 1.65;
}

.los-scene-side .los-label { font-size: .6rem; }

/* Compact calendar — the same markup as the hero window, at panel size. */
.los-cal.compact .los-cal-grid { min-height: 366px; }
.los-cal.compact .los-cal-head span { padding: 8px 0; }
.los-cal.compact .los-col { background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0 1px, transparent 1px 56px); }

.los-scene-meter { display: grid; gap: 9px; }

.los-scene-meter > span:first-child {
    display: flex;
    justify-content: space-between;
    color: var(--los-text-muted);
    font-size: .72rem;
}

.los-scene-meter b { color: var(--los-text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

.los-scene-hint {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 11px 12px;
    border: 1px solid rgba(var(--sl-accent-rgb), .22);
    border-radius: 10px;
    background: rgba(var(--sl-accent-rgb), .07);
    color: var(--los-text-secondary);
    font-size: .74rem;
    font-weight: 500;
}

.los-scene-hint i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sl-accent);
    animation: none;
}

@keyframes los-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--sl-accent-rgb), .5); }
    50%      { opacity: .5; box-shadow: 0 0 0 6px rgba(var(--sl-accent-rgb), 0); }
}

/* Keyboard/no-pointer path for the drag scene: a real button that schedules the task to the same
   slot the drag targets, so the interaction never depends on a mouse. */
.los-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 9px 14px;
    border: 1px solid rgba(var(--sl-accent-rgb), .4);
    border-radius: 10px;
    background: rgba(var(--sl-accent-rgb), .1);
    color: var(--los-text-primary);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.los-place:hover {
    border-color: rgba(var(--sl-accent-rgb), .7);
    background: rgba(var(--sl-accent-rgb), .16);
}

.los-place svg { flex: none; }

/* -- scene: plan the week (events settle in one after another) ------------ */

.los-scene[data-scene="week"].on .los-ev.seed {
    animation: none;
    animation-delay: calc(var(--i) * 110ms);
}

@keyframes los-settle {
    from { opacity: 0; transform: translateY(-10px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

/* -- scene: drag (a real, pointer-driven drag) ---------------------------- */

.los-tray {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.los-tray-title {
    display: flex;
    justify-content: space-between;
    color: var(--los-faint);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.los-draggable {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-left: 2px solid var(--c, var(--sl-accent));
    border-radius: 9px;
    background: #12151c;
    color: var(--los-text-primary);
    font-size: .78rem;
    font-weight: 600;
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.los-draggable:hover { background: #161a22; box-shadow: 0 10px 26px -14px #000; }
.los-draggable small { margin-left: auto; color: var(--los-faint); font-size: .64rem; font-weight: 500; }

.los-draggable.is-dragging {
    position: fixed;
    z-index: 90;
    width: 190px;
    cursor: grabbing;
    pointer-events: none;
    box-shadow: 0 26px 60px -20px #000, 0 0 0 1px rgba(var(--sl-accent-rgb), .4);
    transform: rotate(-1.4deg) scale(1.03);
}

.los-draggable.is-placed {
    position: absolute;
    left: 4px;
    right: 4px;
    top: 3px;
    width: auto;
    cursor: default;
    animation: los-snap .5s var(--ease);
}

/* The scripted demo drag reuses the pointer path, so it needs easing. */
.los-draggable.is-auto { transition: left .85s var(--ease), top .85s var(--ease); }

@keyframes los-snap {
    0%   { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(var(--sl-accent-rgb), .18); }
    100% { transform: none; box-shadow: 0 0 0 0 rgba(var(--sl-accent-rgb), 0); }
}

.los-scene-split {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 18px;
    height: 100%;
}

.los-slotgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    align-content: start;
}

.los-slot-col { display: grid; gap: 6px; align-content: start; }

.los-slot-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-bottom: 8px;
    color: var(--los-text-muted);
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.los-slot-head b { color: var(--los-text-secondary); font-size: .76rem; letter-spacing: 0; }
.los-slot-col.now .los-slot-head b { color: var(--los-accent-text); }

.los-slot {
    position: relative;
    min-height: 46px;
    border-radius: 6px;
    border: 1px dashed transparent;
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.los-slot.free { border-color: rgba(255, 255, 255, .06); }
.los-slot .los-ev { position: static; padding: 8px 8px 7px; }

.los-slot.is-target {
    background: rgba(var(--sl-accent-rgb), .13);
    box-shadow: inset 0 0 0 1px rgba(var(--sl-accent-rgb), .5);
}

.los-drop-caption {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 8px 14px;
    border: 1px solid var(--los-hair);
    border-radius: 999px;
    background: rgba(10, 12, 17, .9);
    backdrop-filter: blur(12px);
    color: var(--los-text-secondary);
    font-size: .72rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .4s ease, transform .5s var(--ease);
}

.los-drop-caption.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* -- scene: habits -------------------------------------------------------- */

.los-habit-list { display: grid; gap: 10px; }

.los-habit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid var(--los-hair-soft);
    border-radius: 11px;
    background: rgba(255, 255, 255, .022);
}

.los-habit b { display: block; color: var(--los-text-primary); font-size: .84rem; font-weight: 600; }
.los-habit small { color: var(--los-faint); font-size: .68rem; }

.los-habit-meta { display: flex; align-items: center; gap: 18px; }

.los-habit-days { display: flex; gap: 5px; }

.los-habit-days i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .05);
    color: var(--los-text-muted);
    font-size: .55rem;
    font-style: normal;
    font-weight: 700;
    transition: background-color .45s ease, color .45s ease, transform .45s var(--ease);
}

.los-scene[data-scene="habits"].on .los-habit-days i.on {
    background: rgba(var(--sl-accent-rgb), .8);
    color: var(--los-text-primary);
    transform: translateY(-2px);
    transition-delay: calc(var(--i) * 70ms);
}

.los-streak {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--los-accent-text);
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.los-streak span { color: var(--los-faint); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* -- scene: statistics ---------------------------------------------------- */

.los-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }

.los-stat {
    padding: 15px 16px;
    border: 1px solid var(--los-hair-soft);
    border-radius: 11px;
    background: rgba(255, 255, 255, .022);
}

.los-stat b {
    display: block;
    color: var(--los-text-primary);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.los-stat span { color: var(--los-faint); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }

.los-chart {
    display: flex;
    align-items: flex-end;
    gap: clamp(4px, 1vw, 9px);
    height: 190px;
    padding: 16px;
    border: 1px solid var(--los-hair-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, .015);
}

.los-chart i {
    position: relative;
    flex: 1;
    height: 3%;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--sl-accent), rgba(var(--sl-accent-rgb), .12));
    transition: height 1.1s var(--ease);
}

.los-scene[data-scene="stats"].on .los-chart i {
    height: var(--h);
    transition-delay: calc(var(--i) * 55ms);
}

.los-chart-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--los-text-muted);
    font-size: .6rem;
    letter-spacing: .1em;
}

@media (max-width: 940px) {
    .los-scene { grid-template-columns: 1fr; }
    .los-scene-side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .055); }
}

@media (max-width: 680px) {
    /* Tray above the week, and only the days either side of the drop target. */
    .los-scene-split { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .los-tray { flex-direction: row; }
    .los-tray .los-draggable { flex: 1; min-width: 0; }
    .los-slotgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .los-slot-col:nth-child(n+4) { display: none; }

    .los-habit { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .los-habit-meta { justify-content: space-between; gap: 12px; }
    .los-scene-btn { font-size: .76rem; padding: 9px 13px 9px 11px; }
    .los-stat b { font-size: 1.3rem; }
    .los-chart { height: 150px; }
}

/* ---------------------------------------------------------------------------
    7 — Capability cards (System section): two comparable example cards side by side
    on desktop (Goal → Project → Task and Planned → Completed), stacked on mobile.
    --------------------------------------------------------------------------- */

.los-sys-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    margin-top: var(--los-content-gap);
}

@media (max-width: 780px) {
    .los-sys-cards { grid-template-columns: 1fr; }
}

.los-sys-card {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--los-hair-soft);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .006));
}

.los-sys-card-index {
    color: var(--los-accent-text);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.los-sys-card h3 {
    margin: 12px 0 0;
    color: var(--los-text-primary);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.los-sys-card > p {
    max-width: 46ch;
    margin: 12px 0 0;
    color: var(--los-dim);
    font-size: .92rem;
    line-height: 1.66;
}

.los-story-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.los-story-list li {
    padding: 6px 11px;
    border: 1px solid var(--los-hair);
    border-radius: 999px;
    color: var(--los-text-muted);
    font-size: .73rem;
}

/* The direction card's chain: three labelled rows, each nested under the last. */
.los-chain {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.los-chain-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: var(--los-text-secondary);
    font-size: .74rem;
}

.los-chain-row b {
    color: var(--los-accent-text);
    font-weight: 650;
    letter-spacing: .02em;
}

.los-chain-row span {
    padding: 8px 12px;
    border: 1px solid var(--los-hair);
    border-radius: 9px;
    background: rgba(255, 255, 255, .02);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* review panel (Planned → Completed card) */
.los-review { display: grid; gap: 12px; margin-top: auto; padding-top: 18px; }

.los-review-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: var(--los-text-secondary);
    font-size: .73rem;
}

.los-review-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
}

.los-review-bar i {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(var(--sl-accent-rgb), .35), var(--c, var(--sl-accent)));
    transform: none;
}

.los-review-row b { color: var(--los-text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Optional modules — a compact grid closing the system section, above the /features link. */
.los-module {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid var(--los-hair-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
    color: var(--los-text-secondary);
    font-size: .76rem;
    font-weight: 500;
}

.los-module-ic { color: var(--los-accent-text); font-size: .9rem; line-height: 1; }

/* Optional modules — a compact grid closing the system section. Presented as supporting surface,
   not as the main value: the point is that everything here feeds the same shared plan. */
.los-system-modules {
    margin-top: var(--los-content-gap);
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--los-hair-soft);
}

.los-system-modules h3 {
    margin: 0;
    max-width: 24ch;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.los-system-modules p {
    max-width: 60ch;
    margin: 16px 0 0;
    color: var(--los-dim);
    font-size: .98rem;
    line-height: 1.7;
}

.los-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: clamp(24px, 3vw, 34px);
}

@media (max-width: 900px) { .los-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .los-module-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Trust & product principles
   --------------------------------------------------------------------------- */

.los-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 34px) clamp(32px, 6vw, 96px);
    margin-top: var(--los-content-gap);
}

.los-principle {
    padding-top: 22px;
    border-top: 1px solid var(--los-hair);
}

.los-principle h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--los-text-primary);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.los-principle h3::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--sl-accent);
    box-shadow: 0 0 12px rgba(var(--sl-accent-rgb), .9);
}

.los-principle p {
    max-width: 44ch;
    margin: 12px 0 0;
    color: var(--los-dim);
    font-size: .9rem;
    line-height: 1.66;
}

.los-principles-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--los-content-gap);
    color: var(--los-text-secondary);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.los-principles-link:hover { color: var(--los-text-primary); }
.los-principles-link svg { flex: none; transition: transform .25s var(--ease); }
.los-principles-link:hover svg { transform: translateX(3px); }

@media (max-width: 640px) {
    .los-principles { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
    8b — FAQ — native details disclosures, answers visible without JavaScript
    --------------------------------------------------------------------------- */

.los-faq {
    display: grid;
    gap: 12px;
    margin-top: var(--los-content-gap);
}

.los-faq-item {
    border: 1px solid var(--los-hair);
    border-radius: 14px;
    background: var(--los-glass);
}

.los-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 6px 18px;
    cursor: pointer;
    list-style: none;
    color: var(--los-text-primary);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

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

.los-faq-item summary::after {
    content: "+";
    flex: none;
    color: var(--los-faint);
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform .3s var(--ease);
}

.los-faq-item[open] summary::after { transform: rotate(45deg); }

.los-faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--los-dim);
    font-size: .9rem;
    line-height: 1.66;
}

/* ---------------------------------------------------------------------------
   8 — Final CTA + footer
   --------------------------------------------------------------------------- */

/* The final CTA carries its own generous top padding; drop the preceding section's bottom padding
   so the two don't stack into an oversized void. FAQ precedes the CTA, so the rule keys on #faq. */
.los-final {
    position: relative;
    padding-block: var(--los-section-gap);
    text-align: center;
}

.los-final::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 20%;
    width: min(900px, 100%);
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(var(--sl-accent-rgb), .2), transparent 72%);
    filter: blur(60px);
}

.los-final h2 {
    margin: 24px 0 0;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.05em;
}

.los-final .los-lead { margin-inline: auto; }
.los-final .los-actions { justify-content: center; margin-top: 42px; }
.los-final .los-note { margin-top: 22px; }

.los-foot {
    padding-block: 46px 60px;
    border-top: 1px solid var(--los-hair-soft);
}

.los-foot-cols {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.los-foot-cols h5 {
    margin: 0 0 14px;
    color: var(--los-faint);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.los-foot-cols a {
    display: flex;
    align-items: center;
    /* 44px min height so the links are comfortably tappable; they were 29px, which on a phone
       puts three routes inside one thumb. Padding does the work, so the visual rhythm barely
       shifts on desktop. */
    min-height: 44px;
    padding: 4px 0;
    color: var(--los-text-secondary);
    font-size: .84rem;
    text-decoration: none;
    transition: color .2s ease;
}

.los-foot-cols a:hover { color: var(--los-text-primary); }

.los-foot-about .los-logo { height: 32px; }

.los-foot-about p {
    max-width: 30ch;
    margin: 16px 0 0;
    color: var(--los-faint);
    font-size: .8rem;
    line-height: 1.65;
}

.los-foot-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--los-hair-soft);
    color: var(--los-faint);
    font-size: .76rem;
}

@media (max-width: 860px) {
    .los-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .los-foot-about { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------------
   Motion primitives
   --------------------------------------------------------------------------- */

.los [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------------------
   Reduced motion / no-JS: everything visible, nothing moving.
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .los *,
    .los *::before,
    .los *::after {
        animation: none !important;
        transition: none !important;
    }

    .los [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
    .los .los-stream-path { stroke-dashoffset: 0; }
    /* CSS animation rules do not stop SVG animateMotion; hide its decorative pulses. */
    .los .los-stream-pulse { display: none; }
    .los .los-stream-label,
    .los .los-stack i { opacity: 1; transform: none; }
}
/* User-controlled demo: stable feedback space and no idle dwell animation. */
.los-demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.los-demo-controls .los-place { margin: 0; }
.los-demo-controls [data-play] { min-width: 170px; }
.los-demo-controls span { font-size: .75rem; color: var(--los-faint); }
.los-showcase:not(.is-playing) .los-scene-bar::after { animation: none; }
.los-tray { min-height: 110px; }
.los-scene-split { height: auto; min-height: 270px; }
.los-slot.has-task .ghost { visibility: hidden; }
.los-draggable.is-placed { cursor: grab; font-size: .65rem; flex-wrap: wrap; gap: 2px; padding: 6px; }
.los-drop-caption, .los-drop-caption.show {
    position: static; transform: none; opacity: 1; white-space: normal;
    min-height: 64px; margin-top: 14px; border-radius: 10px;
    display: flex; align-items: center; transition: none;
}
.los-scene-meter > span, .los-scene-meter small { font-size: .75rem; color: var(--los-faint); }
.los-place:focus-visible { outline: 2px solid var(--los-text-primary); outline-offset: 4px; }
.los-place:disabled { opacity: .55; cursor: default; }
@media (max-width: 620px) {
    .los-slotgrid { grid-template-columns: minmax(0, 1fr); }
    .los-slot-col { display: none; }
    .los-slot-col:nth-child(3) { display: grid; }
    .los-draggable.is-placed { font-size: .78rem; flex-wrap: nowrap; padding: 10px 12px; }
}
@media (max-width: 620px) {
    .los-tray { align-items: flex-start; }
}

/* Three surface levels: canvas, product panel, raised card. Category fills remain informational. */
.los-app, .los-stagearea, .los-converge-target {
    background: var(--los-panel); border-radius: var(--los-radius);
    border: 1px solid var(--los-hair); box-shadow: 0 16px 40px -24px rgba(0,0,0,.65);
}
.los-step, .los-sys-card, .los-habit, .los-stat, .los-faq details, .los-chain-row,
.los-draggable, .los-module, .los-mini-row { background: var(--los-panel-2); border-radius: var(--los-radius-card); }
.los-app-bar, .los-rail, .los-scene-side { background: transparent; }
.los-btn, .los-scene-btn, .los-nav-cta, .los-place, .los-menu summary { border-radius: var(--los-radius-button); }
.los-btn-primary, .los-btn-primary:hover {
    background: var(--los-accent-fill); border-color: var(--los-accent-ui);
    box-shadow: 0 8px 20px -14px rgba(0,0,0,.6); color: var(--los-text-primary);
}
.los-btn-ghost, .los-place { background: var(--los-panel-2); backdrop-filter: none; }
.los-nav, .los-nav.is-stuck, .los-menu nav { background: var(--los-panel); backdrop-filter: none; }
.los-scene-btn[aria-selected="true"] { border-color: var(--los-accent-ui); background: var(--los-accent-fill); }
.los-scene-btn[aria-selected="true"] .los-scene-bar { background: var(--los-accent-ui); }
.los-cal-head .now b, .los-habit-days i.on { background: var(--los-accent-fill); color: var(--los-text-primary); }
.los-meter i, .los-chart i, .los-mini-bars i, .los-review-bar i { background: var(--los-accent-ui); }
.los-review-bar i { background: color-mix(in srgb, var(--c, var(--sl-accent)) 65%, white); }
.los-mini-arc .value { stroke: var(--los-accent-ui); filter: none; }
.los-slot.is-target { box-shadow: inset 0 0 0 2px var(--los-accent-ui); }
.los-scene-hint { background: transparent; border: 0; border-radius: 0; padding-inline: 0; }
.los-story-list li { border: 0; border-radius: 0; background: transparent; padding-inline: 0; }
.los-module { background: transparent; border: 0; border-radius: 0; }
.los-module-ic svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.los-stage { perspective: none; }
.los-stage-inner { transform: none; transform-style: flat; will-change: auto; }
.los-stream-label, .los-stack i { opacity: 1; transform: none; transition: none; }
.los-stream-path { stroke-dashoffset: 0; transition: none; }
.los-stream-pulse { display: none; }
.los a:focus-visible, .los button:focus-visible, .los summary:focus-visible {
    outline: 2px solid var(--los-text-primary); outline-offset: 4px;
}
.los-scene[data-scene="habits"].on .los-habit-days i.on {
    background: var(--los-accent-fill); color: var(--los-text-primary);
    border: 1px solid var(--los-accent-ui);
}
.los-cal-head .now b { box-shadow: none; border: 1px solid var(--los-accent-ui); }
.los-rail-item.on i, .los-nowline, .los-nowline::after { background: var(--los-accent-ui); box-shadow: none; }
.los-mini-bars i { background: var(--los-accent-ui); }
.los-nav-cta, .los-place, .los-btn-ghost { border-color: var(--los-accent-ui); }

.los-chart, .los-seg, .los-drop-caption { background: var(--los-panel-2); backdrop-filter: none; }
.los-mini-row, .los-chain-row, .los-stream-label { border-radius: var(--los-radius-card); }

.los-chart i { height: var(--h); transition: none; }
.los-scene[data-scene="stats"].on .los-chart i { transition: none; }
.los-habit-days i, .los-scene[data-scene="habits"].on .los-habit-days i.on { transform: none; transition: none; }
/* Shared decision copy, without metadata capsules. */
.los-trial-terms {
    margin: 12px 0 0; max-width: 780px;
    color: var(--los-text-secondary); font-size: 1rem; line-height: 1.45;
    text-wrap: pretty;
}
.los-trial-terms span { display: block; }
.los-hero .los-actions { margin-top: 20px; }
.los-decision-panel {
    max-width: 920px; margin-inline: auto; padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--los-hair); border-radius: var(--los-radius); background: var(--los-panel);
}
.los-decision-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.los-decision-panel .los-actions { margin-top: 24px; }
.los-decision-panel .los-trial-terms { margin: 16px auto 0; }
.los-next-step { margin: 12px 0 0; font-size: 1rem; line-height: 1.45; color: var(--los-text-muted); }
.los-decision-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 16px; }
.los-decision-links a { color: var(--los-text-secondary); font-size: 1rem; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.los-nav-cta.los-btn-primary, .los-nav-cta.los-btn-primary:hover {
    min-height: 44px; background: var(--los-accent-fill); border-color: var(--los-accent-ui);
}
.los-menu summary { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
@media (max-width: 780px) {
    .los-hero .los-lead { margin-top: 18px; }
    .los-hero .los-stage { margin-top: 16px; }
}
