:root {
    --home-ink: #eef6ff;
    --home-muted: #9bb0c6;
    --home-faint: #6f849b;
    --home-bg: #06111f;
    --home-panel: #0b1a2b;
    --home-panel-strong: #0d2034;
    --home-line: #203a50;
    --home-accent: #4bd9ec;
    --home-accent-dark: #072e3a;
    --home-max: 1180px;
    --home-radius: 12px;
    --mpt-header-offset: 77px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.homepage-2026 {
    margin: 0;
    min-width: 320px;
    padding-top: var(--mpt-header-offset);
    color: var(--home-ink);
    font-family: var(--mtp-font-sans);
    background:
        linear-gradient(rgba(75, 217, 236, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 217, 236, 0.035) 1px, transparent 1px),
        var(--home-bg);
    background-size: 48px 48px;
}

body.homepage-2026::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: 480px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 68% 0%, rgba(30, 143, 169, 0.2), transparent 60%);
}

[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
    outline: 3px solid var(--home-accent);
    outline-offset: 4px;
}

.home-skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.75rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    color: #03141d;
    background: var(--home-accent);
    font-weight: 700;
    transform: translateY(-150%);
}

.home-skip-link:focus { transform: translateY(0); }

#global-menu-container { background: #101c2d; }
#global-footer-container { min-height: 430px; background: #111d2e; }

.home-container {
    width: min(var(--home-max), calc(100% - 2rem));
    margin-inline: auto;
}

.home-section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    border-top: 1px solid rgba(75, 217, 236, 0.1);
    scroll-margin-top: 96px;
}

.home-section--tight { padding-block: clamp(2.8rem, 5vw, 4.2rem); }

.home-kicker,
.home-route-index,
.home-readout-label,
.home-directory summary,
.home-announcement__label {
    font-family: var(--mtp-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
}

.home-kicker { margin: 0 0 0.8rem; color: var(--home-accent); }

.home-section h2 {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-intro {
    max-width: 68ch;
    margin: 1rem 0 0;
    color: var(--home-muted);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.7;
}

.home-announcement {
    border-bottom: 1px solid rgba(75, 217, 236, 0.26);
    background: #0a2233;
}

.home-announcement__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding-block: 0.55rem;
    text-align: center;
    color: #dffbff;
}

.home-announcement__label { color: var(--home-accent); }
.home-announcement a { text-underline-offset: 0.25em; font-weight: 600; }

.home-hero { padding: clamp(3rem, 7vw, 6.2rem) 0 clamp(4rem, 8vw, 7rem); }

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: center;
}

.home-hero h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(3rem, 7.8vw, 6.6rem);
    line-height: 0.91;
    letter-spacing: -0.068em;
}

.home-hero__copy {
    max-width: 54ch;
    margin: 1.5rem 0 0;
    color: #bfd0e2;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.home-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }

.home-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    color: var(--home-ink);
    background: rgba(10, 27, 45, 0.74);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.home-button:hover { border-color: var(--home-accent); background: #102b40; }

.home-text-action {
    flex-basis: 100%;
    width: fit-content;
    min-height: 44px;
    padding: 0;
    border: 0;
    color: var(--home-accent);
    background: transparent;
    font: 700 0.95rem/1.3 var(--mtp-font-sans);
    text-align: left;
    cursor: pointer;
}

.home-text-action:hover { color: #a4eff8; text-decoration: underline; text-underline-offset: 0.3em; }
.home-hero__microcopy { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; margin: 1.15rem 0 0; color: var(--home-muted); font-size: 0.82rem; line-height: 1.45; }
.home-hero__microcopy span::before { content: "✓"; margin-right: 0.38rem; color: #5eead4; font-weight: 800; }

.home-button--primary {
    border-color: var(--home-accent);
    color: #04151d;
    background: var(--home-accent);
}

.home-button--primary:hover { background: #83eaf5; }

.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--home-muted);
    font-size: 0.88rem;
}

.home-hero__proof li::before { content: "//"; margin-right: 0.45rem; color: var(--home-accent); }

.home-product-shot { margin: 0; }

.home-product-shot__frame {
    position: relative;
    overflow: hidden;
    border: 1px solid #2c5067;
    border-radius: var(--home-radius);
    background: #081626;
    box-shadow: 18px 22px 0 rgba(1, 8, 15, 0.52);
}

.home-product-shot__frame::before {
    content: "LIVE PRODUCT UI";
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 1;
    padding: 0.35rem 0.5rem;
    color: #05202b;
    background: var(--home-accent);
    font: 700 0.65rem/1 var(--mtp-font-mono);
    letter-spacing: 0.08em;
}

.home-product-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 840; object-fit: cover; }

.home-product-shot figcaption { margin-top: 0.85rem; color: var(--home-muted); font-size: 0.82rem; line-height: 1.5; }

.home-route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    grid-template-rows: repeat(2, minmax(190px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.home-route {
    position: relative;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--home-line);
    background: rgba(9, 25, 42, 0.88);
}

.home-route:first-child {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    background:
        linear-gradient(180deg, rgba(75, 217, 236, 0.08), transparent 45%),
        rgba(9, 25, 42, 0.92);
}

.home-route:hover { border-color: #3c6c83; }
.home-route-index { position: absolute; top: 1.1rem; right: 1.1rem; color: var(--home-faint); }
.home-route h3 { max-width: 14ch; margin: 0; font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1.05; }
.home-route p { margin: 0.8rem 0 1.4rem; color: var(--home-muted); line-height: 1.6; }
.home-route a { width: max-content; color: var(--home-accent); font-weight: 700; text-underline-offset: 0.3em; }

.home-next {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    border: 1px solid #2b5269;
    background: #0a1b2c;
}

.home-next__heading,
.home-next__content { padding: clamp(1.4rem, 4vw, 3rem); }
.home-next__heading { border-right: 1px solid var(--home-line); }
.home-next__content { display: flex; flex-direction: column; justify-content: center; }
.home-next h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.home-next h3 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.home-next p { color: var(--home-muted); line-height: 1.65; }

.home-readouts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem; }
.home-readout { min-width: 110px; }
.home-readout-label { display: block; color: var(--home-faint); }
.home-readout strong { display: block; margin-top: 0.2rem; color: var(--home-accent); font: 600 1.6rem/1.2 var(--mtp-font-mono); }

.home-signal {
    padding: 1.1rem 0;
    border-block: 1px solid #2c4b60;
    background: #091827;
}

.home-signal__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--home-line);
}

.home-signal__item { padding: 1.15rem; background: #091827; }
.home-signal__item strong { display: block; font-size: 1rem; }
.home-signal__item span { display: block; margin-top: 0.3rem; color: var(--home-muted); font-size: 0.82rem; line-height: 1.45; }

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.home-feature {
    grid-column: span 4;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    border-top: 2px solid var(--home-accent);
    background: linear-gradient(145deg, #0c2034, #081625);
}

.home-feature:nth-child(1),
.home-feature:nth-child(4) { grid-column: span 7; }
.home-feature:nth-child(2),
.home-feature:nth-child(5) { grid-column: span 5; }

.home-feature__type { color: var(--home-accent); font: 600 0.68rem/1.2 var(--mtp-font-mono); text-transform: uppercase; letter-spacing: 0.09em; }
.home-feature h3 { margin: auto 0 0.7rem; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.home-feature p { margin: 0; color: var(--home-muted); line-height: 1.55; }
.home-feature a { margin-top: 1.1rem; font-weight: 700; text-underline-offset: 0.3em; }

.home-ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 2rem;
    border-block: 1px solid var(--home-line);
}

.home-lane { padding: 1.5rem; border-left: 1px solid var(--home-line); }
.home-lane:first-child { border-left: 0; }
.home-lane h3 { margin: 0; font-size: 1.15rem; }
.home-lane p { color: var(--home-muted); line-height: 1.6; }
.home-lane a { color: var(--home-accent); font-weight: 600; text-underline-offset: 0.25em; }

.home-trust {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.home-trust__call { color: var(--home-accent); font: 600 clamp(2rem, 5vw, 4rem)/1 var(--mtp-font-mono); }
.home-trust blockquote { margin: 0; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.45; }
.home-trust cite { display: block; margin-top: 1rem; color: var(--home-muted); font-size: 0.95rem; font-style: normal; }

.mtp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-blog-more { margin-top: 1.4rem; }

.home-directory {
    margin-top: 1.5rem;
    border: 1px solid var(--home-line);
    background: #091827;
}

.home-directory summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--home-accent);
    cursor: pointer;
}

.home-directory summary::after { content: "+"; font-size: 1.4rem; }
.home-directory[open] summary::after { content: "−"; }

.home-directory__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.2rem;
    border-top: 1px solid var(--home-line);
}

.home-directory h3 { margin: 0 0 0.65rem; font-size: 0.95rem; }
.home-directory ul { margin: 0; padding: 0; list-style: none; }
.home-directory li + li { margin-top: 0.45rem; }
.home-directory a { color: var(--home-muted); font-size: 0.9rem; text-underline-offset: 0.22em; }
.home-directory a:hover { color: var(--home-accent); }
.home-directory__status { margin: 0.8rem 0 0; color: var(--home-faint); font-size: 0.8rem; line-height: 1.5; }

.home-final {
    padding: clamp(3rem, 7vw, 6rem) 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(75, 217, 236, 0.05), transparent);
}

.home-final h2 { max-width: 18ch; margin-inline: auto; }
.home-final .home-intro { margin-inline: auto; }
.home-final .home-actions { flex-direction: column; align-items: center; justify-content: center; }
.home-final__button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.mtp-quick-start-dialog {
    width: min(720px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0;
    color: var(--home-ink);
    border: 1px solid #3b6177;
    border-radius: var(--home-radius);
    background: #081827;
}

.mtp-quick-start-dialog::backdrop { background: rgba(1, 7, 14, 0.86); }
.mtp-quick-start-shell { padding: clamp(1rem, 4vw, 2rem); }
.mtp-quick-start-top,
.mtp-quick-start-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.mtp-quick-start-progress { margin: 0; color: var(--home-accent); font: 600 0.78rem/1 var(--mtp-font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.mtp-icon-button { width: 44px; height: 44px; color: var(--home-ink); border: 1px solid var(--home-line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.5rem; }
.mtp-quick-start-step h2 { margin: 1.2rem 0 0.4rem; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.mtp-quick-start-step > p { margin: 0; color: var(--home-muted); line-height: 1.6; }
.mtp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.2rem; }
.mtp-choice { min-height: 62px; padding: 0.8rem; text-align: left; color: var(--home-ink); border: 1px solid var(--home-line); background: #0b2033; cursor: pointer; font-weight: 600; }
.mtp-choice:hover,
.mtp-choice[aria-pressed="true"] { border-color: var(--home-accent); background: var(--home-accent-dark); }
.mtp-quick-start-result { margin: 1.2rem 0; padding: 1.1rem; border-left: 3px solid var(--home-accent); background: #0b2033; }
.mtp-quick-start-result h3,
.mtp-quick-start-result p { margin: 0; }
.mtp-quick-start-result p { margin-top: 0.45rem; color: var(--home-muted); line-height: 1.6; }

@media (max-width: 960px) {
    .home-hero__grid,
    .home-next { grid-template-columns: 1fr; }
    .home-hero__grid { gap: 2.5rem; }
    .home-hero h1 { max-width: 14ch; }
    .home-next__heading { border-right: 0; border-bottom: 1px solid var(--home-line); }
    .home-route-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .home-route:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 260px; }
    .home-feature { grid-column: span 6 !important; }
    .mtp-blog-grid { grid-template-columns: 1fr 1fr; }
    .mtp-blog-grid > :last-child { grid-column: 1 / 3; }
    .home-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    :root { --mpt-header-offset: 60px; }
    #global-footer-container { min-height: 760px; }
    .home-container { width: min(100% - 1.25rem, var(--home-max)); }
    .home-section { padding-block: 3.6rem; }
    .home-hero { padding-top: 2.8rem; }
    .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .home-hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
    .home-actions { align-items: stretch; }
    .home-button { width: 100%; }
    .home-product-shot__frame { box-shadow: 8px 10px 0 rgba(1, 8, 15, 0.55); }
    .home-route-layout,
    .home-signal__grid,
    .home-ecosystem,
    .mtp-blog-grid,
    .home-directory__grid,
    .mtp-choice-grid { grid-template-columns: 1fr; }
    .home-route:first-child,
    .mtp-blog-grid > :last-child { grid-column: auto; }
    .home-route:first-child { min-height: 300px; }
    .home-signal__grid { gap: 0; }
    .home-signal__item + .home-signal__item { border-top: 1px solid var(--home-line); }
    .home-lane { border-left: 0; border-top: 1px solid var(--home-line); }
    .home-lane:first-child { border-top: 0; }
    .home-feature { grid-column: 1 / -1 !important; min-height: 220px; }
    .home-trust { grid-template-columns: 1fr; gap: 1rem; }
    .home-directory__grid { gap: 1.2rem; }
}

/* Homepage visual enrichment 2026 ------------------------------------------------ */
:root { --home-brass: #d7a94b; --home-brass-soft: #f0d49a; }

.homepage-2026 .home-container { width: min(calc(100% - 2rem), 1320px); }
.homepage-2026 .home-section { padding-block: clamp(5rem, 8vw, 7rem); }
.homepage-2026 .home-hero { padding-block: clamp(3.5rem, 7vw, 6.5rem); overflow: clip; }
.homepage-2026 .home-hero__grid { grid-template-columns: minmax(0, 0.84fr) minmax(34rem, 1.16fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.homepage-2026 .home-hero h1 { max-inline-size: 13ch; font-size: clamp(3rem, 5.3vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.homepage-2026 .home-hero__copy { max-width: 62ch; font-size: clamp(1.05rem, 1.5vw, 1.23rem); }
.homepage-2026 .home-button { min-height: 44px; }

.home-hero-visual { position: relative; min-width: 0; padding: 1.8rem 1.6rem 4.8rem 2rem; isolation: isolate; }
.home-hero-visual::before { content: ""; position: absolute; inset: 8% 0 12% 7%; z-index: -1; border-radius: 2rem; background: radial-gradient(circle at 70% 30%, rgba(41, 207, 222, 0.15), transparent 48%), #071523; box-shadow: 22px 28px 54px rgba(1, 8, 15, 0.5); }
.homepage-2026 .home-product-shot { margin: 0; }
.homepage-2026 .home-product-shot__frame { overflow: hidden; border: 1px solid rgba(116, 211, 223, 0.32); border-radius: 16px; box-shadow: 14px 18px 36px rgba(1, 8, 15, 0.48); background: #061424; }
.homepage-2026 .home-product-shot__frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.homepage-2026 .home-product-shot figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.7rem; color: var(--home-muted); font-size: 0.79rem; }
.homepage-2026 .home-product-shot figcaption span { color: var(--home-accent); font: 700 0.7rem/1 var(--mtp-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home-hero-key { position: absolute; right: 0; bottom: 0; width: min(42%, 19rem); overflow: hidden; border: 1px solid rgba(240, 212, 154, 0.38); border-radius: 14px; color: #fff8e8; background: #211b14; box-shadow: 12px 18px 34px rgba(0, 0, 0, 0.5); text-decoration: none; }
.home-hero-key img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f5f1e8; transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-hero-key__body { display: grid; gap: 0.18rem; min-width: 0; padding: 0.75rem 0.9rem; color: #d9c9aa; font-size: 0.76rem; }
.home-hero-key__body small { color: var(--home-brass-soft); font: 700 0.62rem/1.25 var(--mtp-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home-hero-key__body strong { overflow-wrap: anywhere; color: #fff8e8; font-size: 0.9rem; line-height: 1.25; }
.home-hero-key__body > span { overflow-wrap: anywhere; }
.home-hero-key:hover img { transform: scale(1.015); }
.home-hero-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; position: absolute; left: 0; bottom: 1rem; max-width: 64%; margin: 0; padding: 0; list-style: none; }
.home-hero-badges li { padding: 0.42rem 0.62rem; border: 1px solid rgba(125, 211, 252, 0.25); border-radius: 999px; color: #c8d9e8; background: rgba(4, 18, 31, 0.92); font-size: 0.72rem; }

.home-hero-support { position: absolute; right: 0; bottom: 0; width: min(72%, 31rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.home-hero-support__item { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(116, 211, 223, 0.34); border-radius: 12px; color: var(--home-ink); background: #081626; box-shadow: 8px 12px 26px rgba(0, 0, 0, 0.42); text-decoration: none; }
.home-hero-support__item > img { display: block; width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; object-position: top; opacity: 0.78; }
.home-hero-support__item > span { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.65rem; background: linear-gradient(180deg, transparent, rgba(3, 13, 24, 0.96) 34%); font-size: 0.78rem; }
.home-hero-support__item > span img { width: 2rem; height: 2rem; border-radius: 22%; }
.home-hero-support__item:hover { border-color: var(--home-accent); }

.home-launcher { padding: clamp(2.6rem, 5vw, 4.5rem) 0; border-block: 1px solid rgba(75, 217, 236, 0.2); background: linear-gradient(180deg, rgba(12, 34, 52, 0.96), rgba(7, 22, 36, 0.98)); scroll-margin-top: 96px; }
.home-launcher__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; }
.home-launcher__heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.home-launcher__heading p:not(.home-kicker) { max-width: 60ch; margin: 0.8rem 0 0; color: var(--home-muted); line-height: 1.6; }
.home-launcher__heading > a,
.home-launcher__browse { color: var(--home-accent); font-weight: 700; text-underline-offset: 0.3em; }
.home-launcher__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1rem); }
.home-launcher-tile { min-width: 0; min-height: 10.4rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.55rem; padding: 1rem 0.65rem 0.8rem; border: 1px solid rgba(111, 178, 202, 0.2); border-radius: 16px; color: var(--home-ink); background: rgba(8, 27, 44, 0.82); text-align: center; text-decoration: none; transition: transform 180ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease, background 180ms ease; }
.home-launcher-tile:hover { transform: translateY(-3px); border-color: rgba(75, 217, 236, 0.72); background: #0d2940; }
.home-launcher-tile img { width: clamp(4rem, 5.3vw, 4.5rem); height: clamp(4rem, 5.3vw, 4.5rem); border-radius: 22%; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3); }
.home-launcher-tile strong { max-width: 15ch; font-size: 0.9rem; line-height: 1.25; text-wrap: balance; }
.home-launcher-tile > span { margin-top: auto; padding: 0.25rem 0.48rem; border: 1px solid rgba(129, 219, 231, 0.22); border-radius: 999px; color: #bcd2e4; background: rgba(3, 16, 28, 0.72); font: 600 0.61rem/1.1 var(--mtp-font-mono); letter-spacing: 0.03em; }
.home-launcher__browse { display: none; margin-top: 1.4rem; }
.home-access-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: -0.35rem 0 1.5rem; padding-top: 0.75rem; border-top: 1px solid rgba(129, 219, 231, 0.24); color: var(--home-muted); font-size: 0.78rem; line-height: 1.45; }
.home-access-legend strong { color: var(--home-ink); }

.homepage-2026 .home-signal { border-block: 1px solid rgba(94, 190, 204, 0.2); background: #0a1a28; }
.homepage-2026 .home-signal__grid { gap: 0; }
.homepage-2026 .home-signal__item { min-width: 0; padding: 1.25rem clamp(1rem, 2vw, 1.8rem); }
.homepage-2026 .home-signal__item + .home-signal__item { border-left: 1px solid rgba(94, 190, 204, 0.17); }
.home-credibility .home-signal__item strong { color: var(--home-accent); font: 700 clamp(1.35rem, 2.2vw, 1.9rem)/1 var(--mtp-font-mono); }
.home-credibility .home-signal__item span { margin-top: 0.45rem; color: #bfd0e2; font-size: 0.8rem; line-height: 1.4; }

.homepage-2026 .home-route-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 1.25rem; }
.homepage-2026 .home-route,
.homepage-2026 .home-route:first-child { display: flex; grid-column: auto; grid-row: auto; min-height: 0; padding: 0; overflow: hidden; flex-direction: column; border-radius: 14px; background: #0b1d2c; }
.homepage-2026 .home-route > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #071522; }
.homepage-2026 .home-route__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.homepage-2026 .home-route__body p { flex: 1; }
.homepage-2026 .home-route--receive { border-color: rgba(75, 207, 165, 0.35); }
.homepage-2026 .home-route--send { border-color: rgba(215, 169, 75, 0.38); }
.homepage-2026 .home-route--contest { border-color: rgba(241, 120, 74, 0.38); }

.home-showcase { display: grid; gap: clamp(3rem, 7vw, 6rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.home-story { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.home-story--reverse { grid-template-columns: minmax(17rem, 0.55fr) minmax(0, 1.45fr); }
.home-story--reverse .home-story__media { order: 2; }
.home-story__media { overflow: hidden; border-radius: 16px; border: 1px solid rgba(111, 178, 202, 0.27); background: #071522; box-shadow: 16px 20px 42px rgba(1, 8, 15, 0.36); }
.home-story__media img { display: block; width: 100%; aspect-ratio: 16 / 10.7; object-fit: cover; transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-story:hover .home-story__media img { transform: scale(1.012); }
.home-story__copy > span { color: var(--home-accent); font: 700 0.75rem/1.2 var(--mtp-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home-story__copy h3 { margin: 0.75rem 0 0.8rem; font-size: clamp(1.9rem, 3.2vw, 3.25rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.home-story__copy p { max-width: 48ch; color: var(--home-muted); line-height: 1.7; }
.home-story__copy .home-story__identity { display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem; }
.home-story__identity img { width: 3.25rem; height: 3.25rem; border-radius: 22%; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28); }
.home-story__identity b { padding: 0.25rem 0.45rem; border: 1px solid rgba(75, 217, 236, 0.28); border-radius: 999px; color: #c7dae9; font-size: 0.6rem; letter-spacing: 0.03em; }
.home-support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
.home-support-card { overflow: hidden; border: 1px solid rgba(111, 178, 202, 0.24); border-radius: 14px; color: inherit; background: #0a1b2a; text-decoration: none; }
.home-support-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #071522; }
.home-support-card > span { display: grid; gap: 0.25rem; min-height: 5.4rem; padding: 1rem; color: var(--home-muted); font-size: 0.86rem; }
.home-support-card strong { color: #f4f8fc; font-size: 1rem; }
.home-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
.home-featured-card { min-width: 0; overflow: hidden; border: 1px solid rgba(111, 178, 202, 0.23); border-radius: 14px; background: #0a1b2a; }
.home-featured-card__media { display: block; overflow: hidden; }
.home-featured-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #071522; transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-featured-card:hover .home-featured-card__media img { transform: scale(1.012); }
.home-featured-card > div { display: flex; min-height: 15rem; flex-direction: column; padding: 1rem; }
.home-featured-card > div > span { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.home-featured-card > div > span img { width: 2.5rem; height: 2.5rem; border-radius: 22%; }
.home-featured-card > div > span b { padding: 0.25rem 0.45rem; border: 1px solid rgba(75, 217, 236, 0.24); border-radius: 999px; color: #bcd2e4; font: 600 0.59rem/1.1 var(--mtp-font-mono); }
.home-featured-card h3 { margin: 1rem 0 0.45rem; font-size: 1.25rem; }
.home-featured-card p { margin: 0; color: var(--home-muted); font-size: 0.9rem; line-height: 1.6; }
.home-featured-card > div > a { width: fit-content; margin-top: auto; padding-top: 1rem; color: var(--home-accent); font-weight: 700; text-underline-offset: 0.25em; }

.home-plans { background: linear-gradient(145deg, rgba(10, 31, 49, 0.98), rgba(6, 20, 34, 0.98)); }
.home-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.3rem; }
.home-plan { display: flex; min-width: 0; flex-direction: column; padding: clamp(1.2rem, 2.5vw, 1.7rem); border: 1px solid rgba(111, 178, 202, 0.24); border-radius: 14px; background: rgba(8, 27, 44, 0.84); }
.home-plan--premium { border-color: rgba(251, 191, 36, 0.52); background: radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.14), transparent 45%), #0c2032; box-shadow: 10px 14px 34px rgba(0, 0, 0, 0.28); }
.home-plan__label { margin: 0 0 0.7rem; color: var(--home-accent); font: 700 0.72rem/1.2 var(--mtp-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home-plan--premium .home-plan__label { color: #fcd34d; }
.home-plan h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; }
.home-plan__price { display: grid; gap: 0.25rem; margin: 1.35rem 0; }
.home-plan__price strong { font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1; }
.home-plan__price span { color: var(--home-muted); font-size: 0.82rem; }
.home-plan ul { display: grid; gap: 0.65rem; margin: 0 0 1.4rem; padding: 0; color: #c8d8e7; list-style: none; }
.home-plan li { position: relative; padding-left: 1.25rem; font-size: 0.9rem; line-height: 1.45; }
.home-plan li::before { content: "✓"; position: absolute; left: 0; color: #5eead4; font-weight: 800; }
.home-plan .home-button { width: 100%; margin-top: auto; }
.home-plan-compare { margin: 1.35rem 0 0; text-align: right; }
.home-plan-compare a { color: var(--home-accent); font-weight: 700; text-underline-offset: 0.3em; }

.homepage-2026 .home-directory__grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
.home-directory-group { padding: 1.2rem; }
.home-directory-group + .home-directory-group { border-top: 1px solid var(--home-line); }
.homepage-2026 .home-directory-group h3 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 0.85rem; color: var(--home-ink); font-size: 1rem; }
.home-directory-group h3 span { color: var(--home-faint); font: 600 0.72rem/1 var(--mtp-font-mono); }
.home-directory-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.homepage-2026 .home-directory-cards > a { min-width: 0; min-height: 4.4rem; display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); gap: 0.7rem; align-items: center; padding: 0.6rem; border: 1px solid rgba(111, 178, 202, 0.16); border-radius: 10px; color: var(--home-ink); background: rgba(7, 23, 38, 0.75); text-decoration: none; }
.homepage-2026 .home-directory-cards > a:hover { border-color: rgba(75, 217, 236, 0.58); background: #0c263b; }
.home-directory-cards img { width: 3.1rem; height: 3.1rem; border-radius: 22%; }
.home-directory-cards strong { display: block; overflow-wrap: anywhere; font-size: 0.84rem; line-height: 1.25; }
.home-directory-cards small { display: block; margin-top: 0.25rem; color: var(--home-faint); font: 600 0.61rem/1.2 var(--mtp-font-mono); }

.home-hardware { border-block: 1px solid rgba(215, 169, 75, 0.22); background: linear-gradient(135deg, #151817 0%, #211b14 58%, #11181d 100%); }
.home-hardware .home-kicker { color: var(--home-brass-soft); }
.home-hardware__layout { display: grid; grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.home-hardware__visual { margin: 0; overflow: hidden; border: 1px solid rgba(240, 212, 154, 0.24); border-radius: 14px; background: #f4f0e7; }
.home-hardware__visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-hardware__visual figcaption { padding: 0.7rem 1rem; color: #d9c9aa; background: #181714; font-size: 0.75rem; }
.home-hardware__metric { width: fit-content; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(240, 212, 154, 0.25); color: #fff8e8; font: 700 1rem/1.4 var(--mtp-font-mono); }
.home-key-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 2.4rem 0 1rem; padding: 0; list-style: none; }
.home-key-card { display: block; height: 100%; overflow: hidden; border: 1px solid rgba(240, 212, 154, 0.24); border-radius: 14px; color: inherit; background: rgba(12, 15, 15, 0.8); text-decoration: none; }
.home-key-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f5f1e8; transition: opacity 160ms ease-out, filter 160ms ease-out, transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-key-card:hover > img { transform: scale(1.015); }
.home-key-card.is-changing > img { opacity: 0.18; filter: saturate(0.65); transform: scale(0.985); }
.home-key-card__body { display: grid; gap: 0.42rem; padding: 1.15rem; }
.home-key-card__body small { color: var(--home-brass-soft); text-transform: uppercase; letter-spacing: 0.07em; }
.home-key-card__body strong { color: #fff8e8; }
.home-key-card__body > span { color: #cbbfa8; font-size: 0.86rem; line-height: 1.5; }
.home-key-card__fallback,
.home-hardware-fallback { display: grid; place-content: center; min-height: 14rem; border: 1px dashed rgba(240, 212, 154, 0.3); border-radius: 14px; color: #d9c9aa; text-align: center; }
.home-hardware-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.home-inputs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.home-inputs li { padding: 0.48rem 0.72rem; border: 1px solid rgba(240, 212, 154, 0.22); border-radius: 999px; color: #d9c9aa; font-size: 0.78rem; }
.home-maker-invite { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.35rem; padding: 1rem 1.15rem; border-block: 1px solid rgba(240, 212, 154, 0.2); color: #d9c9aa; }
.home-maker-invite > div { display: grid; gap: 0.28rem; }
.home-maker-invite strong { color: #fff8e8; }
.home-maker-invite span { font-size: 0.86rem; line-height: 1.5; }
.home-maker-invite > a { flex: 0 0 auto; color: var(--home-brass-soft); font-weight: 700; text-underline-offset: 0.24em; }

.homepage-2026 .home-ecosystem { grid-template-columns: 1.2fr 1fr; gap: 1.2rem; }
.homepage-2026 .home-lane { display: grid; grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1fr); gap: 1.3rem; align-items: center; padding: 1.2rem; overflow: hidden; border: 1px solid rgba(111, 178, 202, 0.22); border-radius: 14px; background: #0a1b2a; }
.homepage-2026 .home-lane:first-child { grid-column: 1 / -1; border-top: 1px solid rgba(111, 178, 202, 0.22); }
.homepage-2026 .home-lane img { display: block; width: 100%; max-height: 18rem; border-radius: 10px; object-fit: cover; }
.homepage-2026 .home-lane--hardware > img { aspect-ratio: 4 / 3; object-fit: contain; padding: clamp(0.45rem, 1.5vw, 1rem); background: #f4f0e7; transition: opacity 160ms ease-out, filter 160ms ease-out, transform 180ms cubic-bezier(.2,.8,.2,1); }
.homepage-2026 .home-lane--hardware.is-changing > img { opacity: 0.18; filter: saturate(0.65); transform: scale(0.985); }
.home-hardware-device { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.55rem; margin: 0 0 0.85rem; color: var(--home-muted); font-size: 0.78rem; }
.home-hardware-device > span { color: var(--home-brass-soft); font: 700 0.68rem/1.4 var(--mtp-font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.home-hardware-device > strong { color: #f4f8fc; }
.home-hardware-device > a { grid-column: 2; width: fit-content; color: var(--home-accent); text-underline-offset: 0.22em; }
.home-app-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.72rem; align-items: start; }
.home-app-icons a { display: grid; min-width: 0; gap: 0.55rem; color: #d8e6f1; font-size: 0.68rem; line-height: 1.25; text-align: center; text-decoration: none; }
.homepage-2026 .home-app-icons img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; object-fit: contain; box-shadow: 6px 9px 18px rgba(0, 0, 0, 0.34); transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-app-icons a:nth-child(2) { transform: translateY(-0.5rem); }
.home-app-icons a:hover img { transform: translateY(-3px); }
.home-app-icons a:focus-visible { outline: 3px solid #a4eff8; outline-offset: 4px; border-radius: 12px; }

.homepage-2026 .home-trust { grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.home-trust__visual { margin: 0; overflow: hidden; border: 1px solid rgba(215, 169, 75, 0.24); border-radius: 14px; background: #f4f0e7; }
.home-trust__visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 160ms ease-out, filter 160ms ease-out, transform 180ms cubic-bezier(.2,.8,.2,1); }
.home-trust__visual.is-changing img { opacity: 0.18; filter: saturate(0.65); transform: scale(0.985); }
.home-trust__visual figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0.18rem 0.65rem; padding: 0.75rem 1rem; color: #cbbfa8; background: #181714; font-size: 0.76rem; }
.home-trust__visual figcaption > span { color: var(--home-brass-soft); font: 700 0.64rem/1.4 var(--mtp-font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.home-trust__visual figcaption > strong { color: #fff8e8; }
.home-trust__visual figcaption > a { grid-column: 2; color: #a9d8ef; text-underline-offset: 0.2em; }
.home-trust h2 { margin: 0.7rem 0 1rem; }
.home-trust p { max-width: 58ch; color: var(--home-muted); font-size: 1.08rem; line-height: 1.7; }
.home-trust .home-trust__credit { font-size: 0.9rem; }
.home-product-shot__frame.is-image-failed,
.home-hero-support__item.is-image-failed,
.home-route.is-image-failed,
.home-story__media.is-image-failed,
.home-featured-card__media.is-image-failed,
.home-key-card.is-image-failed,
.home-lane.is-image-failed,
.home-trust__visual.is-image-failed { min-height: 12rem; background: #0a1b2a; }
.home-product-shot__frame.is-image-failed::after,
.home-hero-support__item.is-image-failed::after,
.home-route.is-image-failed::before,
.home-story__media.is-image-failed::after,
.home-featured-card__media.is-image-failed::after,
.home-key-card.is-image-failed::before,
.home-lane.is-image-failed::before,
.home-trust__visual.is-image-failed::before { content: "Morse Trainer Pro visual unavailable"; display: grid; min-height: 12rem; place-content: center; padding: 1rem; color: var(--home-muted); text-align: center; }
.home-hero-key.is-image-failed { position: absolute; min-height: 8rem; padding-top: 1rem; }

@media (max-width: 1100px) {
    .homepage-2026 .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .home-hero-visual { width: min(100%, 56rem); }
    .home-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-launcher__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-directory-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .homepage-2026 .home-route-layout { grid-template-columns: 1fr 1fr; }
    .homepage-2026 .home-route:first-child { grid-column: 1 / -1; }
    .home-story,
    .home-story--reverse { grid-template-columns: 1fr; }
    .home-story--reverse .home-story__media { order: 0; }
    .home-plan-grid,
    .home-hardware__layout,
    .home-key-gallery,
    .homepage-2026 .home-ecosystem { grid-template-columns: 1fr; }
    .homepage-2026 .home-lane:first-child { grid-column: auto; }
    .home-directory-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .homepage-2026 .home-container { width: min(calc(100% - 1.25rem), 1320px); }
    .homepage-2026 .home-section { padding-block: clamp(3.4rem, 14vw, 4.5rem); }
    .homepage-2026 .home-hero { padding-top: 2.5rem; padding-bottom: 3rem; }
    .homepage-2026 .home-hero h1 { font-size: clamp(2.75rem, 12.5vw, 4.1rem); line-height: 0.98; }
    .home-hero-visual { margin-top: 0.5rem; padding: 0; }
    .home-hero-visual::before { inset: 4% -1rem 8%; }
    .home-hero-key { right: 0; width: 42%; }
    .home-hero-badges { left: 0.5rem; bottom: 0.4rem; max-width: 56%; }
    .homepage-2026 .home-product-shot figcaption { display: none; }
    .home-hero-support { position: static; width: 100%; margin-top: 0.75rem; }
    .home-launcher__heading { align-items: flex-start; flex-direction: column; }
    .home-launcher__heading > a { display: none; }
    .home-launcher__browse { display: inline-block; }
    .home-final__button-row { width: 100%; flex-direction: column; }
    .home-final__button-row .home-button { width: 100%; }
    .home-launcher__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
    .home-launcher-tile { min-height: 9.6rem; padding-inline: 0.35rem; }
    .home-launcher-tile strong { font-size: 0.8rem; }
    .homepage-2026 .home-signal__item + .home-signal__item { border-left: 0; }
    .homepage-2026 .home-signal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .homepage-2026 .home-signal__item:nth-child(even) { border-left: 1px solid rgba(94, 190, 204, 0.17); }
    .homepage-2026 .home-signal__item:nth-child(n + 3) { border-top: 1px solid rgba(94, 190, 204, 0.17); }
    .homepage-2026 .home-route-layout,
    .home-support-grid { grid-template-columns: 1fr; }
    .homepage-2026 .home-route:first-child { grid-column: auto; }
    .home-story__copy h3 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
    .home-featured-grid,
    .home-directory-cards { grid-template-columns: 1fr; }
    .home-key-gallery { gap: 0.9rem; }
    .homepage-2026 .home-lane,
    .homepage-2026 .home-trust { grid-template-columns: 1fr; }
    .home-hardware-actions .home-button { width: 100%; }
    .home-maker-invite { align-items: flex-start; flex-direction: column; gap: 0.8rem; }

    body.homepage-2026 .mpt-back-to-top {
        position: static;
        right: auto;
        bottom: auto;
        z-index: auto;
        display: block;
        width: max-content;
        min-width: 44px;
        min-height: 44px;
        margin: 1rem auto calc(1rem + env(safe-area-inset-bottom));
        transform: none;
    }

    body.homepage-2026 .mpt-back-to-top.is-visible { transform: none; }
}

@media (max-width: 360px) {
    .home-launcher__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
