/* Homepage foundation: dashboard tokens, responsive panels and clear actions. */
.ref-home-saas {
    --home-surface: #fff;
    --home-canvas: #f8f9ff;
    --home-ink: #1a1b23;
    --home-muted: #656879;
    --home-line: var(--ref-line, #e2e4ec);
    --home-brand: #3d55d5;
    --home-action: #3d55d5;
    --home-action-hover: #3045b5;
    background: var(--home-canvas);
    color: var(--home-ink);
}
html[data-theme="dark"] .ref-home-saas {
    --home-surface: #172033;
    --home-canvas: #0f1726;
    --home-ink: #f1f5fc;
    --home-muted: #b7c2d5;
    --home-line: #334155;
    --home-brand: rgb(var(--brand-300));
}
.ref-home-saas .ref-home-hero {
    min-height: 0;
    padding: clamp(100px, 10vw, 156px) 0 64px;
    background: var(--home-canvas);
    border-bottom: 1px solid var(--home-line);
}
.ref-home-saas .ref-home-hero::before,
.ref-home-saas .ref-home-deploy-map,
.ref-home-saas .ref-home-float-chip { display: none; }
.ref-home-saas .ref-home-hero-inner {
    width: min(calc(100% - 48px), 1280px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
}
html body .ref-home-saas .ref-home-hero h1 {
    color: var(--home-ink) !important;
    font-size: clamp(2.6rem, 4.3vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.ref-home-saas .ref-home-hero h1 span { color: var(--home-brand); }
.ref-home-saas .ref-home-hero-copy > p { margin-top: 24px; font-size: 17px; color: var(--home-muted); line-height: 1.7; }
.ref-home-saas .ref-home-hero-actions { margin-top: 28px; gap: 12px; flex-wrap: wrap; }
.ref-home-saas .ref-home-hero-actions a { min-height: 48px; padding: 12px 20px; border-radius: 10px; font-size: 14px; gap: 10px; }
.ref-home-saas .ref-home-primary { background: var(--home-action); box-shadow: none; }
.ref-home-saas .ref-home-primary > span { width: 20px; height: 20px; background: transparent; color: inherit; }
.ref-home-saas .ref-home-secondary { background: var(--home-surface); border: 1px solid var(--home-line); color: var(--home-ink); }
.ref-home-saas .ref-home-trust { flex-wrap: wrap; color: var(--home-muted); margin-top: 24px; }
.ref-home-saas .ref-home-kicker { flex-wrap: wrap; gap: 8px; }
.ref-home-saas .ref-home-kicker > span { background: var(--home-action); }
.ref-home-saas .ref-home-announcements { width: min(100%, 330px); }
.ref-home-saas .ref-home-kicker a { color: var(--home-muted); }
.ref-home-saas .ref-home-console-stage { min-width: 0; padding: 0; transform: none; }
.ref-home-saas .ref-home-account-console { border: 1px solid var(--home-line); border-radius: 16px; background: var(--home-surface); box-shadow: 0 16px 48px rgb(20 30 70 / 8%); transform: none; animation: none; }
.ref-home-saas .ref-home-account-console::before { background: var(--home-brand); }
.ref-home-saas .ref-home-account-topbar,
.ref-home-saas .ref-home-account-body aside { background: var(--home-surface); border-color: var(--home-line); }
.ref-home-saas .ref-home-account-main { background: var(--home-canvas); padding: 20px; }
.ref-home-saas .ref-home-account-metrics > div,
.ref-home-saas .ref-home-server-card { background: var(--home-surface); border-color: var(--home-line); border-radius: 10px; }
.ref-home-saas .ref-home-account-console strong { color: var(--home-ink); }
.ref-home-saas .ref-home-account-console small,
.ref-home-saas .ref-home-account-foot,
.ref-home-saas .ref-home-account-live { color: var(--home-muted); font-size: 12px; }
.ref-home-saas .ref-home-account-metrics strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.ref-home-saas .ref-home-account-metrics span.is-good { font-size: 11px; color: var(--home-muted); }
.ref-home-saas .ref-home-server-title strong { font-size: 14px; }
.ref-home-saas .ref-home-server-title b { font-size: 11px; }
.ref-home-saas .ref-home-server-details { gap: 12px; border-color: var(--home-line); }
.ref-home-saas .ref-home-server-details strong { font-size: 12px; overflow-wrap: anywhere; }
.ref-home-saas .ref-home-server-chart { display: none; }
.ref-home-saas .ref-home-preview-action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: #fff; background: var(--home-action); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ref-home-saas .ref-home-products { width: min(calc(100% - 48px), 1280px); margin: 40px auto; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ref-home-saas .ref-home-products a { padding: 24px; min-height: 170px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); color: var(--home-ink); box-shadow: none; }
.ref-home-saas .ref-home-products a:hover { transform: translateY(-2px); border-color: var(--home-brand); }
.ref-home-saas .ref-home-products span { color: var(--home-muted); font-size: 13px; }
.ref-home-saas .ref-home-products span b { color: var(--home-brand); }
.ref-home-saas .ref-home-products small { font-size: 11px; letter-spacing: .02em; }
.ref-home-saas .ref-home-container { width: min(calc(100% - 48px), 1280px); }
.ref-home-saas .ref-home-promise,
.ref-home-saas .ref-home-faq { background: var(--home-canvas); padding-block: 72px; }
.ref-home-saas .ref-home-promise-grid article { border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); padding: 28px; box-shadow: none; }
.ref-home-saas .ref-home-promise .ref-home-section-heading h2,
.ref-home-saas .ref-home-promise h3,
html body .ref-home-saas .ref-home-faq h2 { color: var(--home-ink) !important; }
.ref-home-saas .ref-home-promise .ref-home-section-heading p,
.ref-home-saas .ref-home-promise-grid p,
.ref-home-saas .ref-home-faq .text-gray-500,
.ref-home-saas .ref-home-faq .text-gray-400 { color: var(--home-muted); }
.ref-home-saas .ref-home-faq-item { padding-inline: 20px; border: 1px solid var(--home-line); border-radius: 10px; margin-bottom: 12px; background: var(--home-surface); }
.ref-home-saas .ref-home-faq button span { color: var(--home-ink); }
.ref-home-saas :is(a, button):focus-visible { outline: 3px solid var(--home-brand); outline-offset: 4px; }
@media (max-width: 1023px) {
    .ref-home-saas .ref-home-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .ref-home-saas .ref-home-hero-copy { max-width: 680px; }
    .ref-home-saas .ref-home-console-stage { max-width: 680px; width: 100%; margin-inline: auto; }
}
@media (max-width: 639px) {
    .ref-home-saas .ref-home-hero-inner,
    .ref-home-saas .ref-home-container,
    .ref-home-saas .ref-home-products { width: calc(100% - 32px); }
    .ref-home-saas .ref-home-hero { padding-block: 104px 40px; }
    .ref-home-saas .ref-home-hero-actions a { flex: 1 1 160px; }
    .ref-home-saas .ref-home-account-body { grid-template-columns: 1fr; }
    .ref-home-saas .ref-home-account-body aside { display: none; }
    .ref-home-saas .ref-home-account-main { padding: 12px; }
    .ref-home-saas .ref-home-account-metrics { gap: 6px; }
    .ref-home-saas .ref-home-account-metrics > div { padding: 10px 8px; }
    .ref-home-saas .ref-home-account-metrics span.is-good { display: none; }
    .ref-home-saas .ref-home-account-topbar { flex-wrap: wrap; gap: 8px; }
    .ref-home-saas .ref-home-server-details { grid-template-columns: 1fr 1fr; }
    .ref-home-saas .ref-home-account-foot { flex-wrap: wrap; gap: 8px; }
    .ref-home-saas .ref-home-promise,
    .ref-home-saas .ref-home-faq { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .ref-home-saas *, .ref-home-saas *::before, .ref-home-saas *::after { animation: none !important; transition: none !important; }
}

/* Glass art direction. Scoped to the homepage, including legacy-style resets. */
.ref-home-glass {
    --glass-panel: rgba(255,255,255,.76);
    --glass-edge: rgba(255,255,255,.95);
    --glass-shadow: 0 24px 70px rgba(51,65,125,.10), inset 0 1px 0 rgba(255,255,255,.9);
    --glass-blue: rgba(var(--color-primary-rgb),.18);
    --glass-mint: rgba(90,218,200,.17);
    --home-canvas: #f5f7ff;
    isolation: isolate;
    background: radial-gradient(ellipse at 0 45%, var(--glass-blue), transparent 40%), var(--home-canvas);
}
html[data-theme="dark"] .ref-home-glass {
    --glass-panel: rgba(25,36,58,.83);
    --glass-edge: rgba(179,199,255,.22);
    --glass-shadow: 0 24px 70px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.08);
    --glass-blue: rgba(var(--color-primary-rgb),.24);
    --glass-mint: rgba(50,172,166,.13);
    --home-canvas: #0e1628;
}
.ref-home-glass .ref-home-hero {
    overflow: hidden;
    padding-block: clamp(124px, 8vw, 148px) 72px;
    border: 0;
    background: radial-gradient(ellipse at 85% 38%, var(--glass-blue), transparent 46%), radial-gradient(ellipse at 50% 100%, var(--glass-mint), transparent 45%), var(--home-canvas);
}
.ref-home-glass .ref-home-hero-inner {
    width: min(calc(100% - 64px), 1440px);
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
    gap: clamp(48px, 5vw, 80px);
}
.ref-home-glass .home-glass-pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background-image: radial-gradient(var(--home-line) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(110deg, transparent 32%, #000 100%); }
.home-glass-pattern span { position: absolute; display: block; border: 1px solid var(--glass-edge); background: linear-gradient(140deg, var(--glass-edge), transparent 65%); box-shadow: var(--glass-shadow); }
.home-glass-pattern span:nth-child(1) { width: 280px; height: 280px; right: -112px; top: 188px; border-radius: 72px; opacity: .45; transform: rotate(32deg); }
.home-glass-pattern span:nth-child(2) { width: 170px; height: 170px; left: 47%; bottom: -110px; border-radius: 50%; border-width: 26px; opacity: .4; }
.home-glass-pattern span:nth-child(3) { width: 130px; height: 130px; right: 28%; top: -65px; border-radius: 28px; transform: rotate(-24deg); }
html body .ref-home-glass .ref-home-hero h1 { max-width: 640px; font-size: clamp(3rem, 4.35vw, 4.55rem) !important; line-height: 1.04 !important; letter-spacing: -.055em !important; font-weight: 720; }
html body .ref-home-glass .ref-home-hero h1 span { color: var(--home-brand); }
.ref-home-glass .ref-home-hero-copy { text-align: left; }
.ref-home-glass .ref-home-hero-copy > p { max-width: 490px; margin-inline: 0; }
.ref-home-glass .ref-home-kicker { width: min(100%, 480px); min-height: 44px; padding: 6px 10px 6px 6px; display: grid; grid-template-columns: auto minmax(0, 1fr); border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass-panel); box-shadow: 0 4px 16px rgb(30 50 110 / 4%); }
.ref-home-glass .ref-home-kicker > span { color: white; border-radius: 8px; }
.ref-home-glass .ref-home-announcements { width: 100%; min-width: 0; height: 32px; }
.ref-home-glass .ref-home-announcements a { min-height: 32px; padding-inline: 10px 0; }
.ref-home-glass .ref-home-announcements strong { font-size: 12px; }
.ref-home-glass .ref-home-hero-actions { justify-content: flex-start; }
.ref-home-glass .ref-home-hero-actions a { border-radius: 14px; min-height: 52px; text-transform: none; letter-spacing: 0; font-size: 14px !important; }
.ref-home-glass .ref-home-primary { background: var(--home-action); box-shadow: 0 8px 20px rgb(82 113 255 / 24%), inset 0 1px 0 rgb(255 255 255 / 25%); }
.ref-home-glass .ref-home-primary:hover { background: var(--home-action-hover); }
.ref-home-glass .ref-home-secondary { background: var(--glass-panel); border-color: var(--glass-edge); box-shadow: 0 4px 16px rgb(30 50 110 / 5%); }
.ref-home-glass .ref-home-secondary:hover { color: var(--home-brand); background: var(--home-surface); }
.ref-home-glass .ref-home-trust { justify-content: flex-start; font-size: 12px; }
.ref-home-glass .ref-home-console-stage { min-width: 0; padding: 10px 0 0; position: relative; align-self: center; }
.home-glass-orbit { position: absolute; width: 112%; height: 112%; left: -6%; top: -6%; pointer-events: none; stroke: var(--home-brand); stroke-opacity: .1; stroke-width: 1; }
.home-glass-orbit .home-orbit-dot { fill: var(--home-brand); stroke: var(--glass-edge); stroke-width: 4; stroke-opacity: 1; }
.home-glass-caption { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0 0 14px 18px; }
.home-glass-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--glass-panel); border: 1px solid var(--glass-edge); color: var(--home-brand); box-shadow: var(--glass-shadow); }
.home-glass-symbol svg { width: 25px; height: 25px; }
.home-glass-caption small { display: block; font-size: 10px; letter-spacing: .11em; color: var(--home-muted); font-weight: 700; }
.home-glass-caption strong { display: block; margin-top: 3px; font-size: 15px; color: var(--home-ink); }
.ref-home-glass .ref-home-account-console { width: 100%; background: var(--glass-panel); border: 1px solid var(--glass-edge); border-radius: 22px; box-shadow: var(--glass-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ref-home-glass .ref-home-account-console::before { height: 1px; background: linear-gradient(90deg, transparent, var(--home-brand), transparent); opacity: .4; }
.ref-home-glass .ref-home-account-topbar,
.ref-home-glass .ref-home-account-body aside { background: transparent; }
.ref-home-glass .ref-home-account-main { background: transparent; }
.ref-home-glass .ref-home-account-heading,
.ref-home-glass .ref-home-server-title { min-width: 0; }
.ref-home-glass .ref-home-account-heading > p,
.ref-home-glass .ref-home-server-title > p { min-width: 0; }
.ref-home-glass .ref-home-server-title > p :is(strong, small) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-home-glass .ref-home-account-metrics > div,
.ref-home-glass .ref-home-server-card { background: var(--glass-panel); border-color: var(--glass-edge); border-radius: 12px; }
.home-glass-workspace-note { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; width: min(78%, 390px); margin: 12px 18px 0 auto; padding: 13px 16px; border: 1px solid var(--glass-edge); border-radius: 14px; background: var(--glass-panel); box-shadow: 0 12px 32px rgb(30 50 110 / 7%); }
.home-glass-workspace-note > span { color: var(--home-brand); font-size: 26px; }
.home-glass-workspace-note strong { display: block; font-size: 13px; color: var(--home-ink); }
.home-glass-workspace-note small { display: block; margin-top: 3px; font-size: 11px; color: var(--home-muted); }
.ref-home-glass .ref-home-trusted { border-color: var(--home-line); background: transparent; }
.ref-home-glass .ref-home-products { margin-block: 48px 16px; gap: 18px; }
.ref-home-glass .ref-home-products a { position: relative; overflow: hidden; padding: 28px; min-height: 200px; border-radius: 22px; background: var(--glass-panel); border-color: var(--glass-edge); box-shadow: var(--glass-shadow); }
.ref-home-glass .ref-home-products a::before { content: ""; position: absolute; width: 100px; height: 100px; border: 18px solid var(--glass-blue); border-radius: 28px; top: -48px; right: -32px; transform: rotate(32deg); pointer-events: none; }
.ref-home-glass .ref-home-products a:nth-child(even)::before { border-radius: 50%; border-color: var(--glass-mint); }
.ref-home-glass .ref-home-products strong { font-size: 17px; padding-right: 8px; }
.ref-home-glass .ref-home-products span b { display: block; margin: 8px 0 0; font-size: 23px; letter-spacing: -.04em; }
.ref-home-glass .ref-home-products a > * { position: relative; }
.ref-home-glass .ref-home-stats { background: transparent; }
.ref-home-glass .ref-home-stats-grid { border: 0; background: transparent; box-shadow: none; }
.ref-home-glass .ref-home-promise { background: radial-gradient(ellipse at 0 70%, var(--glass-mint), transparent 55%), transparent; }
.ref-home-glass .ref-home-section-heading { max-width: 730px; }
.ref-home-glass .ref-home-section-heading h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.12; }
html body .ref-home-glass .ref-home-promise .ref-home-section-heading > p { color: var(--home-muted) !important; }
.ref-home-glass .ref-home-promise-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.ref-home-glass .ref-home-promise-grid article { position: relative; overflow: hidden; min-height: 300px; padding: 30px; border-radius: 24px; border-color: var(--glass-edge); background: var(--glass-panel); box-shadow: var(--glass-shadow); }
.ref-home-glass .ref-home-promise-grid article:hover { border-color: rgba(var(--color-primary-rgb),.34) !important; background: var(--glass-panel) !important; box-shadow: var(--glass-shadow) !important; }
.ref-home-glass .ref-home-promise-grid article::before { content: ""; display: block; width: 72px; height: 72px; margin-bottom: 32px; border: 16px solid var(--glass-blue); border-radius: 22px; transform: rotate(-15deg); box-shadow: 18px 10px 0 -4px var(--glass-mint); }
.ref-home-glass .ref-home-promise-grid article:nth-child(2)::before { border-radius: 50%; transform: none; }
.ref-home-glass .ref-home-promise-grid article:nth-child(3)::before { border-radius: 12px 35px 12px 35px; transform: rotate(15deg); }
.ref-home-glass .ref-home-promise-grid article > span { position: absolute; top: 30px; right: 30px; color: var(--home-muted); }
html body .ref-home-glass .ref-home-promise .ref-home-promise-grid h3 { color: var(--home-ink) !important; margin-top: 0; font-size: 21px; }
.ref-home-glass .ref-home-promise .ref-home-eyebrow { background: var(--glass-panel); color: var(--home-brand); border: 1px solid var(--glass-edge); }
.ref-home-glass .ref-home-steps { width: min(calc(100% - 48px), 1344px); margin: 24px auto; overflow: hidden; border: 1px solid rgb(255 255 255 / 10%); border-radius: 32px; color: #fff; background: radial-gradient(ellipse at 100% 0, #294978, transparent 65%), #111d35; padding-block: 64px !important; box-shadow: 0 24px 70px rgb(15 29 55 / 14%); }
.ref-home-glass .ref-home-steps .ref-home-container { width: calc(100% - 64px); }
.ref-home-glass .ref-home-steps .ref-home-section-heading h2 { color: #fff !important; text-shadow: 0 1px 1px rgb(0 0 0 / 12%); }
.ref-home-glass .ref-home-steps .ref-home-section-heading p { color: #cbd5e7 !important; }
.ref-home-glass .ref-home-steps .ref-home-eyebrow { color: #d8d2ff; background: rgb(125 107 255 / 18%); border: 1px solid rgb(216 210 255 / 24%); }
.ref-home-glass .ref-home-steps-grid li { color: #fff; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 15%); border-radius: 18px; }
.ref-home-glass .ref-home-steps-grid li:hover { color: #fff; border-color: rgb(164 180 255 / 45%); background: rgb(255 255 255 / 8%); box-shadow: none; }
.ref-home-glass .ref-home-steps-grid b { color: #d8dfff; background: rgb(125 107 255 / 18%); }
.ref-home-glass .ref-home-steps-grid strong { color: #fff; }
.ref-home-glass .ref-home-steps-grid small { color: #cbd5e7; }
.ref-home-glass .ref-home-faq { background: transparent; border: 0; }
.ref-home-glass .ref-home-faq-item { border-radius: 16px; border-color: var(--glass-edge); background: var(--glass-panel); box-shadow: 0 4px 16px rgb(30 50 110 / 3%); }
html body .ref-home-glass .ref-home-faq button span { color: var(--home-ink) !important; }
html body .ref-home-glass .ref-home-faq :is(.text-gray-400, .text-gray-500) { color: var(--home-muted) !important; }
html[data-theme="dark"] .ref-home-glass .ref-home-account-console,
html[data-theme="dark"] .ref-home-glass .ref-home-account-topbar,
html[data-theme="dark"] .ref-home-glass .ref-home-account-body aside,
html[data-theme="dark"] .ref-home-glass .ref-home-account-main,
html[data-theme="dark"] .ref-home-glass .ref-home-account-metrics > div,
html[data-theme="dark"] .ref-home-glass .ref-home-server-card { background: var(--glass-panel); border-color: var(--glass-edge); }
html[data-theme="dark"] .ref-home-glass .ref-home-products small { background: rgba(15,23,42,.5); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ref-home-glass { --glass-panel: var(--home-surface); }
}
@media (max-width: 1199px) {
    .ref-home-glass .ref-home-hero-inner { width: min(calc(100% - 48px), 860px); gap: 48px; }
    .ref-home-saas .ref-home-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .ref-home-glass .ref-home-hero-copy { text-align: center; }
    .ref-home-glass .ref-home-hero-copy > p { margin-inline: auto; }
    .ref-home-glass .ref-home-kicker { margin-inline: auto; }
    .ref-home-glass :is(.ref-home-hero-actions, .ref-home-trust) { justify-content: center; }
    .ref-home-glass .ref-home-promise-grid { grid-template-columns: 1fr; }
    .ref-home-glass .ref-home-promise-grid article { min-height: 0; }
}
@media (max-width: 767px) {
    .ref-home-glass .ref-home-trusted { padding-block: 24px; }
    .ref-home-glass .ref-home-trusted-label { margin-bottom: 14px; }
    .ref-home-glass .ref-home-trusted-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ref-home-glass .ref-home-trusted-strip span { padding: 10px; border: 1px solid var(--glass-edge); border-radius: 10px; background: var(--glass-panel); font-size: 13px; opacity: .72; text-align: center; }
    .ref-home-glass .ref-home-stats-grid { padding-inline: 0; }
    .ref-home-glass .ref-home-account-topbar { align-items: flex-start; }
    .ref-home-glass .ref-home-account-topbar > div,
    .ref-home-glass .ref-home-account-topbar p { min-width: 0; }
    .ref-home-glass .ref-home-account-topbar small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 639px) {
    .ref-home-glass .ref-home-hero-inner { width: calc(100% - 32px); }
    html body .ref-home-glass .ref-home-hero h1 { font-size: clamp(2.7rem, 11vw, 3.6rem) !important; }
    .ref-home-glass .ref-home-hero { padding-block: 124px 48px; }
    .ref-home-glass .ref-home-hero-actions { flex-direction: row; }
    .ref-home-glass .ref-home-hero-actions a { flex: 1 1 150px; max-width: none; }
    .ref-home-glass .ref-home-kicker { max-width: 100%; }
    .ref-home-glass .ref-home-kicker > span { padding-inline: 9px; font-size: 9px; }
    .home-glass-caption { margin-left: 0; }
    .home-glass-caption small { font-size: 9px; }
    .home-glass-caption strong { font-size: 13px; }
    .home-glass-workspace-note { padding: 12px; margin-right: 8px; }
    .ref-home-glass .ref-home-account-live { display: inline-flex; white-space: normal; }
    .ref-home-glass .ref-home-account-metrics,
    .ref-home-glass .home-glass-caption,
    .ref-home-glass .home-glass-workspace-note,
    .ref-home-glass .home-glass-orbit { display: none; }
    .ref-home-glass .ref-home-account-heading { align-items: flex-start; }
    .ref-home-glass .ref-home-preview-action { flex: 0 0 auto; min-width: 44px; padding-inline: 10px; }
    .ref-home-glass .ref-home-account-metrics { grid-template-columns: 1fr; }
    .ref-home-glass .ref-home-account-metrics > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
    .ref-home-glass .ref-home-account-metrics > div small { grid-column: 1; }
    .ref-home-glass .ref-home-account-metrics > div strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 22px; }
    .ref-home-glass .ref-home-account-metrics span.is-good { display: block; grid-column: 1; margin: 0; }
    .ref-home-glass .ref-home-server-title > span { display: none; }
    .ref-home-glass .ref-home-server-details { grid-template-columns: 1fr; }
    .ref-home-glass .ref-home-server-details span:last-child { display: flex; }
    .ref-home-glass .ref-home-products { grid-template-columns: minmax(0,1fr); }
    .ref-home-glass .ref-home-steps { width: calc(100% - 24px); border-radius: 24px; padding-block: 40px !important; }
    .ref-home-glass .ref-home-steps .ref-home-container { width: calc(100% - 32px); }
}

/* Homepage accents and pricing notes; checkout retains its existing tokens. */
.ref-home-saas .ref-home-pricing-note { color: var(--home-muted); font-size: 14px; line-height: 1.6; margin-block: 16px 32px; }
.ref-home-saas .ref-home-pricing-note a { color: var(--home-brand); text-decoration: underline; text-underline-offset: 3px; }
.ref-home-saas .ref-home-price-note { display: block; margin-top: 8px; }
.ref-home-glass .ref-home-products span b span { font-size: 14px; color: var(--home-muted); letter-spacing: normal; }
.ref-home-glass .ref-home-stats-grid strong { font-size: clamp(1.1rem, 2vw, 1.5rem); overflow-wrap: anywhere; }
.ref-home-glass .ref-home-announcements { height: auto; mask-image: none; -webkit-mask-image: none; }
.ref-home-glass .ref-home-announcements a { position: relative; inset: auto; min-height: 44px; will-change: auto; }
.ref-home-glass .ref-home-announcements strong { white-space: normal; overflow-wrap: anywhere; }

/* ── Homepage v2: dark hero, proof chips, white plan cards (reference layout, MeroVPS tokens) ── */
.mh-home { --mh-ink: #050b1c; --mh-ink-2: #0b1530; --mh-brand: var(--color-primary); --mh-brand-hover: #4363f1; --mh-line-dark: rgb(164 180 255 / 18%); }
.mh-promo { position: relative; z-index: 31; padding: 10px 16px; text-align: center; background: #eef1ff; color: var(--mh-ink); font-size: 14px; }
html[data-theme="dark"] .mh-promo { background: #131d3a; color: #e6ebff; }
.mh-promo a { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; color: inherit; }
.mh-promo span { color: var(--mh-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mh-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(72px, 7vw, 104px) 0 72px; background: radial-gradient(ellipse at 78% 30%, rgb(82 113 255 / 28%), transparent 55%), linear-gradient(180deg, var(--mh-ink) 0%, var(--mh-ink-2) 100%); }
.mh-promo + .mh-hero { padding-top: 64px; }
.mh-hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(164 180 255 / 7%) 1px, transparent 1px), linear-gradient(90deg, rgb(164 180 255 / 7%) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.mh-hero-inner { position: relative; box-sizing: border-box; width: 100%; max-width: 1440px; padding-inline: clamp(16px, 3vw, 40px); margin-inline: auto; } /* same container as the header shell */
.mh-hero-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
html body .mh-home .mh-hero h1 { margin: 0; color: #fff !important; font-family: var(--font-brand-display); font-size: clamp(2.2rem, 4.4vw, 3.8rem) !important; line-height: 1.08 !important; letter-spacing: -.04em !important; font-weight: 700; text-wrap: balance; }
.mh-hero-head p { margin: 18px auto 0; max-width: 580px; color: #c3cbe6; font-size: 17px; line-height: 1.65; }
.mh-hero-body { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.mh-hero-side { display: flex; flex-direction: column; gap: 12px; }
.mh-chips { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.mh-chips li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--mh-line-dark); border-radius: 10px; background: rgb(255 255 255 / 6%); color: #e6ebff; font-size: 14px; font-weight: 500; }
.mh-chips svg { width: 18px; height: 18px; flex: none; color: rgb(var(--brand-300)); }
.mh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.mh-btn-primary { background: var(--mh-brand); color: #fff; }
.mh-btn-primary:hover { background: var(--mh-brand-hover); color: #fff; }
.mh-btn-ghost { border: 1px solid var(--mh-line-dark); color: #fff; }
.mh-btn-ghost:hover { background: rgb(255 255 255 / 8%); color: #fff; }
.mh-btn-block { width: 100%; }
.mh-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.mh-plan { display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: 14px; background: #fff; color: var(--mh-ink); box-shadow: 0 20px 50px rgb(0 0 0 / 28%); text-align: center; }
.mh-plan h2 { margin: 0; font-family: var(--font-brand-display); font-size: 20px; font-weight: 700; color: var(--mh-ink) !important; letter-spacing: -.02em; }
.mh-plan-blurb { margin: 8px 0 0; min-height: 3.1em; color: #656879; font-size: 14px; line-height: 1.55; }
.mh-plan-price { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 6px; color: #656879; font-size: 14px; }
.mh-plan-price strong { color: var(--mh-ink); font-family: var(--font-brand-display); font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mh-plan-setup { margin: 6px 0 20px; color: #656879; font-size: 13px; }
.mh-plan-count { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #e2e4ec; color: #656879; font-size: 13px; }
.mh-plan .mh-btn { margin-top: auto; }
.mh-console { padding: 72px 0; }
.mh-console-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mh-console-copy h2 { margin: 0; font-family: var(--font-brand-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; color: var(--home-ink) !important; text-wrap: balance; }
.mh-console-copy p { margin: 16px 0 24px; max-width: 440px; color: var(--home-muted); font-size: 16px; line-height: 1.65; }
.mh-console .ref-home-console-stage { padding: 0; }
.mh-home :is(a, button):focus-visible { outline: 3px solid rgb(var(--brand-300)); outline-offset: 3px; }
@media (max-width: 1023px) {
    .mh-hero-body { grid-template-columns: 1fr; }
    .mh-hero-side { display: grid; grid-template-columns: 1fr 1fr; }
    .mh-chips { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .mh-console-inner { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
    .mh-hero { padding-bottom: 48px; }
    .mh-hero-head { margin-bottom: 32px; }
    .mh-hero-side, .mh-chips { grid-template-columns: 1fr; }
    .mh-console { padding: 48px 0; }
}

/* Homepage header: flat full-width bar (reference style) instead of the floating pill. */
body.public-home-page .public-header {
    width: 100%;
    min-height: 72px;
    margin: 0;
    top: 0;
    border: 0 !important;
    border-bottom: 1px solid #e2e4ec !important;
    border-radius: 0;
    background: #fff !important;
    box-shadow: none;
    backdrop-filter: none;
}
body.public-home-page .public-header .public-nav-shell { max-width: 1440px; padding-inline: clamp(16px, 3vw, 40px); }
body.public-home-page .public-header .public-nav-row { height: 72px; }
body.public-home-page .public-header .nav-link { font-weight: 500; color: #1b2435; }
body.public-home-page .public-header .public-nav-center .nav-link { border-radius: 8px; }
html[data-theme="dark"] body.public-home-page .public-header { background: #0b1530 !important; border-bottom-color: rgb(164 180 255 / 16%) !important; }
@media (max-width: 1279px) {
    body.public-home-page .public-header { min-height: 64px; margin: 0; top: 0; }
    body.public-home-page .public-header .public-nav-row { height: 64px; }
}
body.public-home-page .public-header .public-header-cta { background: var(--color-primary) !important; color: #fff !important; border-radius: 8px; box-shadow: none; }
body.public-home-page .public-header .public-header-cta:hover { background: #4363f1 !important; }
body.public-home-page .public-header .public-nav-center .nav-link { font-size: 15px; }

/* FAQ */
.mh-faq .ref-home-container { width: 100%; max-width: 1440px; padding-inline: clamp(16px, 3vw, 40px); box-sizing: border-box; }
.mh-faq .mh-faq-eyebrow { display: inline-block; margin-bottom: 18px; }
html body .mh-home .mh-faq-title { margin: 0; font-family: var(--font-brand-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; color: var(--home-ink) !important; text-wrap: balance; }
.mh-faq-lede { margin: 16px 0 28px; max-width: 420px; color: var(--home-muted); font-size: 15px; line-height: 1.65; }
html body .mh-home .mh-faq a.mh-btn-primary { color: #fff !important; }
.mh-faq .ref-home-faq-item { border-color: var(--home-line); margin-bottom: 10px; padding-inline: 22px; border-radius: 12px; box-shadow: none; transition: border-color .2s ease; }
.mh-faq .ref-home-faq-item:hover { border-color: rgb(var(--brand-300)); }
.mh-faq .ref-home-faq-item.is-open { border-color: var(--mh-brand); }
.mh-faq .ref-home-faq-item button { min-height: 64px; padding-block: 0; }

/* Why MeroVPS: bento */
.mh-why .ref-home-container { width: 100%; max-width: 1440px; padding-inline: clamp(16px, 3vw, 40px); box-sizing: border-box; }
.mh-why { padding-block: 80px; }
.mh-why-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
html body .mh-home .mh-why-head h2 { margin: 0; font-family: var(--font-brand-display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; color: var(--home-ink) !important; }
html body .mh-home .mh-why-head p { margin: 14px auto 0; max-width: 560px; color: var(--home-muted) !important; font-size: 16px; line-height: 1.65; }
.mh-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mh-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: 16px; background: linear-gradient(160deg, #f1f3ff 0%, #fff 70%); }
html[data-theme="dark"] .mh-card { background: linear-gradient(160deg, #18223f 0%, #121b33 70%); }
.mh-card-copy { padding: 28px 28px 20px; }
.mh-card h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-brand-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--home-ink); }
.mh-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #e3e8ff; color: var(--mh-brand); }
html[data-theme="dark"] .mh-ico { background: #26325c; color: rgb(var(--brand-300)); }
.mh-ico svg { width: 20px; height: 20px; }
.mh-card-copy p { margin: 14px 0 0; max-width: 460px; color: var(--home-muted); font-size: 15px; line-height: 1.6; }
.mh-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
html body .mh-home .mh-card a.mh-btn-primary { color: #fff !important; }
.mh-link { font-size: 14px; font-weight: 600; color: var(--mh-brand); text-decoration: underline; text-underline-offset: 3px; }
.mh-art { margin-top: auto; min-height: 150px; padding: 0 28px 28px; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.mh-pill { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--home-line); border-radius: 999px; background: var(--home-surface); color: var(--home-ink); font-size: 12px; font-weight: 600; }
.mh-pill-lg { padding: 9px 16px; font-size: 14px; color: var(--mh-brand); border-color: #c9d3ff; }
.mh-pill-ok { background: #e6f6ee; border-color: #bfe5d1; color: #11704a; }
.mh-art-pay { align-content: flex-end; }
.mh-art-bars { position: relative; align-items: flex-end; }
.mh-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; width: 100%; padding: 14px 16px 0; border: 1px solid var(--home-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--home-surface); }
.mh-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--mh-brand), #9aaaff); }
.mh-art-tag { position: absolute; top: -4px; right: 40px; }
.mh-art-ticket { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 10px; }
.mh-ticket { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); font-size: 14px; color: var(--home-ink); }
.mh-ticket-dim { opacity: .6; }
.mh-card-wide { grid-column: 1 / -1; flex-direction: row; background: linear-gradient(110deg, #eef1ff 0%, #dfe5ff 100%); }
html[data-theme="dark"] .mh-card-wide { background: linear-gradient(110deg, #17213f 0%, #1d2a57 100%); }
.mh-card-wide .mh-card-copy { flex: 1 1 52%; padding: 36px; }
.mh-card-wide .mh-art { flex: 1 1 48%; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; padding: 28px 36px; }
.mh-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: var(--home-ink); font-size: 14px; }
.mh-checks li { display: flex; align-items: center; gap: 10px; }
.mh-checks li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--mh-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 100% no-repeat; }
.mh-node { padding: 16px 22px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); font-size: 14px; font-weight: 600; color: var(--home-ink); white-space: nowrap; }
.mh-node-brand { background: var(--mh-brand); border-color: var(--mh-brand); color: #fff; }
.mh-flow-line { flex: 1 1 60px; max-width: 140px; height: 2px; background: repeating-linear-gradient(90deg, var(--mh-brand) 0 8px, transparent 8px 14px); }
@media (max-width: 1023px) {
    .mh-bento { grid-template-columns: 1fr 1fr; }
    .mh-card-wide { flex-direction: column; }
}
@media (max-width: 639px) {
    .mh-why { padding-block: 48px; }
    .mh-bento { grid-template-columns: 1fr; gap: 16px; }
    .mh-card-wide .mh-card-copy { padding: 28px 24px 12px; }
    .mh-card-wide .mh-art { padding: 12px 24px 28px; flex-wrap: wrap; gap: 10px; }
    .mh-flow-line { display: none; }
}

/* ---------- Homepage footer (always dark ink, both themes) ---------- */
.home-footer {
    --hf-ink: #070a1a;
    --hf-line: rgba(164,180,255,.14);
    --hf-text: #a9b2cf;
    --hf-head: #f2f4ff;
    --hf-accent: rgb(var(--brand-400));
    position: relative;
    flex: none;
    overflow: hidden;
    margin-top: 40px;
    color: var(--hf-text);
    background:
        radial-gradient(ellipse 60% 50% at 88% 0, rgba(var(--color-primary-rgb),.18), transparent 70%),
        radial-gradient(ellipse 40% 40% at 4% 100%, rgba(90,218,200,.07), transparent 70%),
        var(--hf-ink);
}
.home-footer-inner { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 1440px; margin: 0 auto; padding: 72px 16px 0; } /* same box as .public-nav-shell: max-w-7xl, px 16/24/40 */
@media (min-width: 640px) { .home-footer-inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .home-footer-inner { padding-inline: 40px; } }
.home-footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--hf-line); }
.home-footer-logo { display: block; color: var(--hf-head); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.home-footer-brand p { max-width: 440px; margin: 20px 0 0; font-size: 16px; line-height: 1.65; }
.home-footer-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.home-footer-actions > div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.home-footer-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #8fe3c6; }
.home-footer-status i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.16); }
.home-footer-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
    border: 1px solid rgba(164,180,255,.28); color: var(--hf-head) !important; font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease !important;
}
.home-footer-btn:hover { background: rgba(164,180,255,.1); border-color: rgba(164,180,255,.5); }
.home-footer-btn.is-primary { background: var(--color-primary); border-color: var(--color-primary); }
.home-footer-btn.is-primary:hover { background: #6783ff; border-color: #6783ff; }
.home-footer-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; padding: 56px 0; }
.home-footer-links h3 { margin: 0 0 18px; color: var(--hf-head); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.home-footer-links h3.is-spaced { margin-top: 32px; }
.home-footer-links a, .home-footer-links span { display: block; padding: 6px 0; color: var(--hf-text); font-size: 14.5px; line-height: 1.4; text-decoration: none; transition: color .15s ease !important; }
.home-footer-links a:hover { color: #fff; }
.home-footer-pay ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.home-footer-pay li { padding: 5px 11px; border: 1px solid var(--hf-line); border-radius: 999px; font-size: 12.5px; color: var(--hf-text); }
.home-footer .ref-portal-social { justify-content: flex-start; gap: 10px; }
.home-footer .ref-portal-social-link { width: 40px; height: 40px; border-radius: 50%; color: var(--hf-text); border-color: var(--hf-line); background: rgba(255,255,255,.03); }
.home-footer .ref-portal-social-link:hover { color: #fff; border-color: var(--hf-accent); background: rgba(123,140,255,.14); }
.home-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--hf-line); font-size: 13px; }
.home-footer-bottom p { margin: 0; max-width: 820px; line-height: 1.55; }
.home-footer-lang { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.home-footer-lang svg { width: 16px; height: 16px; stroke-width: 1.6; }
/* theme.css makes every footer transparent in light mode; this one is ink in both themes. */
html[data-theme] footer.home-footer {
    background:
        radial-gradient(ellipse 60% 50% at 88% 0, rgba(var(--color-primary-rgb),.18), transparent 70%),
        radial-gradient(ellipse 40% 40% at 4% 100%, rgba(90,218,200,.07), transparent 70%),
        #070a1a !important;
    border-top: 0 !important;
}
html[data-theme] .home-footer .home-footer-links h3,
html[data-theme] .home-footer .home-footer-logo,
html[data-theme] .home-footer .home-footer-btn { color: #f2f4ff !important; }
html[data-theme] .home-footer .home-footer-links :is(a, span) { color: #a9b2cf !important; }
html[data-theme] .home-footer .home-footer-links a:hover { color: #fff !important; }
html[data-theme] .home-footer :is(.home-footer-brand p, .home-footer-bottom, .home-footer-pay li) { color: #a9b2cf !important; }
/* The one bold move: an oversized wordmark bleeding off the bottom edge. */
.home-footer-wordmark {
    position: relative; z-index: 0; margin-top: -8px; height: clamp(64px, 13vw, 185px); overflow: hidden;
    text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
    font-size: clamp(96px, 20.5vw, 300px); font-weight: 800; letter-spacing: -.05em; line-height: .86;
    background: linear-gradient(180deg, rgba(123,140,255,.34), rgba(123,140,255,0) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@media (max-width: 1023px) {
    .home-footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-footer-top { align-items: flex-start; flex-direction: column; }
    .home-footer-actions { align-items: flex-start; }
    .home-footer-actions > div { justify-content: flex-start; }
}
@media (max-width: 639px) {
    .home-footer-inner { padding-top: 48px; }
    .home-footer-links { grid-template-columns: 1fr 1fr; padding: 40px 0; }
    .home-footer-actions, .home-footer-actions > div { width: 100%; flex-direction: column; align-items: stretch; }
    .home-footer-btn { justify-content: center; }
    .home-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Gigneo-inspired refinement: same palette, softer shapes ----------
   Light display weights, pill buttons with a glow, glass frames, ambient glows. */
.mh-home {
    --mh-glow: 0 10px 28px rgb(82 113 255 / 32%), inset 0 1px 0 rgb(255 255 255 / 28%);
    --mh-pill-gradient: linear-gradient(95deg, var(--color-primary) 0%, rgb(var(--brand-400)) 100%);
}
/* Light, large headings */
html body .mh-home .mh-hero h1 { font-weight: 500 !important; letter-spacing: -.035em !important; }
html body .mh-home :is(.mh-console-copy h2, .mh-why-head h2, .mh-faq-title, .ref-home-steps h2) { font-weight: 500 !important; letter-spacing: -.03em !important; }
.mh-hero-head p { font-weight: 300; }
/* Pill buttons */
.mh-btn { min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 500; letter-spacing: .005em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease !important; }
.mh-btn-primary { background: var(--mh-pill-gradient); box-shadow: var(--mh-glow); }
.mh-btn-primary:hover { background: var(--mh-pill-gradient); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 34px rgb(82 113 255 / 40%), inset 0 1px 0 rgb(255 255 255 / 30%); }
.mh-btn-primary:active { transform: translateY(0) scale(.98); }
.mh-btn-ghost { background: rgb(255 255 255 / 6%); border-color: rgb(164 180 255 / 30%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Hero: ambient glows and a soft fade into the next section */
.mh-hero::before, .mh-hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); }
.mh-hero::before { width: 520px; height: 520px; left: -140px; top: -160px; background: rgb(82 113 255 / 30%); }
.mh-hero::after { width: 560px; height: 360px; right: -120px; bottom: -140px; background: rgb(123 140 255 / 26%); }
.mh-hero-inner { z-index: 1; }
.mh-hero-grid { -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000, transparent 80%); mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000, transparent 80%); }
.mh-chips li { border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Plan cards: larger radius, glass edge, lift on hover */
.mh-plan { position: relative; border-radius: 22px; border: 1px solid rgb(255 255 255 / 70%); box-shadow: 0 24px 60px rgb(5 11 28 / 34%), 0 0 0 6px rgb(255 255 255 / 6%); transition: transform .3s ease, box-shadow .3s ease !important; }
.mh-plan:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgb(5 11 28 / 40%), 0 0 0 6px rgb(123 140 255 / 22%); }
.mh-plan h2 { font-weight: 600; }
/* Dashboard preview as an app window */
.mh-window-bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--glass-edge, var(--home-line)); }
.mh-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6058; }
.mh-window-bar i:nth-child(2) { background: #ffbd2e; }
.mh-window-bar i:nth-child(3) { background: #28c93f; }
.mh-console .ref-home-account-console { border-radius: 20px; box-shadow: 0 30px 80px rgb(82 113 255 / 18%), 0 0 0 8px rgb(82 113 255 / 6%); }
.mh-console { position: relative; }
.mh-console::before { content: ""; position: absolute; right: 8%; top: 10%; width: 420px; height: 320px; border-radius: 50%; background: rgb(82 113 255 / 14%); filter: blur(80px); pointer-events: none; }
.mh-console-inner { position: relative; }
/* Cards: rounder, glass edge, glow on hover */
.mh-card { border-radius: 24px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease !important; }
.mh-card:hover { transform: translateY(-3px); border-color: rgb(82 113 255 / 45%); box-shadow: 0 22px 56px rgb(82 113 255 / 14%); }
.mh-ico { border-radius: 12px; }
.mh-pill { box-shadow: 0 2px 8px rgb(82 113 255 / 8%); }
/* Why section: glow at the top, like the light-to-glow transition on the reference */
.mh-why { position: relative; background: radial-gradient(ellipse 60% 40% at 50% 0, rgb(82 113 255 / 13%), transparent 70%), var(--home-canvas); }
/* Steps panel and FAQ rows */
.ref-home-steps { border-radius: 32px !important; }
.mh-faq .ref-home-faq-item { border-radius: 18px; }
@media (prefers-reduced-motion: reduce) {
    .mh-btn, .mh-plan, .mh-card { transition: none !important; transform: none !important; }
}
@media (max-width: 639px) {
    .mh-hero::before, .mh-hero::after { opacity: .6; width: 320px; height: 320px; }
    .mh-btn { width: 100%; }
}

/* ---------- Gigneo-style header + hero (our palette) ---------- */
/* Announcement bar: brand gradient strip */
.mh-promo, html[data-theme="dark"] .mh-promo { padding: 12px 16px; background: linear-gradient(95deg, #1d2a86 0%, var(--color-primary) 55%, rgb(var(--brand-400)) 100%); color: #fff; font-size: 14px; }
.mh-promo span { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgb(255 255 255 / 18%); color: #fff; font-weight: 500; text-decoration: none; }
/* Header: transparent, floats over the hero glow */
body.public-home-page { --mh-pill-gradient: linear-gradient(95deg, var(--color-primary) 0%, rgb(var(--brand-400)) 100%); --mh-glow: 0 10px 28px rgb(82 113 255 / 32%), inset 0 1px 0 rgb(255 255 255 / 28%); }
body.public-home-page .public-header { background: transparent !important; border-bottom: 0 !important; margin-bottom: -72px; position: relative; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme="dark"] body.public-home-page .public-header { background: transparent !important; }
body.public-home-page .public-header .public-nav-center .nav-link { font-weight: 400; color: #3b4660; }
html[data-theme="dark"] body.public-home-page .public-header .public-nav-center .nav-link { color: #c3cbe6; }
body.public-home-page .public-header .public-nav-center .nav-link:hover { background: transparent; color: var(--color-primary); }
body.public-home-page .public-header .public-header-cta { background: var(--mh-pill-gradient) !important; border-radius: 999px; padding: 10px 22px; font-weight: 500; box-shadow: var(--mh-glow); }
body.public-home-page .public-header .public-header-cta:hover { background: var(--mh-pill-gradient) !important; filter: brightness(1.06); }
@media (max-width: 1279px) { body.public-home-page .public-header { margin-bottom: -64px; } }
/* Hero */
.mh-hero { color: var(--mh-ink); padding: calc(72px + clamp(44px, 6vw, 84px)) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #f1f3ff 0%, #f8f9ff 70%, var(--home-canvas) 100%); }
html[data-theme="dark"] .mh-hero { color: #f1f5fc; background: linear-gradient(180deg, #0a1022 0%, #0e1628 100%); }
.mh-promo + .mh-hero { padding-top: calc(72px + clamp(44px, 6vw, 84px)); }
.mh-hero::before, .mh-hero::after { content: none; }
.mh-hero-grid { display: none; }
.mh-hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mh-hero-glow i { position: absolute; top: -6%; width: 24vw; height: 78%; border-radius: 50%; background: radial-gradient(ellipse at center, rgb(82 113 255 / 62%), rgb(123 140 255 / 24%) 55%, transparent 72%); filter: blur(46px); }
.mh-hero-glow i:first-child { left: -9vw; }
.mh-hero-glow i:last-child { right: -9vw; }
html[data-theme="dark"] .mh-hero-glow i { opacity: .55; }
.mh-hero-head { max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); }
.mh-hero-head .mh-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 999px; background: rgb(255 255 255 / 62%); color: #3b4660; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[data-theme="dark"] .mh-hero-head .mh-hero-eyebrow { background: rgb(255 255 255 / 6%); color: #c3cbe6; border-color: rgb(164 180 255 / 24%); }
.mh-hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgb(82 113 255 / 18%); }
html body .mh-home .mh-hero h1 { color: rgb(var(--brand-950)) !important; font-weight: 400 !important; font-size: clamp(2.4rem, 4.6vw, 4.1rem) !important; line-height: 1.12 !important; letter-spacing: -.035em !important; text-wrap: balance; }
html[data-theme="dark"] body .mh-home .mh-hero h1 { color: #fff !important; }
.mh-hero-head .mh-hero-lede { margin: 22px auto 0; max-width: 600px; color: #55607a; font-size: 18px; font-weight: 300; line-height: 1.65; }
html[data-theme="dark"] .mh-hero-head .mh-hero-lede { color: #b7c2d5; }
.mh-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.mh-hero-cta .mh-btn svg { width: 18px; height: 18px; margin-left: 10px; }
.mh-hero .mh-btn-ghost { background: #fff; color: rgb(var(--brand-950)); border: 1px solid rgb(82 113 255 / 28%); box-shadow: 0 0 0 5px rgb(82 113 255 / 8%); backdrop-filter: none; }
.mh-hero .mh-btn-ghost:hover { background: #fff; color: var(--color-primary); transform: translateY(-1px); }
html[data-theme="dark"] .mh-hero .mh-btn-ghost { background: rgb(255 255 255 / 8%); color: #fff; border-color: rgb(164 180 255 / 34%); }
html[data-theme="dark"] .mh-hero .mh-btn-ghost:hover { color: #fff; background: rgb(255 255 255 / 14%); }
/* Tab row */
.mh-hero-stage { max-width: 1180px; margin: 0 auto; }
.mh-tabs-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.mh-tabs { display: inline-flex; gap: 4px; padding: 6px; border: 1px solid rgb(82 113 255 / 16%); border-radius: 999px; background: rgb(255 255 255 / 58%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.mh-tabs::-webkit-scrollbar { display: none; }
html[data-theme="dark"] .mh-tabs { background: rgb(255 255 255 / 5%); border-color: rgb(164 180 255 / 20%); }
.mh-tabs button { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #55607a; font-size: 15px; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important; }
.mh-tabs button svg { width: 18px; height: 18px; }
.mh-tabs button:hover { color: var(--color-primary); }
.mh-tabs button.is-active { background: #fff; color: var(--color-primary); border-color: rgb(82 113 255 / 24%); box-shadow: 0 4px 14px rgb(82 113 255 / 14%); }
html[data-theme="dark"] .mh-tabs button { color: #b7c2d5; }
html[data-theme="dark"] .mh-tabs button.is-active { background: rgb(82 113 255 / 24%); color: #fff; border-color: rgb(164 180 255 / 40%); box-shadow: none; }
.mh-tab-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 50%; background: #fff; color: #3b4660; cursor: pointer; transition: border-color .2s ease, color .2s ease !important; }
.mh-tab-arrow svg { width: 18px; height: 18px; }
.mh-tab-arrow.is-next { border-color: var(--color-primary); color: var(--color-primary); }
.mh-tab-arrow:hover { border-color: var(--color-primary); color: var(--color-primary); }
html[data-theme="dark"] .mh-tab-arrow { background: rgb(255 255 255 / 8%); color: #c3cbe6; border-color: rgb(164 180 255 / 26%); }
/* Window */
.mh-hero-stage .mh-window { max-width: none; margin: 0; text-align: left; border-radius: 24px; box-shadow: 0 40px 90px rgb(82 113 255 / 20%), 0 0 0 8px rgb(82 113 255 / 7%); }
.mh-window-bar { align-items: center; }
.mh-window-bar span { margin-left: auto; color: var(--home-muted); font-size: 12px; }
.mh-hero-stage .ref-home-account-main { min-height: 380px; }
.mh-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.mh-rows li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--home-line); border-radius: 14px; background: var(--home-surface); }
.mh-row-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e3e8ff; color: var(--color-primary); }
html[data-theme="dark"] .mh-row-ico { background: #26325c; color: rgb(var(--brand-300)); }
.mh-row-ico svg { width: 20px; height: 20px; }
.mh-rows p { flex: 1; min-width: 0; margin: 0; }
.mh-rows strong { display: block; color: var(--home-ink); font-size: 15px; font-weight: 600; }
.mh-rows small { display: block; margin-top: 2px; color: var(--home-muted); font-size: 13px; }
.mh-rows b { flex: none; padding: 4px 12px; border-radius: 999px; background: #eef0f6; color: #55607a; font-size: 12px; font-weight: 600; }
.mh-rows b.is-ok { background: #e6f6ee; color: #11704a; }
.mh-rows b.is-warn { background: #fff3dc; color: #8a5a00; }
.mh-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mh-chip-row span { padding: 6px 14px; border: 1px solid var(--home-line); border-radius: 999px; background: var(--home-surface); color: var(--home-ink); font-size: 13px; }
/* Plans section */
.mh-plans-section { padding: clamp(56px, 7vw, 96px) 0; background: var(--home-canvas); }
.mh-plans-section .ref-home-container { width: 100%; max-width: 1440px; box-sizing: border-box; padding-inline: clamp(16px, 3vw, 40px); }
.mh-section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
html body .mh-home .mh-section-head h2 { margin: 0; color: var(--home-ink) !important; font-family: var(--font-brand-display); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; }
.mh-section-head p { margin: 14px 0 0; color: var(--home-muted); font-size: 16px; line-height: 1.65; }
.mh-plans-section .mh-plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mh-plans-section .mh-plan { background: var(--home-surface); border-color: var(--home-line); box-shadow: 0 18px 44px rgb(82 113 255 / 12%); }
html[data-theme="dark"] .mh-plans-section .mh-plan { color: #f1f5fc; }
html[data-theme="dark"] .mh-plans-section .mh-plan :is(h2, .mh-plan-price strong) { color: #f1f5fc !important; }
html[data-theme="dark"] .mh-plans-section .mh-plan :is(.mh-plan-blurb, .mh-plan-price, .mh-plan-setup, .mh-plan-count) { color: #b7c2d5; }
html[data-theme="dark"] .mh-plans-section .mh-plan-count { border-top-color: #334155; }
@media (max-width: 767px) {
    .mh-tab-arrow { display: none; }
    .mh-tabs-row { justify-content: flex-start; margin-inline: -16px; padding-inline: 16px; }
    .mh-hero-cta .mh-btn { width: 100%; }
    .mh-hero-glow i { width: 44vw; }
}

/* ---------- Hero preview: replica of the real client dashboard ---------- */
.mhd-window { --mhd-bg: #f6f7fb; --mhd-card: #fff; --mhd-line: #e6e8f0; --mhd-ink: rgb(var(--brand-950)); --mhd-muted: #6b7390; position: relative; overflow: hidden; max-height: 660px; border: 1px solid rgb(82 113 255 / 18%); border-radius: 24px; background: var(--mhd-bg); text-align: left; box-shadow: 0 40px 90px rgb(82 113 255 / 20%), 0 0 0 8px rgb(82 113 255 / 7%); }
html[data-theme="dark"] .mhd-window { --mhd-bg: #0c1424; --mhd-card: #152036; --mhd-line: #26334d; --mhd-ink: #f1f5fc; --mhd-muted: #9aa7c2; border-color: rgb(164 180 255 / 22%); }
.mhd-window::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--mhd-bg)); }
.mhd-window .mh-window-bar { background: var(--mhd-card); border-bottom: 1px solid var(--mhd-line); }
.mhd-shell { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.mhd-window svg { width: 17px; height: 17px; flex: none; }
/* Sidebar */
.mhd-side { padding: 14px 12px; border-right: 1px solid var(--mhd-line); background: var(--mhd-card); font-size: 13px; color: var(--mhd-ink); }
.mhd-brand { display: grid; justify-items: center; gap: 4px; padding: 4px 0 14px; border-bottom: 1px solid var(--mhd-line); }
.mhd-brand img { height: 18px; width: auto; }
.mhd-brand small { color: var(--mhd-muted); font-size: 11px; }
.mhd-pin { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0; padding: 10px; border-radius: 999px; background: #e9edff; color: rgb(var(--brand-950)); font-weight: 500; }
html[data-theme="dark"] .mhd-pin { background: rgb(82 113 255 / 22%); color: #fff; }
.mhd-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mhd-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--mhd-ink); transition: background-color .2s ease, color .2s ease !important; }
.mhd-side li.is-active { background: #e9edff; color: #3b55e6; font-weight: 500; }
html[data-theme="dark"] .mhd-side li.is-active { background: rgb(82 113 255 / 24%); color: #fff; }
.mhd-chev { margin-left: auto; width: 14px !important; height: 14px !important; opacity: .6; }
.mhd-label { margin: 16px 0 6px 10px; color: var(--mhd-muted); font-size: 11px; letter-spacing: .08em; }
/* Main */
.mhd-main { min-width: 0; }
.mhd-topbar { display: flex; align-items: center; justify-content: flex-end; gap: 18px; height: 54px; padding: 0 18px; background: var(--mhd-card); border-bottom: 1px solid var(--mhd-line); color: var(--mhd-ink); font-size: 12px; }
.mhd-topbar > span { display: inline-flex; align-items: center; gap: 5px; position: relative; }
.mhd-bell em { position: absolute; top: -7px; right: -8px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; line-height: 15px; text-align: center; }
.mhd-cur { color: var(--mhd-muted); }
.mhd-topbar b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 12px; }
.mhd-content { padding: 0 0 24px; }
.mhd-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px 56px; background: radial-gradient(ellipse at 80% 0, rgb(82 113 255 / 28%), transparent 60%), linear-gradient(120deg, #0b1530, #1a2a6c); background-size: auto; }
.mhd-banner h3 { margin: 0; color: #fff; font-family: var(--font-brand-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.mhd-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mhd-banner-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
.mhd-banner-actions .is-white { background: #fff; color: rgb(var(--brand-950)) !important; }
.mhd-banner-actions .is-blue { background: var(--color-primary); color: #fff !important; }
.mhd-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: -34px 20px 18px; border: 1px solid var(--mhd-line); border-radius: 14px; background: var(--mhd-card); box-shadow: 0 10px 30px rgb(20 30 70 / 10%); overflow: hidden; }
.mhd-stats > div { display: flex; align-items: center; gap: 8px; padding: 16px 12px; border-right: 1px solid var(--mhd-line); color: var(--mhd-ink); font-size: 12px; }
.mhd-stats > div:last-child { border-right: 0; }
.mhd-stats span { flex: 1; min-width: 0; }
.mhd-stats strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.mhd-card { margin: 0 20px 18px; padding: 20px 22px; border: 1px solid var(--mhd-line); border-radius: 16px; background: var(--mhd-card); }
.mhd-card-head { display: flex; align-items: center; justify-content: space-between; }
.mhd-card-head h4 { margin: 0; color: var(--mhd-ink); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.mhd-card-head span, .mhd-card-head a { color: var(--mhd-muted); font-size: 12px; font-weight: 500; text-decoration: none; }
.mhd-subtabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-bottom: 1px solid var(--mhd-line); text-align: center; color: var(--mhd-muted); font-size: 12px; }
.mhd-subtabs span { padding: 10px 0; }
.mhd-subtabs .is-on { color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-primary); }
.mhd-todos { list-style: none; margin: 0; padding: 0; }
.mhd-todos li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--mhd-line); color: var(--mhd-muted); }
.mhd-todos li:last-child { border-bottom: 0; }
.mhd-todos p { flex: 1; margin: 0; }
.mhd-todos strong { display: block; color: var(--mhd-ink); font-size: 13px; font-weight: 600; }
.mhd-todos small { display: block; margin-top: 2px; font-size: 12px; }
.mhd-todos .is-done strong, .mhd-todos .is-done small { text-decoration: line-through; opacity: .7; }
.mhd-todos i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; }
.mhd-todos i svg { width: 12px; height: 12px; }
.mhd-ok { background: #1f8a5b; color: #fff; }
.mhd-go { width: 26px !important; height: 26px !important; border: 1px solid var(--mhd-line); border-radius: 7px !important; color: var(--mhd-ink); }
.mhd-svc { margin-top: 14px; border: 1px solid var(--mhd-line); border-radius: 12px; }
.mhd-svc-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--mhd-line); color: var(--mhd-ink); font-size: 13px; }
.mhd-svc-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.mhd-svc-row p { flex: 1; margin: 0; }
.mhd-svc-row strong { display: block; color: var(--mhd-ink); font-size: 13px; }
.mhd-svc-row small { color: var(--mhd-muted); font-size: 12px; }
.mhd-svc-row b { padding: 4px 12px; border-radius: 999px; background: #e6f6ee; color: #11704a; font-size: 12px; }
.mhd-svc-row span { padding: 7px 14px; border: 1px solid var(--mhd-line); border-radius: 8px; color: var(--mhd-ink); font-size: 12px; font-weight: 600; }
/* Other tabs live in the same shell */
.mhd-content > div:not(#mh-panel-0) { padding: 24px 22px; }
.mhd-content .ref-home-account-heading strong, .mhd-content .mh-rows strong { color: var(--mhd-ink); }
.mhd-content .mh-rows li, .mhd-content .mh-chip-row span { background: var(--mhd-card); border-color: var(--mhd-line); }
@media (max-width: 1023px) { .mhd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mhd-stats > div:nth-child(3) { border-right: 0; } .mhd-stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--mhd-line); } }
@media (max-width: 767px) {
    .mhd-shell { grid-template-columns: 1fr; }
    .mhd-side { display: none; }
    .mhd-window { max-height: 560px; }
    .mhd-banner { flex-direction: column; align-items: flex-start; padding-inline: 16px; }
    .mhd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 12px; }
    .mhd-stats > div:nth-child(odd) { border-right: 1px solid var(--mhd-line); } .mhd-stats > div:nth-child(even) { border-right: 0; } .mhd-stats > div { border-bottom: 1px solid var(--mhd-line); }
    .mhd-card { margin-inline: 12px; padding: 16px; }
    .mhd-topbar { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .mhd-side li { transition: none !important; } }

html body .mh-home .mhd-banner h3 { color: #fff !important; }
.mhd-stats > div { font-size: 11.5px; }

/* ---------- Skeleton treatment of the hero preview ---------- */
.mhd-window { --mhd-sk: #e6e9f4; --mhd-sk-soft: #eff1f8; --mhd-sk-ink: #cfd5e8; max-height: 600px; }
html[data-theme="dark"] .mhd-window { --mhd-sk: #26334d; --mhd-sk-soft: #1d2940; --mhd-sk-ink: #37466a; }
.sk { display: block; flex: none; height: 10px; max-width: 100%; border-radius: 6px; background: var(--mhd-sk); }
.sk-soft { background: var(--mhd-sk-soft); }
.sk-ink { background: var(--mhd-sk-ink); }
.sk-dot { border-radius: 50%; }
.sk-sq { border-radius: 9px; }
.sk-brand { background: rgb(82 113 255 / 55%); }
.sk-btn, .sk-btn-light, .sk-btn-brand { border-radius: 9px; }
.sk-btn { background: var(--mhd-sk); }
.sk-btn-light { background: rgb(255 255 255 / 88%); }
.sk-btn-brand { background: var(--color-primary); }
.sk-pill, .sk-pillbar { height: 22px; border-radius: 999px; width: 60px; }
.sk-on-dark { background: rgb(255 255 255 / 80%); }
.mhd-side li { gap: 12px; }
.mhd-side li.is-active .sk { background: rgb(82 113 255 / 38%); }
.mhd-brand { gap: 8px; }
.mhd-pin { padding: 14px; }
.mhd-label { margin-top: 18px; }
.mhd-topbar { gap: 16px; }
.mhd-stats > div { gap: 10px; }
.mhd-stats p, .mhd-todos p, .mhd-svc-row p, .mhd-rows p { display: grid; gap: 8px; flex: 1; margin: 0; min-width: 0; }
.mhd-card-head { min-height: 20px; }
.mhd-subtabs { gap: 0; }
.mhd-subtabs { place-items: center; padding-block: 12px; }
.mhd-subtabs .sk-brand { box-shadow: 0 12px 0 -10px var(--color-primary); }
.mhd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mhd-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mhd-rows li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--mhd-line); border-radius: 14px; background: var(--mhd-card); }
.mhd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mhd-banner { padding-block: 26px 58px; }

.mhd-todos i.sk { width: auto; height: 10px; border-radius: 6px; }
.mhd-todos i.sk.sk-soft { height: 8px; }
.mhd-todos i.sk-dot { border-radius: 50%; }
.mhd-svc-row i.sk, .mhd-rows i.sk, .mhd-head i.sk { font-style: normal; }

/* ---------- Why MeroVPS: illustrated cards + glow base (reference style) ---------- */
.mh-why { position: relative; overflow: hidden; padding-bottom: clamp(220px, 24vw, 320px); }
.mh-why::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -34%; height: 80%; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--color-primary) 0%, rgb(123 140 255 / 55%) 40%, transparent 72%); }
html[data-theme="dark"] .mh-why::after { opacity: .6; }
.mh-why .ref-home-container { position: relative; z-index: 1; }
html body .mh-home .mh-why-head h2 { font-weight: 400 !important; }
.mh-bento { gap: 20px; }
.mh-card:not(.mh-card-wide) { text-align: center; background: var(--home-surface); border-color: rgb(82 113 255 / 14%); border-radius: 28px; padding: 6px; }
html[data-theme="dark"] .mh-card:not(.mh-card-wide) { background: var(--home-surface); }
.mh-card:not(.mh-card-wide) .mh-art { order: -1; position: relative; margin: 0; min-height: 230px; padding: 24px; align-items: center; justify-content: center; flex-direction: column; gap: 14px; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 0, rgb(123 140 255 / 30%), transparent 65%), linear-gradient(160deg, #eef1ff, #f8f9ff); }
html[data-theme="dark"] .mh-card:not(.mh-card-wide) .mh-art { background: radial-gradient(ellipse at 50% 0, rgb(82 113 255 / 32%), transparent 65%), #111a2e; }
.mh-card:not(.mh-card-wide) .mh-art::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgb(82 113 255 / 28%) 1px, transparent 1.5px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.mh-card:not(.mh-card-wide) .mh-art > * { position: relative; }
.mh-card:not(.mh-card-wide) .mh-card-copy { padding: 22px 22px 26px; }
.mh-card:not(.mh-card-wide) .mh-card-copy h3 { justify-content: center; font-size: 20px; font-weight: 500; }
.mh-card:not(.mh-card-wide) .mh-card-copy p { margin-inline: auto; color: var(--home-muted); font-size: 15px; }
.mh-coin { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; color: #fff; font-family: var(--font-brand-display); font-size: 24px; font-weight: 600; letter-spacing: .02em; background: radial-gradient(circle at 30% 25%, #9aa9ff, var(--color-primary) 60%, #3b55e6); box-shadow: 0 0 0 10px rgb(82 113 255 / 12%), 0 0 0 22px rgb(82 113 255 / 6%), 0 18px 40px rgb(82 113 255 / 40%); }
.mh-pay-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mh-card:not(.mh-card-wide) .mh-art-bars .mh-bars { width: 78%; max-width: 280px; }
.mh-card:not(.mh-card-wide) .mh-art-tag { position: absolute; top: 16px; right: 16px; }
.mh-card:not(.mh-card-wide) .mh-art-ticket .mh-ticket { width: 82%; max-width: 300px; }
.mh-why-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.mh-why .mh-btn-ghost { background: #fff; color: rgb(var(--brand-950)) !important; border: 1px solid rgb(82 113 255 / 28%); box-shadow: 0 0 0 5px rgb(82 113 255 / 8%); }
html[data-theme="dark"] .mh-why .mh-btn-ghost { background: rgb(255 255 255 / 8%); color: #fff !important; border-color: rgb(164 180 255 / 34%); }
html body .mh-home .mh-why a.mh-btn-primary { color: #fff !important; }
@media (max-width: 767px) { .mh-why-cta .mh-btn { width: 100%; } }

.mh-why::after { left: -15%; right: -15%; bottom: -150px; height: 420px; background: radial-gradient(ellipse 62% 100% at 50% 100%, var(--color-primary) 0%, rgb(82 113 255 / 78%) 28%, rgb(123 140 255 / 36%) 52%, transparent 76%); }
html[data-theme="dark"] .mh-why::after { opacity: .75; }

/* ---------- Four steps: accordion list + gradient illustration (reference style) ---------- */
.mh-steps { padding: clamp(56px, 7vw, 104px) 0; background: var(--home-canvas); }
.mh-steps-inner { width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding-inline: clamp(16px, 3vw, 40px); }
.mh-steps-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
html body .mh-home .mh-steps-head h2 { margin: 0; color: var(--home-ink) !important; font-family: var(--font-brand-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.14; }
html body .mh-home .mh-steps-head h2 span { color: rgb(var(--brand-600)); }
html[data-theme="dark"] body .mh-home .mh-steps-head h2 span { color: #8fa1ff; }
.mh-steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mh-steps-list { display: grid; gap: 6px; }
.mh-step-btn { display: flex; align-items: center; gap: 16px; width: 100%; padding: 22px 0; border: 0; background: transparent; color: var(--home-ink); text-align: left; cursor: pointer; }
.mh-step-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e9edff; color: rgb(var(--brand-600)); }
html[data-theme="dark"] .mh-step-ico { background: rgb(82 113 255 / 22%); color: rgb(var(--brand-300)); }
.mh-step-ico svg { width: 22px; height: 22px; }
.mh-step-btn strong { flex: 1; font-size: 19px; font-weight: 400; letter-spacing: -.01em; }
.mh-step.is-open .mh-step-btn strong { font-weight: 500; }
.mh-step-arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-muted); transition: border-color .25s ease, color .25s ease !important; }
.mh-step-arrow svg { width: 18px; height: 18px; }
.mh-step.is-open .mh-step-arrow, .mh-step-btn:hover .mh-step-arrow { border-color: var(--color-primary); color: var(--color-primary); }
.mh-step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease !important; }
.mh-step.is-open .mh-step-body { grid-template-rows: 1fr; }
.mh-step-body > p { overflow: hidden; min-height: 0; margin: 0; color: var(--home-muted); font-size: 17px; line-height: 1.7; max-width: 520px; }
.mh-step.is-open .mh-step-body > p { padding-bottom: 14px; }
.mh-step:focus-within .mh-step-btn { outline: none; }
.mh-step-btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; border-radius: 12px; }
/* Gradient panel */
.mh-steps-art { position: relative; display: grid; place-items: center; min-height: clamp(420px, 40vw, 600px); padding: clamp(24px, 4vw, 56px); border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, rgb(var(--brand-400)) 0%, #aab6ff 38%, #e4e8ff 62%, rgb(var(--brand-400)) 100%); }
.mh-steps-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0%) 0 46px, rgb(255 255 255 / 14%) 46px 92px); mix-blend-mode: soft-light; }
html[data-theme="dark"] .mh-steps-art { background: linear-gradient(135deg, #3548c9 0%, #4a5fe0 40%, #1c2a6b 75%, var(--color-primary) 100%); }
.mh-step-art { grid-area: 1 / 1; position: relative; width: min(100%, 440px); }
.mh-art-badge { position: absolute; z-index: 2; top: -18px; left: -16px; padding: 8px 16px; border-radius: 999px; background: #fff; color: rgb(var(--brand-950)); font-size: 13px; font-weight: 500; box-shadow: 0 10px 26px rgb(20 30 90 / 18%); }
.mh-art-card { display: grid; gap: 12px; padding: 22px; border: 6px solid rgb(255 255 255 / 40%); border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgb(20 30 90 / 22%); background-clip: padding-box; }
html[data-theme="dark"] .mh-art-card { background: #152036; }
html[data-theme="dark"] .mh-art-badge { background: #152036; color: #fff; }
.mh-tile { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--home-line); border-radius: 14px; }
.mh-tile.is-on { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgb(82 113 255 / 12%); }
.mh-tile > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e9edff; color: rgb(var(--brand-600)); }
html[data-theme="dark"] .mh-tile > span { background: rgb(82 113 255 / 22%); color: rgb(var(--brand-300)); }
.mh-tile svg { width: 20px; height: 20px; }
.mh-tile p { display: grid; gap: 8px; flex: 1; margin: 0; }
.mh-tile strong { color: var(--home-ink); font-size: 15px; font-weight: 600; }
.mh-tile em { width: 20px; height: 20px; border: 2px solid var(--home-line); border-radius: 50%; }
.mh-tile.is-on em { border: 6px solid var(--color-primary); }
.mh-ok { padding: 4px 12px; border-radius: 999px; background: #e6f6ee; color: #11704a; font-size: 12px; }
.mh-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--home-canvas); text-align: center; font-size: 13px; color: var(--home-muted); }
.mh-seg span { padding: 9px 0; border-radius: 999px; }
.mh-seg .is-on { background: var(--color-primary); color: #fff; font-weight: 500; }
.mh-field { display: grid; gap: 8px; }
.mh-select { padding: 14px; border: 1px solid var(--home-line); border-radius: 12px; }
.mh-sum { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; border-bottom: 1px solid var(--home-line); }
.mh-sum-total { border-bottom: 0; }
.mh-chip-row2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mh-chip-row2 span { padding: 6px 14px; border: 1px solid var(--home-line); border-radius: 999px; color: var(--home-ink); font-size: 13px; }
.mh-paybtn { padding: 13px; border-radius: 999px; background: linear-gradient(95deg, var(--color-primary), rgb(var(--brand-400))); color: #fff; font-size: 14px; font-weight: 500; text-align: center; box-shadow: 0 10px 24px rgb(82 113 255 / 32%); }
.mh-art-card .sk { display: block; height: 10px; border-radius: 6px; background: #e6e9f4; }
.mh-art-card .sk-soft { background: #eff1f8; height: 8px; }
.mh-art-card .sk-ink { background: #cfd5e8; }
html[data-theme="dark"] .mh-art-card .sk { background: #26334d; } html[data-theme="dark"] .mh-art-card .sk-soft { background: #1d2940; } html[data-theme="dark"] .mh-art-card .sk-ink { background: #37466a; }
.mh-seal { position: absolute; right: -34px; bottom: -34px; width: 112px; height: 112px; filter: drop-shadow(0 14px 22px rgb(20 30 90 / 28%)); }
@media (max-width: 899px) { .mh-steps-grid { grid-template-columns: 1fr; } .mh-steps-art { min-height: 400px; } .mh-seal { right: -12px; } .mh-art-badge { left: -4px; } }
@media (prefers-reduced-motion: reduce) { .mh-step-body, .mh-step-arrow { transition: none !important; } }

#mh-step-panel-3 .mh-tile em { display: none; }

/* ---------- FAQ: centred pill accordion (reference style) ---------- */
.mh-faq { padding: clamp(56px, 7vw, 104px) 0; border: 0 !important; background: var(--home-canvas); }
.mh-faq .mh-faq-inner { width: 100%; max-width: 940px; margin: 0 auto; box-sizing: border-box; padding-inline: clamp(16px, 3vw, 40px); }
.mh-faq-head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.mh-faq-pill { display: inline-block; padding: 7px 16px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 999px; background: rgb(255 255 255 / 60%); color: #3b4660; font-size: 14px; }
html[data-theme="dark"] .mh-faq-pill { background: rgb(255 255 255 / 6%); color: #c3cbe6; border-color: rgb(164 180 255 / 24%); }
html body .mh-home .mh-faq-title { margin: 18px 0 0; color: var(--home-ink) !important; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400 !important; letter-spacing: -.03em; line-height: 1.14; }
.mh-faq .mh-faq-lede { max-width: 520px; margin: 18px auto 0; color: var(--home-muted); font-size: 16px; line-height: 1.7; }
.mh-faq .mh-faq-lede a { color: rgb(var(--brand-600)); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .mh-faq .mh-faq-lede a { color: #8fa1ff; }
.mh-faq-list { display: grid; gap: 14px; }
.mh-faq .ref-home-faq-item { margin: 0; padding: 0 28px; border: 1px solid rgb(82 113 255 / 14%); border-radius: 32px; background: var(--home-surface); box-shadow: none; transition: border-color .25s ease, box-shadow .25s ease !important; }
.mh-faq .ref-home-faq-item:hover { border-color: rgb(82 113 255 / 34%); }
.mh-faq .ref-home-faq-item.is-open { border-color: rgb(82 113 255 / 40%); box-shadow: 0 14px 36px rgb(82 113 255 / 10%); }
.mh-faq .mh-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
html body .mh-home .mh-faq .mh-faq-q span { color: var(--home-ink) !important; font-size: 17px; font-weight: 400; }
.mh-faq .mh-faq-q svg { flex: none; width: 20px; height: 20px; color: var(--home-ink); transition: transform .25s ease !important; }
.mh-faq .ref-home-faq-item.is-open .mh-faq-q svg { transform: rotate(180deg); }
.mh-faq .mh-faq-q:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; border-radius: 24px; }
.mh-faq .mh-faq-a p { margin: 0; padding-bottom: 26px; max-width: 760px; color: var(--home-muted) !important; font-size: 16px; line-height: 1.75; }
@media (max-width: 639px) { .mh-faq .ref-home-faq-item { padding-inline: 20px; border-radius: 26px; } .mh-faq .mh-faq-q { min-height: 68px; } }
@media (prefers-reduced-motion: reduce) { .mh-faq .mh-faq-q svg, .mh-faq .ref-home-faq-item { transition: none !important; } }

/* ---------- Services dropdown: opaque panel, described rows, footer strip ---------- */
html body .public-header .public-menu.dropdown-panel {
    --dd-bg: #fff; --dd-line: #e3e6f2; --dd-ink: rgb(var(--brand-950)); --dd-muted: #6b7390; --dd-hover: #f1f3ff; --dd-tile: #e9edff; --dd-tile-ink: rgb(var(--brand-600)); --dd-foot: #f6f7fd;
    width: 360px; padding: 8px; border: 1px solid var(--dd-line) !important; border-radius: 20px;
    background: var(--dd-bg) !important; backdrop-filter: none; box-shadow: 0 24px 60px rgb(20 30 90 / 18%), 0 2px 8px rgb(20 30 90 / 6%) !important;
}
html[data-theme="dark"] body .public-header .public-menu.dropdown-panel {
    --dd-bg: #111a2e; --dd-line: #26334d; --dd-ink: #f1f5fc; --dd-muted: #9aa7c2; --dd-hover: rgb(82 113 255 / 14%); --dd-tile: rgb(82 113 255 / 22%); --dd-tile-ink: rgb(var(--brand-300)); --dd-foot: #0c1424;
    background: var(--dd-bg) !important; border-color: var(--dd-line) !important;
    box-shadow: 0 24px 60px rgb(0 0 0 / 50%) !important;
}
html body .public-header .public-menu .public-menu-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: var(--dd-ink) !important; text-decoration: none; transition: background-color .18s ease !important; }
html body .public-header .public-menu .public-menu-item:hover, html body .public-header .public-menu .public-menu-item:focus-visible { background: var(--dd-hover) !important; }
html body .public-header .public-menu .public-menu-item:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
html body .public-header .public-menu .public-services-menu-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--dd-tile) !important; color: var(--dd-tile-ink) !important; }
html body .public-header .public-menu .public-services-menu-icon .icon { width: 20px !important; height: 20px !important; }
.public-menu-text { display: grid; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.public-menu-title { color: var(--dd-ink); font-size: 15px; font-weight: 500; line-height: 1.25; }
.public-menu-desc { color: var(--dd-muted); font-size: 12.5px; line-height: 1.3; }
.public-menu-arrow { flex: none; width: 16px; height: 16px; color: var(--color-primary); opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease !important; }
.public-menu-item:hover .public-menu-arrow, .public-menu-item:focus-visible .public-menu-arrow { opacity: 1; transform: none; }
.public-menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px -8px -8px; padding: 6px; border-top: 1px solid var(--dd-line); border-radius: 0 0 19px 19px; background: var(--dd-foot); }
html body .public-header .public-menu .public-menu-foot a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 12px; white-space: nowrap; color: var(--dd-ink) !important; font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color .18s ease, color .18s ease !important; }
html body .public-header .public-menu .public-menu-foot a:hover { background: var(--dd-hover) !important; color: rgb(var(--brand-600)) !important; }
html[data-theme="dark"] body .public-header .public-menu .public-menu-foot a:hover { color: rgb(var(--brand-300)) !important; }
.public-menu-foot svg { width: 15px; height: 15px; flex: none; }
@media (prefers-reduced-motion: reduce) { .public-menu-arrow, .public-menu-item { transition: none !important; } }

/* ---------- Shared "glow page" chrome: header over a lavender hero (404, contact, ...) ---------- */
body.mh-glow-page { --mh-pill-gradient: linear-gradient(95deg, var(--color-primary) 0%, rgb(var(--brand-400)) 100%); --mh-glow: 0 10px 28px rgb(82 113 255 / 32%), inset 0 1px 0 rgb(255 255 255 / 28%); }
body.mh-glow-page .public-header { position: relative; min-height: 72px; margin-bottom: -72px; border: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.mh-glow-page .public-header .public-nav-shell { box-sizing: border-box; width: 100% !important; max-width: 1440px !important; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px) !important; }
body.mh-glow-page .public-header .public-nav-row { height: 72px; }
body.mh-glow-page .public-header .logo-img { filter: none !important; }
body.mh-glow-page .public-header .public-nav-center .nav-link { font-weight: 400; color: #3b4660; }
html[data-theme="dark"] body.mh-glow-page .public-header .public-nav-center .nav-link { color: #c3cbe6; }
body.mh-glow-page .public-header .public-nav-center .nav-link:hover { background: transparent; color: var(--color-primary); }
body.mh-glow-page .public-header .public-header-cta { background: var(--mh-pill-gradient) !important; color: #fff !important; border-radius: 999px; padding: 10px 22px; font-weight: 500; box-shadow: var(--mh-glow); }
body.mh-glow-page .public-header .public-header-cta:hover { filter: brightness(1.06); }
@media (max-width: 1279px) { body.mh-glow-page .public-header { margin-bottom: -64px; min-height: 64px; } body.mh-glow-page .public-header .public-nav-row { height: 64px; } }
.mh-page-hero { position: relative; overflow: hidden; padding: calc(72px + clamp(40px, 5vw, 72px)) 0 clamp(48px, 6vw, 88px); color: rgb(var(--brand-950)); background: linear-gradient(180deg, #f1f3ff 0%, #f8f9ff 75%, #f8f9ff 100%); }
html[data-theme="dark"] .mh-page-hero { color: #f1f5fc; background: linear-gradient(180deg, #0a1022 0%, #0e1628 100%); }
.mh-page-hero .mh-hero-glow i { opacity: .8; }
.mh-page-inner { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding-inline: clamp(16px, 3vw, 40px); }
.mh-page-title { margin: 0; color: rgb(var(--brand-950)); font-family: var(--font-brand-display); font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
html[data-theme="dark"] .mh-page-title { color: #fff; }
.mh-page-lede { max-width: 560px; margin: 18px auto 0; color: #55607a; font-size: 18px; font-weight: 300; line-height: 1.65; }
html[data-theme="dark"] .mh-page-lede { color: #b7c2d5; }
.mh-page-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 999px; background: rgb(255 255 255 / 62%); color: #3b4660; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[data-theme="dark"] .mh-page-pill { background: rgb(255 255 255 / 6%); color: #c3cbe6; border-color: rgb(164 180 255 / 24%); }
.mh-page-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgb(82 113 255 / 18%); }
.mh-pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important; }
.mh-pill-btn svg { width: 18px; height: 18px; flex: none; }
.mh-pill-btn.is-primary { border: 0; background: var(--mh-pill-gradient); color: #fff !important; box-shadow: var(--mh-glow); }
.mh-pill-btn.is-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mh-pill-btn.is-ghost { border: 1px solid rgb(82 113 255 / 28%); background: #fff; color: rgb(var(--brand-950)) !important; box-shadow: 0 0 0 5px rgb(82 113 255 / 8%); }
.mh-pill-btn.is-ghost:hover { color: rgb(var(--brand-600)) !important; transform: translateY(-1px); }
html[data-theme="dark"] .mh-pill-btn.is-ghost { background: rgb(255 255 255 / 8%); color: #fff !important; border-color: rgb(164 180 255 / 34%); }
html[data-theme="dark"] .mh-pill-btn.is-ghost:hover { color: #fff !important; background: rgb(255 255 255 / 14%); }
.mh-pill-btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mh-pill-btn { transition: none !important; transform: none !important; } }

/* ---------- Error / 404 ---------- */
.mh-err { min-height: calc(100vh - 140px); display: flex; align-items: center; }
.mh-err .mh-page-inner { text-align: center; }
.mh-err-code { position: absolute; left: 0; right: 0; top: -.04em; z-index: 0; font-family: var(--font-brand-display); font-size: clamp(150px, 27vw, 380px); font-weight: 700; letter-spacing: -.06em; line-height: 1; text-align: center; pointer-events: none; user-select: none; background: linear-gradient(180deg, rgb(82 113 255 / 26%), rgb(82 113 255 / 0%) 82%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.mh-err-body { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding-top: clamp(40px, 8vw, 120px); }
.mh-err-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 24px; background: #fff; color: rgb(var(--brand-600)); box-shadow: 0 18px 44px rgb(82 113 255 / 20%), 0 0 0 8px rgb(82 113 255 / 8%); }
html[data-theme="dark"] .mh-err-icon { background: #152036; color: rgb(var(--brand-300)); }
.mh-err-icon svg { width: 34px; height: 34px; }
.mh-err-url { display: inline-block; max-width: 100%; margin-left: 4px; padding: 2px 10px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 999px; background: rgb(82 113 255 / 8%); color: #3b4660; font-family: ui-monospace, monospace; font-size: .8rem; word-break: break-all; vertical-align: baseline; }
html[data-theme="dark"] .mh-err-url { color: #c3cbe6; }
.mh-err-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.mh-err-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: clamp(40px, 6vw, 72px) auto 0; text-align: left; }
.mh-err-links a { display: grid; gap: 14px; padding: 20px; border: 1px solid rgb(82 113 255 / 14%); border-radius: 24px; background: rgb(255 255 255 / 72%); color: inherit; text-decoration: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important; }
html[data-theme="dark"] .mh-err-links a { background: rgb(21 32 54 / 80%); border-color: rgb(164 180 255 / 18%); }
.mh-err-links a:hover { transform: translateY(-3px); border-color: rgb(82 113 255 / 45%); box-shadow: 0 18px 44px rgb(82 113 255 / 14%); }
.mh-err-links a > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e9edff; color: rgb(var(--brand-600)); }
html[data-theme="dark"] .mh-err-links a > span:first-child { background: rgb(82 113 255 / 22%); color: rgb(var(--brand-300)); }
.mh-err-links svg { width: 20px; height: 20px; }
.mh-err-links strong { display: block; color: rgb(var(--brand-950)); font-size: 16px; font-weight: 500; }
html[data-theme="dark"] .mh-err-links strong { color: #fff; }
.mh-err-links small { display: block; margin-top: 3px; color: #6b7390; font-size: 13px; line-height: 1.4; }
html[data-theme="dark"] .mh-err-links small { color: #9aa7c2; }
@media (max-width: 899px) { .mh-err-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .mh-err-links { gap: 12px; } .mh-err-links a { padding: 16px; border-radius: 20px; } .mh-err-cta .mh-pill-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .mh-err-links a { transition: none !important; transform: none !important; } }

/* ---------- Contact page ---------- */
.mc-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.mc-hero .mh-page-inner { text-align: center; }
.mc-wrap { position: relative; z-index: 2; margin-top: -8px; padding-bottom: clamp(56px, 7vw, 104px); background: #f8f9ff; }
html[data-theme="dark"] .mc-wrap { background: #0e1628; }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.mc-card { border: 1px solid rgb(82 113 255 / 14%); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgb(82 113 255 / 10%); }
html[data-theme="dark"] .mc-card { background: #152036; border-color: rgb(164 180 255 / 18%); box-shadow: none; }
.mc-form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; }
.mc-form-head h2 { margin: 0; color: rgb(var(--brand-950)); font-family: var(--font-brand-display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.mc-form-head p { margin: 6px 0 0; color: #6b7390; font-size: 14px; }
html[data-theme="dark"] .mc-form-head h2 { color: #fff; } html[data-theme="dark"] .mc-form-head p { color: #9aa7c2; }
.mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-field { display: grid; gap: 8px; }
.mc-field label { color: #3b4660; font-size: 13px; font-weight: 500; }
html[data-theme="dark"] .mc-field label { color: #c3cbe6; }
.mc-input { width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid #dfe3f2; border-radius: 14px; background: #fff; color: rgb(var(--brand-950)); font: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease !important; }
.mc-input::placeholder { color: #9aa3bd; }
.mc-input:hover { border-color: #b9c4ff; }
.mc-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgb(82 113 255 / 16%); }
textarea.mc-input { min-height: 160px; resize: vertical; line-height: 1.6; }
html[data-theme="dark"] .mc-input { background: #0e1628; border-color: #26334d; color: #f1f5fc; }
html[data-theme="dark"] .mc-input::placeholder { color: #66728f; }
.mc-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-topics button { padding: 7px 14px; border: 1px solid rgb(82 113 255 / 22%); border-radius: 999px; background: transparent; color: #3b4660; font-size: 13px; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease !important; }
.mc-topics button:hover, .mc-topics button.is-on { background: #e9edff; border-color: var(--color-primary); color: #3b55e6; }
html[data-theme="dark"] .mc-topics button { color: #c3cbe6; border-color: rgb(164 180 255 / 26%); }
html[data-theme="dark"] .mc-topics button:hover, html[data-theme="dark"] .mc-topics button.is-on { background: rgb(82 113 255 / 24%); color: #fff; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mc-foot p { margin: 0; color: #6b7390; font-size: 13px; }
html[data-theme="dark"] .mc-foot p { color: #9aa7c2; }
.mc-submit { border: 0; font: inherit; font-weight: 500; }
.mc-submit:disabled { opacity: .7; cursor: progress; }
.mc-side { display: grid; gap: 20px; position: sticky; top: 24px; }
.mc-info { padding: 26px; }
.mc-info h3 { margin: 0 0 18px; color: rgb(var(--brand-950)); font-size: 17px; font-weight: 500; }
html[data-theme="dark"] .mc-info h3 { color: #fff; }
.mc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mc-list li { display: flex; align-items: flex-start; gap: 14px; }
.mc-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e9edff; color: rgb(var(--brand-600)); }
html[data-theme="dark"] .mc-ico { background: rgb(82 113 255 / 22%); color: rgb(var(--brand-300)); }
.mc-ico svg { width: 20px; height: 20px; }
.mc-list small { display: block; color: #6b7390; font-size: 12.5px; }
html[data-theme="dark"] .mc-list small { color: #9aa7c2; }
.mc-list a, .mc-list span.mc-val { color: rgb(var(--brand-950)); font-size: 15px; line-height: 1.5; text-decoration: none; word-break: break-word; }
.mc-list a:hover { color: rgb(var(--brand-600)); }
html[data-theme="dark"] .mc-list a, html[data-theme="dark"] .mc-list span.mc-val { color: #f1f5fc; }
.mc-help { display: grid; gap: 6px; padding: 12px; }
.mc-help a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; color: rgb(var(--brand-950)); text-decoration: none; transition: background-color .2s ease !important; }
.mc-help a:hover { background: #f1f3ff; }
html[data-theme="dark"] .mc-help a { color: #f1f5fc; } html[data-theme="dark"] .mc-help a:hover { background: rgb(82 113 255 / 14%); }
.mc-help strong { display: block; font-size: 15px; font-weight: 500; }
.mc-help small { color: #6b7390; font-size: 13px; }
html[data-theme="dark"] .mc-help small { color: #9aa7c2; }
.mc-help > a > span:last-child { flex: 1; }
.mc-help svg.mc-go { width: 16px; height: 16px; color: var(--color-primary); flex: none; }
.mc-help a:focus-visible, .mc-topics button:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
@media (max-width: 899px) { .mc-grid { grid-template-columns: 1fr; } .mc-side { position: static; } }
@media (max-width: 559px) { .mc-row { grid-template-columns: 1fr; } .mc-submit { width: 100%; } .mc-foot { flex-direction: column-reverse; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { .mc-input, .mc-topics button, .mc-help a { transition: none !important; } }

html body .mc-card .mc-input:invalid:not(:focus) { border-color: #dfe3f2 !important; box-shadow: none !important; }
html[data-theme="dark"] body .mc-card .mc-input:invalid:not(:focus) { border-color: #26334d !important; }
html body .mc-card .mc-input:user-invalid:not(:focus) { border-color: #e5484d !important; box-shadow: 0 0 0 3px rgb(229 72 77 / 14%) !important; }
