/* The home page, EN and FR (his pick "direction A", 2026-12-03): one
   question, one screen. Loaded after styles.css by public/index.html and
   public/fr/index.html only. Every class starts with hm- so nothing here
   reaches the other pages, and nothing in styles.css reaches these blocks.
   The header and the footer stay the site's own. */

.home {
    --hm-blue: #004eb3;
    --hm-blue-deep: #003b87;
    --hm-blue-pale: #eef3fb;
    --hm-ink: #121417;
    --hm-ink-2: #3d4148;
    --hm-muted: #5d6168;
    --hm-line: #e3e4e7;
    --hm-stage: #f4f4f5;
    --hm-radius: 8px;
    --hm-control: 44px;
}

.home ::selection {
    background: #cfe0f7;
    color: var(--hm-ink);
}

.home .header-cta {
    background: var(--hm-blue);
    border-radius: var(--hm-radius);
}

.home .header-cta:hover,
.home .header-cta:focus-visible {
    background: var(--hm-blue-deep);
}

.hm-main {
    color: var(--hm-ink);
    font-size: 17px;
    line-height: 1.55;
}

.hm-main h1,
.hm-main h2,
.hm-main h3 {
    margin: 0;
    text-wrap: balance;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.hm-main p {
    margin: 0;
    text-wrap: pretty;
}

.hm-main ul {
    margin: 0;
    padding: 0;
}

.hm-main a:focus-visible {
    outline: 2px solid var(--hm-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.hm-main video {
    display: block;
    max-width: 100%;
}

/* Controls: one height, one radius, on one row. */
.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--hm-control);
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--hm-radius);
    font: 600 15px/1 var(--font);
    text-decoration: none;
    white-space: nowrap;
}

.hm-btn-blue {
    color: #fff;
    background: var(--hm-blue);
}

.hm-btn-blue:hover {
    background: var(--hm-blue-deep);
}

.hm-btn-line {
    color: var(--hm-ink);
    background: #fff;
    border-color: #cfd1d6;
}

.hm-btn-line:hover {
    border-color: var(--hm-ink);
}

.hm-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hm-note {
    font-size: 14px;
    color: var(--hm-muted);
}

.hm-browsers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--hm-muted);
}

.hm-browsers > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hm-browsers img {
    width: 18px;
    height: 18px;
}

/* A browser window around a clip or a screenshot. */
.hm-win {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6d8dc;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(18, 20, 23, 0.06), 0 18px 40px -12px rgba(18, 20, 23, 0.18);
}

.hm-win > img,
.hm-win > video,
.hm-win > picture,
.hm-win > picture > img {
    display: block;
    width: 100%;
    height: auto;
}

/* The info card video: the visitor starts it with the round play button. */
.hm-player {
    position: relative;
}

.hm-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 0 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: #004eb3;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 31, 77, 0.35);
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.hm-play:hover {
    background: #003b87;
}

.hm-play:focus-visible {
    outline: 3px solid #fff;
    box-shadow: 0 0 0 6px #004eb3;
}

.hm-play[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .hm-play {
        width: 48px;
        height: 48px;
    }

    .hm-play svg {
        width: 22px;
        height: 22px;
    }
}

.hm-zoom {
    cursor: zoom-in;
}

.hm-zoom:focus-visible {
    outline: 3px solid var(--brand, #004eb3);
    outline-offset: -3px;
}

/* Hero */
.hm-hero {
    padding-top: 72px;
}

.hm-hero h1 {
    max-width: 980px;
    font-size: 68px;
    font-weight: 700;
}

.hm-hero .hm-lede {
    max-width: 880px;
    margin: 22px 0 32px;
    color: var(--hm-ink-2);
    font-size: 21px;
}

.hm-hero .hm-row {
    gap: 20px;
}

.hm-cap {
    margin-top: 14px;
    font-size: 14px;
    color: var(--hm-muted);
}

/* Seven questions */
.hm-qs {
    margin-top: 120px;
}

.hm-qs-intro,
.hm-q {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 56px;
}

.hm-qs-intro {
    padding-bottom: 40px;
}

.hm-qs-intro h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.hm-qs-intro p {
    color: var(--hm-ink-2);
}

.hm-q {
    align-items: start;
    padding: 72px 0;
    border-top: 1px solid var(--hm-line);
}

.hm-q h2 {
    font-size: 40px;
    font-weight: 700;
}

.hm-q p {
    max-width: 420px;
    margin-top: 18px;
    color: var(--hm-ink-2);
}

.hm-q .hm-where {
    margin-top: 22px;
    font-size: 14px;
    color: var(--hm-muted);
}

.hm-where b {
    font-weight: 600;
    color: var(--hm-ink);
}

.hm-new {
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-left: 0;
    padding: 0 8px;
    color: var(--hm-blue);
    background: var(--hm-blue-pale);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    vertical-align: 4px;
    white-space: nowrap;
}

/* Reports catalogue */
.hm-cat {
    padding: 110px 0 40px;
    border-top: 1px solid var(--hm-line);
}

.hm-cat h2,
.hm-how h2,
.hm-price h2 {
    max-width: 760px;
    font-size: 48px;
    font-weight: 700;
}

.hm-cat .hm-intro,
.hm-how .hm-intro {
    max-width: 640px;
    margin-top: 18px;
    color: var(--hm-ink-2);
}

.hm-cat-cols {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    margin-top: 56px;
}

.hm-cat-cols h3 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hm-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

.hm-cat-cols li {
    padding: 5px 0;
    color: var(--hm-ink-2);
    font-size: 15px;
    line-height: 1.5;
    list-style: none;
}

.hm-cat-cols li b {
    font-weight: 600;
    color: var(--hm-ink);
}

.hm-cat .hm-after {
    margin-top: 36px;
    font-size: 15px;
    color: var(--hm-muted);
}

/* How it works */
.hm-how {
    margin-top: 80px;
    padding: 110px 0;
    background: var(--hm-stage);
}

.hm-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    border-top: 1px solid #cfd1d6;
}

.hm-facts div {
    padding: 24px 28px 0 0;
}

.hm-facts div + div {
    padding-left: 28px;
    border-left: 1px solid #cfd1d6;
}

.hm-facts h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hm-facts p {
    margin-top: 8px;
    color: var(--hm-ink-2);
    font-size: 15px;
}

.hm-how .hm-browsers {
    margin-top: 40px;
}

.hm-browsers small {
    font-size: inherit;
}

/* Plans (his pick, option A): three cards, Multi-Tenant raised with a blue
   border and its "for" line as a tag, the Yearly / Monthly switch above. */
.hm-price {
    padding: 32px 0 96px;
    border-top: 1px solid var(--hm-line);
}

.hm-main .hm-price {
    scroll-margin-top: 72px;
}

.hm-main .hm-price h2 {
    font-size: 36px;
}

.hm-main .hm-price-head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hm-main .hm-price-head h2 {
    margin: 0 auto;
}

.hm-main .hm-price .hm-intro {
    margin-top: 10px;
    color: var(--hm-ink-2);
    font-size: 16px;
}

.hm-billing {
    display: inline-flex;
    gap: 4px;
    margin-top: 16px;
    padding: 4px;
    border: 1px solid #cfd1d6;
    border-radius: var(--hm-radius);
    background: #fff;
}

.hm-billing button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--hm-ink-2);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.hm-billing button[aria-pressed="true"] {
    background: var(--hm-blue);
    color: #fff;
}

.hm-billing button:focus-visible {
    outline: 2px solid var(--hm-blue);
    outline-offset: 2px;
}

.hm-billing .hm-save {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--hm-blue-pale);
    color: var(--hm-blue);
    font-size: 12px;
}

.hm-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: end;
    margin-top: 24px;
}

.hm-plan {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #d6d8dc;
    border-radius: 12px;
    background: #fff;
}

/* Raised above and below the other cards, the extra bottom height taken by a
   negative margin so its buttons line up with theirs. */
.hm-plan.is-main {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: -8px;
    border: 2px solid var(--hm-blue);
    box-shadow: 0 2px 4px rgba(0, 78, 179, 0.06), 0 24px 48px -16px rgba(0, 78, 179, 0.28);
}

.hm-main .hm-plan .hm-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 24px;
    margin-bottom: 10px;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--hm-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.hm-plan h3 {
    font-size: 22px;
    font-weight: 700;
}

.hm-main .hm-plan .hm-for {
    margin-top: 6px;
    color: var(--hm-muted);
    font-size: 15px;
}

.hm-main .hm-plan .hm-amt {
    margin-top: 16px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hm-main .hm-plan .hm-unit {
    margin-top: 8px;
    font-size: 14px;
    color: var(--hm-muted);
}

.hm-plan ul {
    margin: 16px 0 20px;
    padding: 12px 0 0;
    border-top: 1px solid var(--hm-line);
    color: var(--hm-ink-2);
    font-size: 15px;
    list-style: none;
}

.hm-plan li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
}

.hm-plan li svg {
    flex: none;
    color: var(--hm-blue);
}

/* Buy now over Start the trial. Team has one button: an invisible second one
   keeps Contact us on the Buy now line. */
.hm-plan-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.hm-plan-actions .hm-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    font-size: 14px;
    cursor: pointer;
}

.hm-spacer {
    display: none;
}

/* Volume line under the price (Single Tenant), kept empty on the other cards
   so the lists start at the same height. */
.hm-main .hm-plan .hm-vol {
    margin-top: 4px;
    min-height: 22px;
    font-size: 14px;
    color: var(--hm-muted);
}

/* The plan the calculator picks. */
.hm-plan.is-best {
    border-color: var(--hm-blue);
    box-shadow: 0 0 0 1px var(--hm-blue);
}

.hm-plan.is-main.is-best {
    box-shadow: 0 0 0 1px var(--hm-blue), 0 24px 48px -16px rgba(0, 78, 179, 0.28);
}

.hm-main .hm-terms {
    margin-top: 16px;
    color: var(--hm-muted);
    font-size: 14px;
    text-align: center;
}

.hm-main .hm-calc-link {
    margin-top: 8px;
    color: var(--hm-ink-2);
    font-size: 15px;
    text-align: center;
}

.hm-main #calc {
    scroll-margin-top: 88px;
}

.hm-main .hm-calc-link a,
.hm-main .hm-terms a,
.hm-main .hm-faq a,
.hm-main .hm-dialog-hint a {
    color: var(--hm-blue);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* Calculator and questions, side by side under the cards. */
.hm-price-more {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 64px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--hm-line);
}

.hm-main .hm-price-more h3 {
    font-size: 22px;
    font-weight: 700;
}

.hm-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 24px;
}

.hm-inputs label,
.hm-dialog label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hm-ink-2);
}

/* − / + around a number: one 44 px control, radius 8. */
.hm-qty {
    display: inline-flex;
    align-items: stretch;
    height: var(--hm-control);
    border: 1px solid #cfd1d6;
    border-radius: var(--hm-radius);
    background: #fff;
    overflow: hidden;
}

.hm-qty:focus-within {
    border-color: var(--hm-blue);
    outline: 2px solid var(--hm-blue-pale);
}

.hm-qty-btn {
    width: 44px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--hm-ink);
    font: 600 20px/1 var(--font);
    cursor: pointer;
}

.hm-qty-btn:hover:not(:disabled) {
    background: var(--hm-blue-pale);
    color: var(--hm-blue);
}

.hm-qty-btn:disabled {
    color: #a3a6ad;
    background: var(--hm-stage);
    cursor: default;
}

.hm-qty input {
    width: 68px;
    padding: 0 8px;
    border: 0;
    border-left: 1px solid #cfd1d6;
    border-right: 1px solid #cfd1d6;
    font: 700 16px/1 var(--font);
    color: var(--hm-ink);
    text-align: center;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}

.hm-qty input::-webkit-outer-spin-button,
.hm-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hm-qty input:focus {
    outline: 0;
}

.hm-main .hm-answer {
    margin: 24px 0 16px;
    font-size: 17px;
}

.hm-answer strong {
    color: var(--hm-blue);
}

.hm-compare-wrap {
    overflow-x: auto;
}

.hm-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.hm-compare th {
    padding: 10px 12px;
    border-bottom: 1px solid #cfd1d6;
    color: var(--hm-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.hm-compare td {
    padding: 12px;
    border-bottom: 1px solid var(--hm-line);
    color: var(--hm-ink-2);
}

.hm-compare .hm-num {
    text-align: right;
    white-space: nowrap;
}

.hm-compare tr.is-best td {
    background: var(--hm-blue-pale);
    color: var(--hm-ink);
    font-weight: 600;
}

.hm-best {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--hm-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: 1px;
}

.hm-main .hm-faq h4 {
    margin: 24px 0 6px;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.hm-main .hm-faq h3 + h4 {
    margin-top: 24px;
}

.hm-main .hm-faq p,
.hm-main .hm-faq ul {
    color: var(--hm-ink-2);
    font-size: 16px;
}

.hm-main .hm-faq ul {
    margin-top: 8px;
    padding-left: 20px;
}

.hm-main .hm-faq li + li {
    margin-top: 4px;
}

/* Buy now: the number of admins, then Stripe Checkout. */
.hm-dialog {
    box-sizing: border-box;
    width: min(440px, calc(100% - 32px));
    padding: 28px;
    border: 1px solid #d6d8dc;
    border-radius: 12px;
    color: var(--hm-ink);
    background: #fff;
    box-shadow: 0 24px 48px -16px rgba(18, 20, 23, 0.3);
}

.hm-dialog::backdrop {
    background: rgba(18, 20, 23, 0.45);
}

.hm-main .hm-dialog h3 {
    margin-bottom: 18px;
    font-size: 21px;
}

.hm-dialog label {
    margin-bottom: 8px;
}

.hm-main .hm-dialog-hint {
    margin-top: 8px;
    color: var(--hm-muted);
    font-size: 14px;
}

.hm-main .hm-dialog-total {
    min-height: 24px;
    margin-top: 14px;
    font-size: 16px;
}

.hm-main .hm-dialog-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--hm-radius);
    background: #fff4ec;
    color: #9a3d07;
    font-size: 14px;
}

.hm-main .hm-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.hm-dialog-actions .hm-btn {
    cursor: pointer;
}

.hm-btn:disabled {
    background: var(--hm-line);
    color: var(--hm-muted);
    cursor: progress;
}

/* Last call to action */
.hm-end {
    padding: 96px 0 104px;
    border-top: 1px solid var(--hm-line);
    text-align: center;
}

.hm-end h2 {
    max-width: 900px;
    margin: 0 auto;
    font-size: 52px;
    font-weight: 700;
}

.hm-end .hm-row {
    justify-content: center;
    margin-top: 32px;
}

.hm-end .hm-note {
    margin-top: 14px;
}

@media (max-width: 1060px) {
    .hm-plans {
        gap: 16px;
    }

    .hm-plan,
    .hm-plan.is-main {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hm-main .hm-plan .hm-amt {
        font-size: 40px;
    }

    .hm-cat-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 28px;
    }
}

@media (max-width: 760px) {
    .hm-main {
        font-size: 16px;
    }

    .hm-hero {
        padding-top: 32px;
    }

    .hm-hero h1 {
        font-size: 38px;
    }

    .hm-hero .hm-lede {
        font-size: 18px;
    }

    .hm-qs {
        margin-top: 64px;
    }

    .hm-qs-intro,
    .hm-q {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .hm-q {
        padding: 48px 0;
    }

    .hm-q h2 {
        font-size: 30px;
    }

    .hm-cat,
    .hm-how,
    .hm-price {
        padding: 64px 0;
    }

    .hm-cat h2,
    .hm-how h2,
    .hm-price h2,
    .hm-end h2 {
        font-size: 32px;
    }

    .hm-cat-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .hm-facts {
        grid-template-columns: 1fr;
    }

    .hm-facts div,
    .hm-facts div + div {
        padding: 20px 0;
        border-left: 0;
        border-bottom: 1px solid #cfd1d6;
    }

    .hm-plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    /* Compact cards on a phone (his ask 2026-12-04): smaller price, the
       three facts on wrapped lines, both buttons on one row. */
    .hm-plan,
    .hm-plan.is-main {
        padding: 18px 18px 18px;
    }

    /* Multi-Tenant first on a phone, as in the approved mockup. */
    .hm-plan.is-main {
        order: -1;
        margin-bottom: 0;
    }

    .hm-main .hm-plan .hm-tag {
        min-height: 22px;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .hm-plan h3 {
        font-size: 19px;
    }

    .hm-main .hm-plan .hm-for {
        margin-top: 2px;
        font-size: 14px;
    }

    .hm-main .hm-plan .hm-amt {
        margin-top: 10px;
        font-size: 30px;
    }

    .hm-main .hm-plan .hm-unit {
        margin-top: 4px;
        font-size: 13px;
    }

    .hm-main .hm-plan .hm-vol {
        font-size: 13px;
    }

    .hm-plan ul {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 16px;
        margin: 12px 0 14px;
        padding: 10px 0 0;
        font-size: 14px;
    }

    .hm-plan li {
        padding: 0;
        gap: 6px;
    }

    .hm-plan-actions {
        flex-direction: row;
        gap: 8px;
    }

    .hm-plan-actions .hm-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 40px;
        padding: 0 8px;
        font-size: 14px;
        white-space: nowrap;
    }

    .hm-main .hm-price h2 {
        font-size: 28px;
    }

    .hm-main .hm-price {
        padding: 40px 0 56px;
        scroll-margin-top: 64px;
    }

    .hm-spacer {
        display: none;
    }

    .hm-main .hm-plan .hm-vol {
        min-height: 0;
    }

    .hm-main .hm-plan .hm-vol[aria-hidden="true"] {
        display: none;
    }

    .hm-price-more {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-top: 24px;
        padding-top: 24px;
    }

    .hm-compare th,
    .hm-compare td {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* The feature items (his pick, option a): the feature name as heading, one
   factual sentence in the ink colour, then the details. */
.hm-q .hm-lead {
    margin-top: 14px;
    color: var(--hm-ink);
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 760px) {
    .hm-q .hm-lead {
        font-size: 18px;
    }
}

/* Hero: the end-card line of his videos above the h1, and the second half of
   the h1 in the brand blue, as on his LinkedIn banner. */
.hm-main .hm-eyebrow {
    margin-bottom: 18px;
    color: var(--hm-blue);
    font-size: 17px;
    font-weight: 600;
}

.hm-hero h1 span {
    color: var(--hm-blue);
}

@media (max-width: 760px) {
    .hm-main .hm-eyebrow {
        margin-bottom: 12px;
        font-size: 15px;
    }
}

/* Report topics (from the production home): six questions with a one-line
   answer, above the catalogue. Text only, rules as on the catalogue. */
.hm-cat .hm-intro {
    max-width: 720px;
}

.hm-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
    margin-top: 48px;
}

.hm-topics > div {
    padding: 22px 0 26px;
    border-top: 1px solid var(--hm-line);
}

.hm-topics h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.hm-main .hm-topics p {
    margin-top: 8px;
    color: var(--hm-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 1060px) {
    .hm-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hm-topics {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .hm-topics > div {
        padding: 18px 0 20px;
    }
}

/* Hero C2 (his pick, 2026-12-04): centred text, then the info card and Object
   Explorer of the same demo user as two plain cards on one top line. The card
   is shown at 350 px, half its capture width, so it stays sharp on 2x screens.
   On narrow screens only the info card stays. */
.hm-main .hm-hero {
    padding-top: 44px;
    text-align: center;
}

.hm-main .hm-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: 46px;
    line-height: 1.1;
}

.hm-main .hm-hero .hm-lede {
    margin: 16px auto 24px;
    font-size: 18px;
}

.hm-main .hm-hero .hm-row {
    justify-content: center;
    gap: 14px;
}

.hm-hero-shots {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 40px;
    text-align: left;
}

.hm-hero-shots figure {
    margin: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: 12px;
}

.hm-hero-shots figcaption {
    margin: 0;
    color: var(--hm-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.hm-frame {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6d8dc;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(18, 20, 23, 0.06), 0 18px 40px -12px rgba(18, 20, 23, 0.18);
}

.hm-frame picture {
    display: block;
}

.hm-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Same height as the info card (348 x 1420 / 1260). The Relations graph is
   captured at the frame's own shape, so the cover crop keeps every node. */
.hm-hero-oe .hm-frame img {
    height: 392px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .hm-hero-shots {
        grid-template-columns: minmax(0, 420px);
        justify-content: center;
    }

    /* Phones get the same graph laid out tall (365boost-hero-oe-mobile.png). */
    .hm-hero-oe .hm-frame img {
        height: auto;
    }
}

@media (max-width: 760px) {
    .hm-main .hm-hero {
        padding-top: 28px;
    }

    .hm-main .hm-hero h1 {
        font-size: 34px;
    }

    .hm-hero-shots {
        margin-top: 32px;
    }
}

/* The hero images open whole in the shared image dialog (data-fit). */
.image-dialog.is-fit .image-dialog-scroll {
    overflow: hidden;
}

.image-dialog.is-fit .image-dialog-scroll img {
    width: auto;
    height: auto;
    max-width: calc(95vw - 32px);
    max-height: calc(90dvh - 125px);
}

/* The blue part of the headline always sits on one line of its own. */
.hm-main .hm-hero h1 span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .hm-main .hm-hero h1 {
        font-size: min(34px, 7.4vw);
    }
}

/* Very narrow phones: the two plan buttons stack again. */
@media (max-width: 360px) {
    .hm-plan-actions {
        flex-direction: column;
    }
}
