/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-950:oklch(14.1% .005 285.823);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-0{top:0}.bottom-0{bottom:0}.bottom-6{bottom:calc(var(--spacing) * 6)}.left-0{left:0}.mx-0{margin-inline:0}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.flex{display:flex}.h-2\/3{height:66.6667%}.h-3\/5{height:60%}.h-20{height:calc(var(--spacing) * 20)}.h-full{height:100%}.h-px{height:1px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-40{width:calc(var(--spacing) * 40)}.w-auto{width:auto}.w-fit{width:fit-content}.max-w-md{max-width:var(--container-md)}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-zinc-700{border-color:var(--color-zinc-700)}.bg-zinc-950{background-color:var(--color-zinc-950)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.pr-\[0\.15em\]{padding-right:.15em}.text-center{text-align:center}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.3em\]{--tw-tracking:.3em;letter-spacing:.3em}.tracking-\[0\.15em\]{--tw-tracking:.15em;letter-spacing:.15em}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-amber-400{color:var(--color-amber-400)}.text-white{color:var(--color-white)}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (hover:hover){.hover\:border-amber-400\/50:hover{border-color:#fcbb0080}@supports (color:color-mix(in lab, red, red)){.hover\:border-amber-400\/50:hover{border-color:color-mix(in oklab, var(--color-amber-400) 50%, transparent)}}.hover\:text-amber-300:hover{color:var(--color-amber-300)}}@media (min-width:40rem){.sm\:h-24{height:calc(var(--spacing) * 24)}.sm\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.sm\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.sm\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}


/* ---------- v1 "Cobalt Glass" theme (under-construction page, white / frosted glass) ---------- */

.gl-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem 4.5rem;
    overflow: hidden;
    color: #0f172a;
    background-color: #f5f8fc;
    background-image:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, .9), transparent 70%),
        linear-gradient(180deg, #f8fafd 0%, #eef3f9 100%);
}

/* faint engineering grid, a nod to precision metalwork */
.gl-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
}

/* soft colour orbs behind the glass */
.gl-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    pointer-events: none;
    will-change: transform;
}

.gl-orb-a {
    width: 34rem;
    height: 34rem;
    left: -8rem;
    top: -10rem;
    background: radial-gradient(circle, rgba(37, 99, 235, .38), rgba(37, 99, 235, 0) 70%);
    animation: gl-drift-a 18s ease-in-out infinite alternate;
}

.gl-orb-b {
    width: 30rem;
    height: 30rem;
    right: -7rem;
    bottom: -9rem;
    background: radial-gradient(circle, rgba(56, 189, 248, .34), rgba(56, 189, 248, 0) 70%);
    animation: gl-drift-b 22s ease-in-out infinite alternate;
}

.gl-orb-c {
    width: 22rem;
    height: 22rem;
    left: 50%;
    top: 55%;
    margin-left: -11rem;
    background: radial-gradient(circle, rgba(148, 163, 184, .3), rgba(148, 163, 184, 0) 70%);
    animation: gl-drift-c 26s ease-in-out infinite alternate;
}

@keyframes gl-drift-a {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(6rem, 4rem, 0) scale(1.12);
    }
}

@keyframes gl-drift-b {
    from {
        transform: translate3d(0, 0, 0) scale(1.08);
    }

    to {
        transform: translate3d(-5rem, -6rem, 0) scale(.95);
    }
}

@keyframes gl-drift-c {
    from {
        transform: translate3d(-3rem, 2rem, 0);
    }

    to {
        transform: translate3d(3rem, -3rem, 0);
    }
}

/* frosted glass card */
.gl-card {
    position: relative;
    width: 100%;
    max-width: 40rem;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .9) inset,
        0 24px 60px -20px rgba(30, 64, 175, .25),
        0 8px 24px -12px rgba(15, 23, 42, .12);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    animation: gl-rise .9s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes gl-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gl-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .18);
}

.gl-chip-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 9999px;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .5);
    animation: gl-pulse 2s ease-out infinite;
}

@keyframes gl-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .45);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
}

.gl-logo {
    display: block;
    width: auto;
    height: 4.5rem;
    margin: 2rem auto 1.75rem;
    filter: drop-shadow(0 10px 18px rgba(30, 64, 175, .18));
}

.gl-title {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .14em;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 55%, #1d4ed8 140%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gl-subtitle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 17.5rem;
    margin: .75rem auto 0;
    padding: 0 .1em;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: #2563eb;
}

.gl-divider {
    width: 3.5rem;
    height: 3px;
    margin: 1.75rem auto;
    border-radius: 9999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.gl-lead {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.gl-note {
    margin: .5rem 0 0;
    font-size: .95rem;
    color: #64748b;
}

/* indeterminate progress bar: an honest "still building" signal */
.gl-progress {
    position: relative;
    height: 4px;
    max-width: 16rem;
    margin: 2rem auto 0;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(15, 23, 42, .08);
}

.gl-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    animation: gl-slide 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes gl-slide {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

.gl-footer {
    position: absolute;
    bottom: 1.5rem;
    font-size: .75rem;
    letter-spacing: .08em;
    color: #64748b;
}

@media (min-width: 640px) {
    .gl-card {
        padding: 3.5rem 3.5rem 3rem;
    }

    .gl-logo {
        height: 5.5rem;
    }

    .gl-title {
        font-size: 4rem;
    }

    .gl-subtitle {
        max-width: 25rem;
        font-size: 1.1rem;
    }

    .gl-lead {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gl-orb,
    .gl-card,
    .gl-chip-dot,
    .gl-progress span {
        animation: none;
    }

    .gl-progress span {
        left: 0;
        width: 60%;
    }
}


/* ---------- floating theme switcher (design previews, all versions) ---------- */

.ts {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    max-width: calc(100vw - 2rem);
    padding: .35rem;
    border-radius: 9999px;
    font-size: .75rem;
    line-height: 1;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.ts-caption {
    padding: 0 .5rem 0 .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .6;
}

.ts-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .8rem;
    border-radius: 9999px;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}

.ts-btn b {
    font-weight: 700;
    opacity: .7;
}

.ts-light {
    color: #334155;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
}

.ts-light .ts-btn:hover {
    background: rgba(15, 23, 42, .06);
}

.ts-light .ts-btn.is-active {
    color: #fff;
    background: #0070bb;
}

.ts-dark {
    color: #e2e8f0;
    background: rgba(15, 23, 42, .6);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}

.ts-dark .ts-btn:hover {
    background: rgba(255, 255, 255, .1);
}

.ts-dark .ts-btn.is-active {
    color: #0f172a;
    background: #fff;
}

.ts-btn.is-active b {
    opacity: 1;
}

/* narrower screens: keep the switcher clear of the centred footer by showing only v0..v3 */
@media (max-width: 1100px) {
    .ts-caption,
    .ts-btn span {
        display: none;
    }

    .ts-btn {
        padding: .5rem .7rem;
    }
}

/* ---------- Ultra-clean Nordic Titanium Under Construction (No Card, Pure Minimalist) ---------- */

.uc-clean-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2.5rem 1.5rem 3.5rem;
    color: #0f172a;
    background-color: #ffffff;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.uc-clean-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b1f47 0%, #0070bb 50%, #38bdf8 100%);
}

.uc-clean-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
}

.uc-clean-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 44rem;
    margin: auto;
    text-align: center;
    animation: uc-fade-in 0.8s ease-out both;
}

@keyframes uc-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uc-clean-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0070bb;
    background: rgba(0, 112, 187, 0.06);
    border: 1px solid rgba(0, 112, 187, 0.15);
    margin-bottom: 2rem;
}

.uc-clean-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #0070bb;
    animation: uc-pulse 2s infinite;
}

@keyframes uc-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 112, 187, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 112, 187, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 112, 187, 0);
    }
}

.uc-clean-logo {
    display: block;
    height: 4.5rem;
    width: auto;
    margin: 0 auto 2rem;
    object-fit: contain;
}

.uc-clean-title {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.12em;
    color: #0f172a;
}

.uc-clean-subtitle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 17rem;
    margin: 0.75rem auto 0;
    padding: 0 0.1em;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0070bb;
}

.uc-clean-divider {
    width: 3rem;
    height: 2px;
    margin: 1.75rem auto;
    border-radius: 9999px;
    background: linear-gradient(90deg, #0070bb, #38bdf8);
}

.uc-clean-lead {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.uc-clean-note {
    margin: 0.75rem auto 0;
    max-width: 30rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
}

.uc-clean-progress {
    position: relative;
    height: 3px;
    max-width: 14rem;
    margin: 2.25rem auto 0;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

.uc-clean-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #0070bb, #38bdf8);
    animation: uc-slide 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes uc-slide {
    0% {
        left: -35%;
    }
    100% {
        left: 100%;
    }
}

.uc-clean-meta {
    margin-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.uc-clean-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: #94a3b8;
    text-align: center;
}

.uc-clean-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.uc-clean-footer a:hover {
    color: #0070bb;
}

/* the two ways in at the bottom of the page: the staff area and the office.
   Selectors carry .uc-clean-links so they outrank ".uc-clean-footer a" above. */

.uc-clean-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.uc-clean-links .uc-clean-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 9999px;
    background: #ffffff;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.uc-clean-links .uc-clean-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.7;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.uc-clean-links .uc-clean-link.is-primary {
    color: #0070bb;
    border-color: rgba(0, 112, 187, 0.25);
    background: rgba(0, 112, 187, 0.05);
}

.uc-clean-links .uc-clean-link.is-primary svg {
    opacity: 0.85;
}

.uc-clean-links .uc-clean-link:hover,
.uc-clean-links .uc-clean-link:focus-visible {
    color: #0070bb;
    border-color: rgba(0, 112, 187, 0.4);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.uc-clean-links .uc-clean-link:hover svg,
.uc-clean-links .uc-clean-link:focus-visible svg {
    opacity: 1;
}

.uc-clean-links .uc-clean-link:focus-visible {
    outline: 2px solid rgba(0, 112, 187, 0.35);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .uc-clean-links .uc-clean-link:hover,
    .uc-clean-links .uc-clean-link:focus-visible {
        transform: none;
    }
}

@media (min-width: 640px) {
    .uc-clean-logo {
        height: 5.25rem;
    }
    .uc-clean-title {
        font-size: 3.75rem;
    }
    .uc-clean-subtitle {
        max-width: 23rem;
        font-size: 1.05rem;
    }
    .uc-clean-lead {
        font-size: 1.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uc-clean-content,
    .uc-clean-chip-dot,
    .uc-clean-progress span {
        animation: none;
    }
    .uc-clean-progress span {
        left: 0;
        width: 60%;
    }
}


/* ---------- Nordic Titanium theme (under-construction page) ---------- */

.nt-page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #0f172a;
    background-color: #ffffff;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nt-topbar {
    height: 4px;
    background: linear-gradient(90deg, #0b1f47 0%, #0284c7 50%, #38bdf8 100%);
    width: 100%;
}

.nt-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
    z-index: 0;
}

.nt-glow {
    position: absolute;
    top: -10rem;
    right: -8rem;
    width: 38rem;
    height: 38rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.nt-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
}

.nt-brand {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
}

.nt-header-center {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.nt-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nt-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}

.nt-pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #0284c7;
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.6);
    animation: nt-pulse 2s infinite;
}

@keyframes nt-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(2, 132, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

.nt-header-btn {
    display: none;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
    text-decoration: none;
}

.nt-header-btn:hover {
    color: #0284c7;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.nt-hero {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.nt-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.nt-copy {
    max-width: 38rem;
    animation: nt-fade 0.8s ease-out both;
}

@keyframes nt-fade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0284c7;
}

.nt-eyebrow-line {
    width: 2.25rem;
    height: 2px;
    background: #0284c7;
    border-radius: 2px;
}

.nt-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.nt-title-highlight {
    color: #0284c7;
    display: inline;
}

.nt-lead {
    margin: 1.5rem 0 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
}

/* Status milestone card */
.nt-milestone {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.nt-milestone-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    margin-bottom: 0.6rem;
}

.nt-milestone-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.nt-milestone-value {
    font-weight: 800;
    color: #0284c7;
}

.nt-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.nt-progress-bar {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 9999px;
    position: relative;
}

.nt-progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: nt-shimmer 2s infinite;
}

@keyframes nt-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.nt-milestone-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: #64748b;
}

.nt-milestone-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nt-milestone-item.done {
    color: #059669;
    font-weight: 600;
}

.nt-milestone-item.pending {
    color: #0284c7;
    font-weight: 600;
}

/* action buttons */
.nt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.nt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nt-btn-primary {
    color: #ffffff !important;
    background: #0284c7;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px -10px rgba(2, 132, 199, 0.55);
}

.nt-btn-primary:hover {
    background: #0369a1;
    transform: translateY(-1.5px);
    box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.6);
    color: #ffffff !important;
}

.nt-btn-secondary {
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.nt-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1.5px);
}

/* Stats list */
.nt-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1.25rem 2.5rem;
    width: fit-content;
    margin: 2.25rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.nt-stats dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.nt-stats dd {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

/* The right-hand visual card */
.nt-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: nt-fade 1s ease-out both;
}

.nt-card {
    width: 100%;
    max-width: 490px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.16);
    color: #0f172a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -15px rgba(2, 132, 199, 0.22);
}

.nt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.nt-card-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nt-card-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.nt-card-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
}

.nt-card-subtitle {
    font-size: 0.7rem;
    color: #64748b;
}

.nt-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #ecfdf5;
    color: #059669;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid #a7f3d0;
}

.nt-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: nt-dot-pulse 2s infinite;
}

@keyframes nt-dot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.nt-card-metal {
    background: linear-gradient(135deg, #0b1f47 0%, #061533 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.nt-card-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.12;
    pointer-events: none;
    width: 190px;
    height: 190px;
}

.nt-card-tag {
    font-size: 0.7rem;
    font-family: ui-monospace, monospace;
    color: #7dd3fc;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nt-card-h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 0.4rem;
    line-height: 1.25;
    color: #ffffff;
}

.nt-card-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.nt-telemetry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    color: #94a3b8;
}

.nt-telemetry strong {
    color: #38bdf8;
}

.nt-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.nt-spec-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.8rem;
}

.nt-spec-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nt-spec-val-blue {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0284c7;
    margin-top: 0.15rem;
}

.nt-spec-val-green {
    font-size: 0.85rem;
    font-weight: 800;
    color: #059669;
    margin-top: 0.15rem;
}

.nt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
    margin-top: 1rem;
    font-size: 0.72rem;
    color: #64748b;
}

.nt-footer {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
}

/* Modal styles */
.nt-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.nt-modal-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    max-width: 480px;
    width: 100%;
    padding: 1.75rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: nt-modal-up 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nt-modal-up {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nt-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    font-size: 1.1rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Responsive queries */
@media (min-width: 900px) {
    .nt-header {
        padding: 1.75rem 3rem;
    }
    .nt-header-center {
        display: flex;
    }
    .nt-header-btn {
        display: inline-flex;
    }
    .nt-hero {
        padding: 3.5rem 3rem 5rem;
    }
    .nt-hero-grid {
        grid-template-columns: 1.12fr 1fr;
        gap: 3.5rem;
    }
    .nt-title {
        font-size: 3.75rem;
    }
    .nt-footer {
        padding: 1.5rem 3rem;
    }
}

@media (max-width: 640px) {
    .nt-status-pill {
        display: none;
    }
    .nt-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .nt-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding-bottom: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nt-pulse-dot,
    .nt-card-dot,
    .nt-progress-bar::after,
    .nt-copy,
    .nt-visual {
        animation: none;
    }
}


/* ---------- v2 "Corporate Blue" theme (white, parent-company corporate style) ---------- */

.cb-page {
    --cb-blue: #0070bb;
    --cb-blue-deep: #004f8a;
    --cb-tint: #eaf0f7;
    --cb-ink: #1f2937;
    --cb-muted: #6b7280;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--cb-ink);
    background: #fff;
    overflow: hidden;
}

.cb-topbar {
    height: 5px;
    background: linear-gradient(90deg, var(--cb-blue-deep), var(--cb-blue) 60%, #4aa3dd);
}

.cb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.cb-brand {
    height: 2.75rem;
    width: auto;
}

.cb-status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--cb-blue-deep);
    background: var(--cb-tint);
}

.cb-status-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 9999px;
    background: var(--cb-blue);
    animation: cb-blink 1.6s ease-in-out infinite;
}

@keyframes cb-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.cb-hero {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 1.5rem 3rem;
}

.cb-copy {
    max-width: 34rem;
    animation: cb-fade .8s ease-out both;
}

@keyframes cb-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.25rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cb-blue);
}

.cb-eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    background: var(--cb-blue);
}

.cb-title {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .06em;
    color: #111827;
}

.cb-title span {
    color: var(--cb-blue);
}

.cb-lead {
    margin: 1.5rem 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.cb-note {
    margin: .75rem 0 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--cb-muted);
}

.cb-progress {
    position: relative;
    height: 4px;
    max-width: 14rem;
    margin-top: 2rem;
    border-radius: 9999px;
    overflow: hidden;
    background: var(--cb-tint);
}

.cb-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    border-radius: 9999px;
    background: var(--cb-blue);
    animation: cb-slide 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes cb-slide {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* right-hand graphic: angled blue panel with the logo mark and fine stripes */
.cb-visual {
    position: relative;
    display: none;
    min-height: 24rem;
}

.cb-panel {
    position: absolute;
    inset: 0 -30% 0 10%;
    overflow: hidden;
    border-radius: 2rem 0 0 2rem;
    background:
        linear-gradient(135deg, var(--cb-blue-deep) 0%, var(--cb-blue) 55%, #2f8fd0 100%);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 79, 138, .5);
}

.cb-mark {
    position: absolute;
    right: 30%;
    bottom: -8%;
    width: 60%;
    max-width: 30rem;
    opacity: .14;
    animation: cb-float 9s ease-in-out infinite alternate;
}

@keyframes cb-float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-14px);
    }
}

.cb-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 22px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.cb-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    font-size: .75rem;
    letter-spacing: .06em;
    color: var(--cb-muted);
    border-top: 1px solid var(--cb-tint);
}

.cb-footer-sep {
    width: 1px;
    height: .9rem;
    background: #d1d5db;
}

@media (min-width: 900px) {
    .cb-header {
        padding: 1.5rem 3.5rem;
    }

    .cb-brand {
        height: 3.25rem;
    }

    .cb-hero {
        grid-template-columns: 1.05fr 1fr;
        gap: 3rem;
        padding: 1rem 0 2rem 3.5rem;
    }

    .cb-visual {
        display: block;
        min-height: 30rem;
        align-self: stretch;
    }

    .cb-title {
        font-size: 4.25rem;
    }

    .cb-lead {
        font-size: 1.5rem;
    }

    .cb-footer {
        padding: 1.25rem 3.5rem;
    }
}

@media (max-width: 640px) {
    .cb-status {
        display: none;
    }

    .cb-footer {
        flex-wrap: wrap;
        padding-bottom: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-status-dot,
    .cb-copy,
    .cb-progress span,
    .cb-mark {
        animation: none;
    }

    .cb-progress span {
        left: 0;
        width: 60%;
    }
}

/* ---------- v3 "Midnight Glass" theme (dark navy, aurora, dark frosted glass) ---------- */

.mn-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem 4.5rem;
    overflow: hidden;
    color: #e2e8f0;
    background-color: #070b14;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 78, 216, .25), transparent 70%),
        linear-gradient(180deg, #0a1020 0%, #070b14 100%);
}

.mn-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 100%);
}

.mn-aurora {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}

.mn-aurora-a {
    width: 36rem;
    height: 36rem;
    left: -10rem;
    top: -12rem;
    background: radial-gradient(circle, rgba(37, 99, 235, .55), rgba(37, 99, 235, 0) 70%);
    animation: mn-drift-a 20s ease-in-out infinite alternate;
}

.mn-aurora-b {
    width: 32rem;
    height: 32rem;
    right: -9rem;
    bottom: -10rem;
    background: radial-gradient(circle, rgba(34, 211, 238, .4), rgba(34, 211, 238, 0) 70%);
    animation: mn-drift-b 24s ease-in-out infinite alternate;
}

.mn-aurora-c {
    width: 24rem;
    height: 24rem;
    left: 50%;
    top: 50%;
    margin: -12rem 0 0 -12rem;
    background: radial-gradient(circle, rgba(129, 140, 248, .28), rgba(129, 140, 248, 0) 70%);
    animation: mn-drift-c 28s ease-in-out infinite alternate;
}

@keyframes mn-drift-a {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(7rem, 5rem, 0) scale(1.15);
    }
}

@keyframes mn-drift-b {
    from {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    to {
        transform: translate3d(-6rem, -6rem, 0) scale(.92);
    }
}

@keyframes mn-drift-c {
    from {
        transform: translate3d(-4rem, 3rem, 0);
    }

    to {
        transform: translate3d(4rem, -4rem, 0);
    }
}

.mn-card {
    position: relative;
    width: 100%;
    max-width: 40rem;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .12) inset,
        0 30px 80px -30px rgba(0, 0, 0, .8),
        0 0 0 1px rgba(15, 23, 42, .5);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    animation: mn-rise .9s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes mn-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mn-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .25);
}

.mn-chip-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 9999px;
    background: #38bdf8;
    animation: mn-pulse 2s ease-out infinite;
}

@keyframes mn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, .5);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
    }
}

.mn-logo {
    display: block;
    width: auto;
    height: 4.5rem;
    margin: 2rem auto 1.75rem;
    filter: drop-shadow(0 0 24px rgba(59, 130, 246, .35));
}

.mn-title {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .14em;
    background: linear-gradient(180deg, #fff 0%, #dbeafe 60%, #93c5fd 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mn-subtitle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 17.5rem;
    margin: .75rem auto 0;
    padding: 0 .1em;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: #38bdf8;
}

.mn-divider {
    width: 3.5rem;
    height: 3px;
    margin: 1.75rem auto;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
}

.mn-lead {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
}

.mn-note {
    margin: .5rem 0 0;
    font-size: .95rem;
    color: #94a3b8;
}

.mn-progress {
    position: relative;
    height: 4px;
    max-width: 16rem;
    margin: 2rem auto 0;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
}

.mn-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    animation: mn-slide 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes mn-slide {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

.mn-footer {
    position: absolute;
    bottom: 1.5rem;
    font-size: .75rem;
    letter-spacing: .08em;
    color: #64748b;
}

@media (min-width: 640px) {
    .mn-card {
        padding: 3.5rem 3.5rem 3rem;
    }

    .mn-logo {
        height: 5.5rem;
    }

    .mn-title {
        font-size: 4rem;
    }

    .mn-subtitle {
        max-width: 25rem;
        font-size: 1.1rem;
    }

    .mn-lead {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mn-aurora,
    .mn-card,
    .mn-chip-dot,
    .mn-progress span {
        animation: none;
    }

    .mn-progress span {
        left: 0;
        width: 60%;
    }
}


/* ---------- "Preview landing page" button on the coming-soon designs + switcher extras ---------- */

.enter-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 2rem;
    padding: .7rem 1.3rem;
    border-radius: 9999px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    transition: transform .15s, background-color .15s, border-color .15s;
}

.enter-btn:hover {
    transform: translateY(-1px);
}

.enter-btn-light {
    color: #fff;
    background: #0070bb;
    box-shadow: 0 10px 24px -10px rgba(0, 112, 187, .6);
}

.enter-btn-light:hover {
    background: #005f9e;
}

.enter-btn-dark {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.enter-btn-dark:hover {
    background: rgba(255, 255, 255, .18);
}

.ts-sep {
    width: 1px;
    height: 1.1rem;
    margin: 0 .2rem;
    background: currentColor;
    opacity: .25;
}

.ts-page {
    font-weight: 600;
}

/* ---------- landing page preview (.lp-*), themed through CSS variables on [data-theme] ---------- */

.lp {
    --lp-bg: #fff;
    --lp-bg-alt: #f3f7fb;
    --lp-text: #111827;
    --lp-muted: #6b7280;
    --lp-accent: #0070bb;
    --lp-accent-2: #4aa3dd;
    --lp-accent-ink: #fff;
    --lp-card: #fff;
    --lp-card-border: #e5e7eb;
    --lp-card-blur: 0px;
    --lp-header: rgba(255, 255, 255, .85);
    --lp-header-border: #e5e7eb;
    --lp-hero-panel: linear-gradient(135deg, #004f8a 0%, #0070bb 55%, #2f8fd0 100%);
    --lp-hero-shadow: 0 30px 60px -30px rgba(0, 79, 138, .5);
    --lp-orb-a: transparent;
    --lp-orb-b: transparent;
    --lp-grid: transparent;
    --lp-radius: 1rem;
    position: relative;
    min-height: 100vh;
    color: var(--lp-text);
    background: var(--lp-bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.lp[data-theme="glass"] {
    --lp-bg: #f5f8fc;
    --lp-bg-alt: rgba(255, 255, 255, .35);
    --lp-text: #0f172a;
    --lp-muted: #64748b;
    --lp-accent: #2563eb;
    --lp-accent-2: #38bdf8;
    --lp-card: rgba(255, 255, 255, .55);
    --lp-card-border: rgba(255, 255, 255, .85);
    --lp-card-blur: 18px;
    --lp-header: rgba(255, 255, 255, .55);
    --lp-header-border: rgba(255, 255, 255, .8);
    --lp-hero-panel: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
    --lp-hero-shadow: 0 30px 70px -30px rgba(37, 99, 235, .55);
    --lp-orb-a: rgba(37, 99, 235, .3);
    --lp-orb-b: rgba(56, 189, 248, .28);
    --lp-grid: rgba(15, 23, 42, .045);
    --lp-radius: 1.5rem;
}

.lp[data-theme="midnight"] {
    --lp-bg: #070b14;
    --lp-bg-alt: rgba(255, 255, 255, .03);
    --lp-text: #e2e8f0;
    --lp-muted: #94a3b8;
    --lp-accent: #38bdf8;
    --lp-accent-2: #3b82f6;
    --lp-accent-ink: #0f172a;
    --lp-card: rgba(255, 255, 255, .05);
    --lp-card-border: rgba(255, 255, 255, .12);
    --lp-card-blur: 20px;
    --lp-header: rgba(7, 11, 20, .7);
    --lp-header-border: rgba(255, 255, 255, .08);
    --lp-hero-panel: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #22d3ee 100%);
    --lp-hero-shadow: 0 40px 90px -30px rgba(34, 211, 238, .45);
    --lp-orb-a: rgba(37, 99, 235, .45);
    --lp-orb-b: rgba(34, 211, 238, .3);
    --lp-grid: rgba(148, 163, 184, .06);
    --lp-radius: 1.5rem;
}

.lp[data-theme="furnace"] {
    --lp-bg: #0c0806;
    --lp-bg-alt: rgba(255, 255, 255, .03);
    --lp-text: #fafaf9;
    --lp-muted: #a8a29e;
    --lp-accent: #f59e0b;
    --lp-accent-2: #f97316;
    --lp-accent-ink: #1c1917;
    --lp-card: rgba(255, 255, 255, .04);
    --lp-card-border: rgba(251, 191, 36, .18);
    --lp-card-blur: 12px;
    --lp-header: rgba(12, 8, 6, .75);
    --lp-header-border: rgba(251, 191, 36, .12);
    --lp-hero-panel: linear-gradient(160deg, #7c2d12 0%, #ea580c 45%, #fbbf24 100%);
    --lp-hero-shadow: 0 40px 90px -30px rgba(249, 115, 22, .55);
    --lp-orb-a: rgba(234, 88, 12, .35);
    --lp-orb-b: rgba(220, 38, 38, .35);
    --lp-grid: transparent;
    --lp-radius: 1.25rem;
}

/* background decoration (orbs + grid) — visible only on the glass / dark themes */
.lp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.lp-bg-a,
.lp-bg-b {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    transform: translateZ(0);
    will-change: transform;
}

/* the corporate theme has no orbs or grid, so skip painting the layer entirely */
.lp[data-theme="corporate"] .lp-bg {
    display: none;
}

.lp-bg-a {
    width: 40rem;
    height: 40rem;
    left: -12rem;
    top: -14rem;
    background: radial-gradient(circle, var(--lp-orb-a), transparent 70%);
}

.lp-bg-b {
    width: 34rem;
    height: 34rem;
    right: -10rem;
    top: 28rem;
    background: radial-gradient(circle, var(--lp-orb-b), transparent 70%);
}

.lp-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--lp-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--lp-grid) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}

.lp[data-theme="furnace"] .lp-bg::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40vh;
    background:
        radial-gradient(ellipse 120% 70% at 50% 110%, rgba(249, 115, 22, .35), transparent 70%),
        radial-gradient(ellipse 160% 90% at 50% 115%, rgba(127, 29, 29, .5), transparent 80%);
}

/* keep content above the background layer (the header is sticky, so it is already positioned) */
.lp > :not(.lp-bg):not(.lp-header) {
    position: relative;
    z-index: 1;
}

.lp-container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* header */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--lp-header);
    border-bottom: 1px solid var(--lp-header-border);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.lp-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 4.5rem;
}

.lp-brand img {
    display: block;
    height: 2.5rem;
    width: auto;
}

.lp-nav {
    display: none;
    gap: 1.75rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-nav a {
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.lp-nav a:hover {
    color: var(--lp-text);
    border-color: var(--lp-accent);
}

.lp-header-cta {
    display: none;
}

/* buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .8rem 1.5rem;
    border-radius: 9999px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: transform .15s, background-color .15s, border-color .15s, color .15s;
}

.lp-btn:hover {
    transform: translateY(-1px);
}

.lp-btn-primary {
    color: var(--lp-accent-ink);
    background: var(--lp-accent);
    box-shadow: 0 12px 28px -12px var(--lp-accent);
}

.lp-btn-ghost {
    color: var(--lp-text);
    border: 1px solid var(--lp-card-border);
    background: var(--lp-card);
}

.lp-btn-ghost:hover {
    border-color: var(--lp-accent);
}

/* typography */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lp-accent);
}

.lp-eyebrow::before {
    content: "";
    width: 2.25rem;
    height: 2px;
    background: var(--lp-accent);
}

.lp-h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.01em;
}

.lp-h1 span {
    color: var(--lp-accent);
}

.lp-h2 {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.lp-prose,
.lp-prose p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lp-muted);
}

.lp-prose p + p {
    margin-top: 1rem;
}

.lp-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--lp-accent);
}

.lp-link:hover {
    text-decoration: underline;
}

/* hero */
.lp-hero {
    padding: 3.5rem 0 3rem;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.lp-hero-copy {
    animation: lp-fade .8s ease-out both;
}

@keyframes lp-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-hero-text {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lp-muted);
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1.5rem 2.5rem;
    width: fit-content;
    margin: 2.5rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--lp-card-border);
}

.lp-stats dt {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-stats dd {
    margin: .25rem 0 0;
    font-size: 1rem;
    font-weight: 700;
}

.lp-hero-visual {
    position: relative;
    min-height: 18rem;
}

.lp-hero-panel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--lp-radius);
    background: var(--lp-hero-panel);
    box-shadow: var(--lp-hero-shadow);
}

.lp[data-theme="corporate"] .lp-hero-panel {
    border-radius: 2rem 0 0 2rem;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.lp-hero-panel img {
    position: absolute;
    right: 8%;
    bottom: -10%;
    width: 62%;
    max-width: 26rem;
    opacity: .16;
    animation: lp-float 9s ease-in-out infinite alternate;
}

@keyframes lp-float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-14px);
    }
}

.lp-hero-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 22px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* sections */
.lp-section {
    padding: 4rem 0;
}

.lp-section-alt {
    background: var(--lp-bg-alt);
    border-top: 1px solid var(--lp-card-border);
    border-bottom: 1px solid var(--lp-card-border);
}

.lp-section-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.lp-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* product cards */
.lp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.lp-card {
    padding: 1.75rem;
    border-radius: var(--lp-radius);
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    -webkit-backdrop-filter: blur(var(--lp-card-blur));
    backdrop-filter: blur(var(--lp-card-blur));
    transition: transform .2s, border-color .2s;
}

.lp-card:hover {
    transform: translateY(-3px);
    border-color: var(--lp-accent);
}

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    color: var(--lp-accent);
    background: color-mix(in srgb, var(--lp-accent) 12%, transparent);
}

.lp-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.lp-card h3 {
    margin: 1.25rem 0 .5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.lp-card p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

/* strengths list */
.lp-strengths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-strengths li {
    display: flex;
    gap: 1.25rem;
}

.lp-strength-num {
    flex: none;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lp-accent);
    opacity: .9;
}

.lp-strengths h3 {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.lp-strengths p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

/* group */
.lp-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.lp-group-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border-radius: var(--lp-radius);
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    -webkit-backdrop-filter: blur(var(--lp-card-blur));
    backdrop-filter: blur(var(--lp-card-blur));
}

.lp-group-logo img {
    width: 100%;
    max-width: 16rem;
    height: auto;
}

/* contact */
.lp-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.lp-address {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 2rem;
    font-style: normal;
    line-height: 1.7;
    border-radius: var(--lp-radius);
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    -webkit-backdrop-filter: blur(var(--lp-card-blur));
    backdrop-filter: blur(var(--lp-card-blur));
}

.lp-address strong {
    font-size: 1.05rem;
}

.lp-address-note {
    font-size: .85rem;
    color: var(--lp-muted);
}

.lp-address .lp-btn {
    align-self: flex-start;
    margin-top: .75rem;
}

/* footer */
.lp-footer {
    padding: 2rem 0 5.5rem;
    font-size: .8rem;
    color: var(--lp-muted);
    border-top: 1px solid var(--lp-card-border);
}

.lp-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

.lp-footer-links {
    display: flex;
    gap: 1.25rem;
}

.lp-footer-links a:hover {
    color: var(--lp-accent);
}

@media (min-width: 768px) {
    .lp-nav {
        display: flex;
    }

    .lp-header-cta {
        display: inline-flex;
        padding: .6rem 1.2rem;
        font-size: .85rem;
    }

    .lp-h1 {
        font-size: 3.25rem;
    }

    .lp-h2 {
        font-size: 2.25rem;
    }

    .lp-section {
        padding: 5.5rem 0;
    }

    .lp-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-strengths {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
    }

    .lp-two-col,
    .lp-group,
    .lp-contact {
        grid-template-columns: 1fr 1.3fr;
        gap: 3.5rem;
    }

    .lp-group {
        grid-template-columns: 1fr 1.6fr;
    }
}

@media (min-width: 1024px) {
    .lp-hero {
        padding: 5rem 0 4rem;
    }

    .lp-hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 3.5rem;
    }

    .lp-hero-visual {
        min-height: 30rem;
    }

    .lp-h1 {
        font-size: 3.75rem;
    }
}

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

    .lp-hero-copy,
    .lp-hero-panel img {
        animation: none;
    }
}


/* ---------- sign-in (.si-*) ----------
   The signed-in half of the public site: people working away from the factory
   network reach it over the internet, mostly from a phone. Same white ground
   and HOEI blue as the coming-soon page and the office sign-in, so the three
   read as one platform. Plain CSS like the rest of this file, because the
   Tailwind CLI is not on this machine. */

/* the layout paints the body dark for the rest of the site; this page asks for
   the light one through $this->params['bodyClass'] */
.si-body {
    background: #ffffff;
    color: #0f172a;
}

.si-page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.25rem 1rem 1.5rem;
    overflow: hidden;
    background: #ffffff;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.si-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b1f47 0%, #0070bb 50%, #38bdf8 100%);
}

.si-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
}

.si-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.si-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.si-brand-logo {
    display: block;
    height: 1.75rem;
    width: auto;
    object-fit: contain;
}

.si-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .8rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 9999px;
    background: #ffffff;
    font-size: .72rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.si-back:hover,
.si-back:focus-visible {
    color: #0070bb;
    border-color: rgba(0, 112, 187, .4);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.si-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.si-card {
    width: 100%;
    max-width: 23rem;
    padding: 2rem 1.5rem 1.75rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 20px 45px -25px rgba(15, 23, 42, .35);
}

.si-title {
    margin: 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #0f172a;
}

.si-sub {
    margin: .4rem 0 0;
    text-align: center;
    font-size: .8125rem;
    line-height: 1.55;
    color: #64748b;
}

.si-form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.si-label {
    display: block;
    margin-bottom: .375rem;
    font-size: .75rem;
    font-weight: 600;
    color: #334155;
}

/* the field icon sits inside the box, so the input carries the left padding */
.si-control {
    position: relative;
    display: block;
}

.si-icon {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color .15s;
}

.si-input {
    display: block;
    width: 100%;
    border-radius: .625rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: .7rem .875rem .7rem 2.4rem;
    /* 16px: anything smaller and iOS zooms the page when the field is focused */
    font-size: 1rem;
    line-height: 1.5rem;
    color: #0f172a;
    transition: border-color .15s, box-shadow .15s;
}

.si-input::placeholder {
    color: #94a3b8;
}

.si-input:focus {
    outline: none;
    border-color: #0070bb;
    box-shadow: 0 0 0 3px rgba(0, 112, 187, .15);
}

.si-control:focus-within .si-icon {
    color: #0070bb;
}

.si-error {
    margin-top: .375rem;
    font-size: .75rem;
    color: #dc2626;
}

.si-error:empty {
    display: none;
}

.si-field.has-error .si-input {
    border-color: #ef4444;
}

.si-field.has-error .si-input:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.si-field.has-error .si-icon {
    color: #ef4444;
}

.si-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    color: #475569;
    cursor: pointer;
}

.si-check input {
    width: 1rem;
    height: 1rem;
    accent-color: #0070bb;
}

.si-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .25rem;
    border: 0;
    border-radius: .75rem;
    background: linear-gradient(180deg, #0086dd, #0070bb);
    padding: .8rem 1rem;
    font-size: .95rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 12px 24px -14px rgba(0, 112, 187, .9);
    cursor: pointer;
    transition: filter .15s, transform .15s, box-shadow .15s;
}

.si-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -14px rgba(0, 112, 187, .95);
}

.si-btn:active {
    transform: translateY(0);
}

.si-btn:focus-visible {
    outline: 2px solid rgba(0, 112, 187, .45);
    outline-offset: 2px;
}

.si-foot {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    font-size: .6875rem;
    letter-spacing: .04em;
    color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
    .si-back:hover,
    .si-back:focus-visible,
    .si-btn:hover {
        transform: none;
    }
}

/* ---------- portal shell ----------
   The page the sign-in lands on, in the same white and HOEI blue: a phone-first
   shell the delivery screens will hang off. The ground is a shade off white so
   the white header and cards on it read as raised. */

.po-body {
    background: #f8fafc;
    color: #0f172a;
}

.po-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.po-head {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: .625rem 1rem;
}

/* the same gradient rule that tops the sign-in and the coming-soon page */
.po-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b1f47 0%, #0070bb 50%, #38bdf8 100%);
}

.po-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

.po-logo {
    display: block;
    height: 1.6rem;
    width: auto;
    object-fit: contain;
}

.po-who {
    margin-left: auto;
    flex: 0 1 auto;
    text-align: right;
    min-width: 0;
}

.po-user,
.po-role {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.po-user {
    font-size: .8125rem;
    font-weight: 600;
    color: #0f172a;
}

.po-role {
    font-size: .6875rem;
    letter-spacing: .04em;
    color: #64748b;
}

.po-signout {
    flex: none;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 9999px;
    background: #ffffff;
    padding: .4rem .8rem;
    font-size: .75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: color .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.po-signout:hover,
.po-signout:focus-visible {
    color: #0070bb;
    border-color: rgba(0, 112, 187, .4);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.po-main {
    flex: 1;
    padding: 1.5rem 1rem 2.5rem;
}

.po-card {
    max-width: 32rem;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #ffffff;
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, .4);
}

.po-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.po-card-text {
    margin: .625rem 0 0;
    font-size: .8125rem;
    line-height: 1.7;
    color: #475569;
}

.po-card-note {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
    font-size: .6875rem;
    color: #94a3b8;
}

.po-foot {
    padding: 0 1rem 1.5rem;
    text-align: center;
    font-size: .6875rem;
    letter-spacing: .04em;
    color: #94a3b8;
}

@media (min-width: 640px) {
    .po-head {
        padding: .75rem 1.5rem;
    }

    .po-main {
        padding: 2rem 1.5rem 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .po-signout:hover,
    .po-signout:focus-visible {
        transform: none;
    }
}

/* a narrow phone has to fit the lockup, the signed-in name and Sign out on one line */
@media (max-width: 400px) {
    .po-logo {
        height: 1.3rem;
    }
}

/* ---------- flood survey (.sv-*) ----------
   The public form at /survey, inside the sign-in page's frame (.si-*): a
   slightly wider card, inputs without the field icon, and the answers as
   rows big enough to tap on a phone. */
.sv-card {
    max-width: 24rem;
    padding: 1.5rem 1.25rem 1.25rem;
}

.sv-card .si-title {
    font-size: 1.15rem;
}

.sv-card .si-form {
    margin-top: 1.1rem;
    gap: .65rem;
}

.sv-card .si-label {
    margin-bottom: .25rem;
}

.sv-input {
    padding: .45rem .75rem;
    border-radius: .5rem;
}

.sv-card .si-btn {
    padding: .6rem 1rem;
    border-radius: .6rem;
    font-size: .875rem;
}

.sv-choices {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.sv-choice {
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #ffffff;
    padding: .45rem .75rem;
    font-size: .8125rem;
    line-height: 1.35;
    color: #0f172a;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.sv-choice input {
    flex: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #0070bb;
}

.sv-choice:hover {
    border-color: rgba(0, 112, 187, .5);
}

.sv-choice:has(input:checked) {
    border-color: #0070bb;
    background: #f0f7fc;
    box-shadow: 0 0 0 3px rgba(0, 112, 187, .12);
}

.sv-choice:has(input:focus-visible) {
    outline: 2px solid rgba(0, 112, 187, .45);
    outline-offset: 2px;
}

.si-field.has-error .sv-choice {
    border-color: #fca5a5;
}

/* the honeypot: out of sight and out of reach, but still in the form */
.sv-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sv-again {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: .875rem;
}

.sv-again a {
    color: #0070bb;
    font-weight: 600;
    text-decoration: none;
}

.sv-again a:hover {
    text-decoration: underline;
}

/* 16px stays on phones, where anything smaller makes iOS zoom on focus */
@media (min-width: 640px) {
    .sv-input {
        font-size: .875rem;
        line-height: 1.25rem;
    }
}

/* the Thai link on the coming-soon page: no capitals, and no tracking, which
   pulls Thai vowel and tone marks apart */
.uc-clean-links .uc-clean-link.is-th {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.8rem;
}

.sv-nw {
    display: inline-block;
    white-space: nowrap;
}

/* the "Other" text box follows its radio: hidden until that answer is picked */
.si-form:not(:has(.sv-choices input[value="4"]:checked)) .sv-other {
    display: none;
}

.sv-other {
    margin-top: -.3rem;
}

/* ---------- flood survey: QR code and copy link ----------
   Under the form on a phone, beside it from 768px. */
.sv-main {
    flex-direction: column;
    gap: 1rem;
}

.sv-share {
    max-width: 24rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.sv-share-qr {
    display: block;
    width: 10rem;
    height: 10rem;
}

.sv-share-text {
    margin: 0;
    font-size: .8125rem;
    color: #64748b;
}

.sv-share-url {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #f8fafc;
    padding: .4rem .5rem;
    font-size: .6875rem;
    color: #334155;
    text-align: center;
}

.sv-share-url:focus {
    outline: none;
    border-color: #0070bb;
}

.sv-share-btn {
    width: 100%;
    border: 1px solid rgba(0, 112, 187, .35);
    border-radius: .5rem;
    background: rgba(0, 112, 187, .06);
    padding: .5rem .75rem;
    font-size: .8125rem;
    font-weight: 700;
    color: #0070bb;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.sv-share-btn:hover {
    background: rgba(0, 112, 187, .12);
}

.sv-share-btn.is-done {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}

@media (min-width: 768px) {
    .sv-main {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        padding-top: 3rem;
    }

    .sv-share {
        width: 15rem;
        flex: none;
    }
}

/* ---------- surveys built in HMT-ERP (.sf-*) ----------
   /survey/<code> (frontend/views/survey/form.php, docs/surveys.md): the flood
   survey's card and answer rows (.sv-*), wider, with sections, help lines,
   scales and the Back / Next / Send bar. --sf-accent is the survey's own colour
   when HMT-ERP sends one. */
.sf-main {
    padding-top: 1.5rem;
}

.sf-card {
    --sf-accent: #0070bb;
    width: 100%;
    max-width: 40rem;
    border-top: 4px solid var(--sf-accent);
}

.sf-card .si-btn {
    background: var(--sf-accent);
}

.sf-kicker {
    margin: 0 0 .35rem;
    font-size: .75rem;
    font-weight: 600;
    color: #64748b;
}

.sf-title {
    line-height: 1.35;
}

.sf-pre {
    white-space: pre-line;
}

.sf-test {
    display: inline-block;
    margin: 0 0 .5rem;
    border-radius: 999px;
    background: #fef3c7;
    padding: .1rem .6rem;
    font-size: .6875rem;
    font-weight: 700;
    color: #92400e;
}

.sf-legend {
    margin: .6rem 0 0;
    font-size: .75rem;
    color: #64748b;
}

.sf-req {
    color: #dc2626;
}

.sf-form {
    margin-top: 1rem;
}

.sf-section {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.sf-form:not(.sf-js) .sf-section + .sf-section {
    margin-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.25rem;
}

.sf-section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.sf-heading {
    margin: .25rem 0 0;
    font-size: .9375rem;
    font-weight: 700;
    color: #0f172a;
}

.sf-note {
    margin: 0;
    font-size: .8125rem;
    color: #334155;
}

.sf-field {
    margin: 0;
}

.sf-label {
    display: block;
    line-height: 1.4;
}

.sf-help {
    margin: -.1rem 0 .4rem;
    font-size: .75rem;
    line-height: 1.4;
    color: #64748b;
}

.sf-input {
    padding-left: .75rem;
}

textarea.sf-input {
    resize: vertical;
    min-height: 5.5rem;
}

.sf-unit {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sf-unit span {
    flex: none;
    font-size: .8125rem;
    color: #475569;
}

.sf-card .sv-choice:has(input:checked) {
    border-color: var(--sf-accent);
}

.sf-card .sv-choice input {
    accent-color: var(--sf-accent);
}

/* the "Other" text follows its tick */
.sv-choices:not(:has(.sf-other-pick:checked)) .sf-other {
    display: none;
}

.sf-scale {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.sf-scale-pt {
    position: relative;
    display: flex;
    flex: 1 1 2.25rem;
    min-width: 2.25rem;
    max-width: 3.25rem;
    cursor: pointer;
}

.sf-scale-pt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-scale-pt span {
    display: flex;
    width: 100%;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #ffffff;
    font-size: .875rem;
    font-weight: 600;
    color: #0f172a;
}

.sf-scale-pt input:checked + span {
    border-color: var(--sf-accent);
    background: var(--sf-accent);
    color: #ffffff;
}

.sf-scale-pt input:focus-visible + span {
    outline: 2px solid var(--sf-accent);
    outline-offset: 2px;
}

.sf-scale-ends {
    display: flex;
    justify-content: space-between;
    margin-top: .3rem;
    font-size: .6875rem;
    color: #64748b;
}

.sf-form-error {
    margin: 0 0 .75rem;
}

.sf-nav {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
}

.sf-nav .si-btn {
    flex: 1 1 auto;
}

.sf-back {
    flex: none;
    border: 1px solid #cbd5e1;
    border-radius: .6rem;
    background: #ffffff;
    padding: .6rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.sf-back:hover {
    border-color: #94a3b8;
}

/* a display rule above must never beat the hidden attribute the script sets */
.sf-form [hidden] {
    display: none !important;
}

/* ---------- surveys, phase 2: pictures, grids, rankings, files ---------- */
.sf-header-img {
    display: block;
    width: 100%;
    max-height: 11rem;
    margin: 0 0 1rem;
    object-fit: cover;
    border-radius: .5rem;
}

.sf-picture {
    display: block;
    max-width: 100%;
    max-height: 20rem;
    margin: .25rem 0 .6rem;
    border-radius: .5rem;
    object-fit: contain;
}

.sf-grid {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.sf-grid-row {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: .5rem;
}

.sf-grid-label {
    margin: 0 0 .3rem;
    font-size: .8125rem;
    color: #0f172a;
}

.sf-grid-choices {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.sf-pill {
    position: relative;
    cursor: pointer;
}

.sf-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-pill span {
    display: inline-block;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    padding: .3rem .75rem;
    font-size: .8125rem;
    color: #0f172a;
}

.sf-pill input:checked + span {
    border-color: var(--sf-accent);
    background: var(--sf-accent);
    color: #ffffff;
}

.sf-pill input:focus-visible + span {
    outline: 2px solid var(--sf-accent);
    outline-offset: 2px;
}

.sf-rank {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-rank-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #ffffff;
    padding: .35rem .6rem;
    font-size: .8125rem;
    color: #0f172a;
}

.sf-rank-pos {
    flex: none;
    width: 3.5rem;
    border: 1px solid #cbd5e1;
    border-radius: .4rem;
    background: #f8fafc;
    padding: .25rem;
    font-size: 1rem;
}

.sf-file {
    display: block;
    width: 100%;
    border: 1px dashed #94a3b8;
    border-radius: .5rem;
    background: #f8fafc;
    padding: .6rem;
    font-size: .8125rem;
}

/* ------------------------------------------------------------------
   Driver pages (frontend/views/portal/jobs.php, job.php): a driver's
   delivery rounds and the two presses, inside the portal's white shell
   (.po-*). Built for a phone held in one hand: large targets, 16px text.
   ------------------------------------------------------------------ */
.dj-main {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 34rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.dj-title {
    margin: 0 0 .25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.dj-empty {
    margin: 0;
    border: 1px dashed #cbd5e1;
    border-radius: .75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #64748b;
}

.dj-card,
.dj-sheet {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
    padding: .9rem 1rem;
    color: #0f172a;
    text-decoration: none;
}

.dj-card:hover,
.dj-card:focus-visible {
    border-color: #0070bb;
    outline: none;
}

.dj-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.dj-customer {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.dj-when {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0070bb;
}

.dj-meta {
    font-size: .875rem;
    color: #64748b;
}

.dj-state {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: .2rem .65rem;
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.dj-state-waiting {
    background: #f1f5f9;
    color: #475569;
}

.dj-state-arrived {
    background: #fef3c7;
    color: #92400e;
}

.dj-state-done {
    background: #dcfce7;
    color: #166534;
}

.dj-back {
    align-self: flex-start;
    padding: .35rem 0;
    font-size: .9375rem;
    font-weight: 600;
    color: #0070bb;
    text-decoration: none;
}

.dj-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem 1rem;
    margin: .4rem 0 0;
    font-size: 1rem;
}

.dj-facts dt {
    color: #64748b;
}

.dj-facts dd {
    margin: 0;
    text-align: right;
    word-break: break-word;
}

.dj-fact-strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0070bb;
}

.dj-error {
    margin: 0;
    border: 1px solid #fecaca;
    border-radius: .75rem;
    background: #fef2f2;
    padding: .75rem 1rem;
    color: #b91c1c;
}

.dj-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.dj-btn {
    width: 100%;
    min-height: 4rem;
    border: 0;
    border-radius: .9rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

.dj-btn:disabled {
    opacity: .6;
    cursor: default;
}

.dj-btn-arrived {
    background: #0070bb;
}

.dj-btn-delivered {
    background: #15803d;
}

.dj-photo-label {
    font-size: .9375rem;
    font-weight: 600;
    color: #334155;
}

.dj-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 9rem;
    border: 2px dashed #94a3b8;
    border-radius: .9rem;
    background: #f8fafc;
    padding: .75rem;
    cursor: pointer;
}

/* the input covers the box, so a tap anywhere opens the camera, and the browser's own "required" message still has a place to show */
.dj-photo-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
}

.dj-photo-preview {
    max-width: 100%;
    max-height: 16rem;
    border-radius: .5rem;
}

.dj-photo-prompt {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0070bb;
}

/* ------------------------------------------------------------------
   Driver layout (frontend/views/layouts/driver.php): a top bar, a menu
   at the side and the page beside it, as the office is laid out, in the
   white and HOEI blue of the sign-in. Under 900px the menu is a drawer
   opened by the top bar's button — the #dv-nav-toggle checkbox, no script.
   ------------------------------------------------------------------ */
.dv-body {
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.dv-app {
    --dv-side: 15rem;
    --dv-top: 3.5rem;
    min-height: 100vh;
}

.dv-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dv-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: .75rem;
    height: var(--dv-top);
    padding: 0 1rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.dv-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0070bb, #38bdf8);
}

.dv-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: -.5rem;
    border-radius: .5rem;
    color: #334155;
    cursor: pointer;
}

.dv-logo {
    height: 1.75rem;
    width: auto;
}

.dv-who {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    min-width: 0;
    line-height: 1.25;
}

.dv-user,
.dv-role {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dv-user {
    font-size: .9375rem;
    font-weight: 600;
}

.dv-role {
    font-size: .75rem;
    color: #64748b;
}

.dv-side {
    position: fixed;
    top: var(--dv-top);
    bottom: 0;
    left: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    width: var(--dv-side);
    padding: .75rem .6rem;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    transform: translateX(-100%);
    transition: transform .2s ease;
}

.dv-shade {
    position: fixed;
    inset: var(--dv-top) 0 0 0;
    z-index: 20;
    display: none;
    background: rgba(15, 23, 42, .4);
}

.dv-toggle:checked ~ .dv-side {
    transform: none;
}

.dv-toggle:checked ~ .dv-shade {
    display: block;
}

.dv-nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dv-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 3rem;
    padding: 0 .85rem;
    border-radius: .6rem;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.dv-nav-item:hover,
.dv-nav-item:focus-visible {
    background: #f1f5f9;
    outline: none;
}

.dv-nav-item.is-active {
    background: #e0f2fe;
    color: #0070bb;
}

.dv-signout-form {
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
}

.dv-signout {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: .6rem;
    background: #ffffff;
    font-size: .9375rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.dv-signout:hover,
.dv-signout:focus-visible {
    border-color: #0070bb;
    color: #0070bb;
    outline: none;
}

.dv-main {
    padding: calc(var(--dv-top) + 1rem) 1rem 2rem;
}

.dv-title {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.dv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: .75rem;
}

.dv-card {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
    padding: 1rem;
    color: #0f172a;
    text-decoration: none;
}

.dv-card:hover,
.dv-card:focus-visible {
    border-color: #0070bb;
    outline: none;
}

.dv-card-label {
    font-size: .9375rem;
    font-weight: 600;
    color: #64748b;
}

.dv-card-figure {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0070bb;
}

.dv-card-note {
    font-size: .875rem;
    color: #64748b;
}

@media (min-width: 900px) {
    .dv-menu-btn,
    .dv-shade,
    .dv-toggle:checked ~ .dv-shade {
        display: none;
    }

    .dv-side {
        transform: none;
    }

    .dv-main {
        padding-left: calc(var(--dv-side) + 1.5rem);
        padding-right: 1.5rem;
    }
}

/* inside the driver layout the delivery pages sit at the left of the page area, not centred */
.dv-main .dj-main {
    margin-left: 0;
}

/* the four steps of a round with their times (frontend/views/portal/_round.php) */
.dj-steps {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
}

.dj-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.75rem;
    padding: .4rem 1rem;
    color: #64748b;
}

.dj-step + .dj-step {
    border-top: 1px solid #f1f5f9;
}

.dj-step-time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

.dj-step.is-done {
    color: #166534;
}

.dj-step.is-next {
    color: #0f172a;
    font-weight: 700;
}

.dj-btn-ghost {
    min-height: 3.25rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 1.0625rem;
    color: #334155;
}

/* the later steps, for a driver who left one out */
.dj-skip {
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
}

.dj-skip summary {
    min-height: 2.75rem;
    padding: .7rem 1rem;
    font-size: .9375rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.dj-skip-body {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 0 1rem 1rem;
}

/* a round that takes no press any more, on the page a job sheet's QR code opens */
.dj-closed {
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #475569;
}

.dj-closed-done {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

/* History (frontend/views/portal/history.php): the month picker and the month's sums */
.dj-month {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.dj-month-label {
    font-size: .9375rem;
    font-weight: 600;
    color: #334155;
}

.dj-month-select {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: .6rem;
    background: #ffffff;
    padding: 0 .75rem;
    font-size: 16px;
    color: #0f172a;
}

.dj-month-btn {
    min-height: 2.75rem;
    border: 0;
    border-radius: .6rem;
    background: #0070bb;
    padding: 0 1.1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

.dj-sums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin: 0;
}

.dj-sum {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #ffffff;
    padding: .7rem .8rem;
}

.dj-sum dt {
    font-size: .8125rem;
    color: #64748b;
}

.dj-sum dd {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0070bb;
    word-break: break-word;
}

/* the page a job sheet's QR code opens (frontend/views/layouts/round.php): the top bar and no menu */
.dv-app-bare .dv-main {
    padding-left: 1rem;
    padding-right: 1rem;
}

.dv-app-bare .dv-main .dj-main {
    margin-left: auto;
}

/* the first-PIN page (frontend/views/site/driver-pin.php) has no icon inside its inputs */
.si-input-plain {
    padding-left: .875rem;
}

/* the drivers' way in, under the sign-in form */
.si-driver-link {
    display: block;
    margin-top: 1rem;
    text-align: center;
    font-size: .875rem;
    font-weight: 400;
    color: #0070bb;
    text-decoration: none;
}

/* step 2 of the first-PIN page: whose number it is */
.si-who {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: .25rem 0 1rem;
    border: 1px solid #e2e8f0;
    border-radius: .625rem;
    background: #f8fafc;
    padding: .7rem .875rem;
    text-align: center;
}

.si-who-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
}

.si-who-sub {
    font-size: .8125rem;
    color: #64748b;
}

.si-driver-link:hover,
.si-driver-link:focus-visible {
    text-decoration: underline;
    outline: none;
}
