/* ============================================================
   UCSM public landing page. Self-contained; isolated from the
   application shell via the .ucsm-landing body class.
   Cobalt palette, theme-aware (respects the visitor's OS theme).
   ============================================================ */

:root {
    --ground: #F4F6FC;
    --surface: #FFFFFF;
    --surface-2: #EDF1FA;
    --line: rgba(20, 33, 61, 0.12);
    --line-strong: rgba(20, 33, 61, 0.22);
    --ink: #131C33;
    --ink-dim: #333E5E;
    --ink-faint: #515D7C;
    --accent: #2A55C8;
    --accent-quiet: rgba(42, 85, 200, 0.10);
    --accent-ink: #FFFFFF;
    --lift: 0 1px 2px rgba(20, 33, 61, 0.05), 0 12px 30px rgba(20, 33, 61, 0.07);
    --focus: #2A55C8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ground: #0A1020;
        --surface: #111A30;
        --surface-2: #16223D;
        --line: rgba(122, 152, 224, 0.14);
        --line-strong: rgba(122, 152, 224, 0.28);
        --ink: #EEF2FB;
        --ink-dim: #AEBAD8;
        --ink-faint: #808FB6;
        --accent: #5B8CFF;
        --accent-quiet: rgba(91, 140, 255, 0.13);
        --accent-ink: #0A1020;
        --lift: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px rgba(0, 0, 0, 0.42);
        --focus: #8CB0FF;
    }
}

.ucsm-landing *,
.ucsm-landing *::before,
.ucsm-landing *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.ucsm-landing {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16.5px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

.ucsm-landing a { color: inherit; text-decoration: none; }
.ucsm-landing img { max-width: 100%; display: block; }
.ucsm-landing svg { display: block; }
.ucsm-landing :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.ucsm-landing .wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 6vw, 72px); }

.ucsm-landing .eyebrow {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.17em;
    text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.ucsm-landing h1,
.ucsm-landing h2,
.ucsm-landing h3 {
    font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700; text-wrap: balance; margin: 0;
}
.ucsm-landing h1 { font-size: clamp(2.15rem, 1.25rem + 3.7vw, 3.4rem); line-height: 1.05; letter-spacing: -0.023em; }
.ucsm-landing h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.05rem); line-height: 1.14; letter-spacing: -0.014em; font-weight: 650; }
.ucsm-landing h3 { font-size: 1.05rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.006em; }
.ucsm-landing p { margin: 0; }

/* ---------- ribbon ---------- */
.ucsm-landing .ribbon {
    display: flex; align-items: center; gap: 14px;
    padding: 9px clamp(20px, 5vw, 40px);
    background: var(--surface); border-bottom: 1px solid var(--line);
    font-size: 0.82rem; color: var(--ink-dim);
}
.ucsm-landing .ribbon[hidden] { display: none; }
.ucsm-landing .ribbon__tag {
    font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent); flex: none; white-space: nowrap;
    padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 3px;
}
.ucsm-landing .ribbon__text { flex: 1 1 auto; min-width: 0; }
.ucsm-landing .ribbon__x {
    flex: none; background: none; border: 0; cursor: pointer; color: var(--ink-faint);
    font-size: 1.15rem; line-height: 1; padding: 4px 6px; border-radius: 3px;
}
.ucsm-landing .ribbon__x:hover { color: var(--ink); background: var(--accent-quiet); }

/* ---------- header (auth0-style: full-bleed bar, floats transparently over the
   hero image, turns into a solid dark bar once you scroll past it) ---------- */
.ucsm-landing .site {
    position: sticky; top: 0; z-index: 40;
    /* A downward scrim so the nav + button never sit unreadably on the bright
       part of the hero photo. Replaced by a solid bar once you scroll past it. */
    background: linear-gradient(180deg, rgba(5, 10, 24, 0.82) 0%, rgba(5, 10, 24, 0.42) 55%, rgba(5, 10, 24, 0) 100%);
    border-bottom: 1px solid transparent;
    transition: background .22s ease, border-color .22s ease;
}
.ucsm-landing .site__inner {
    display: flex; align-items: center; gap: 28px;
    width: 100%; max-width: 1560px; margin-inline: auto;
    min-height: 74px;
    padding-inline: clamp(20px, 6vw, 88px);
}
.ucsm-landing .brand { display: flex; align-items: center; }
.ucsm-landing .brand img { height: 34px; width: auto; max-width: none; display: block; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55)); }
/* Footer wordmark follows the page theme; the header wordmark always sits on the
   dark hero image, so it stays the pale tone regardless of theme. */
.ucsm-landing .foot__logo { content: url("/images/UcsmLogoHeaderLight.png"); }
.ucsm-landing .site .brand img { content: url("/images/UcsmLogoHeaderTransparent.png"); }
@media (prefers-color-scheme: dark) {
    .ucsm-landing .foot__logo { content: url("/images/UcsmLogoHeaderTransparent.png"); }
}
.ucsm-landing .site__nav { display: flex; gap: 24px; margin-left: auto; font-size: 0.92rem; font-weight: 500; color: #FFFFFF; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); }
.ucsm-landing .site__nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.ucsm-landing .site__nav a:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.7); }
.ucsm-landing .site__nav-signin { display: none; }
.ucsm-landing .site__actions { display: flex; align-items: center; gap: 18px; }
.ucsm-landing .site__burger { display: none; }
.ucsm-landing .site__signin { font-size: 0.92rem; font-weight: 500; color: #FFFFFF; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); }
.ucsm-landing .site__signin:hover { color: #FFFFFF; text-decoration: underline; }
.ucsm-landing .site .btn--primary { background: #5B8CFF; color: #08142F; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42); }
.ucsm-landing .site .btn--primary:hover { background: #7BA4FF; }
.ucsm-landing .site--solid {
    background: rgba(9, 15, 30, 0.94);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(140, 170, 255, 0.16);
}
.ucsm-landing .site--solid .site__nav,
.ucsm-landing .site--solid .site__signin { text-shadow: none; }

.ucsm-landing .btn {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 0.9rem; font-weight: 600;
    padding: 10px 18px; border-radius: 6px; cursor: pointer;
    border: 1px solid transparent; transition: background .15s, border-color .15s, transform .12s;
}
.ucsm-landing .btn--primary { background: var(--accent); color: var(--accent-ink); }
.ucsm-landing .btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.ucsm-landing .btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.ucsm-landing .btn--ghost:hover { border-color: var(--ink-faint); background: var(--accent-quiet); }
.ucsm-landing .btn:active { transform: translateY(1px); }

.ucsm-landing .rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.ucsm-landing .sec { padding-block: clamp(52px, 8vw, 96px); }
.ucsm-landing .sec__head { display: flex; flex-direction: column; gap: 12px; max-width: 48ch; margin-bottom: 40px; }

/* ---------- hero: full-bleed image band, copy over the dark left side ---------- */
.ucsm-landing .hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(90vh, 900px);
    margin-top: -74px;            /* pull up under the transparent header */
    padding-top: 74px;
    background: #080E20;
}
.ucsm-landing .hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background: #080E20 url("/images/landing-hero-2.jpg") no-repeat;
    background-size: cover;
    background-position: 78% center;   /* keep the wireframe car / service scene in view */
}
.ucsm-landing .hero__bg::after {      /* left-to-right scrim so the copy stays legible */
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 11, 26, 0.97) 0%, rgba(6, 11, 26, 0.92) 34%, rgba(6, 11, 26, 0.66) 52%, rgba(6, 11, 26, 0.18) 74%, rgba(6, 11, 26, 0) 100%),
        linear-gradient(180deg, rgba(6, 11, 26, 0.5) 0%, rgba(6, 11, 26, 0) 22%),
        linear-gradient(0deg, rgba(6, 11, 26, 0.5) 0%, rgba(6, 11, 26, 0) 42%);
}
.ucsm-landing .hero__inner {
    width: 100%; max-width: 1560px; margin-inline: auto;
    padding-inline: clamp(20px, 6vw, 88px);
    padding-block: clamp(48px, 9vh, 104px);
}
.ucsm-landing .hero__copy { display: flex; flex-direction: column; gap: 20px; max-width: 34rem; }
.ucsm-landing .hero__copy .eyebrow { color: #8FB4FF; }
.ucsm-landing .hero h1 { margin-top: 4px; color: #FFFFFF; }
.ucsm-landing .hero__lede { font-size: 1.2rem; line-height: 1.5; color: #CAD6F4; max-width: 34rem; }
.ucsm-landing .hero__credit { font-size: 0.92rem; color: #9EB2DA; padding-left: 14px; border-left: 2px solid #5B8CFF; max-width: 34rem; }
.ucsm-landing .hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ucsm-landing .hero .btn--ghost { border-color: rgba(255, 255, 255, 0.42); color: #FFFFFF; }
.ucsm-landing .hero .btn--ghost:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.12); }

/* app-store badges shown in the hero (dark variant) */
.ucsm-landing .hero__stores-label {
    font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: #8FB4FF; margin: 18px 0 0;
}
.ucsm-landing .hero__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.ucsm-landing .hero__wordmark { display: none; }
.ucsm-landing .hero .store {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 16px 9px 13px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF; transition: background .15s, border-color .15s;
}
.ucsm-landing .hero .store:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }
.ucsm-landing .hero .store svg { width: 20px; height: 20px; flex: none; color: #FFFFFF; }
.ucsm-landing .hero .store__t { display: flex; flex-direction: column; line-height: 1.15; }
.ucsm-landing .hero .store__t small { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.ucsm-landing .hero .store__t span { font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 0.92rem; }

/* below-the-hero content is hidden until a nav / CTA item is clicked */
.ucsm-landing.revealed #belowHero { animation: ucsm-below-in .34s ease-out both; }
@keyframes ucsm-below-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- lifecycle timeline: horizontal band below the hero ---------- */
.ucsm-landing .lifecycle { padding-block: clamp(34px, 5vw, 56px); }
.ucsm-landing .spine__caption { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 22px; }
.ucsm-landing .spine__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.ucsm-landing .spine__track::before { content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 1px; background: var(--line-strong); }
.ucsm-landing .spine__stop { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 18px; }
.ucsm-landing .spine__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--ground); border: 1px solid var(--line-strong); position: relative; z-index: 1; }
.ucsm-landing .spine__stop--live .spine__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-quiet); }
.ucsm-landing .spine__k { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink); }
.ucsm-landing .spine__v { font-size: 0.86rem; color: var(--ink-dim); line-height: 1.45; }
.ucsm-landing .spine__stop--live .spine__k { color: var(--accent); }

/* ---------- owner promises ---------- */
.ucsm-landing .promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ucsm-landing .promise { background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.ucsm-landing .promise__n { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; }
.ucsm-landing .promise h3 { margin-top: 2px; }
.ucsm-landing .promise p { font-size: 0.94rem; color: var(--ink-dim); max-width: 48ch; }

/* ---------- booking ---------- */
.ucsm-landing .feel__list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.ucsm-landing .feel__item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ucsm-landing .feel__item:last-child { border-bottom: 1px solid var(--line); }
.ucsm-landing .feel__lead { font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 1.02rem; flex: 0 0 clamp(150px, 26vw, 220px); }
.ucsm-landing .feel__desc { color: var(--ink-dim); font-size: 0.95rem; max-width: 60ch; }

/* ---------- two audiences ---------- */
.ucsm-landing .aud { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ucsm-landing .aud__col { padding-right: 32px; display: flex; flex-direction: column; gap: 10px; }
.ucsm-landing .aud__col + .aud__col { border-left: 1px solid var(--line); padding-left: 32px; padding-right: 0; }
.ucsm-landing .aud__k { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.ucsm-landing .aud__col h3 { font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; }
.ucsm-landing .aud__col p { color: var(--ink-dim); font-size: 0.95rem; max-width: 52ch; }

/* ---------- training video ---------- */
.ucsm-landing .video {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface); box-shadow: var(--lift); max-width: 480px;
    transition: border-color .15s, transform .12s;
}
.ucsm-landing .video:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.ucsm-landing .video__play { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.ucsm-landing .video__play svg { width: 20px; height: 20px; margin-left: 2px; }
.ucsm-landing .video__label { display: flex; flex-direction: column; gap: 2px; }
.ucsm-landing .video__label strong { font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; font-size: 1rem; }
.ucsm-landing .video__label small { color: var(--ink-faint); font-size: 0.8rem; }

/* ---------- EKI ---------- */
.ucsm-landing .eki { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ucsm-landing .eki__copy { display: flex; flex-direction: column; gap: 14px; max-width: 44ch; }
.ucsm-landing .eki__copy p { color: var(--ink-dim); }
.ucsm-landing .eki__panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--lift); }
.ucsm-landing .eki__q { font-size: 0.9rem; color: var(--ink-dim); }
.ucsm-landing .eki__a { display: flex; gap: 12px; align-items: flex-start; }
.ucsm-landing .eki__badge { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--accent-quiet); color: var(--accent); display: grid; place-items: center; font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 0.8rem; }
.ucsm-landing .eki__a p { font-size: 0.92rem; }

/* ---------- news ---------- */
.ucsm-landing .news__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ucsm-landing .news__list { list-style: none; margin: 0; padding: 0; }
.ucsm-landing .news__item { display: grid; grid-template-columns: 120px 92px 1fr; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.ucsm-landing .news__item:last-child { border-bottom: 1px solid var(--line); }
.ucsm-landing .news__item--empty { grid-template-columns: 1fr; }
.ucsm-landing .news__date { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--ink-faint); padding-top: 2px; }
.ucsm-landing .news__tag { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line-strong); border-radius: 3px; padding: 3px 7px; justify-self: start; white-space: nowrap; height: fit-content; }
.ucsm-landing .news__body { display: flex; flex-direction: column; gap: 5px; }
.ucsm-landing .news__body h3 { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 1rem; }
.ucsm-landing .news__body p { font-size: 0.9rem; color: var(--ink-dim); max-width: 62ch; }

/* ---------- closing / get notified ---------- */
.ucsm-landing .close { padding-block: clamp(56px, 8vw, 92px); background: var(--surface); border-top: 1px solid var(--line); }
.ucsm-landing .close__inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ucsm-landing .close h2 { max-width: 22ch; }
.ucsm-landing .close__lede { color: var(--ink-dim); max-width: 46ch; }
.ucsm-landing .close__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.ucsm-landing .notice { font-size: 0.9rem; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line-strong); }
.ucsm-landing .notice--ok { color: var(--accent); border-color: var(--accent); background: var(--accent-quiet); }
.ucsm-landing .notice--err { color: var(--ink); background: var(--surface-2); }

.ucsm-landing .notify { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 560px; }
.ucsm-landing .notify__email,
.ucsm-landing .notify__interest {
    font: inherit; font-size: 0.92rem; color: var(--ink);
    background: var(--ground); border: 1px solid var(--line-strong); border-radius: 6px;
    padding: 11px 14px;
}
.ucsm-landing .notify__email { flex: 1 1 240px; min-width: 0; }
.ucsm-landing .notify__interest { flex: 0 0 auto; }
.ucsm-landing .notify__email:focus,
.ucsm-landing .notify__interest:focus { outline: none; border-color: var(--accent); }

.ucsm-landing .stores__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ucsm-landing .store {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 16px 9px 13px; border: 1px solid var(--line-strong); border-radius: 8px;
    color: var(--ink); background: var(--ground); transition: border-color .15s, background .15s;
}
.ucsm-landing .store:hover { border-color: var(--ink-faint); background: var(--accent-quiet); }
.ucsm-landing .store svg { width: 20px; height: 20px; flex: none; color: var(--ink); }
.ucsm-landing .store__t { display: flex; flex-direction: column; line-height: 1.15; }
.ucsm-landing .store__t small { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.ucsm-landing .store__t span { font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 0.92rem; }
.ucsm-landing .stores__note { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-faint); }

.ucsm-landing .get__extra { display: flex; flex-wrap: wrap; gap: 32px 44px; align-items: center; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.ucsm-landing .qr { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ucsm-landing .qr img { width: 132px; height: 132px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 8px; }
.ucsm-landing .qr span { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.ucsm-landing .social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ucsm-landing .social__k { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.ucsm-landing .social__link { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-dim); }
.ucsm-landing .social__link svg { width: 18px; height: 18px; color: var(--ink-faint); }
.ucsm-landing .social__link:hover { color: var(--ink); }
.ucsm-landing .social__link:hover svg { color: var(--accent); }

/* ---------- footer ---------- */
.ucsm-landing .foot { border-top: 1px solid var(--line); padding-block: 44px; font-size: 0.86rem; color: var(--ink-faint); }
.ucsm-landing .foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ucsm-landing .foot__col { display: flex; flex-direction: column; gap: 9px; }
.ucsm-landing .foot__col h4 { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 4px; }
.ucsm-landing .foot__col a:hover { color: var(--ink); }
.ucsm-landing .foot__col:first-child { gap: 12px; }
.ucsm-landing .foot__logo { height: 30px; width: auto; max-width: none; flex: none; align-self: flex-start; object-fit: contain; display: block; }
.ucsm-landing .foot__legal { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ucsm-landing * { transition: none !important; animation: none !important; }
}

@media (max-width: 900px) {
    /* Solid, normal-flow header on small screens — no transparent float. */
    .ucsm-landing .site {
        position: sticky; top: 0;
        background: rgba(9, 15, 30, 0.94);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(140, 170, 255, 0.16);
    }
    .ucsm-landing .site__inner { min-height: 58px; padding-inline: 20px; gap: 16px; }
    .ucsm-landing .brand img { height: 28px; }
    /* No dev ribbon and no header CTA on mobile — one notify path, less repetition. */
    .ucsm-landing .ribbon { display: none; }
    .ucsm-landing .site__actions .btn--primary { display: none; }
    .ucsm-landing .site__actions { gap: 0; }

    /* The landing opens as the hero alone — it fills the phone screen. */
    .ucsm-landing .hero {
        margin-top: 0;
        padding-top: 0;
        min-height: 100vh;
        min-height: 100dvh;
        align-items: flex-start;
        position: relative;
    }
    /* Portrait artwork for phones — the connected-scene and wireframe car fill
       the lower half; the copy sits over a near-solid dark top. */
    .ucsm-landing .hero__bg {
        background-image: url("/images/landing-hero-mobile.jpg");
        background-size: auto 130%;
        background-position: center bottom;
    }
    .ucsm-landing .hero__bg::after {
        background:
            linear-gradient(180deg, rgba(6, 11, 26, 0.98) 0%, rgba(6, 11, 26, 0.97) 40%, rgba(6, 11, 26, 0.82) 50%, rgba(6, 11, 26, 0.3) 66%, rgba(6, 11, 26, 0) 84%),
            linear-gradient(0deg, rgba(6, 11, 26, 0.5) 0%, rgba(6, 11, 26, 0) 18%);
    }
    .ucsm-landing .hero__inner { padding-block: 22px 44px; }
    .ucsm-landing .hero__copy { max-width: none; gap: 14px; }
    .ucsm-landing .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
    .ucsm-landing .hero__lede { font-size: 1.02rem; line-height: 1.5; }
    .ucsm-landing .hero__credit { display: none; }

    /* Full-width, stacked CTAs */
    .ucsm-landing .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 10px; }
    .ucsm-landing .hero__cta .btn { width: 100%; justify-content: center; padding: 15px 18px; font-size: 0.98rem; }

    /* App badges: centred, under a "coming soon" line, muted (not live yet) */
    .ucsm-landing .hero__stores-label { text-align: center; margin-top: 24px; }
    .ucsm-landing .hero__stores { justify-content: center; margin-top: 12px; }
    .ucsm-landing .hero .store { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); }
    .ucsm-landing .hero .store svg,
    .ucsm-landing .hero .store__t span { color: rgba(255, 255, 255, 0.66); }
    .ucsm-landing .hero .store__t small { color: rgba(255, 255, 255, 0.5); }

    .ucsm-landing .hero__wordmark {
        display: block; position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
        text-align: center; font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.5); margin: 0;
    }

    /* Before the content is revealed, keep the page dark so no light gap shows
       under the hero if the mobile URL bar retracts. */
    .ucsm-landing:not(.revealed) { background: #080E20; }

    .ucsm-landing .spine__track { grid-template-columns: 1fr; }
    .ucsm-landing .spine__track::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
    .ucsm-landing .spine__stop { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 3px; padding: 12px 0; padding-right: 0; }
    .ucsm-landing .spine__dot { grid-row: 1 / span 2; margin-top: 4px; }
}

@media (max-width: 860px) {
    /* Quick links collapse into a hamburger dropdown */
    .ucsm-landing .site__burger {
        display: inline-flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px;
        width: 42px; height: 42px; padding: 10px; margin-right: -8px;
        border: 0; background: transparent; cursor: pointer;
    }
    .ucsm-landing .site__burger span { display: block; height: 2px; width: 100%; background: #FFFFFF; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .ucsm-landing .site--menu-open .site__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .ucsm-landing .site--menu-open .site__burger span:nth-child(2) { opacity: 0; }
    .ucsm-landing .site--menu-open .site__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .ucsm-landing .site__actions { margin-left: auto; }
    .ucsm-landing .site__actions .site__signin { display: none; }

    .ucsm-landing .site__nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; gap: 0; margin: 0;
        background: rgba(9, 15, 30, 0.98); backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(140, 170, 255, 0.18);
        padding: 4px 18px 12px;
        transform: translateY(-10px); opacity: 0; pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
    }
    .ucsm-landing .site--menu-open .site__nav { transform: none; opacity: 1; pointer-events: auto; }
    .ucsm-landing .site__nav a {
        padding: 14px 2px; font-size: 1rem; text-shadow: none;
        border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .ucsm-landing .site__nav a:last-child { border-bottom: 0; }
    .ucsm-landing .site__nav a:hover { border-color: rgba(255, 255, 255, 0.08); }
    .ucsm-landing .site__nav-signin { display: block; color: #8FB4FF; font-weight: 600; }
    .ucsm-landing .promises { grid-template-columns: 1fr; }
    .ucsm-landing .aud { grid-template-columns: 1fr; }
    .ucsm-landing .aud__col { padding-right: 0; }
    .ucsm-landing .aud__col + .aud__col { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; margin-top: 24px; }
    .ucsm-landing .eki { grid-template-columns: 1fr; }
    .ucsm-landing .foot__grid { grid-template-columns: 1fr 1fr; }
    .ucsm-landing .feel__item { flex-direction: column; gap: 6px; }
    .ucsm-landing .feel__lead { flex-basis: auto; }
}

@media (max-width: 560px) {
    .ucsm-landing .site__actions .site__signin { display: none; }
    .ucsm-landing .ribbon {
        flex-wrap: wrap; gap: 8px 10px; padding: 8px 14px; font-size: 0.76rem; line-height: 1.4;
    }
    .ucsm-landing .ribbon__text { flex-basis: 100%; order: 3; }
    .ucsm-landing .ribbon__x { margin-left: auto; }
    .ucsm-landing .news__item { grid-template-columns: 1fr; gap: 6px; }
    .ucsm-landing .news__date { padding-top: 0; }
    .ucsm-landing .foot__grid { grid-template-columns: 1fr; }
    .ucsm-landing .notify__interest { flex: 1 1 100%; }
}
