/* NexoBiz.cloud — Reference-matching homepage (isolated from legacy marketing CSS) */
:root {
    --ref-blue: #0073ea;
    --ref-blue-dark: #005bb5;
    --ref-navy: #181b34;
    --ref-text: #181b34;
    --ref-muted: #676879;
    --ref-border: #e6e9ef;
    --ref-bg: #f4f7fb;
    --ref-white: #ffffff;
    --ref-radius: 16px;
    --ref-radius-pill: 40px;
    --ref-shadow: 0 8px 32px rgba(18, 27, 52, 0.08);
    --ref-shadow-lg: 0 20px 60px rgba(18, 27, 52, 0.14);
    --ref-font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

.mkt-body--ref-home {
    margin: 0;
    font-family: var(--ref-font);
    color: var(--ref-text);
    background: var(--ref-white);
    -webkit-font-smoothing: antialiased;
}

.ref-home {
    min-height: 100vh;
    overflow-x: hidden;
}

.ref-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Standalone nav base styles for the isolated ref layout */
.mkt-body--ref-home .mkt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ref-border);
    box-shadow: none;
}
.mkt-body--ref-home .mkt-nav-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.mkt-body--ref-home .mkt-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ref-navy);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
}
.mkt-body--ref-home .mkt-logo svg,
.mkt-body--ref-home .mkt-logo img {
    width: 34px;
    height: 34px;
    display: block;
}
.mkt-body--ref-home .mkt-logo span {
    display: inline-block;
}
.mkt-body--ref-home .mkt-nav-links {
    flex: 1;
    justify-content: center;
}
.mkt-body--ref-home .mkt-nav-actions {
    display: none;
    align-items: center;
    gap: 12px;
}
.mkt-body--ref-home .mkt-btn-demo,
.mkt-body--ref-home .mkt-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}
.mkt-body--ref-home .mkt-btn-demo {
    color: var(--ref-navy);
    border: 1px solid var(--ref-border);
    background: #fff;
    border-radius: var(--ref-radius-pill);
    font-weight: 800;
}
.mkt-body--ref-home .mkt-btn-demo:hover {
    color: var(--ref-blue);
    border-color: #c5dfff;
}
.mkt-body--ref-home .mkt-btn-primary {
    background: var(--ref-blue) !important;
    border-color: var(--ref-blue) !important;
    border-radius: var(--ref-radius-pill) !important;
    font-weight: 700 !important;
    color: #fff !important;
}
.mkt-body--ref-home .mkt-link {
    color: var(--ref-navy) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.mkt-body--ref-home .mkt-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ref-border);
    border-radius: 12px;
    background: #fff;
    color: var(--ref-navy);
}
.mkt-body--ref-home .mkt-mobile-menu {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 16px;
    padding: 16px 20px 20px;
    background: #fff;
    border: 1px solid var(--ref-border);
    border-radius: 16px;
    box-shadow: var(--ref-shadow-lg);
}

/* Footer ref styling */
.mkt-body--ref-home .mkt-footer {
    background: var(--ref-navy) !important;
    color: #c5c7d0 !important;
    margin-top: 0;
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mkt-body--ref-home .mkt-footer .mkt-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}
.mkt-body--ref-home .mkt-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(120px, .75fr)) minmax(240px, 1.1fr);
    gap: 32px;
    align-items: start;
}
.mkt-body--ref-home .mkt-footer-brand {
    max-width: 330px;
}
.mkt-body--ref-home .mkt-footer .mkt-logo {
    color: #fff;
    margin-bottom: 16px;
}
.mkt-body--ref-home .mkt-footer .mkt-logo svg,
.mkt-body--ref-home .mkt-footer .mkt-logo img {
    filter: drop-shadow(0 8px 18px rgba(0,115,234,.3));
}
.mkt-body--ref-home .mkt-footer-brand p,
.mkt-body--ref-home .mkt-footer-newsletter p {
    margin: 0;
    color: #a7adbe;
    font-size: 14px;
    line-height: 1.7;
}
.mkt-body--ref-home .mkt-footer h3 {
    color: #fff !important;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
}
.mkt-body--ref-home .mkt-footer-links {
    display: grid;
    gap: 10px;
}
.mkt-body--ref-home .mkt-footer a {
    color: #c5c7d0 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.mkt-body--ref-home .mkt-footer a:hover {
    color: #fff !important;
}
.mkt-body--ref-home .mkt-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.mkt-body--ref-home .mkt-footer-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    font-weight: 800;
}
.mkt-body--ref-home .mkt-footer-newsletter {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}
.mkt-body--ref-home .mkt-footer-newsletter__form {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}
.mkt-body--ref-home .mkt-footer-newsletter input,
.mkt-body--ref-home .mkt-footer-lang select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 0 12px;
    font: inherit;
}
.mkt-body--ref-home .mkt-footer-newsletter input::placeholder {
    color: #8f96aa;
}
.mkt-body--ref-home .mkt-footer-lang {
    display: grid;
    gap: 8px;
    color: #a7adbe;
    font-size: 12px;
    font-weight: 700;
}
.mkt-body--ref-home .mkt-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #8f96aa;
    font-size: 13px;
}
.mkt-body--ref-home .mkt-copy__links {
    display: inline-flex;
    gap: 16px;
}
.mkt-body--ref-home .mkt-footer .mkt-btn-primary {
    border-radius: 8px !important;
    width: 100%;
}

/* Buttons */
.ref-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 700; text-decoration: none;
    border: 2px solid transparent; border-radius: 10px; cursor: pointer; transition: .2s;
    font-family: inherit;
}
.ref-btn--pill { border-radius: var(--ref-radius-pill); }
.ref-btn--primary { background: var(--ref-blue); color: #fff; border-color: var(--ref-blue); }
.ref-btn--primary:hover { background: var(--ref-blue-dark); color: #fff; }
.ref-btn--outline { background: #fff; color: var(--ref-navy); border-color: var(--ref-border); }
.ref-btn--outline:hover { border-color: var(--ref-blue); color: var(--ref-blue); }
.ref-btn--white { background: #fff; color: var(--ref-blue); }
.ref-btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ref-btn--ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.ref-btn--sm { padding: 10px 20px; font-size: 14px; }
.ref-link { color: var(--ref-blue); font-weight: 700; text-decoration: none; font-size: 14px; }
.ref-link:hover { text-decoration: underline; }

/* HERO */
.ref-hero {
    padding: 54px 0 0;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
    overflow: visible;
    position: relative;
}
.ref-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(0,115,234,.08), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(0,200,117,.08), transparent 24%);
    pointer-events: none;
}
.ref-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(560px, 1.06fr);
    gap: 52px;
    align-items: center;
    min-height: 545px;
    position: relative;
    z-index: 1;
}
.ref-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: #e8f4ff; border-radius: 100px;
    font-size: 13px; font-weight: 700; color: var(--ref-blue); margin-bottom: 20px;
}
.ref-hero__title {
    font-size: clamp(42px, 4.6vw, 58px);
    font-weight: 900; line-height: .98; letter-spacing: -0.055em;
    color: var(--ref-navy); margin: 0 0 20px;
}
.ref-hero__lead {
    font-size: 16px; line-height: 1.65; color: var(--ref-muted);
    margin: 0 0 28px; max-width: 520px;
}
.ref-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ref-hero__trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 20px;
}
.ref-hero__trust li {
    font-size: 13px; font-weight: 600; color: var(--ref-muted);
    display: flex; align-items: center; gap: 6px;
}
.ref-hero__trust li::before { content: '✓'; color: #00c875; font-weight: 800; }
.ref-hero__visual {
    position: relative;
    z-index: 2;
    margin-bottom: -92px;
}
.ref-hero__visual::before {
    content: '';
    position: absolute;
    inset: 36px -32px -26px 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0,115,234,.08), rgba(0,200,117,.06));
    filter: blur(4px);
    z-index: -1;
}

/* DASHBOARD MOCKUP */
.ref-dash {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--ref-border);
    box-shadow: var(--ref-shadow-lg);
    overflow: hidden;
    transform: translateZ(0);
}
.ref-dash__chrome {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; background: #f6f7fb; border-bottom: 1px solid var(--ref-border);
}
.ref-dash__dots { display: flex; gap: 6px; }
.ref-dash__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ref-dash__dots i:nth-child(1) { background: #ff6b6b; }
.ref-dash__dots i:nth-child(2) { background: #ffd93d; }
.ref-dash__dots i:nth-child(3) { background: #6bcb77; }
.ref-dash__url { font-size: 11px; color: var(--ref-muted); }
.ref-dash__brand { color: var(--ref-blue); font-size: 12px; margin-right: auto; }
.ref-dash__search {
    min-width: 180px;
    padding: 6px 12px;
    border: 1px solid var(--ref-border);
    border-radius: 8px;
    color: #a3a8b7;
    font-size: 10px;
    background: #fff;
}
.ref-dash__user {
    color: var(--ref-navy);
    font-size: 10px;
    font-weight: 800;
}
.ref-dash__layout { display: grid; grid-template-columns: 58px 1fr; min-height: 420px; }
.ref-dash__sidebar {
    background: var(--ref-navy); padding: 16px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ref-dash__logo {
    width: 32px; height: 32px; border-radius: 8px; background: var(--ref-blue);
    color: #fff; font-weight: 900; font-size: 14px;
    display: grid; place-items: center; margin-bottom: 8px;
}
.ref-dash__nav {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center; opacity: .45;
}
.ref-dash__nav.is-active { background: var(--ref-blue); opacity: 1; }
.ref-dash__nav-icon { width: 14px; height: 14px; border-radius: 3px; background: rgba(255,255,255,.7); }
.ref-dash__nav-label { display: none; }
.ref-dash__content {
    padding: 18px; background: #fafbfc;
    display: grid; grid-template-columns: 1fr 152px; grid-template-rows: auto auto 1fr; gap: 12px;
}
.ref-dash__topbar {
    grid-column: 1 / -1;
    display: flex; justify-content: space-between; align-items: center;
}
.ref-dash__topbar strong { display: block; font-size: 15px; color: var(--ref-navy); }
.ref-dash__topbar span { font-size: 12px; color: var(--ref-muted); }
.ref-pill { padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ref-pill--green { background: #d4f5e0; color: #037f4c; }
.ref-dash__kpis {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.ref-dash__kpi {
    background: #fff; border: 1px solid var(--ref-border); border-radius: 12px; padding: 12px;
}
.ref-dash__kpi span { font-size: 10px; font-weight: 700; color: var(--ref-muted); text-transform: uppercase; }
.ref-dash__kpi strong { display: block; font-size: 16px; font-weight: 800; color: var(--ref-navy); margin-top: 4px; }
.ref-dash__kpi--blue { border-color: #c5dfff; background: #f0f6ff; }
.ref-spark { width: 100%; height: 24px; margin-top: 6px; }
.ref-dash__widgets {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ref-dash__widget {
    background: #fff; border: 1px solid var(--ref-border); border-radius: 12px; padding: 12px;
}
.ref-dash__widget--wide { grid-column: span 1; }
.ref-dash__widget h4 { margin: 0 0 10px; font-size: 11px; font-weight: 800; color: var(--ref-navy); }
.ref-funnel { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.ref-funnel__stage { flex: 1; text-align: center; font-size: 9px; font-weight: 700; color: var(--ref-muted); }
.ref-funnel__bar { background: var(--c); border-radius: 4px 4px 0 0; margin: 4px auto 0; width: 80%; min-height: 8px; }
.ref-funnel__stage em { font-style: normal; font-size: 10px; color: var(--ref-navy); }
.ref-gantt__row { display: grid; grid-template-columns: 70px 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.ref-gantt__row span { font-size: 9px; color: var(--ref-muted); }
.ref-gantt__track { height: 6px; background: #eef0f5; border-radius: 3px; overflow: hidden; }
.ref-gantt__fill { height: 100%; border-radius: 3px; }
.ref-donut { text-align: center; position: relative; }
.ref-donut svg { width: 64px; height: 64px; }
.ref-donut strong { display: block; font-size: 18px; font-weight: 800; color: var(--ref-navy); margin-top: -4px; }
.ref-donut span { font-size: 10px; color: var(--ref-muted); }
.ref-bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.ref-bars span { flex: 1; background: linear-gradient(180deg, #579bfc, #0073ea); border-radius: 3px 3px 0 0; min-height: 4px; }
.ref-dash__feed {
    grid-row: 2 / 4; grid-column: 2;
    background: #fff; border: 1px solid var(--ref-border); border-radius: 12px; padding: 12px;
}
.ref-dash__feed h4 { margin: 0 0 10px; font-size: 11px; font-weight: 800; }
.ref-feed__item { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--ref-muted); padding: 5px 0; border-bottom: 1px solid #f0f1f5; }
.ref-feed__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ref-feed__dot--green { background: #00c875; }
.ref-feed__dot--blue { background: #0073ea; }
.ref-feed__dot--orange { background: #ff9f00; }
.ref-feed__dot--pink { background: #ff5ac4; }

/* TRUST */
.ref-trust {
    padding: 112px 0 42px;
    background: #fff;
    border-top: 1px solid var(--ref-border);
    border-bottom: 1px solid var(--ref-border);
}
.ref-trust__inner { text-align: center; }
.ref-trust__label { font-size: 14px; color: var(--ref-muted); margin: 0 0 24px; }
.ref-trust__logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px;
    margin-bottom: 16px;
}
.ref-trust__logos span {
    font-size: 15px; font-weight: 800; color: #c5c7d0; letter-spacing: -0.02em;
}
.ref-trust__count { font-size: 13px; font-weight: 700; color: var(--ref-blue); margin: 0; }

/* TRIO 3-COLUMN */
.ref-trio {
    padding: 64px 0;
    background:
        linear-gradient(180deg, #f4f7fb 0%, #eef4fb 100%);
}
.ref-trio__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ref-card {
    background: #fff; border-radius: 20px; border: 1px solid rgba(230,233,239,.88);
    padding: 28px; box-shadow: 0 16px 42px rgba(18,27,52,.09); position: relative; overflow: hidden;
    min-height: 420px; display: flex; flex-direction: column;
}
.ref-card::before,
.ref-six-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,0));
    pointer-events: none;
}
.ref-card h2 { font-size: 20px; font-weight: 800; color: var(--ref-navy); margin: 0 0 6px; }
.ref-card__sub { font-size: 14px; color: var(--ref-muted); margin: 0 0 20px; }
.ref-industry-list { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.ref-industry-list li { padding: 8px 0; border-bottom: 1px solid #f0f1f5; }
.ref-industry-list a { color: var(--ref-navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.ref-industry-list a:hover { color: var(--ref-blue); }
.ref-module-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1;
}
.ref-module-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px; border-radius: 14px; background: color-mix(in srgb, var(--mc) 12%, white);
    border: 1px solid color-mix(in srgb, var(--mc) 25%, white);
    text-decoration: none; transition: transform .15s;
    min-height: 74px;
}
.ref-module-tile:hover { transform: translateY(-3px); box-shadow: var(--ref-shadow); }
.ref-module-tile__icon { font-size: 22px; }
.ref-module-tile__label { font-size: 11px; font-weight: 800; color: var(--ref-navy); text-align: center; }
.ref-checklist { list-style: none; padding: 0; margin: 0; flex: 1; }
.ref-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--ref-navy); }
.ref-check { color: #00c875; font-weight: 900; }
.ref-card__illus { margin-top: 16px; height: 80px; }
.ref-illus-site {
    height: 100%; border-radius: 12px;
    background: linear-gradient(135deg, #e8f4ff 0%, #c5dfff 50%, #fff 100%);
    position: relative;
}
.ref-illus-site::after {
    content: ''; position: absolute; bottom: 12px; left: 20px; right: 20px; height: 30px;
    background: var(--ref-blue); border-radius: 4px; opacity: .3;
}
.ref-mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.ref-mini-chart span { flex: 1; background: linear-gradient(180deg, #579bfc, #0073ea); border-radius: 3px 3px 0 0; }

/* LIFECYCLE */
.ref-lifecycle { padding: 72px 0 68px; background: #fff; }
.ref-lifecycle__title { text-align: center; font-size: 32px; font-weight: 800; color: var(--ref-navy); margin: 0 0 8px; }
.ref-lifecycle__sub { text-align: center; font-size: 16px; color: var(--ref-muted); margin: 0 0 40px; }
.ref-lifecycle__track {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2px;
}
.ref-lifecycle__step {
    width: 88px; text-align: center; padding: 8px 4px;
}
.ref-lifecycle__icon {
    width: 42px; height: 42px; border-radius: 13px; margin: 0 auto 8px;
    display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px;
    box-shadow: 0 10px 18px rgba(18,27,52,.12);
}
.ref-lifecycle__step strong { display: block; font-size: 11px; color: var(--ref-navy); margin-bottom: 2px; }
.ref-lifecycle__step span { font-size: 10px; color: var(--ref-muted); line-height: 1.3; }
.ref-lifecycle__arrow {
    width: 20px; height: 2px; background: var(--ref-border); margin-top: 30px; position: relative;
}
.ref-lifecycle__arrow::after {
    content: ''; position: absolute; right: 0; top: -3px;
    border: 4px solid transparent; border-left-color: var(--ref-border);
}

/* SIX CARDS */
.ref-six {
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #eef4fb 0%, #f4f7fb 100%);
}
.ref-six__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ref-six-card {
    position: relative;
    background: #fff; border-radius: 20px; border: 1px solid rgba(230,233,239,.88);
    padding: 24px; box-shadow: 0 16px 42px rgba(18,27,52,.08);
    display: flex; flex-direction: column; gap: 8px; min-height: 200px;
    overflow: hidden;
}
.ref-six-card h3 { font-size: 17px; font-weight: 800; color: var(--ref-navy); margin: 0; }
.ref-six-card p { font-size: 13px; color: var(--ref-muted); margin: 0; flex: 1; line-height: 1.5; }
.ref-six-card__preview {
    height: 80px; border-radius: 10px; margin-bottom: 8px;
    background:
        linear-gradient(90deg, rgba(0,115,234,.16) 0 32%, transparent 32%),
        linear-gradient(135deg, #e8f4ff, #f0f6ff);
    border: 1px solid var(--ref-border);
}
.ref-six-card__icon { font-size: 32px; margin-bottom: 4px; }
.ref-six-card__icon--community {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, #ffe8f0, #fff);
}
.ref-six-card__icon--blog {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, #fff3e0, #fff);
}
.ref-six-card__icon--shield { font-size: 36px; }
.ref-six-card__avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #c5dfff, #e8f4ff);
    margin-bottom: 4px;
}
.ref-price-tag { margin: 8px 0; }
.ref-price-tag__plan { font-size: 12px; font-weight: 700; color: var(--ref-muted); text-transform: uppercase; }
.ref-price-tag strong { font-size: 28px; font-weight: 800; color: var(--ref-navy); }
.ref-price-tag small { font-size: 14px; font-weight: 500; color: var(--ref-muted); }

/* FINAL CTA */
.ref-final {
    padding: 76px 0 80px;
    background: linear-gradient(135deg, var(--ref-blue) 0%, #005bb5 100%);
    color: #fff; text-align: center;
    position: relative;
    overflow: hidden;
}
.ref-final::before,
.ref-final::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    filter: blur(3px);
}
.ref-final::before { left: -90px; top: -120px; }
.ref-final::after { right: -100px; bottom: -140px; }
.ref-final__inner {
    position: relative;
    z-index: 1;
}
.ref-final h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; margin: 0 0 12px; }
.ref-final p { font-size: 17px; opacity: .9; max-width: 560px; margin: 0 auto 28px; line-height: 1.6; }
.ref-final__inner .ref-hero__cta { justify-content: center; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .ref-hero__grid { grid-template-columns: 1fr; }
    .ref-hero__visual { margin-bottom: 0; }
    .ref-trust { padding-top: 48px; }
    .ref-trio__grid { grid-template-columns: 1fr; }
    .ref-card { min-height: auto; }
    .ref-six__grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-body--ref-home .mkt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mkt-body--ref-home .mkt-footer-brand,
    .mkt-body--ref-home .mkt-footer-newsletter { max-width: none; }
}
@media (min-width: 1024px) {
    .mkt-body--ref-home .mkt-nav-actions { display: flex; }
    .mkt-body--ref-home .mkt-menu-btn { display: none; }
}
@media (max-width: 900px) {
    .mkt-body--ref-home .mkt-nav-inner,
    .mkt-body--ref-home .mkt-mobile-menu,
    .mkt-body--ref-home .mkt-footer .mkt-wrap {
        width: min(100% - 32px, 1180px);
    }
    .mkt-body--ref-home .mkt-logo span { font-size: 16px; }
    .ref-hero { padding-top: 36px; }
    .ref-hero__title { font-size: clamp(36px, 9vw, 48px); }
}
@media (max-width: 640px) {
    .ref-container { padding: 0 20px; }
    .mkt-body--ref-home .mkt-footer-grid { grid-template-columns: 1fr; }
    .mkt-body--ref-home .mkt-copy {
        align-items: flex-start;
        flex-direction: column;
    }
    .ref-module-grid { grid-template-columns: repeat(3, 1fr); }
    .ref-six__grid { grid-template-columns: 1fr; }
    .ref-dash__kpis { grid-template-columns: repeat(2, 1fr); }
    .ref-dash__content { grid-template-columns: 1fr; }
    .ref-dash__feed { grid-column: auto; grid-row: auto; }
    .ref-lifecycle__arrow { display: none; }
    .ref-lifecycle__step { width: 72px; }
}

@media (min-width: 1200px) {
    .mkt-body--ref-home {
        background: #fff;
    }

    .ref-container {
        max-width: 1536px;
        padding: 0 28px;
    }

    .mkt-body--ref-home .mkt-nav-inner {
        width: min(1536px, calc(100% - 56px));
        min-height: 58px;
        gap: 18px;
    }

    .mkt-body--ref-home .mkt-logo {
        font-size: 17px;
    }

    .mkt-body--ref-home .mkt-logo svg,
    .mkt-body--ref-home .mkt-logo img {
        width: 30px;
        height: 30px;
    }

    .mkt-body--ref-home .mkt-mega-nav__link,
    .mkt-body--ref-home .mkt-mega-nav__toggle {
        font-size: 13px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .mkt-body--ref-home .mkt-link,
    .mkt-body--ref-home .mkt-btn-demo,
    .mkt-body--ref-home .mkt-btn-primary {
        font-size: 13px;
        min-height: 38px;
        padding: 9px 16px;
    }

    .mkt-body--ref-home .mkt-btn-trial {
        flex-direction: row !important;
        min-width: 128px;
        border-radius: 8px !important;
    }

    .mkt-body--ref-home .mkt-nav-trial-note,
    .mkt-body--ref-home .mkt-btn-trial__spark {
        display: none !important;
    }

    .ref-hero {
        padding: 28px 0 0;
        background:
            radial-gradient(circle at 2% 55%, rgba(0,115,234,.09), transparent 18%),
            radial-gradient(circle at 98% 38%, rgba(0,200,117,.09), transparent 20%),
            linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    .ref-hero::before {
        opacity: .58;
    }

    .ref-hero__grid {
        grid-template-columns: minmax(430px, 520px) minmax(680px, 1fr);
        gap: 44px;
        min-height: 360px;
        align-items: start;
    }

    .ref-hero__copy {
        padding-top: 18px;
    }

    .ref-badge {
        margin-bottom: 14px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .ref-hero__title {
        max-width: 520px;
        margin-bottom: 14px;
        font-size: clamp(42px, 3.4vw, 56px);
        line-height: .98;
        letter-spacing: -0.06em;
    }

    .ref-hero__lead {
        max-width: 520px;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .ref-hero__cta {
        gap: 10px;
        margin-bottom: 18px;
    }

    .ref-btn {
        min-height: 42px;
        padding: 11px 22px;
        font-size: 13px;
        border-width: 1px;
    }

    .ref-hero__trust {
        gap: 18px;
    }

    .ref-hero__trust li {
        font-size: 11px;
    }

    .ref-hero__visual {
        margin-bottom: 0;
    }

    .ref-hero__visual::before {
        inset: 34px -24px -14px 52px;
    }

    .ref-dash {
        border-radius: 18px;
        box-shadow: 0 18px 48px rgba(18,27,52,.12);
    }

    .ref-dash__chrome {
        padding: 8px 14px;
    }

    .ref-dash__brand {
        font-size: 12px;
    }

    .ref-dash__search {
        min-width: 260px;
    }

    .ref-dash__layout {
        grid-template-columns: 122px 1fr;
        min-height: 328px;
    }

    .ref-dash__sidebar {
        align-items: stretch;
        padding: 12px 10px;
        gap: 5px;
    }

    .ref-dash__logo {
        width: 30px;
        height: 30px;
        margin: 0 auto 5px;
    }

    .ref-dash__nav {
        width: 100%;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 0 9px;
        color: rgba(255,255,255,.76);
    }

    .ref-dash__nav-label {
        display: inline;
        font-size: 9px;
        font-weight: 700;
    }

    .ref-dash__content {
        grid-template-columns: minmax(0, 1fr) 190px;
        grid-template-rows: auto auto 1fr;
        gap: 10px;
        padding: 13px;
    }

    .ref-dash__topbar strong {
        font-size: 13px;
    }

    .ref-dash__topbar span {
        font-size: 10px;
    }

    .ref-dash__kpis {
        gap: 8px;
    }

    .ref-dash__kpi {
        min-height: 58px;
        padding: 9px;
        border-radius: 10px;
    }

    .ref-dash__kpi span {
        font-size: 8px;
    }

    .ref-dash__kpi strong {
        font-size: 13px;
    }

    .ref-spark {
        height: 18px;
        margin-top: 3px;
    }

    .ref-dash__widgets {
        grid-template-columns: 1.05fr 1fr;
        gap: 8px;
    }

    .ref-dash__widget,
    .ref-dash__feed {
        padding: 9px;
        border-radius: 10px;
    }

    .ref-dash__widget h4,
    .ref-dash__feed h4 {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .ref-funnel {
        height: 58px;
    }

    .ref-funnel__stage {
        font-size: 7px;
    }

    .ref-gantt__row {
        grid-template-columns: 62px 1fr;
        margin-bottom: 5px;
    }

    .ref-gantt__row span,
    .ref-feed__item {
        font-size: 8px;
    }

    .ref-donut svg {
        width: 46px;
        height: 46px;
    }

    .ref-donut strong {
        font-size: 14px;
    }

    .ref-bars {
        height: 42px;
    }

    .ref-trust {
        padding: 10px 0;
        border-top: 1px solid #edf1f7;
        border-bottom: 1px solid #edf1f7;
    }

    .ref-trust__inner {
        display: grid;
        grid-template-columns: 260px 1fr 220px;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .ref-trust__label,
    .ref-trust__count {
        margin: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    .ref-trust__logos {
        justify-content: space-between;
        gap: 18px;
        margin: 0;
    }

    .ref-trust__logos span {
        font-size: 13px;
    }

    .ref-trio {
        padding: 14px 0 10px;
        background: #fff;
    }

    .ref-trio__grid {
        grid-template-columns: minmax(240px, .88fr) minmax(620px, 2.05fr) minmax(250px, .95fr);
        gap: 12px;
    }

    .ref-card {
        min-height: 178px;
        padding: 14px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(18,27,52,.07);
    }

    .ref-card h2 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .ref-card__sub {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .ref-industry-list {
        margin-bottom: 7px;
    }

    .ref-industry-list li {
        padding: 3px 0;
    }

    .ref-industry-list a,
    .ref-checklist li,
    .ref-link {
        font-size: 10px;
    }

    .ref-card--industries {
        padding-right: 110px;
    }

    .ref-card--industries .ref-card__illus {
        position: absolute;
        right: 12px;
        bottom: 12px;
        width: 92px;
        height: 88px;
        margin: 0;
    }

    .ref-card--modules .ref-module-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 7px;
    }

    .ref-module-tile {
        min-height: 54px;
        gap: 3px;
        padding: 8px 5px;
        border-radius: 9px;
    }

    .ref-module-tile__icon {
        font-size: 16px;
    }

    .ref-module-tile__label {
        font-size: 9px;
    }

    .ref-checklist li {
        gap: 7px;
        padding: 4px 0;
    }

    .ref-card--why {
        padding-right: 112px;
    }

    .ref-card--why .ref-card__illus {
        position: absolute;
        right: 12px;
        bottom: 12px;
        width: 94px;
        height: 78px;
        margin: 0;
    }

    .ref-mini-chart {
        height: 56px;
    }

    .ref-lifecycle {
        padding: 16px 0 14px;
        background: #fff;
        border-top: 1px solid #edf1f7;
        border-bottom: 1px solid #edf1f7;
    }

    .ref-lifecycle__title {
        margin-bottom: 3px;
        font-size: 20px;
    }

    .ref-lifecycle__sub {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .ref-lifecycle__track {
        flex-wrap: nowrap;
        gap: 0;
    }

    .ref-lifecycle__step {
        width: 92px;
        padding: 3px 2px;
    }

    .ref-lifecycle__icon {
        width: 30px;
        height: 30px;
        margin-bottom: 5px;
        border-radius: 8px;
        font-size: 12px;
    }

    .ref-lifecycle__step strong {
        font-size: 9px;
    }

    .ref-lifecycle__step span {
        font-size: 8px;
    }

    .ref-lifecycle__arrow {
        width: 30px;
        margin-top: 18px;
        background: repeating-linear-gradient(90deg, #d5dbe8 0 4px, transparent 4px 8px);
    }

    .ref-lifecycle__arrow::after {
        border-left-color: #d5dbe8;
    }

    .ref-six {
        padding: 14px 0;
        background: #fff;
    }

    .ref-six__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .ref-six-card {
        min-height: 140px;
        padding: 12px;
        border-radius: 12px;
        gap: 5px;
        box-shadow: 0 8px 24px rgba(18,27,52,.07);
    }

    .ref-six-card h3 {
        font-size: 12px;
    }

    .ref-six-card p {
        font-size: 9px;
        line-height: 1.45;
    }

    .ref-six-card__preview {
        height: 45px;
        margin-bottom: 4px;
        border-radius: 8px;
    }

    .ref-six-card__icon,
    .ref-six-card__icon--shield,
    .ref-six-card__avatar {
        width: 38px;
        height: 38px;
        font-size: 24px;
        margin-bottom: 2px;
    }

    .ref-price-tag {
        margin: 3px 0;
    }

    .ref-price-tag__plan {
        font-size: 9px;
    }

    .ref-price-tag strong {
        font-size: 20px;
    }

    .ref-price-tag small {
        font-size: 10px;
    }

    .ref-six-card .ref-btn,
    .ref-six-card .ref-link {
        min-height: 30px;
        padding: 7px 10px;
        font-size: 9px;
    }

    .ref-final {
        width: min(1536px, calc(100% - 56px));
        margin: 8px auto 24px;
        padding: 22px 28px;
        border-radius: 12px;
    }

    .ref-final__inner {
        max-width: none;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 24px;
        text-align: left;
    }

    .ref-final h2 {
        margin-bottom: 4px;
        font-size: 20px;
    }

    .ref-final p {
        max-width: none;
        margin: 0;
        font-size: 11px;
    }

    .ref-final__inner .ref-hero__cta {
        justify-content: flex-end;
        margin: 0;
    }

    .ref-final .ref-btn {
        min-height: 36px;
        padding: 9px 18px;
        font-size: 11px;
    }
}

/* v1363: hard alignment guardrails for reference mockup */
@media (min-width: 1024px) {
    .ref-page {
        overflow: hidden;
    }

    .ref-container {
        max-width: 1280px;
        padding: 0 18px;
    }

    .mkt-body--ref-home .mkt-nav-inner {
        width: min(1280px, calc(100% - 36px));
    }

    .ref-hero {
        padding-top: 16px;
    }

    .ref-hero__grid {
        grid-template-columns: minmax(360px, 430px) minmax(520px, 1fr);
        column-gap: clamp(42px, 5vw, 70px);
        min-height: 272px;
    }

    .ref-hero__copy {
        position: relative;
        z-index: 2;
        max-width: 430px;
        padding-top: 24px;
    }

    .ref-hero__title {
        width: 430px;
        max-width: 430px;
        font-size: clamp(30px, 2.85vw, 38px);
        line-height: 1.035;
        letter-spacing: -0.052em;
    }

    .ref-hero__title span {
        max-width: 430px;
        overflow: visible;
    }

    .ref-hero__lead {
        max-width: 410px;
        font-size: 10px;
    }

    .ref-hero__visual {
        z-index: 1;
        padding-top: 2px;
        transform: translateX(14px);
    }

    .ref-hero__visual::before {
        display: none;
    }

    .ref-dash {
        width: min(100%, 720px);
        margin-left: auto;
        transform: none;
    }

    .ref-dash__layout {
        grid-template-columns: 88px 1fr;
        min-height: 238px;
    }

    .ref-dash__content {
        grid-template-columns: minmax(0, 1fr) 126px;
    }

    .ref-dash__search {
        min-width: 180px;
    }

    .ref-dash__feed {
        min-width: 0;
    }

    .ref-trust {
        clear: both;
        margin-top: 0;
        padding: 7px 0;
        border-top: 1px solid #e7ecf4;
        border-bottom: 1px solid #e7ecf4;
    }

    .ref-trust__inner {
        grid-template-columns: 1fr 2.2fr auto;
        gap: 18px;
        min-height: 20px;
    }

    .ref-trust__label,
    .ref-trust__count,
    .ref-trust__logos span {
        line-height: 1;
    }

    .ref-trio {
        padding-top: 10px;
    }

    .ref-trio__grid {
        grid-template-columns: minmax(235px, .82fr) minmax(470px, 1.9fr) minmax(235px, .82fr);
        align-items: stretch;
        gap: 10px;
    }

    .ref-card {
        min-height: 148px;
    }

    .ref-card--modules .ref-module-grid {
        align-content: stretch;
    }

    .ref-module-tile {
        min-height: 43px;
    }

    .ref-lifecycle {
        margin-top: 0;
        border-top: 1px solid #edf1f7;
    }

    .ref-six__grid {
        align-items: stretch;
    }

    .ref-final {
        width: min(1280px, calc(100% - 36px));
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .ref-hero__grid {
        grid-template-columns: 390px minmax(500px, 1fr);
        column-gap: 38px;
    }

    .ref-hero__copy,
    .ref-hero__title,
    .ref-hero__title span {
        max-width: 390px;
        width: 390px;
    }

    .ref-hero__title {
        font-size: 30px;
    }

    .ref-hero__lead {
        max-width: 370px;
        font-size: 9px;
    }

    .ref-hero__visual {
        transform: none;
    }

    .ref-dash {
        width: 100%;
    }
}

/* v1364: mockup-first homepage recreation */
.mock-home {
    --mock-blue: #0073ea;
    --mock-navy: #0f1838;
    --mock-text: #111827;
    --mock-muted: #647084;
    --mock-line: #dfe6f0;
    --mock-soft: #f7fbff;
    min-height: 100vh;
    background:
        radial-gradient(circle at 0% 26%, rgba(0, 115, 234, .10), transparent 17%),
        radial-gradient(circle at 100% 23%, rgba(0, 200, 117, .11), transparent 18%),
        #fff;
    color: var(--mock-text);
    font-family: var(--ref-font);
}

.mock-shell {
    width: min(1500px, calc(100% - 56px));
    margin: 0 auto;
}

.mkt-body--ref-home .mkt-nav-inner {
    width: min(1500px, calc(100% - 56px));
    min-height: 54px;
}

.mkt-body--ref-home .mkt-logo {
    color: #0d4fbb;
    font-size: 18px;
}

.mkt-body--ref-home .mkt-logo svg,
.mkt-body--ref-home .mkt-logo img {
    width: 32px;
    height: 32px;
}

.mkt-body--ref-home .mkt-mega-nav__link,
.mkt-body--ref-home .mkt-mega-nav__toggle {
    font-size: 13px;
    padding: 7px 10px;
}

.mkt-body--ref-home .mkt-btn-trial {
    flex-direction: row !important;
    min-height: 38px;
    border-radius: 8px !important;
}

.mkt-body--ref-home .mkt-nav-trial-note,
.mkt-body--ref-home .mkt-btn-trial__spark {
    display: none !important;
}

.mock-hero {
    padding: 24px 0 0;
}

.mock-hero__grid {
    display: grid;
    grid-template-columns: minmax(410px, 520px) minmax(620px, 1fr);
    gap: 48px;
    align-items: start;
}

.mock-hero__copy {
    padding-top: 34px;
}

.mock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef7ff;
    color: #0969d8;
    font-size: 12px;
    font-weight: 800;
}

.mock-badge i {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1d4ed8 0 48%, #ef4444 48% 70%, #fff 70%);
}

.mock-hero h1 {
    margin: 0 0 15px;
    color: #111936;
    font-size: clamp(37px, 3.35vw, 54px);
    font-weight: 900;
    line-height: .985;
    letter-spacing: -0.055em;
}

.mock-hero p {
    max-width: 535px;
    margin: 0 0 20px;
    color: #4b5567;
    font-size: 13px;
    line-height: 1.55;
}

.mock-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 24px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #fff;
    color: #0f1838;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mock-btn--primary {
    background: var(--mock-blue);
    border-color: var(--mock-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 115, 234, .22);
}

.mock-btn--white {
    background: #fff;
    color: var(--mock-blue);
}

.mock-btn--blue-outline {
    background: transparent;
    border-color: rgba(255,255,255,.42);
    color: #fff;
}

.mock-btn--ghost {
    background: #fff;
    border-color: #d8e2ee;
    color: #0f1838;
    box-shadow: none;
}

.mock-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.mock-checks li::before {
    content: "✓";
    margin-right: 6px;
    color: #15a46e;
}

.mock-hero__screen {
    padding-top: 0;
}

.mockdash {
    width: 100%;
    min-height: 344px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 24, 56, .13);
}

.mockdash__top {
    height: 42px;
    display: grid;
    grid-template-columns: 170px 1fr 26px 26px 100px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #e7edf5;
    background: #fff;
}

.mockdash__top strong {
    color: #0d4fbb;
    font-size: 13px;
    font-weight: 900;
}

.mockdash__search {
    justify-self: end;
    width: 270px;
    height: 24px;
    padding: 0 14px;
    border: 1px solid #e1e8f2;
    border-radius: 7px;
    color: #9aa4b4;
    font-size: 10px;
    line-height: 24px;
}

.mockdash__bell,
.mockdash__avatar {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #f1f5fb;
}

.mockdash__avatar {
    background: linear-gradient(135deg, #0f1838, #4f7cff);
}

.mockdash__user {
    color: #111827;
    font-size: 10px;
    font-weight: 800;
}

.mockdash__body {
    display: grid;
    grid-template-columns: 128px 1fr 178px;
    min-height: 302px;
}

.mockdash__side {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 12px;
    background: #06143b;
    color: rgba(255,255,255,.78);
}

.mockdash__side b {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #0977f2;
    color: #fff;
    font-size: 13px;
}

.mockdash__side span {
    height: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
}

.mockdash__side span.is-active {
    background: #0977f2;
    color: #fff;
}

.mockdash__side i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: currentColor;
    opacity: .75;
}

.mockdash__main {
    padding: 16px;
    background: #fbfdff;
}

.mockdash__hello {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.mockdash__hello strong {
    display: block;
    color: #111827;
    font-size: 13px;
}

.mockdash__hello small,
.mockdash__kpis small,
.mockdash__panel h4 {
    color: #667085;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.mockdash__hello em {
    padding: 4px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.mockdash__kpis {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.mockdash__kpis article,
.mockdash__panel {
    min-height: 72px;
    padding: 10px;
    border: 1px solid #e3eaf3;
    border-radius: 11px;
    background: #fff;
}

.mockdash__kpis strong {
    display: block;
    margin-top: 4px;
    color: #111827;
    font-size: 15px;
}

.mockdash__kpis svg,
.mockdash__mini-chart {
    width: 100%;
    height: 24px;
    display: block;
    margin-top: 4px;
}

.mockdash__mini-chart {
    border-radius: 6px;
    background: repeating-linear-gradient(90deg, #dbeafe 0 7px, transparent 7px 12px), linear-gradient(180deg, transparent 35%, #93c5fd 36%);
}

.mockdash__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 10px;
}

.mockdash__panel h4 {
    margin: 0 0 8px;
    color: #111827;
}

.mockdash__funnel {
    height: 78px;
    display: flex;
    align-items: end;
    gap: 12px;
}

.mockdash__funnel span {
    flex: 1;
    display: grid;
    align-items: end;
    gap: 5px;
    text-align: center;
}

.mockdash__funnel i {
    height: var(--h);
    min-height: 18px;
    border-radius: 5px 5px 0 0;
    background: var(--c);
}

.mockdash__funnel small,
.mockdash__gantt small,
.mockdash__donut small,
.mockdash__activity span {
    color: #667085;
    font-size: 8px;
    font-weight: 700;
}

.mockdash__gantt {
    display: grid;
    gap: 8px;
}

.mockdash__gantt span {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 8px;
}

.mockdash__gantt i {
    height: 7px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.mockdash__gantt b {
    height: 100%;
    display: block;
    border-radius: inherit;
}

.mockdash__donut div {
    display: grid;
    place-items: center;
}

.mockdash__donut svg {
    width: 56px;
    height: 56px;
}

.mockdash__donut strong {
    margin-top: -4px;
    color: #111827;
    font-size: 16px;
}

.mockdash__bars {
    height: 70px;
    display: flex;
    align-items: end;
    gap: 5px;
}

.mockdash__bars i {
    flex: 1;
    min-height: 10px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #60a5fa, #0073ea);
}

.mockdash__activity {
    padding: 16px 14px;
    border-left: 1px solid #e7edf5;
    background: #fff;
}

.mockdash__activity h4 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 11px;
}

.mockdash__activity span {
    display: grid;
    grid-template-columns: 8px 1fr;
    gap: 6px;
    padding: 7px 0;
    border-bottom: 1px solid #eef2f7;
}

.mockdash__activity span i {
    width: 6px;
    height: 6px;
    margin-top: 3px;
    border-radius: 999px;
    background: #22c55e;
}

.mockdash__activity small {
    grid-column: 2;
    color: #9aa4b4;
    font-size: 7px;
}

.mockdash__activity a {
    display: inline-block;
    margin-top: 10px;
    color: var(--mock-blue);
    font-size: 9px;
    font-weight: 800;
}

.mock-trust {
    margin-top: 14px;
}

.mock-trust__row {
    height: 38px;
    display: grid;
    grid-template-columns: 2.1fr repeat(6, 1fr) 1.3fr;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    border: 1px solid #e6edf6;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
}

.mock-trust span {
    color: #7a8496;
    font-size: 10px;
    font-weight: 700;
}

.mock-trust strong {
    color: #4b5d76;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.mock-trust__count {
    color: var(--mock-blue) !important;
    text-align: right;
}

.mock-trio {
    padding: 10px 0 0;
}

.mock-trio__grid {
    display: grid;
    grid-template-columns: 290px 1fr 290px;
    gap: 12px;
}

.mock-card,
.mock-feature {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe7f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 24, 56, .07);
}

.mock-card {
    min-height: 150px;
    padding: 14px;
}

.mock-card h2,
.mock-feature h3 {
    margin: 0 0 5px;
    color: #111936;
    font-size: 13px;
    font-weight: 900;
}

.mock-card p,
.mock-feature p {
    margin: 0;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.35;
}

.mock-card ul,
.mock-feature ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.mock-card li,
.mock-feature li {
    margin: 0 0 6px;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
}

.mock-card li::before,
.mock-feature li::before {
    content: "✓";
    margin-right: 6px;
    color: #16a34a;
}

.mock-card a,
.mock-feature a {
    color: var(--mock-blue);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.mock-industries {
    padding-right: 112px;
}

.mock-building {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 84px;
    height: 90px;
}

.mock-building i,
.mock-building b,
.mock-building em {
    position: absolute;
    bottom: 0;
    display: block;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #cfe7ff, #5aa8ff);
}

.mock-building i { left: 6px; width: 24px; height: 52px; }
.mock-building b { left: 32px; width: 30px; height: 76px; }
.mock-building em { right: 2px; width: 18px; height: 40px; }

.mock-module-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.mock-module-grid a {
    height: 54px;
    display: grid;
    place-items: center;
    gap: 3px;
    border: 1px solid color-mix(in srgb, var(--tile) 26%, white);
    border-radius: 10px;
    background: color-mix(in srgb, var(--tile) 12%, white);
    text-align: center;
}

.mock-module-grid span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--tile);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.mock-module-grid strong {
    color: #253047;
    font-size: 9px;
}

.mock-why {
    padding-right: 112px;
}

.mock-why-art {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 84px;
    height: 78px;
    border-radius: 13px;
    background: #ecfbff;
}

.mock-why-art i {
    position: absolute;
    left: 12px;
    top: 14px;
    width: 42px;
    height: 28px;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.mock-why-art b,
.mock-why-art em {
    position: absolute;
    border-radius: 999px;
}

.mock-why-art b {
    right: 14px;
    top: 18px;
    width: 28px;
    height: 28px;
    background: conic-gradient(#0073ea 0 70%, #f59e0b 70% 100%);
}

.mock-why-art em {
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 44px;
    background: #b7f0ff;
    opacity: .8;
}

.mock-lifecycle {
    padding: 10px 0;
}

.mock-life__grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 18px;
}

.mock-life__copy h2 {
    margin: 0 0 4px;
    color: #111936;
    font-size: 15px;
    font-weight: 900;
}

.mock-life__copy p {
    margin: 0;
    color: #6b7280;
    font-size: 9px;
}

.mock-life__steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mock-life__step {
    width: 62px;
    text-align: center;
}

.mock-life__step span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin: 0 auto 5px;
    border-radius: 8px;
    background: var(--step);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.mock-life__step strong {
    display: block;
    color: #243047;
    font-size: 8px;
}

.mock-life__step small {
    display: block;
    color: #8b95a6;
    font-size: 6px;
}

.mock-life__line {
    width: 18px;
    height: 1px;
    margin-top: 13px;
    background: repeating-linear-gradient(90deg, #b9c4d5 0 4px, transparent 4px 8px);
}

.mock-bottom {
    padding: 0 0 10px;
}

.mock-bottom__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.mock-feature {
    min-height: 126px;
    padding: 13px;
}

.mock-feature h3 {
    font-size: 12px;
}

.mock-feature p,
.mock-feature li {
    font-size: 8px;
}

.mock-feature strong {
    display: block;
    margin: 8px 0;
    color: #111936;
    font-size: 20px;
}

.mock-feature small {
    color: #667085;
    font-size: 9px;
}

.mock-mini-screen {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 70px;
    height: 58px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #dbeafe 0 34%, transparent 34%),
        repeating-linear-gradient(0deg, #bfdbfe 0 5px, transparent 5px 12px),
        #fff;
    border: 1px solid #dbeafe;
}

.mock-mini-btn {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 6px;
    background: var(--mock-blue);
    color: #fff !important;
}

.mock-feature--community::after,
.mock-feature--blog::after,
.mock-feature--security::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 58px;
    height: 48px;
    border-radius: 12px;
    background: #efe7ff;
}

.mock-feature--blog::after { background: #ffe4f1; }
.mock-feature--security::after { background: linear-gradient(135deg, #dbeafe, #0073ea); }

.mock-person {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 52px;
    height: 90px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #bfdbfe 0 26%, #0f8bdc 26% 100%);
}

.mock-final {
    padding-bottom: 18px;
}

.mock-final__bar {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0086f4, #005bd8);
    color: #fff;
    overflow: hidden;
}

.mock-final h2 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 900;
}

.mock-final p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 10px;
}

@media (max-width: 1199px) {
    .mock-shell,
    .mkt-body--ref-home .mkt-nav-inner {
        width: min(100% - 32px, 1120px);
    }

    .mock-hero__grid,
    .mock-trio__grid,
    .mock-life__grid,
    .mock-bottom__grid,
    .mock-final__bar {
        grid-template-columns: 1fr;
    }

    .mockdash__body {
        grid-template-columns: 110px 1fr;
    }

    .mockdash__activity {
        display: none;
    }
}

/* v1362: reference composition correction from deployed screenshot review */
@media (min-width: 1024px) {
    .ref-home {
        background:
            radial-gradient(circle at 0% 22%, rgba(0,115,234,.08), transparent 18%),
            radial-gradient(circle at 100% 20%, rgba(0,200,117,.10), transparent 20%),
            #fff;
    }

    .ref-container {
        max-width: 1328px;
        padding: 0 20px;
    }

    .mkt-body--ref-home .mkt-nav-inner {
        width: min(1328px, calc(100% - 40px));
        min-height: 48px;
    }

    .mkt-body--ref-home .mkt-nav-links {
        gap: 4px;
    }

    .mkt-body--ref-home .mkt-mega-nav__link,
    .mkt-body--ref-home .mkt-mega-nav__toggle {
        font-size: 11px;
        padding: 5px 7px;
    }

    .ref-hero {
        padding-top: 18px;
        background: transparent;
    }

    .ref-hero::before {
        opacity: .35;
    }

    .ref-hero__grid {
        grid-template-columns: 515px minmax(0, 1fr);
        gap: 28px;
        min-height: 286px;
        align-items: start;
    }

    .ref-hero__copy {
        padding-top: 26px;
    }

    .ref-badge {
        margin-bottom: 9px;
        font-size: 10px;
        font-weight: 800;
    }

    .ref-hero__title {
        max-width: 515px;
        margin-bottom: 12px;
        font-size: clamp(34px, 3.25vw, 44px);
        line-height: 1.02;
        letter-spacing: -0.058em;
    }

    .ref-hero__title span {
        display: block;
        white-space: nowrap;
    }

    .ref-hero__lead {
        max-width: 500px;
        margin-bottom: 14px;
        color: #4b5567;
        font-size: 11px;
        line-height: 1.48;
    }

    .ref-btn {
        min-height: 34px;
        padding: 8px 17px;
        border-radius: 8px;
        font-size: 10px;
        font-weight: 800;
    }

    .ref-hero__trust li {
        color: #586174;
        font-size: 8px;
    }

    .ref-hero__visual {
        padding-top: 6px;
    }

    .ref-dash {
        max-width: 760px;
        margin-left: auto;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(24,27,52,.13);
    }

    .ref-dash__layout {
        grid-template-columns: 94px 1fr;
        min-height: 246px;
    }

    .ref-dash__content {
        grid-template-columns: minmax(0, 1fr) 132px;
        gap: 6px;
        padding: 8px;
    }

    .ref-dash__sidebar {
        gap: 2px;
        padding: 8px 7px;
    }

    .ref-dash__nav {
        height: 22px;
        gap: 6px;
        padding: 0 6px;
    }

    .ref-dash__nav-label {
        font-size: 7px;
    }

    .ref-dash__kpi {
        min-height: 42px;
    }

    .ref-funnel {
        height: 40px;
    }

    .ref-donut svg {
        width: 32px;
        height: 32px;
    }

    .ref-bars {
        height: 28px;
    }

    .ref-trust {
        margin-top: 0;
        padding: 5px 0;
        background: rgba(255,255,255,.96);
    }

    .ref-trust__inner {
        grid-template-columns: 205px 1fr 170px;
    }

    .ref-trust__label,
    .ref-trust__count {
        font-size: 8px;
    }

    .ref-trust__logos span {
        color: #667085;
        font-size: 9px;
        font-weight: 900;
    }

    .ref-trio {
        padding: 8px 0 6px;
        background: rgba(255,255,255,.98);
    }

    .ref-trio__grid {
        grid-template-columns: 265px 1fr 265px;
        gap: 8px;
    }

    .ref-card,
    .ref-six-card {
        border-color: #dfe5ee;
        background: #fff;
        box-shadow: 0 7px 18px rgba(18,27,52,.09);
    }

    .ref-card::before,
    .ref-six-card::before {
        display: none;
    }

    .ref-card {
        min-height: 144px;
        padding: 10px;
    }

    .ref-card h2 {
        color: #17213c;
        font-size: 10px;
        font-weight: 900;
    }

    .ref-card__sub,
    .ref-industry-list a,
    .ref-checklist li,
    .ref-link {
        color: #485166;
        font-size: 7px;
        font-weight: 700;
    }

    .ref-card--industries {
        padding-right: 82px;
    }

    .ref-card--industries .ref-card__illus {
        width: 68px;
        height: 56px;
        opacity: 1;
    }

    .ref-card--modules .ref-module-grid {
        gap: 5px;
    }

    .ref-module-tile {
        min-height: 39px;
        border-color: color-mix(in srgb, var(--mc) 32%, white);
    }

    .ref-module-tile__icon {
        font-size: 11px;
    }

    .ref-module-tile__label {
        color: #28324a;
        font-size: 6px;
    }

    .ref-card--why {
        padding-right: 80px;
    }

    .ref-card--why .ref-card__illus {
        width: 66px;
        height: 54px;
    }

    .ref-lifecycle {
        padding: 8px 0 7px;
        background: #fff;
    }

    .ref-lifecycle__title {
        color: #17213c;
        font-size: 14px;
        font-weight: 900;
    }

    .ref-lifecycle__sub {
        margin-bottom: 7px;
        color: #667085;
        font-size: 7px;
    }

    .ref-lifecycle__step {
        width: 62px;
    }

    .ref-lifecycle__icon {
        width: 22px;
        height: 22px;
        font-size: 8px;
    }

    .ref-lifecycle__arrow {
        width: 16px;
    }

    .ref-six {
        padding: 8px 0;
        background: #fff;
    }

    .ref-six__grid {
        gap: 7px;
    }

    .ref-six-card {
        min-height: 94px;
        padding: 8px;
    }

    .ref-six-card h3 {
        color: #17213c;
        font-size: 8px;
        font-weight: 900;
    }

    .ref-six-card p {
        color: #5f687a;
        font-size: 6px;
    }

    .ref-six-card__preview {
        height: 28px;
    }

    .ref-price-tag strong {
        color: #17213c;
    }

    .ref-final {
        width: min(1328px, calc(100% - 40px));
        margin-top: 6px;
        padding: 15px 22px;
        border-radius: 9px;
    }

    .ref-final h2 {
        font-size: 14px;
    }

    .ref-final p {
        color: rgba(255,255,255,.92);
        font-size: 7px;
    }
}

/* v1361: tighter snap to the supplied desktop reference */
@media (min-width: 1024px) {
    .ref-container {
        max-width: 1396px;
        padding: 0 24px;
    }

    .mkt-body--ref-home .mkt-nav-inner {
        width: min(1396px, calc(100% - 48px));
        min-height: 52px;
    }

    .mkt-body--ref-home .mkt-logo {
        font-size: 15px;
    }

    .mkt-body--ref-home .mkt-logo svg,
    .mkt-body--ref-home .mkt-logo img {
        width: 26px;
        height: 26px;
    }

    .mkt-body--ref-home .mkt-mega-nav__link,
    .mkt-body--ref-home .mkt-mega-nav__toggle {
        font-size: 12px;
        padding: 6px 8px;
    }

    .mkt-body--ref-home .mkt-link,
    .mkt-body--ref-home .mkt-btn-demo,
    .mkt-body--ref-home .mkt-btn-primary {
        min-height: 34px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .mkt-body--ref-home .mkt-nav-trial-note,
    .mkt-body--ref-home .mkt-btn-trial__spark {
        display: none !important;
    }

    .mkt-body--ref-home .mkt-btn-trial {
        flex-direction: row !important;
        border-radius: 8px !important;
    }

    .ref-hero {
        padding: 22px 0 0;
    }

    .ref-hero__grid {
        grid-template-columns: minmax(360px, 455px) minmax(560px, 1fr);
        gap: 38px;
        min-height: 300px;
        align-items: start;
    }

    .ref-hero__copy {
        padding-top: 16px;
    }

    .ref-badge {
        margin-bottom: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .ref-hero__title {
        max-width: 445px;
        margin-bottom: 12px;
        font-size: clamp(36px, 3.3vw, 48px);
        line-height: .98;
        letter-spacing: -0.062em;
    }

    .ref-hero__lead {
        max-width: 450px;
        margin-bottom: 16px;
        font-size: 12px;
        line-height: 1.52;
    }

    .ref-hero__cta {
        gap: 9px;
        margin-bottom: 13px;
    }

    .ref-btn {
        min-height: 36px;
        padding: 9px 18px;
        font-size: 11px;
    }

    .ref-hero__trust {
        gap: 14px;
    }

    .ref-hero__trust li {
        font-size: 9px;
    }

    .ref-hero__visual {
        margin-bottom: 0;
    }

    .ref-dash {
        border-radius: 14px;
        box-shadow: 0 12px 34px rgba(18,27,52,.12);
    }

    .ref-dash__chrome {
        padding: 6px 10px;
    }

    .ref-dash__brand {
        font-size: 10px;
    }

    .ref-dash__search {
        min-width: 210px;
        padding: 5px 9px;
        font-size: 8px;
    }

    .ref-dash__user {
        font-size: 8px;
    }

    .ref-dash__layout {
        grid-template-columns: 108px 1fr;
        min-height: 260px;
    }

    .ref-dash__sidebar {
        align-items: stretch;
        gap: 3px;
        padding: 9px 8px;
    }

    .ref-dash__logo {
        width: 24px;
        height: 24px;
        margin: 0 auto 4px;
        font-size: 11px;
    }

    .ref-dash__nav {
        width: 100%;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 7px;
        padding: 0 7px;
        border-radius: 7px;
    }

    .ref-dash__nav-icon {
        width: 10px;
        height: 10px;
    }

    .ref-dash__nav-label {
        display: inline;
        font-size: 8px;
        font-weight: 700;
        color: rgba(255,255,255,.74);
    }

    .ref-dash__content {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 7px;
        padding: 9px;
    }

    .ref-dash__topbar strong {
        font-size: 11px;
    }

    .ref-dash__topbar span,
    .ref-pill {
        font-size: 8px;
    }

    .ref-dash__kpis {
        gap: 6px;
    }

    .ref-dash__kpi {
        min-height: 46px;
        padding: 7px;
        border-radius: 8px;
    }

    .ref-dash__kpi span {
        font-size: 7px;
    }

    .ref-dash__kpi strong {
        font-size: 11px;
    }

    .ref-spark {
        height: 13px;
        margin-top: 2px;
    }

    .ref-dash__widgets {
        gap: 6px;
    }

    .ref-dash__widget,
    .ref-dash__feed {
        padding: 7px;
        border-radius: 8px;
    }

    .ref-dash__widget h4,
    .ref-dash__feed h4 {
        margin-bottom: 5px;
        font-size: 8px;
    }

    .ref-funnel {
        height: 45px;
    }

    .ref-funnel__stage {
        font-size: 6px;
    }

    .ref-funnel__stage em,
    .ref-gantt__row span,
    .ref-feed__item,
    .ref-donut span {
        font-size: 7px;
    }

    .ref-gantt__row {
        grid-template-columns: 50px 1fr;
        gap: 5px;
        margin-bottom: 3px;
    }

    .ref-gantt__track {
        height: 5px;
    }

    .ref-donut svg {
        width: 36px;
        height: 36px;
    }

    .ref-donut strong {
        font-size: 12px;
    }

    .ref-bars {
        height: 32px;
    }

    .ref-trust {
        padding: 6px 0;
    }

    .ref-trust__inner {
        grid-template-columns: 220px 1fr 190px;
        gap: 14px;
    }

    .ref-trust__label,
    .ref-trust__count {
        font-size: 9px;
    }

    .ref-trust__logos {
        gap: 12px;
    }

    .ref-trust__logos span {
        font-size: 10px;
        color: #8f96aa;
    }

    .ref-trio {
        padding: 10px 0 8px;
    }

    .ref-trio__grid {
        grid-template-columns: minmax(210px, .85fr) minmax(500px, 2.1fr) minmax(220px, .9fr);
        gap: 8px;
    }

    .ref-card {
        min-height: 150px;
        padding: 11px;
        border-radius: 10px;
        box-shadow: 0 7px 18px rgba(18,27,52,.07);
    }

    .ref-card h2 {
        font-size: 11px;
    }

    .ref-card__sub,
    .ref-industry-list a,
    .ref-checklist li,
    .ref-link {
        font-size: 8px;
    }

    .ref-card__sub {
        margin-bottom: 6px;
    }

    .ref-industry-list li {
        padding: 2px 0;
    }

    .ref-card--industries {
        padding-right: 88px;
    }

    .ref-card--industries .ref-card__illus {
        right: 10px;
        bottom: 10px;
        width: 72px;
        height: 62px;
    }

    .ref-card--modules .ref-module-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .ref-module-tile {
        min-height: 42px;
        padding: 5px 4px;
        border-radius: 7px;
    }

    .ref-module-tile__icon {
        font-size: 12px;
    }

    .ref-module-tile__label {
        font-size: 7px;
    }

    .ref-checklist li {
        gap: 5px;
        padding: 3px 0;
        color: #1f2937;
    }

    .ref-card--why {
        padding-right: 88px;
    }

    .ref-card--why .ref-card__illus {
        right: 10px;
        bottom: 10px;
        width: 72px;
        height: 58px;
    }

    .ref-mini-chart {
        height: 48px;
    }

    .ref-lifecycle {
        padding: 10px 0 9px;
    }

    .ref-lifecycle__title {
        margin-bottom: 2px;
        font-size: 15px;
    }

    .ref-lifecycle__sub {
        margin-bottom: 9px;
        font-size: 8px;
    }

    .ref-lifecycle__track {
        flex-wrap: nowrap;
    }

    .ref-lifecycle__step {
        width: 70px;
        padding: 2px 1px;
    }

    .ref-lifecycle__icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        border-radius: 7px;
        font-size: 9px;
    }

    .ref-lifecycle__step strong {
        font-size: 7px;
    }

    .ref-lifecycle__step span {
        font-size: 6px;
    }

    .ref-lifecycle__arrow {
        width: 20px;
        margin-top: 14px;
    }

    .ref-six {
        padding: 9px 0;
    }

    .ref-six__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
    }

    .ref-six-card {
        min-height: 105px;
        padding: 9px;
        border-radius: 10px;
        gap: 3px;
    }

    .ref-six-card h3 {
        font-size: 9px;
    }

    .ref-six-card p {
        font-size: 7px;
        line-height: 1.35;
    }

    .ref-six-card__preview {
        height: 32px;
        margin-bottom: 2px;
    }

    .ref-six-card__icon,
    .ref-six-card__icon--shield,
    .ref-six-card__avatar {
        width: 28px;
        height: 28px;
        font-size: 17px;
    }

    .ref-price-tag__plan {
        font-size: 7px;
    }

    .ref-price-tag strong {
        font-size: 15px;
    }

    .ref-price-tag small {
        font-size: 8px;
    }

    .ref-six-card .ref-btn,
    .ref-six-card .ref-link {
        min-height: 24px;
        padding: 5px 8px;
        font-size: 7px;
    }

    .ref-final {
        width: min(1396px, calc(100% - 48px));
        margin: 7px auto 16px;
        padding: 17px 24px;
        border-radius: 10px;
    }

    .ref-final__inner {
        grid-template-columns: minmax(260px, .7fr) 1fr auto;
        gap: 18px;
        text-align: left;
    }

    .ref-final h2 {
        margin: 0;
        font-size: 15px;
    }

    .ref-final p {
        font-size: 8px;
        line-height: 1.35;
    }

    .ref-final .ref-btn {
        min-height: 30px;
        padding: 7px 14px;
        font-size: 8px;
    }
}

/* v1365: marketing sub-pages — platform page aligned to ref/mock design system */
.ref-page {
    min-height: 100vh;
    background: #fff;
    color: #111827;
    font-family: var(--ref-font);
}

.ref-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.ref-shell--wide {
    width: min(1400px, calc(100% - 48px));
}

.mkt-body--ref-home .ref-page .mkt-nav-inner {
    width: min(1280px, calc(100% - 48px));
}

.mkt-body--ref-home .ref-page .mkt-nav-actions .mkt-btn-demo {
    display: none !important;
}

.ref-page-hero {
    padding: 52px 0 36px;
    text-align: center;
    background: linear-gradient(180deg, #eef7ff 0%, #fff 72%);
}

.ref-page-hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ref-blue);
}

.ref-page-hero__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #111936;
}

.ref-page-hero__sub {
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5567;
}

.ref-page-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ref-platform-section {
    padding: 48px 0;
}

.ref-platform-section--soft {
    background: #f8fafc;
}

.ref-platform-highlight {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(480px, 1.1fr);
    gap: 40px;
    align-items: center;
}

.ref-platform-highlight h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 900;
    color: #111936;
    letter-spacing: -0.03em;
}

.ref-platform-highlight p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5567;
}

.ref-platform-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.ref-platform-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #e4ebf3;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #243047;
}

.ref-platform-feature > span:first-child {
    color: var(--ref-blue);
    font-weight: 900;
}

.ref-platform-highlight__visual .mockdash {
    width: 100%;
    box-shadow: 0 18px 50px rgba(15, 24, 56, .12);
}

.ref-platform-head {
    text-align: center;
    margin-bottom: 28px;
}

.ref-platform-head h2 {
    margin: 0;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 900;
    color: #111936;
}

.ref-platform-modules {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.ref-platform-module {
    display: block;
    padding: 16px 12px;
    border: 1px solid #e4ebf3;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}

.ref-platform-module:hover {
    box-shadow: 0 8px 22px rgba(15, 24, 56, .08);
    transform: translateY(-2px);
}

.ref-platform-module__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 18px;
}

.ref-platform-module__name {
    font-size: 13px;
    font-weight: 800;
    color: #111936;
    margin-bottom: 4px;
}

.ref-platform-module__desc {
    font-size: 10px;
    line-height: 1.35;
    color: #667085;
}

.ref-platform-flow-head {
    text-align: center;
    margin-bottom: 24px;
}

.ref-platform-flow-head h2 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 900;
    color: #111936;
}

.ref-platform-flow__track,
.ref-platform-flow__secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.ref-platform-flow__secondary {
    margin-top: 14px;
}

.ref-platform-flow__step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #dfe7f2;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #243047;
    white-space: nowrap;
}

.ref-platform-flow__step i {
    font-style: normal;
    font-size: 14px;
}

.ref-platform-flow__arrow {
    color: #9aa4b4;
    font-size: 14px;
    font-weight: 300;
}

@media (max-width: 1100px) {
    .ref-platform-highlight {
        grid-template-columns: 1fr;
    }

    .ref-platform-modules {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ref-platform-features {
        grid-template-columns: 1fr;
    }

    .ref-platform-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ref-platform-flow__arrow {
        display: none;
    }
}

/* v1366: homepage mockup alignment — P0/P1/P2 fix plan */
.ref-home--mock > .mkt-nav .mkt-nav-actions .mkt-btn-demo {
    display: none !important;
}

.ref-home--mock .mkt-nav-inner,
.ref-home--mock .mock-shell {
    width: min(1500px, calc(100% - 56px)) !important;
}

.mock-hero__grid {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.mock-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
    min-width: 0;
    padding-top: 34px;
    overflow: hidden;
}

.mock-hero__screen {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-top: 0;
}

.mock-hero h1 {
    max-width: 520px;
    font-size: clamp(30px, 2.75vw, 46px);
    line-height: 1.02;
}

.mock-hero p {
    max-width: 520px;
    font-size: 12px;
}

.mock-hero__screen .mockdash {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
}

.mock-industries__list li::before,
.mock-modules .mock-module-grid a::before {
    content: none !important;
}

.mock-why__list li::before,
.mock-feature li::before {
    content: "✓";
    margin-right: 6px;
    color: #16a34a;
}

.mock-trust__row {
    min-height: 42px;
    grid-template-columns: minmax(210px, 1.35fr) minmax(0, 2.5fr) minmax(150px, 1fr);
    gap: 14px;
    padding: 0 20px;
}

.mock-trust__label {
    color: #7a8496;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.mock-trust__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mock-trust__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 0 2px;
    color: #8b95a8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    filter: grayscale(1);
    opacity: .78;
    white-space: nowrap;
}

.mock-trust__logo--cebuana { font-size: 9px; letter-spacing: 0.04em; }
.mock-trust__logo--puregold { font-size: 9px; }
.mock-trust__logo--pldt { font-size: 10px; font-weight: 800; }
.mock-trust__logo--metro { font-size: 8px; }
.mock-trust__logo--sm { font-size: 8px; }
.mock-trust__logo--ayala { font-size: 9px; text-transform: none; }

.mock-industries__list li {
    margin: 0 0 6px;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
}

.mock-life__flow {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.mock-life__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    min-width: 0;
}

.mock-life__row--branch {
    position: relative;
    justify-content: center;
    min-height: 54px;
    padding-top: 4px;
}

.mock-life__branch {
    position: absolute;
    top: 0;
    left: 58%;
    width: 1px;
    height: 18px;
    background: #b9c4d5;
}

.mock-life__step--branch {
    margin-top: 14px;
}

.mock-feature__plan {
    display: block;
    margin: 8px 0 2px;
    color: #667085;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.mock-mini-screen {
    position: absolute;
    right: 12px;
    bottom: 38px;
    width: 72px;
    height: 48px;
    border: 1px solid #dbe7f5;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    overflow: hidden;
}

.mock-mini-screen i,
.mock-mini-screen b,
.mock-mini-screen em {
    position: absolute;
    display: block;
    border-radius: 3px;
    background: #60a5fa;
}

.mock-mini-screen i { left: 8px; top: 10px; width: 28px; height: 4px; opacity: .45; }
.mock-mini-screen b { left: 8px; top: 18px; width: 20px; height: 16px; opacity: .7; }
.mock-mini-screen em { right: 8px; bottom: 8px; width: 14px; height: 14px; border-radius: 999px; background: #22c55e; }

.mock-person {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 72px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, #bfdbfe 0 24%, #0f8bdc 24% 100%);
    box-shadow: inset 0 -8px 0 rgba(15, 24, 56, .08);
}

.mock-person::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 999px;
    background: #fde68a;
}

@media (min-width: 1024px) {
    .mock-hero__grid {
        grid-template-columns: 430px minmax(0, 1fr);
    }

    .mock-hero__copy {
        width: 430px;
        max-width: 430px;
    }

    .mock-hero h1 {
        width: 430px;
        max-width: 430px;
    }

    .mock-hero__screen .mockdash {
        max-width: min(100%, 760px);
    }

    .mock-life__step {
        width: 58px;
        flex: 0 0 58px;
    }

    .mock-life__line {
        flex: 0 0 14px;
    }
}

@media (max-width: 1199px) {
    .mock-life__row--main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .mock-life__line {
        display: none;
    }

    .mock-trust__row {
        grid-template-columns: 1fr;
        text-align: center;
        height: auto;
        padding: 12px 16px;
    }

    .mock-trust__count {
        text-align: center !important;
    }
}

/* v1367: marketing sub-pages ref polish — nb2 components inside .ref-page */
.ref-page .nb2-section,
.ref-page .ref-platform-section {
    padding: 48px 0;
}

.ref-page .nb2-wrap {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ref-page .nb2-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ref-page .nb2-preview-card,
.ref-page .nb2-blog-card,
.ref-page .nb2-industry-card,
.ref-page .nb2-testimonial {
    border: 1px solid #e4ebf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 24, 56, .06);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.ref-page .nb2-preview-card:hover,
.ref-page .nb2-blog-card:hover,
.ref-page .nb2-industry-card:hover {
    border-color: #c5dfff;
    box-shadow: 0 12px 28px rgba(15, 24, 56, .1);
    transform: translateY(-2px);
}

.ref-page .nb2-preview-card {
    padding: 20px;
}

.ref-page .nb2-preview-card__title,
.ref-page .nb2-blog-card__title,
.ref-page .nb2-industry-card__name {
    color: #111936;
    font-size: 15px;
    font-weight: 800;
}

.ref-page .nb2-preview-card__desc,
.ref-page .nb2-blog-card__date,
.ref-page .nb2-industry-card__desc {
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.ref-page .nb2-industries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ref-page .nb2-industry-card {
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.ref-page .nb2-industry-card__workflow,
.ref-page .nb2-industry-card__link {
    font-size: 11px;
    font-weight: 800;
    color: var(--ref-blue);
}

.ref-page .nb2-blog-card {
    padding: 18px;
    display: block;
}

.ref-page .nb2-blog-card__cat {
    color: var(--ref-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.ref-page .nb2-security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ref-page .nb2-security-item {
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #e4ebf3;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #243047;
    box-shadow: 0 4px 14px rgba(15, 24, 56, .05);
}

.ref-page .nb2-security-item::before {
    content: "✓";
    color: var(--ref-blue);
    font-weight: 900;
}

.ref-page .nb2-testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ref-page .nb2-testimonial {
    padding: 22px;
}

.ref-page .nb2-demo-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e4ebf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 24, 56, .08);
}

.ref-page .nb2-demo-form__label {
    font-size: 12px;
    font-weight: 800;
    color: #243047;
}

.ref-page .nb2-demo-form__select,
.ref-page .nb2-demo-form__input {
    border-color: #dfe7f2;
    border-radius: 8px;
    font-size: 14px;
}

.ref-page .nb2-btn {
    min-height: 42px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.ref-page .nb2-btn--primary {
    background: var(--ref-blue);
    border-color: var(--ref-blue);
    color: #fff;
}

.ref-page .nb2-btn--outline {
    color: var(--ref-blue);
    border-color: #dfe7f2;
    background: #fff;
}

.ref-page .nb2-module-card__tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef7ff !important;
    color: var(--ref-blue);
    font-size: 11px;
    font-weight: 800;
}

.ref-page .ref-subpage-cta {
    padding: 0 0 48px;
}

.ref-page .ref-subpage-cta__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0086f4, #005bd8);
    color: #fff;
}

.ref-page .ref-subpage-cta__bar h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
}

.ref-page .ref-subpage-cta__bar p {
    margin: 0;
    font-size: 11px;
    color: rgba(255,255,255,.88);
}

@media (max-width: 1024px) {
    .ref-page .nb2-preview-grid,
    .ref-page .nb2-industries,
    .ref-page .nb2-security-grid,
    .ref-page .nb2-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ref-page .ref-subpage-cta__bar {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .ref-page .nb2-preview-grid,
    .ref-page .nb2-industries,
    .ref-page .nb2-security-grid,
    .ref-page .nb2-testimonials {
        grid-template-columns: 1fr;
    }
}
