/* =============================================================
   style_landing.css — HR Cluster marketing site
   All marketing-site classes live under the .lp-* namespace.
   This file is the single stylesheet loaded from home_head.php.
   ============================================================= */

/* ---- Fonts -------------------------------------------------- */
@font-face {
    font-family: 'Open Sans';
    src: url('/layout/fonts/OpenSans-Light.woff') format('woff'),
         url('/layout/fonts/OpenSans-Light.ttf')  format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/layout/fonts/OpenSans-Regular.woff') format('woff'),
         url('/layout/fonts/OpenSans-Regular.ttf')  format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/layout/fonts/OpenSans-Italic.woff') format('woff'),
         url('/layout/fonts/OpenSans-Italic.ttf')  format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/layout/fonts/OpenSans-Bold.woff') format('woff'),
         url('/layout/fonts/OpenSans-Bold.ttf')  format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.lp-body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    min-height: 100vh;
    color: var(--lp-ink);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --lp-bg:           #ffffff;
    --lp-surface:      #ffffff;
    --lp-surface-alt:  #f7f8fa;
    --lp-border:       #e6e8ec;
    --lp-border-strong:#d6d9de;
    --lp-ink:          #0b1220;
    --lp-ink-soft:     #334155;
    --lp-ink-mute:     #64748b;
    --lp-brand:        #ea2527;
    --lp-brand-ink:    #b5161a;
    --lp-radius:       14px;
    --lp-radius-lg:    20px;
    --lp-shadow-sm:    0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.04);
    --lp-shadow-md:    0 6px 18px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
    --lp-max-w:        1200px;
    --lp-ease:         cubic-bezier(.2,.7,.2,1);

    /* Dark-surface tokens. Defined for future use; not applied to any section yet.
       Lets a later turn flip Live Control or a scenario block dark without scrambling. */
    --lp-bg-dark:         #0b1220;
    --lp-ink-on-dark:     #e6e8ec;
    --lp-ink-soft-on-dark:#b3b8c2;
    --lp-border-on-dark:  rgba(255,255,255,0.08);
}

/* ---- Reset-ish scope ---------------------------------------- */
.lp {
    color: var(--lp-ink);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.lp *,
.lp *::before,
.lp *::after { box-sizing: border-box; }

.lp h1, .lp h2, .lp h3, .lp h4 {
    color: var(--lp-ink);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em;
}
/* Vertical-only margins on paragraphs so child rules can own left/right margin
   (was `margin: 0 0 1em` — shorthand beat `.lp-hero__sub { margin: 0 auto }` on
   specificity and left-pinned the hero paragraph). */
.lp p { margin-top: 0; margin-bottom: 1em; color: var(--lp-ink-soft); }
.lp a { color: inherit; }

.lp-container {
    max-width: var(--lp-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section rhythm ----------------------------------------- */
.lp-section {
    padding: 88px 0;
}
.lp-section--tight { padding: 56px 0; }
.lp-section--alt   { background: var(--lp-surface-alt); }

/* Dark surface variant. Defined now, not applied yet. */
.lp-section--dark { background: var(--lp-bg-dark); color: var(--lp-ink-on-dark); }
.lp-section--dark .lp-section-head h2 { color: var(--lp-ink-on-dark); }
.lp-section--dark .lp-section-head p,
.lp-section--dark p { color: var(--lp-ink-soft-on-dark); }
.lp-section--dark .lp-eyebrow { color: var(--lp-ink-soft-on-dark); }

/* Screenshot band — flat, restrained, evidential. No browser chrome, no device frames,
   no gradients or glow. The image stands on its own as evidence. */
.lp-screenshot-band {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}
.lp-screenshot-band__frame {
    background: var(--lp-surface-alt);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-md);
    overflow: hidden;
    line-height: 0;
}
.lp-screenshot-band__frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
}
.lp-screenshot-band__caption {
    margin: 14px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--lp-ink-mute);
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    margin-bottom: 14px;
}

.lp-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.lp-section-head h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.2;
}
.lp-section-head p {
    font-size: 17px;
    color: var(--lp-ink-soft);
}

/* =============================================================
   NAV — sticky header with HR/Ops pill switch
   ============================================================= */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--lp-ease), box-shadow .25s var(--lp-ease), background .25s var(--lp-ease);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.lp-nav.is-stuck {
    background: rgba(255,255,255,0.94);
    border-bottom-color: var(--lp-border);
    box-shadow: 0 2px 14px rgba(15,23,42,0.04);
}
.lp-nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
}

/* Left cluster: logo + pill — held together as one visual unit */
.lp-nav__brandcluster {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}
.lp-nav__logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.lp-nav__logo img {
    height: 24px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* Right cluster: menu (center/right) + utilities (far right, tight together).
   Nav gets a bigger right margin so utilities read as one grouped zone. */
.lp-nav__rightcluster {
    display: inline-flex;
    align-items: center;
    gap: 10px;                /* tight — used inside the utility cluster */
    margin-left: auto;
    flex: 0 0 auto;
}
.lp-nav__rightcluster .lp-nav__menu {
    margin-right: 20px;       /* breathing gap between nav zone and utility zone */
}

.lp-nav__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px;
}
.lp-nav__link {
    display: inline-block;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-ink-soft);
    text-decoration: none;
    border-radius: 8px;
    transition: color .18s var(--lp-ease), background .18s var(--lp-ease);
}
.lp-nav__link:hover { color: var(--lp-ink); background: rgba(11,18,32,0.04); }
.lp-nav__link.is-active { color: var(--lp-ink); }
.lp-nav__link.is-active::after {
    content: "";
    display: block;
    height: 2px;
    margin: 4px 14px 0;
    background: var(--lp-brand);
    border-radius: 2px;
    transform: translateY(-4px);
}

.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lp-nav__login {
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-ink-soft);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    transition: color .18s var(--lp-ease);
}
.lp-nav__login:hover { color: var(--lp-ink); }

.lp-nav__cta {
    padding: 11px 18px;
    font-size: 14px;
}

/* ---- Workforce / Ops pill switch ---- */
.lp-pill-switch {
    display: inline-flex;
    padding: 4px;
    height: 42px;
    background: var(--lp-surface-alt);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    gap: 2px;
    box-sizing: border-box;
    transition: border-color .2s var(--lp-ease), background .2s var(--lp-ease);
}
.lp-pill-switch:hover { border-color: var(--lp-border-strong); }

.lp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;              /* slightly tighter than before (was 82) */
    padding: 0 16px;              /* was 18 */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--lp-ink-mute);
    text-decoration: none;
    border-radius: 999px;
    transition: background .18s var(--lp-ease), color .18s var(--lp-ease), box-shadow .18s var(--lp-ease);
}
.lp-pill:hover { color: var(--lp-ink); background: rgba(11,18,32,0.03); }
.lp-pill.is-active {
    background: #ffffff;
    color: var(--lp-ink);
    box-shadow:
        0 1px 2px rgba(15,23,42,0.08),
        0 2px 6px rgba(15,23,42,0.04),
        0 0 0 1px rgba(15,23,42,0.06);
}
.lp-pill.is-active:hover { background: #ffffff; color: var(--lp-ink); }

/* ---- Language pill (NO | EN) — compact variant ---- */
/* Language pill — utility-level, visually subordinate to Workforce/Ops.
   Smaller height, transparent container, minimal active state.        */
.lp-pill-switch--lang {
    height: 32px;
    padding: 2px;
    background: transparent;
    border-color: var(--lp-border);
}
.lp-pill-switch--lang:hover { border-color: var(--lp-border-strong); }

.lp-pill--lang {
    min-width: 34px;
    padding: 0 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
}
.lp-pill--lang:hover {
    color: var(--lp-ink);
    background: rgba(11,18,32,0.03);
}
.lp-pill--lang.is-active {
    background: var(--lp-surface-alt);
    color: var(--lp-ink);
    box-shadow: none;              /* no elevation — it's utility, not product */
}
.lp-pill--lang.is-active:hover {
    background: var(--lp-surface-alt);
    color: var(--lp-ink);
}

/* ---- Hamburger ---- */
.lp-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0 10px;
    margin-left: auto;
}
.lp-hamburger span {
    display: block;
    height: 2px;
    background: var(--lp-ink);
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.lp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-hamburger.is-open span:nth-child(2) { opacity: 0; }
.lp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile drawer ---- */
.lp-drawer {
    position: fixed;
    inset: 68px 0 0 0;
    z-index: 39;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.lp-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.lp-drawer__panel {
    padding: 24px 24px 40px;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lp-pill-switch--drawer { align-self: flex-start; }

.lp-drawer__menu { display: flex; flex-direction: column; }
.lp-drawer__menu a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--lp-border);
    font-size: 17px;
    font-weight: 500;
    color: var(--lp-ink);
    text-decoration: none;
}
.lp-drawer__menu a:hover { color: var(--lp-brand); }

.lp-drawer__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);   /* prevent track from growing past panel */
    gap: 10px;
    margin-top: 8px;
}
.lp-drawer__actions .lp-btn {
    width: 100%;
    min-width: 0;                            /* allow shrink on narrow phones */
    white-space: normal;                     /* override .lp-btn nowrap so labels can wrap */
    box-sizing: border-box;
}

/* ---- Nav responsive ---- */
@media (max-width: 1060px) {
    .lp-nav__rightcluster { gap: 16px; }
    .lp-nav__menu ul { gap: 0; }
}
@media (max-width: 980px) {
    .lp-nav__rightcluster { display: none; }
    .lp-hamburger { display: inline-flex; }
    .lp-nav__inner { height: 68px; gap: 16px; }
}
@media (max-width: 520px) {
    .lp-nav__inner { gap: 10px; }
    .lp-nav__brandcluster { gap: 12px; }
    .lp-pill-switch { padding: 3px; height: 38px; }
    .lp-pill { min-width: 64px; padding: 0 12px; font-size: 12px; }
    .lp-nav__logo img { height: 20px; }
}

/* =============================================================
   HERO
   ============================================================= */
.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background:
        radial-gradient(1200px 560px at 80% -10%, rgba(234,37,39,0.035), transparent 60%),
        radial-gradient(800px 480px at 0% 12%,  rgba(15,23,42,0.025), transparent 60%),
        #ffffff;
    border-bottom: 1px solid var(--lp-border);
}
.lp-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
/* Soft fade behind the headline text so particles stay readable but visible */
.lp-hero__particles::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 260px at 50% 50%, rgba(255,255,255,0.45), rgba(255,255,255,0) 75%),
        linear-gradient(to bottom, rgba(255,255,255,0) 65%, rgba(255,255,255,0.75) 100%);
    pointer-events: none;
}

.lp-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
.lp-hero .lp-eyebrow {
    margin-bottom: 20px;
    color: var(--lp-ink-mute);
}
.lp-hero h1 {
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    color: var(--lp-ink);
    text-wrap: balance;
}
/* Selector: `p.lp-hero__sub` has specificity (0,1,1) — matches `.lp p` exactly.
   This rule is declared later than `.lp p`, so it wins on source order for the
   properties it sets (including all four margins via shorthand). */
p.lp-hero__sub {
    display: block;
    box-sizing: border-box;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.6;
    font-weight: 400;
    color: var(--lp-ink-soft);
    max-width: 640px;            /* wider, breathes more; balance keeps wrap even */
    width: 100%;
    margin: 0 auto 32px;         /* auto L/R = centred block */
    padding: 0;
    text-align: center;
    text-wrap: balance;
}
.lp-hero__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.lp-hero__ctas .lp-btn {
    padding: 15px 26px;
    font-size: 15px;
}
.lp-hero__trust {
    font-size: 13px;
    color: var(--lp-ink-mute);
    letter-spacing: 0.01em;
    margin: 0;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s var(--lp-ease), color .2s var(--lp-ease), border-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease), transform .08s var(--lp-ease);
    white-space: nowrap;
}
.lp-btn:active { transform: translateY(1px); }

/* Anchor-button specificity note: `.lp a { color: inherit }` at (0,1,1)
   beats `.lp-btn--primary` at (0,1,0). `a.lp-btn--primary` matches at
   (0,1,1) and wins on source order (declared later). */
.lp-btn--primary,
a.lp-btn--primary {
    background: var(--lp-brand);
    color: #ffffff;
    border-color: var(--lp-brand);
    box-shadow: 0 1px 2px rgba(234,37,39,0.18), 0 6px 16px rgba(234,37,39,0.14);
}
.lp-btn--primary:hover,
a.lp-btn--primary:hover {
    background: var(--lp-brand-ink);
    color: #ffffff;
    border-color: var(--lp-brand-ink);
    box-shadow: 0 1px 2px rgba(181,22,26,0.22), 0 8px 20px rgba(181,22,26,0.18);
}

.lp-btn--ghost {
    background: #ffffff;
    color: var(--lp-ink);
    border-color: var(--lp-border);
}
.lp-btn--ghost:hover {
    border-color: var(--lp-ink);
    background: #ffffff;
}

/* =============================================================
   PROBLEM / SOLUTION
   ============================================================= */
.lp-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 820px) {
    .lp-split { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.lp-painlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.lp-painlist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    font-size: 15px;
    color: var(--lp-ink-soft);
    box-shadow: var(--lp-shadow-sm);
}
.lp-painlist li::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--lp-brand);
    margin-top: 9px;
}

.lp-solution-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.lp-solution-points li {
    padding-left: 28px;
    position: relative;
    color: var(--lp-ink-soft);
}
.lp-solution-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(234,37,39,0.12);
    background-image: radial-gradient(circle, var(--lp-brand) 0 4px, transparent 5px);
}

/* =============================================================
   FEATURE GRID
   ============================================================= */
.lp-features {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .lp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
    .lp-features { grid-template-columns: repeat(4, 1fr); }
}

.lp-feature {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 22px 20px;
    box-shadow: var(--lp-shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lp-feature:hover {
    box-shadow: var(--lp-shadow-md);
    transform: translateY(-1px);
    border-color: #d8dce2;
}
.lp-feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--lp-surface-alt);
    border: 1px solid var(--lp-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-brand);
    margin-bottom: 14px;
}
.lp-feature__icon svg { width: 20px; height: 20px; }
.lp-feature h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.lp-feature p {
    font-size: 14px;
    color: var(--lp-ink-mute);
    margin: 0;
    line-height: 1.5;
}

/* =============================================================
   EVENT-SPECIFIC
   ============================================================= */
.lp-event {
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .lp-event { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.lp-event h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.2;
    margin-bottom: 16px;
}
.lp-event p { color: var(--lp-ink-soft); font-size: 16px; }
.lp-event-tags {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lp-event-tags li {
    font-size: 13px;
    color: var(--lp-ink-soft);
    padding: 7px 12px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
}

.lp-event__card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 24px;
    box-shadow: var(--lp-shadow-md);
}
.lp-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.lp-stat__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-ink-mute);
    margin-bottom: 4px;
}
.lp-stat__value {
    font-size: 22px;
    font-weight: 600;
    color: var(--lp-ink);
}

/* =============================================================
   CTA SECTION
   ============================================================= */
.lp-cta {
    text-align: center;
    background:
        radial-gradient(900px 400px at 50% 120%, rgba(234,37,39,0.08), transparent 60%),
        var(--lp-surface-alt);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-cta h2 {
    font-size: clamp(26px, 3.4vw, 34px);
    margin-bottom: 12px;
}
.lp-cta p {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--lp-ink-soft);
}
.lp-cta__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================================
   MOBILE TUNING
   ============================================================= */
@media (max-width: 640px) {
    .lp-section { padding: 64px 0; }
    .lp-hero    { padding: 64px 0 72px; }
    .lp-hero .lp-eyebrow { margin-bottom: 14px; }
    .lp-hero h1 { margin-bottom: 16px; }
    .lp-hero__sub { font-size: 16px; margin-bottom: 24px; }
    .lp-hero__ctas { gap: 10px; margin-bottom: 18px; }
    .lp-hero__ctas .lp-btn { width: 100%; padding: 14px 22px; }
    .lp-section-head { margin-bottom: 32px; }
    .lp-event__card  { padding: 20px; }
}

/* =============================================================
   GENERIC PAGE HERO (non-homepage)
   ============================================================= */
.lp-pagehero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 72px;
    background:
        radial-gradient(900px 400px at 80% -10%, rgba(234,37,39,0.03), transparent 60%),
        #ffffff;
    border-bottom: 1px solid var(--lp-border);
}
.lp-pagehero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
    margin: 0 auto;
}
/* Subpage particle layer — smaller soft centre mask, same base
   visibility as .lp-hero__particles. */
.lp-pagehero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.lp-pagehero__particles::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 220px at 50% 55%, rgba(255,255,255,0.35), rgba(255,255,255,0) 75%),
        linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(255,255,255,0.7) 100%);
    pointer-events: none;
}
.lp-pagehero h1 {
    font-size: clamp(32px, 4.6vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.lp-pagehero p.lp-pagehero__sub {
    display: block;
    box-sizing: border-box;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.6;
    font-weight: 400;
    color: var(--lp-ink-soft);
    max-width: 640px;
    width: 100%;
    margin: 0 auto 24px;
    padding: 0;
    text-align: center;
    text-wrap: balance;
}
.lp-pagehero__ctas {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* =============================================================
   CARD / GRID UTILITIES
   ============================================================= */
.lp-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 28px;
    box-shadow: var(--lp-shadow-sm);
}
.lp-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.lp-card p {
    color: var(--lp-ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.lp-card__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    margin-bottom: 14px;
}

.lp-grid-2 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 820px) {
    .lp-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.lp-grid-3 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .lp-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .lp-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* =============================================================
   MODULES LIST (HR page)
   ============================================================= */
.lp-modules {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .lp-modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .lp-modules { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.lp-module {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-ink);
    box-shadow: var(--lp-shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-module:hover { border-color: #d8dce2; box-shadow: var(--lp-shadow-md); }
.lp-module small {
    display: block;
    font-weight: 400;
    color: var(--lp-ink-mute);
    font-size: 12px;
    margin-top: 4px;
}

/* =============================================================
   STEPS (numbered workflow)
   ============================================================= */
.lp-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    counter-reset: step;
}
@media (min-width: 980px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.lp-step {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 22px;
    counter-increment: step;
    position: relative;
    box-shadow: var(--lp-shadow-sm);
}
.lp-step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--lp-brand);
    margin-bottom: 8px;
}
.lp-step h4 {
    font-size: 15px;
    margin: 0 0 6px;
}
.lp-step p {
    font-size: 14px;
    color: var(--lp-ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* =============================================================
   PRICING
   ============================================================= */
.lp-pricing {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .lp-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-pricing { grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin-left: auto; margin-right: auto; } }

.lp-plan {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--lp-shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-plan:hover { border-color: #d8dce2; box-shadow: var(--lp-shadow-md); }
.lp-plan--featured {
    border-color: var(--lp-brand);
    box-shadow: 0 8px 24px rgba(234,37,39,0.08);
}
.lp-plan__name {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lp-plan__badge {
    background: var(--lp-brand);
    color: #ffffff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.08em;
}
.lp-plan__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--lp-ink);
    margin-bottom: 6px;
}
.lp-plan__price small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--lp-ink-mute);
    margin-top: 2px;
}
.lp-plan__desc {
    font-size: 14px;
    color: var(--lp-ink-soft);
    margin: 0 0 18px;
    line-height: 1.55;
}
.lp-plan__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 8px;
}
.lp-plan__list li {
    font-size: 14px;
    color: var(--lp-ink-soft);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}
.lp-plan__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 5px;
    width: 14px; height: 14px;
    border-radius: 999px;
    background: rgba(234,37,39,0.12);
    background-image: radial-gradient(circle, var(--lp-brand) 0 3px, transparent 4px);
}
.lp-plan .lp-btn { margin-top: auto; justify-content: center; }

/* Capacity envelope — 3-line summary inside each plan card.
   Sits between price and feature list; describes the limits a plan ships
   with (worker_limit / management_user_limit / project_limit). */
.lp-plan__capacity {
    list-style: none;
    padding: 14px 0;
    margin: 0 0 16px;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    display: grid;
    gap: 4px;
}
.lp-plan__capacity li {
    font-size: 13px;
    color: var(--lp-ink);
    font-weight: 500;
    line-height: 1.4;
}

/* Capability addon "Included capacity" footer — used on Ops to surface
   the +25 management users grant alongside its capability bullets. */
.lp-plan__grant {
    margin: 0 0 20px;
    padding: 12px 14px;
    background: var(--lp-surface-alt);
    border-radius: var(--lp-radius-md, 10px);
}
.lp-plan__grant-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    margin-bottom: 6px;
}
.lp-plan__grant-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 4px;
}
.lp-plan__grant-list li {
    font-size: 13px;
    color: var(--lp-ink);
    font-weight: 600;
}

/* Worker capacity packs — quieter visual treatment than plans/Ops.
   Smaller cards, lighter background, no decorative bullets. They are
   scaling utilities, not strategic products. */
.lp-pricing--quiet {
    gap: 12px;
}
@media (min-width: 720px)  { .lp-pricing--quiet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-pricing--quiet { grid-template-columns: repeat(3, 1fr); max-width: 900px; } }

.lp-plan--pack {
    background: var(--lp-surface-alt);
    box-shadow: none;
    padding: 22px 20px;
}
.lp-plan--pack:hover { box-shadow: var(--lp-shadow-sm); }
.lp-plan__name--quiet {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--lp-ink);
}
.lp-plan__price--quiet {
    font-size: 16px;
    font-weight: 500;
    color: var(--lp-ink-soft);
    margin-bottom: 12px;
}
.lp-plan__pack-body {
    font-size: 13px;
    color: var(--lp-ink-soft);
    margin: 0 0 18px;
    line-height: 1.5;
}

/* Loading / unavailable stub shown before hydration or on total failure. */
.lp-pricing__loading,
.lp-pricing__unavailable {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--lp-ink-mute);
    font-size: 14px;
    padding: 24px 0;
    margin: 0;
}

/* Both footers are <p> elements; the generic `.lp p { margin-top: 0 }`
   reset at (0,1,1) outranks a single-class selector at (0,1,0). Tag-
   qualified selectors match (0,1,1) too and win on source order. */
p.lp-pricing__footnote {
    text-align: center;
    margin-top: 56px;
    color: var(--lp-ink-mute);
    font-size: 14px;
}

/* Capacity-packs section footer — replaces per-card CTAs.
   Single calm row that says "if you need more, talk to us" once. */
p.lp-pricing__packs-footer {
    margin: 56px auto 0;
    padding: 0 16px;
    max-width: 720px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
@media (min-width: 720px) {
    p.lp-pricing__packs-footer { flex-direction: row; justify-content: center; gap: 18px; }
}
.lp-pricing__packs-footer-text {
    font-size: 14px;
    color: var(--lp-ink-soft);
    line-height: 1.5;
}
.lp-btn--sm {
    padding: 9px 16px;
    font-size: 14px;
}

/* =============================================================
   SOLUTION BLOCKS (solutions page)
   ============================================================= */
.lp-solution {
    padding: 64px 0;
    border-bottom: 1px solid var(--lp-border);
    scroll-margin-top: 90px;
}
.lp-solution:last-child { border-bottom: none; }
.lp-solution__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) { .lp-solution__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.lp-solution h2 {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.2;
    margin-bottom: 14px;
}
.lp-solution .lp-eyebrow { margin-bottom: 14px; }
.lp-solution p { color: var(--lp-ink-soft); font-size: 16px; }

.lp-solution__subheading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-ink-mute);
    margin: 18px 0 10px;
}
.lp-solution__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.lp-solution__list li {
    font-size: 14px;
    color: var(--lp-ink-soft);
    padding: 10px 14px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
}

/* =============================================================
   FEATURE GROUPS (features page)
   ============================================================= */
.lp-feature-group {
    padding: 64px 0;
    border-bottom: 1px solid var(--lp-border);
    scroll-margin-top: 90px;
}
.lp-feature-group:last-child { border-bottom: none; }
.lp-feature-group__head {
    max-width: 720px;
    margin-bottom: 32px;
}
.lp-feature-group__head h2 {
    font-size: clamp(24px, 2.8vw, 30px);
    margin-bottom: 10px;
}
.lp-feature-group__head p {
    color: var(--lp-ink-soft);
    font-size: 16px;
    margin: 0;
}

/* =============================================================
   PROSE (legal / long-form content)
   ============================================================= */
.lp-prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--lp-ink-soft);
    font-size: 16px;
    line-height: 1.75;
}
.lp-prose h2 {
    font-size: 22px;
    color: var(--lp-ink);
    margin: 48px 0 14px;
    letter-spacing: -0.01em;
}
.lp-prose h2:first-child { margin-top: 0; }
.lp-prose h3 {
    font-size: 17px;
    color: var(--lp-ink);
    margin: 32px 0 10px;
}
.lp-prose p { margin: 0 0 14px; }
.lp-prose ul, .lp-prose ol {
    padding-left: 22px;
    margin: 0 0 14px;
}
.lp-prose li { margin-bottom: 6px; }
.lp-prose a { color: var(--lp-brand); text-decoration: none; }
.lp-prose a:hover { text-decoration: underline; }
.lp-prose__meta {
    font-size: 13px;
    color: var(--lp-ink-mute);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 14px;
}
.lp-prose th, .lp-prose td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-prose th {
    font-weight: 600;
    color: var(--lp-ink);
    background: var(--lp-surface-alt);
}

/* =============================================================
   CONTACT FORM
   ============================================================= */
.lp-contact {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) { .lp-contact { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

.lp-form {
    display: grid;
    gap: 14px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 28px;
    box-shadow: var(--lp-shadow-sm);
}
.lp-field { display: grid; gap: 6px; }
.lp-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-ink);
    letter-spacing: 0.01em;
}
.lp-field input,
.lp-field select,
.lp-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--lp-ink);
    background: #ffffff;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    padding: 11px 12px;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-field textarea { min-height: 120px; resize: vertical; }
.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    outline: none;
    border-color: var(--lp-brand);
    box-shadow: 0 0 0 3px rgba(234,37,39,0.12);
}
.lp-form__submit { justify-self: start; margin-top: 6px; }
.lp-form__note {
    font-size: 12px;
    color: var(--lp-ink-mute);
    margin: 0;
}

/* Contact page trust panel (right column) */
.lp-trust {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 28px;
    box-shadow: var(--lp-shadow-sm);
    align-self: start;
}
.lp-trust__list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: grid;
    gap: 14px;
}
.lp-trust__list li {
    font-size: 14.5px;
    color: var(--lp-ink-soft);
    line-height: 1.5;
    padding-left: 26px;
    position: relative;
}
.lp-trust__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 14px; height: 14px;
    border-radius: 999px;
    background: rgba(234,37,39,0.12);
    background-image: radial-gradient(circle, var(--lp-brand) 0 3px, transparent 4px);
}
.lp-trust__list strong { color: var(--lp-ink); font-weight: 600; }

.lp-trust__founder {
    border-top: 1px solid var(--lp-border);
    padding-top: 20px;
    margin-top: 24px;
}
.lp-trust__founder-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    margin-bottom: 10px;
}
.lp-trust__founder-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-ink);
    line-height: 1.3;
}
.lp-trust__founder-title {
    font-size: 13px;
    color: var(--lp-ink-mute);
    margin-bottom: 10px;
}
.lp-trust__founder-email {
    display: inline-block;
    font-size: 14px;
    color: var(--lp-brand);
    text-decoration: none;
    font-weight: 600;
    transition: color .18s var(--lp-ease);
}
.lp-trust__founder-email:hover { color: var(--lp-brand-ink); text-decoration: underline; }
.lp-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.lp-form-banner {
    padding: 14px 16px;
    border-radius: var(--lp-radius);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.lp-form-banner--error   {
    background: #fff5f5;
    border-color: #f5c6c6;
    color: #9a1f21;
}
.lp-form-banner--success {
    background: #f1f8f4;
    border-color: #cfe6d6;
    color: #22623b;
}

/* =============================================================
   CHANGELOG
   ============================================================= */
.lp-changelog {
    max-width: 760px;
    margin: 0 auto;
}
.lp-release {
    padding: 28px 0;
    border-bottom: 1px solid var(--lp-border);
}
.lp-release:last-child { border-bottom: none; }
.lp-release__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-ink);
    margin: 0 0 6px;
    line-height: 1.35;
}
.lp-release__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.lp-release__date {
    font-size: 13px;
    color: var(--lp-ink-mute);
}
.lp-release__body {
    margin: 0;
    color: var(--lp-ink-soft);
    font-size: 15px;
    line-height: 1.55;
}
.lp-release__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-brand);
    background: rgba(234,37,39,0.08);
    padding: 3px 8px;
    border-radius: 999px;
}
.lp-release__module {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-ink-mute);
    background: rgba(15, 23, 42, 0.05);
    padding: 3px 8px;
    border-radius: 999px;
}
.lp-release__tech {
    margin-top: 12px;
    font-size: 13px;
    color: var(--lp-ink-mute);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.lp-release ul {
    padding-left: 20px;
    margin: 0;
    color: var(--lp-ink-soft);
}
.lp-release li { margin-bottom: 6px; font-size: 15px; line-height: 1.55; }

/* =============================================================
   FOOTER — premium dark, Scandinavian
   ============================================================= */
.lp-footer {
    background: #0b1220;
    color: #94a3b8;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding: 72px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.lp-footer *,
.lp-footer *::before,
.lp-footer *::after { box-sizing: border-box; }

.lp-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.lp-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 820px) {
    .lp-footer__top {
        grid-template-columns: 1.1fr 2.4fr;
        gap: 80px;
    }
}

/* --- Brand block ------------------------------------------- */
.lp-footer__brand { max-width: 320px; }
.lp-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
    line-height: 0;
}
.lp-footer__logo img {
    height: 26px;
    width: auto;
    display: block;
}
.lp-footer__tagline {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

/* --- Link grid --------------------------------------------- */
.lp-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
}
@media (min-width: 640px) {
    .lp-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
}

.lp-footer__col { min-width: 0; }

.lp-footer__heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 18px;
}

.lp-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.lp-footer__link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color .15s ease;
}
.lp-footer__link:hover,
.lp-footer__link:focus-visible {
    color: #ffffff;
    outline: none;
}
.lp-footer__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Bottom strip ------------------------------------------ */
.lp-footer__bottom {
    display: flex;
    justify-content: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-footer__copy {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .lp-footer { padding: 56px 0 28px; }
    .lp-footer__inner { gap: 40px; }
}

/* =============================================================
   COOKIE BANNER — minimal, landing-page style
   ============================================================= */
.lp-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 680px;
    margin: 0 auto;
    padding: 16px 18px;
    background: var(--lp-ink);
    color: #e2e8f0;
    border-radius: var(--lp-radius);
    box-shadow: 0 10px 30px rgba(15,23,42,0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--lp-ease), transform .25s var(--lp-ease);
}
.lp-cookie.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lp-cookie__text {
    flex: 1 1 260px;
    margin: 0;
}
.lp-cookie__link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lp-cookie__link:hover { color: #ffffff; opacity: 0.85; }
.lp-cookie__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
.lp-cookie__btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.lp-cookie__btn:hover,
.lp-cookie__btn:focus-visible {
    background: rgba(255,255,255,0.08);
    outline: none;
}
.lp-cookie__btn--primary {
    background: var(--lp-brand);
    border-color: var(--lp-brand);
}
.lp-cookie__btn--primary:hover,
.lp-cookie__btn--primary:focus-visible {
    background: var(--lp-brand-ink);
    border-color: var(--lp-brand-ink);
}
@media (max-width: 520px) {
    .lp-cookie {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        /* Stay on a single row: text left (flex-grows + wraps), actions right (compact) */
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .lp-cookie__text {
        flex: 1 1 auto;
        min-width: 0;             /* allow text column to shrink for the button row */
        font-size: 12px;
        line-height: 1.35;
        margin: 0;
    }
    .lp-cookie__actions {
        flex: 0 0 auto;
        gap: 4px;
    }
    .lp-cookie__btn {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 7px;
    }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    .lp-feature,
    .lp-btn,
    .lp-cookie {
        transition: none;
    }
    .lp-feature:hover { transform: none; }
}

/* ===========================================================
   Live indicator pulse — used under the "Live kontroll" H2 on
   home and workforce pages. Subtle real-time signal.
   =========================================================== */
@keyframes lp-live-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0);   }
}
@media (prefers-reduced-motion: reduce) {
    /* Respect user motion preference — keep the dot visible, drop the pulse. */
    [style*="lp-live-pulse"] { animation: none !important; }
}
