/* ================================================================
   HOME, DESKTOP BODY (>=1024px)
   The home page ships two bodies: .home-mobile (below 1024px) and
   .home-desktop (1024px and up), swapped by the <style> block in
   index.html. This file styles only the desktop one. It is linked with
   media="(min-width: 1024px)" and every rule is scoped to .home-desktop,
   which is display:none below 1024px, so phones and tablets are never
   affected by anything here.
   Language: the mc-v3 system (css/mc-tokens.css, css/mc-cards.css), the
   same one faq.html and contact.html use.
   ================================================================ */

.home-desktop {
    --hd-max: 1200px;
    --hd-pad-x: 48px;
    --hd-card-bg: rgba(255, 255, 255, 0.025);
    --hd-card-border: rgba(255, 255, 255, 0.07);
    --hd-card-border-hover: rgba(34, 178, 133, 0.32);
    --hd-teal-light: #78FFCA;
    position: relative;
    /* The card fan and glows bleed past their columns on purpose; clip (not
       hidden) so nothing inside becomes a scroll container. */
    overflow-x: clip;
}

.home-desktop .hd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.home-desktop .hd-nowrap { white-space: nowrap; }

.home-desktop .hd-page {
    max-width: var(--hd-max);
    margin: 0 auto;
    padding: 0 var(--hd-pad-x);
}

.home-desktop .hd-sect {
    position: relative;
    padding: 100px 0;
}

/* Hairline between sections, brightest in the middle */
.home-desktop .hd-sect--rule::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1104px, calc(100% - 96px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(223, 225, 244, 0.10) 30%, rgba(34, 178, 133, 0.22) 50%, rgba(223, 225, 244, 0.10) 70%, transparent);
    pointer-events: none;
}

/* ---------- Section header ---------- */
.home-desktop .hd-head {
    max-width: 760px;
    margin-bottom: 56px;
}
.home-desktop .hd-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.home-desktop .hd-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: clamp(38px, 3.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.028em;
    margin: 0 0 18px;
    color: var(--mc-text);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(223, 225, 244, 0.74) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}
.home-desktop .hd-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    margin: 0;
    max-width: 620px;
}
.home-desktop .hd-head--center .hd-sub { margin-left: auto; margin-right: auto; }

/* ---------- Shared card + link ---------- */
.home-desktop .hd-card {
    position: relative;
    background: var(--hd-card-bg);
    border: 1px solid var(--hd-card-border);
    border-radius: 20px;
    transition: border-color 200ms ease, transform 200ms var(--mc-ease-quiet), background 200ms ease;
}
.home-desktop .hd-card:hover {
    border-color: var(--hd-card-border-hover);
    background: rgba(255, 255, 255, 0.032);
    transform: translateY(-2px);
}

.home-desktop .hd-ico {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(34, 178, 133, 0.10);
    border: 1px solid rgba(34, 178, 133, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-teal);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.home-desktop .hd-ico svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-desktop .hd-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mc-text);
    text-decoration: none;
    transition: color 160ms ease;
}
.home-desktop .hd-link svg { width: 14px; height: 14px; transition: transform 200ms var(--mc-ease-quiet); }
.home-desktop .hd-link:hover { color: var(--hd-teal-light); }
.home-desktop .hd-link:hover svg { transform: translateX(3px); }
/* Whole card clickable; the <a> stays the element that is clicked */
.home-desktop .hd-link--stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.home-desktop .hd-card:has(.hd-link--stretch:hover) .hd-link { color: var(--hd-teal-light); }
.home-desktop .hd-card:has(.hd-link--stretch:hover) .hd-link svg { transform: translateX(3px); }

.home-desktop a:focus-visible,
.home-desktop button:focus-visible {
    outline: 2px solid var(--hd-teal-light);
    outline-offset: 3px;
    border-radius: 8px;
}
.home-desktop .mc-btn:focus-visible { border-radius: 999px; }

/* Buttons: the shared white pill, a touch larger on desktop, plus hover */
.home-desktop .hd-btn { min-height: 52px; font-size: 16px; }
.home-desktop .mc-btn--primary.hd-btn { padding: 0 30px; }
.home-desktop .mc-btn--primary:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 12px 32px -12px rgba(120, 255, 202, 0.55);
}
.home-desktop .mc-btn--text:hover { color: var(--hd-teal-light); }

/* ================================================================
   HERO
   ================================================================ */
.home-desktop .hd-hero {
    position: relative;
    isolation: isolate;
    /* A little under a full screen, so the proof band's first line peeks
       above the fold and says there is more below. */
    min-height: clamp(660px, 92svh, 860px);
    display: flex;
    align-items: center;
    padding: 112px var(--hd-pad-x) 72px;
    overflow: hidden;
}
/* Teal breathing light behind the card fan, fainter wash on the copy side */
.home-desktop .hd-hero::before {
    content: "";
    position: absolute;
    inset: -10% -6% -16% -6%;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 34% 44% at 73% 54%, rgba(34, 178, 133, 0.20) 0%, transparent 70%),
        radial-gradient(ellipse 40% 34% at 22% 46%, rgba(34, 178, 133, 0.06) 0%, transparent 75%),
        radial-gradient(ellipse 24% 22% at 88% 26%, rgba(120, 255, 210, 0.05) 0%, transparent 75%);
}
/* Faint grid, same texture as the shared hero */
.home-desktop .hd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(223, 225, 244, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 225, 244, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 62% 50%, black 20%, transparent 78%);
            mask-image: radial-gradient(ellipse 60% 70% at 62% 50%, black 20%, transparent 78%);
}
/* Cipher-rain canvas (js/mc-hero-fx.js) only behind the card side, so the
   copy sits on clean navy and the canvas has half the cells to draw. */
.home-desktop .hd-hero-stage {
    /* Fills the whole hero (data-fx-fill spreads the cipher grid edge to edge); only the bottom edge fades */
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.home-desktop .hd-hero-grid {
    position: relative;
    width: 100%;
    max-width: var(--hd-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
    align-items: center;
}
.home-desktop .hd-hero-copy { text-align: left; }
.home-desktop .hd-hero-copy .mc-eyebrow { margin-bottom: 22px; }
.home-desktop .hd-hero-title {
    font-size: clamp(50px, 4.5vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.034em;
    margin: 0 0 24px;
    max-width: 11.5em;
    text-wrap: balance;
}
.home-desktop .hd-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    max-width: 33em;
    margin: 0 0 36px;
    text-wrap: pretty;
}
.home-desktop .hd-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 26px;
}
.home-desktop .hd-hero-trust {
    justify-content: flex-start;
    margin-top: 30px;
}

/* Card fan: the phone's fan, scaled for a desktop column */
.home-desktop .hd-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    perspective: 1600px;
}
.home-desktop .hd-fan-tilt {
    width: 100%;
    transform: rotateX(var(--hd-tilt-x, 0deg)) rotateY(var(--hd-tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 700ms var(--mc-ease-quiet);
}
.home-desktop .hd-fan.mc-fan {
    width: min(70%, 380px);
    max-width: none;
    margin: 36px auto 0;
}
.home-desktop .hd-fan-glow {
    position: absolute;
    left: 50%;
    top: 58%;
    width: 78%;
    height: 46%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(34, 178, 133, 0.30) 0%, rgba(34, 178, 133, 0.08) 45%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}
.home-desktop .hd-fan .mc-credit {
    border-radius: 22px;
    padding: 24px 28px;
}
.home-desktop .hd-fan .mc-credit-logo-img { width: 70px; height: 70px; }
.home-desktop .hd-fan .mc-credit-brand-block { gap: 12px; }
.home-desktop .hd-fan .mc-credit-brand-block .mc-credit-wordmark { font-size: 34px; letter-spacing: 0.2em; }
.home-desktop .hd-fan .mc-credit-chip-silver { top: 20px; left: 22px; width: 36px; height: 26px; border-radius: 4px; }
.home-desktop .hd-fan .mc-credit-nfc { top: 20px; right: 22px; width: 28px; height: 28px; }

/* ================================================================
   PROOF BAND
   ================================================================ */
.home-desktop .hd-proof { position: relative; padding: 0 0 24px; }
.home-desktop .hd-proof-lead {
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    color: var(--mc-text-soft);
    margin: 0 0 22px;
}
.home-desktop .hd-proof-band {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--hd-card-bg);
    border: 1px solid var(--hd-card-border);
    border-radius: 22px;
    overflow: hidden;
}
.home-desktop .hd-proof-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 255, 202, 0.45), transparent);
}
.home-desktop .hd-proof-cell {
    position: relative;
    padding: 36px 24px 32px;
    text-align: center;
}
.home-desktop .hd-proof-cell + .hd-proof-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(223, 225, 244, 0.12), transparent);
}
.home-desktop .hd-count {
    display: block;
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 54px;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--mc-text);
    font-variant-numeric: tabular-nums;
}
.home-desktop .hd-proof-label {
    display: block;
    margin-top: 14px;
    font-family: var(--ln-font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mc-text-mute);
}

/* ================================================================
   SERVICES + FEATURES
   ================================================================ */
.home-desktop .hd-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--hd-card-bg);
    border: 1px solid var(--hd-card-border);
    border-radius: 22px;
    overflow: hidden;
}
.home-desktop .hd-service {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    min-height: 92px;
    border-right: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.home-desktop .hd-service:nth-child(4n) { border-right: 0; }
.home-desktop .hd-service:nth-child(n+5) { border-bottom: 0; }
.home-desktop .hd-service-label {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--mc-text);
}

.home-desktop .hd-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.home-desktop .hd-feature {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 26px;
}
.home-desktop .hd-feature-visual {
    position: relative;
    height: 212px;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 70% 70% at 50% 45%, rgba(34, 178, 133, 0.10), transparent 70%),
        rgba(1, 3, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.home-desktop .hd-feature-visual .mc-visual { width: 100%; height: 100%; }
/* Gauge: teal instead of mc-visuals' red-to-green */
.home-desktop .hd-feature-visual .ev-arc-fg { stroke: url(#hdArcGrad); }
.home-desktop .hd-feature-eyebrow,
.home-desktop .hd-feature-title,
.home-desktop .hd-feature-desc,
.home-desktop .hd-feature .hd-link { margin-left: 10px; margin-right: 10px; }
.home-desktop .hd-feature-eyebrow {
    font-family: var(--ln-font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mc-teal);
    margin-top: 0;
    margin-bottom: 12px;
}
.home-desktop .hd-feature-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--mc-text);
    margin-top: 0;
    margin-bottom: 12px;
}
.home-desktop .hd-feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    margin-top: 0;
    margin-bottom: 22px;
}
.home-desktop .hd-feature .hd-link { margin-top: auto; align-self: flex-start; }

/* ================================================================
   PROCESS
   ================================================================ */
.home-desktop .hd-steps {
    --hd-steps-progress: 0;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
}
.home-desktop .hd-steps::before,
.home-desktop .hd-steps::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 8px;
    right: 0;
    height: 1px;
}
.home-desktop .hd-steps::before { background: rgba(223, 225, 244, 0.10); }
.home-desktop .hd-steps::after {
    background: linear-gradient(90deg, var(--mc-teal), var(--hd-teal-light));
    box-shadow: 0 0 12px rgba(34, 178, 133, 0.6);
    transform-origin: left center;
    transform: scaleX(var(--hd-steps-progress));
}
.home-desktop .hd-step { position: relative; padding-top: 40px; }
.home-desktop .hd-step-node {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--mc-bg);
    border: 1px solid rgba(223, 225, 244, 0.24);
    transition: border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}
.home-desktop .hd-step.is-active .hd-step-node {
    border-color: var(--mc-teal);
    background: radial-gradient(circle, var(--hd-teal-light) 0 2.5px, var(--mc-bg) 3px);
    box-shadow: 0 0 0 4px rgba(34, 178, 133, 0.12), 0 0 16px rgba(34, 178, 133, 0.55);
}
.home-desktop .hd-step-num {
    font-family: var(--ln-font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mc-teal);
    margin: 0 0 14px;
}
.home-desktop .hd-step-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--mc-text);
    margin: 0 0 12px;
}
.home-desktop .hd-step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    margin: 0;
    max-width: 17em;
}

/* ================================================================
   CLIENT STORIES
   Video crop matches /testimonial: the sources are 1920x1080 split-screen
   calls whose real picture is the middle 1920x540 band; scaled to 202% and
   right-anchored, the client's half fills a 16/9 box. preload="none": the
   files are 73-223MB.
   The poster is an <img loading="lazy">, not the video's poster attribute:
   browsers fetch a poster even inside display:none, so phones (where this
   whole body is hidden) downloaded all three. A lazy image that is never
   rendered is never fetched.
   ================================================================ */
.home-desktop .hd-stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.home-desktop .hd-story { overflow: hidden; }
.home-desktop .tst-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0c16;
}
.home-desktop .tst-video {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 202%;
    max-width: none;
    height: auto;
    transform: translate(-100%, -50%);
    display: block;
}
.home-desktop .tst-poster {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 202%;
    max-width: none;
    height: auto;
    transform: translate(-100%, -50%);
    display: block;
}
.home-desktop .tst-media.is-playing .tst-poster { display: none; }
.home-desktop .tst-media.is-playing .tst-video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    background: #000;
}
.home-desktop .tst-play {
    position: absolute;
    inset: 0;
    display: flex;
    /* Bottom-left, not centred: the crop centres each client's face, and a
       centred button sat right on it. The whole frame is still the button. */
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    background: linear-gradient(180deg, rgba(1, 3, 20, 0) 40%, rgba(1, 3, 20, 0.45) 100%), rgba(0, 0, 0, 0.18);
    border: 0;
    cursor: pointer;
    transition: background 200ms ease;
}
.home-desktop .tst-play:hover { background: linear-gradient(180deg, rgba(1, 3, 20, 0) 40%, rgba(1, 3, 20, 0.35) 100%), rgba(0, 0, 0, 0.06); }
.home-desktop .tst-play em {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding-left: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.12);
    transition: transform 240ms var(--mc-ease-quiet);
}
.home-desktop .tst-play:hover em { transform: scale(1.06); }
.home-desktop .tst-play:focus-visible { outline: 2px solid var(--hd-teal-light); outline-offset: -4px; border-radius: 0; }
.home-desktop .hd-story-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 22px;
}
.home-desktop .hd-story-who { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-desktop .hd-story-tag {
    font-family: var(--ln-font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mc-teal);
}
.home-desktop .hd-story-name {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--mc-text);
}
.home-desktop .hd-story-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-family: var(--ln-font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mc-text-mute);
    white-space: nowrap;
}
.home-desktop .hd-story-amount strong {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: none;
    color: var(--hd-teal-light);
}
.home-desktop .hd-stories-fine { text-align: center; margin: 22px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--mc-text-mute); }
.home-desktop .hd-stories-more { text-align: center; margin: 22px 0 0; }

/* ================================================================
   WHY MATRIX (split)
   ================================================================ */
.home-desktop .hd-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 72px;
    align-items: center;
}
.home-desktop .hd-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 34px;
    margin-top: 40px;
}
.home-desktop .hd-why-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--mc-text);
    margin: 0 0 8px;
}
.home-desktop .hd-check {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-teal);
    background: rgba(34, 178, 133, 0.12);
    border: 1px solid rgba(34, 178, 133, 0.25);
}
.home-desktop .hd-check svg { width: 12px; height: 12px; }
.home-desktop .hd-why-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    margin: 0;
    padding-left: 32px;
}

.home-desktop .hd-calc {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)), rgba(1, 3, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 40px 90px -40px rgba(0, 0, 0, 0.85),
        0 30px 90px -40px rgba(34, 178, 133, 0.35);
}
.home-desktop .hd-calc-bar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}
.home-desktop .hd-calc-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(223, 225, 244, 0.14); }
.home-desktop .hd-calc-body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.home-desktop .hd-calc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--mc-text-soft);
    margin: 0 0 4px;
}
.home-desktop .hd-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mc-teal);
    box-shadow: 0 0 0 0 rgba(34, 178, 133, 0.5);
    animation: hd-live 2.4s ease-out infinite;
}
@keyframes hd-live {
    0% { box-shadow: 0 0 0 0 rgba(34, 178, 133, 0.55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(34, 178, 133, 0); }
}
.home-desktop .hd-calc-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--ln-font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mc-text-mute);
}
.home-desktop .hd-calc-input {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    color: var(--mc-text);
    transition: opacity 400ms ease;
}
.home-desktop .hd-calc-input--result {
    height: 60px;
    font-family: var(--ln-font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--hd-teal-light);
    background: rgba(34, 178, 133, 0.07);
    border-color: rgba(34, 178, 133, 0.28);
}
.home-desktop .hd-calc-btn {
    margin-top: 6px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--mc-teal);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 200ms ease, box-shadow 200ms ease, transform 200ms var(--mc-ease-quiet);
}
.home-desktop .hd-calc-btn:hover {
    background: #1FA37B;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -12px rgba(34, 178, 133, 0.7);
}

/* ================================================================
   PROGRAMS
   ================================================================ */
.home-desktop .hd-programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.home-desktop .hd-program {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
}
.home-desktop .hd-program .hd-ico { margin-bottom: 22px; }
.home-desktop .hd-program-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--mc-text);
    margin: 0 0 12px;
}
.home-desktop .hd-program-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    margin: 0 0 24px;
}
.home-desktop .hd-program-viz { margin: 0 0 26px; }
.home-desktop .hd-program .hd-link { margin-top: auto; align-self: flex-start; }

.home-desktop .hd-team-row { display: flex; align-items: center; }
.home-desktop .hd-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ln-font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #04130E;
    box-shadow: 0 0 0 3px #070A22;
}
.home-desktop .hd-avatar + .hd-avatar { margin-left: -6px; }
.home-desktop .hd-avatar--1 { background: linear-gradient(135deg, #9BFFD9, #22B285); }
.home-desktop .hd-avatar--2 { background: linear-gradient(135deg, #5FD1AE, #178A67); }
.home-desktop .hd-avatar--3 { background: linear-gradient(135deg, #C9D0F0, #7C83AE); }
.home-desktop .hd-team-more {
    margin-left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--ln-font-mono);
    font-size: 11px;
    color: var(--mc-text-soft);
}
.home-desktop .hd-team-names span { white-space: nowrap; }
.home-desktop .hd-team-names {
    margin-top: 14px;
    font-family: var(--ln-font-mono);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--mc-text-mute);
}

.home-desktop .hd-modules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.home-desktop .hd-module {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ln-font-mono);
    font-size: 12px;
    color: var(--mc-text-mute);
}
.home-desktop .hd-module-dot {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(223, 225, 244, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-teal);
}
.home-desktop .hd-module-dot svg { width: 11px; height: 11px; }
.home-desktop .hd-module.is-done { color: var(--mc-text-soft); }
.home-desktop .hd-module.is-done .hd-module-dot { border-color: rgba(34, 178, 133, 0.45); background: rgba(34, 178, 133, 0.12); }
.home-desktop .hd-module.is-active { color: var(--mc-text); }
.home-desktop .hd-module.is-active .hd-module-dot {
    border-color: var(--mc-teal);
    background: radial-gradient(circle, var(--hd-teal-light) 0 3px, transparent 3.5px);
    box-shadow: 0 0 10px rgba(34, 178, 133, 0.45);
}
.home-desktop .hd-modules-progress { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.home-desktop .hd-modules-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(223, 225, 244, 0.08); overflow: hidden; }
.home-desktop .hd-modules-bar span { display: block; width: 50%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mc-teal), var(--hd-teal-light)); }
.home-desktop .hd-modules-count { font-family: var(--ln-font-mono); font-size: 11px; color: var(--mc-text-mute); white-space: nowrap; }

.home-desktop .hd-tiers { display: flex; flex-direction: column; gap: 8px; }
.home-desktop .hd-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}
.home-desktop .hd-tier-pct { font-family: var(--ln-font-mono); font-size: 15px; font-weight: 600; color: var(--mc-text); }
.home-desktop .hd-tier-label { font-size: 12.5px; color: var(--mc-text-mute); }
.home-desktop .hd-tier--top {
    border-color: rgba(34, 178, 133, 0.42);
    background: rgba(34, 178, 133, 0.07);
    box-shadow: 0 0 26px -10px rgba(34, 178, 133, 0.6);
}
.home-desktop .hd-tier--top .hd-tier-pct { color: var(--hd-teal-light); }
.home-desktop .hd-tier--top .hd-tier-label { color: var(--mc-text-soft); }

/* ================================================================
   RESOURCES
   ================================================================ */
.home-desktop .hd-resources {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.home-desktop .hd-resource {
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    border-radius: 18px;
}
.home-desktop .hd-resource .hd-ico { margin-bottom: 20px; }
.home-desktop .hd-resource-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--mc-text);
    margin: 0 0 10px;
}
.home-desktop .hd-resource-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--mc-text-soft);
    margin: 0 0 22px;
}
.home-desktop .hd-resource .hd-link { margin-top: auto; align-self: flex-start; }

/* ================================================================
   COMMITMENT + QUOTE
   ================================================================ */
.home-desktop .hd-commit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
}
.home-desktop .hd-commit-pills { display: flex; gap: 12px; margin-top: 30px; }
.home-desktop .hd-pill {
    display: flex;
    flex-direction: column;
    padding: 14px 20px 13px;
    border-radius: 14px;
    border: 1px solid var(--hd-card-border);
    background: var(--hd-card-bg);
}
.home-desktop .hd-pill-mark {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--mc-text);
}
.home-desktop .hd-pill-label {
    margin-top: 6px;
    font-family: var(--ln-font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mc-text-mute);
}
.home-desktop .hd-quote {
    position: relative;
    margin: 0;
    padding: 38px 38px 32px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(34, 178, 133, 0.10), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(34, 178, 133, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 80px -40px rgba(34, 178, 133, 0.35);
}
.home-desktop .hd-quote-mark { display: block; width: 34px; height: 26px; color: var(--mc-teal); opacity: 0.65; margin-bottom: 20px; }
.home-desktop .hd-quote-text {
    margin: 0 0 26px;
    font-family: var(--ln-font-display);
    font-weight: 400;
    font-size: 21px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--mc-text);
}
.home-desktop .hd-quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: var(--mc-text-soft);
}
.home-desktop .hd-quote-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(34, 178, 133, 0.4);
}
.home-desktop .hd-quote-author strong { color: var(--mc-text); font-weight: 500; }
.home-desktop .hd-fine {
    max-width: 720px;
    margin: 44px auto 0;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--mc-text-mute);
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.home-desktop .hd-final { position: relative; padding: 24px 0 120px; }
.home-desktop .hd-final-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: 84px 48px 64px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(ellipse 55% 75% at 50% 115%, rgba(34, 178, 133, 0.26), transparent 70%),
        rgba(255, 255, 255, 0.02);
}
.home-desktop .hd-final-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(223, 225, 244, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 225, 244, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, black 10%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, black 10%, transparent 75%);
}
.home-desktop .hd-final-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 255, 202, 0.5), transparent);
}
.home-desktop .hd-final-title {
    font-family: var(--ln-font-display);
    font-weight: 500;
    font-size: clamp(40px, 3.8vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 14em;
    margin: 0 auto 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(223, 225, 244, 0.72) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}
.home-desktop .hd-final-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--mc-text-soft);
    max-width: 34em;
    margin: 0 auto 38px;
}
.home-desktop .hd-final-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px 26px;
    flex-wrap: wrap;
}
.home-desktop .hd-final-fine {
    max-width: 600px;
    margin: 44px auto 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--mc-text-mute);
}

/* ================================================================
   RANGE TUNING
   1024-1279: tighter gutters and gaps so four-up rows keep their measure.
   1600+: a little more air, same 1200px content column.
   ================================================================ */
@media (max-width: 1279px) {
    .home-desktop { --hd-pad-x: 40px; }
    .home-desktop .hd-sect { padding: 96px 0; }
    .home-desktop .hd-hero-grid { gap: 28px; }
    .home-desktop .hd-hero-sub { font-size: 17px; }
    .home-desktop .hd-service { padding: 20px 18px; gap: 12px; }
    .home-desktop .hd-service-label { font-size: 14.5px; }
    .home-desktop .hd-features,
    .home-desktop .hd-stories,
    .home-desktop .hd-programs { gap: 16px; }
    .home-desktop .hd-split { gap: 48px; }
    .home-desktop .hd-commit { gap: 44px; }
    .home-desktop .hd-steps { gap: 28px; }
    .home-desktop .hd-resource { padding: 22px 20px 20px; }
}
@media (min-width: 1600px) {
    .home-desktop .hd-sect { padding: 120px 0; }
}

/* Short laptop screens: keep the hero's buttons on the first screen */
@media (max-height: 760px) {
    .home-desktop .hd-hero { padding-top: 108px; padding-bottom: 56px; }
    .home-desktop .hd-hero-title { font-size: clamp(46px, 4vw, 58px); margin-bottom: 18px; }
    .home-desktop .hd-hero-sub { margin-bottom: 28px; }
    .home-desktop .hd-hero-trust { margin-top: 22px; }
    .home-desktop .hd-hero-visual { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-desktop .hd-card,
    .home-desktop .hd-fan-tilt,
    .home-desktop .hd-link svg,
    .home-desktop .mc-btn--primary { transition: none; }
    .home-desktop .hd-card:hover,
    .home-desktop .mc-btn--primary:hover { transform: none; }
    .home-desktop .hd-live-dot { animation: none; }
}

/* ================================================================
   PAGE CHROME, DESKTOP ONLY
   The one rule here that sits outside .home-desktop: the shared footer's
   status line wrapped to three lines ("All / systems / normal") beside the
   address at desktop widths. This file only loads at 1024px and up, so the
   phone footer is untouched.
   ================================================================ */
body.mc-v3 .ln-footer .ln-footer-status { white-space: nowrap; margin-right: 18px; }
