/* A Hero in the Modules style (M1081-3): the words on the left, three tiles of modules on the right, a grid
   ground fading toward them. Every colour is a token the look sets, so a site's own scheme and dark mode follow;
   the dark tile is the ink of the page, the light one the page's card. Its wrappers are hx-mod. */
.hx-mod { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); color: var(--ink); border-bottom: 1px solid var(--border); }
.hx-mod::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px);
    background-size: 48px 48px; -webkit-mask: radial-gradient(70% 85% at 72% 40%, black, transparent); mask: radial-gradient(70% 85% at 72% 40%, black, transparent); }
/* Edge to edge, as Core's own bands are, unless the section is set to a width of its own. */
.cms-sec:has(> .hx-mod):not(.cms-sec--w-full, .cms-sec--w-stretch, .srow__c .cms-sec) { width: 100vw; margin-left: calc(50% - 50vw); }
html:has(.hx-mod) { overflow-x: clip; }
.hx-mod.hx-g--plain::before { display: none; }
.hx-mod.hx-g--glow::before { background: radial-gradient(50% 80% at 72% 20%, color-mix(in oklab, var(--blue) 14%, transparent), transparent 70%); -webkit-mask: none; mask: none; }
.hx-mod .hx-w { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-top: 112px; padding-bottom: 120px; }
.hx-mod--none .hx-w { grid-template-columns: minmax(0, 760px); }
.hx-mod__eye { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font: 600 13px var(--font-body); letter-spacing: .02em; color: var(--ink); }
.hx-mod__eye i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.hx-mod .hx-t { margin: 0 0 24px; font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: -.048em; font-weight: 780; color: var(--ink); }
.hx-mod .hx-hl { display: block; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--muted); }
.hx-mod .hx-l { margin: 0 0 36px; max-width: 520px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hx-mod .hx-btnrow { margin-top: 0; gap: 12px; }
.hx-mod .hx-btnrow .cms-btns { gap: 12px; }
.hx-mod .cms-btn { min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: 16px; font-weight: 600; gap: 9px; }
.hx-mod .cms-btn--ghost { color: var(--ink); background: var(--bg); border: 1px solid var(--border); }
.hx-mod .cms-btn__ic { width: 16px; height: 16px; flex: none; }

/* The tiles: a tall one, a light one and a dark one, drawn from the look's own colours. */
.hx-mod__art { position: relative; }
.hx-mod__grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 150px 150px; gap: 14px; }
.hx-mod__t { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); color: var(--ink); }
.hx-mod__t--1 { grid-row: span 2; box-shadow: 0 24px 48px -28px color-mix(in oklab, var(--ink) 28%, transparent); }
.hx-mod__t--3 { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hx-mod__l { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--muted); }
.hx-mod__t--3 .hx-mod__l { color: var(--bg); opacity: .7; }
.hx-mod__ic { display: inline-flex; width: 16px; height: 16px; flex: none; }
.hx-mod__ic svg, .hx-mod__ic img { width: 100%; height: 100%; display: block; }
.hx-mod__bar { display: block; height: 8px; border-radius: 4px; background: var(--surface); }
.hx-mod__bar.is-ink { height: 12px; width: 72%; background: var(--ink); }
.hx-mod__bar.w1 { width: 52%; }
.hx-mod__bar.w2 { width: 76%; }
.hx-mod__bar.w3 { width: 54%; }
.hx-mod__mini { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hx-mod__mini i { display: block; height: 64px; border-radius: 10px; background: var(--surface); }
.hx-mod__mini i:first-child { background: var(--blue); }
.hx-mod__fig { margin-top: auto; font-size: 30px; font-weight: 750; letter-spacing: -.02em; color: inherit; }
.hx-mod__note { position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); color: var(--ink); font-size: 13px; font-weight: 600; }
.hx-mod__nd { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

@media (max-width: 760px) {
    .hx-mod .hx-w { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 72px; }
    .hx-mod .hx-t { font-size: 50px; }
    .hx-mod .hx-l { font-size: 17px; }
    .hx-mod .cms-btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
    .hx-mod__grid { grid-template-rows: 118px 118px; gap: 10px; }
    .hx-mod__t { padding: 14px; border-radius: 14px; }
    .hx-mod__mini i { height: 40px; }
    .hx-mod__fig { font-size: 24px; }
    .hx-mod__note { left: 8px; bottom: -18px; }
}
