@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans/IBMPlexSans-Regular.5aaadb685d3c.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans/IBMPlexSans-Medium.02ec16345450.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans/IBMPlexSans-SemiBold.51d76d33ef85.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans/IBMPlexSans-Bold.ea5f696de389.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

html {
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

/* HMD Design Gate 1 — global foundation */

:root {
    --hmd-ink: #0B1220;
    --hmd-paper: #F7F8F3;
    --hmd-cobalt: #2457D6;
    --hmd-mist: #E8ECF2;
    --hmd-slate: #667085;

    --hmd-page-width: 1200px;
    --hmd-gutter: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    color: var(--hmd-ink);
    background: var(--hmd-paper);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--hmd-paper);
    color: var(--hmd-ink);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.hmd-container {
    width: min(
        calc(100% - (2 * var(--hmd-gutter))),
        var(--hmd-page-width)
    );
    margin-inline: auto;
}

@media (max-width: 720px) {
    :root {
        --hmd-gutter: 20px;
    }
}

/* HMD global header */

.hmd-header {
    background: rgba(247, 248, 243, 0.96);
    border-bottom: 1px solid var(--hmd-mist);
}

.hmd-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hmd-brand {
    display: inline-flex;
    align-items: center;
    color: var(--hmd-ink);
    text-decoration: none;
}

.hmd-brand__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
}

.hmd-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hmd-nav a {
    color: var(--hmd-slate);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 150ms ease;
}

.hmd-nav a:hover,
.hmd-nav a:focus-visible {
    color: var(--hmd-cobalt);
}

.hmd-nav a:focus-visible,
.hmd-brand:focus-visible {
    outline: 2px solid var(--hmd-cobalt);
    outline-offset: 4px;
}

@media (max-width: 720px) {
    .hmd-header__inner {
        min-height: 64px;
        gap: 20px;
    }

    .hmd-brand__name {
        font-size: 13px;
        letter-spacing: 0.065em;
    }

    .hmd-nav {
        gap: 18px;
    }

    .hmd-nav a {
        font-size: 14px;
    }
}

/* ==========================================================
   HMD HOME — FINAL HERO
   Consolidated approved Evidence / Data Hero
   ========================================================== */

.hmd-brand__accent { color: var(--hmd-cobalt); }

.hmd-hero { position: relative; overflow: hidden; padding: 38px 0 72px; }
.hmd-hero__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: 44px; }
.hmd-hero__content { position: relative; z-index: 2; max-width: 680px; }
.hmd-hero h1 { margin: 0; color: var(--hmd-ink); font-size: clamp(56px,4.25vw,76px); font-weight: 600; line-height: .98; letter-spacing: -.052em; }
.hmd-hero h1 span { color: var(--hmd-cobalt); }
.hmd-hero__descriptor { max-width: 540px; margin: 24px 0 0; color: var(--hmd-ink); font-size: 24px; line-height: 1.35; letter-spacing: -.015em; }
.hmd-hero__support { max-width: 480px; margin: 22px 0 0; color: var(--hmd-slate); font-size: 16px; line-height: 1.5; }

.hmd-hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.hmd-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; transition: background-color 150ms ease,border-color 150ms ease,color 150ms ease; }
.hmd-button--primary { background: var(--hmd-cobalt); color: #fff; }
.hmd-button--primary:hover { background: #1E49B8; }
.hmd-button--secondary { border-color: rgba(36,87,214,.35); background: rgba(255,255,255,.45); color: var(--hmd-ink); }
.hmd-button--secondary:hover { border-color: var(--hmd-cobalt); color: var(--hmd-cobalt); }
.hmd-button:focus-visible { outline: 2px solid var(--hmd-cobalt); outline-offset: 3px; }
.hmd-button__arrow { width: 7px; height: 7px; display: inline-block; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* Evidence / data visualization */
.hmd-hero__visual { position: relative; display: block; min-width: 0; margin-left: -48px; margin-right: -28px; }
.hmd-data-visual { position: relative; width: 100%; min-height: 420px; overflow: visible; isolation: isolate; }
.hmd-data-visual__grid { position: absolute; inset: 24px 0 10px; z-index: -3; opacity: .48; background-image: linear-gradient(to right,rgba(36,87,214,.065) 1px,transparent 1px),linear-gradient(to bottom,rgba(36,87,214,.065) 1px,transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(to right,transparent 0%,black 14%,black 84%,transparent 100%); mask-image: linear-gradient(to right,transparent 0%,black 14%,black 84%,transparent 100%); }
.hmd-data-visual__range { position: absolute; left: -8%; right: -5%; top: 34%; height: 190px; z-index: -2; border-radius: 50%; transform: rotate(-2deg); background: radial-gradient(ellipse at center,rgba(36,87,214,.12) 0%,rgba(36,87,214,.05) 42%,rgba(36,87,214,0) 72%); filter: blur(4px); opacity: .68; }
.hmd-data-visual__chart { position: absolute; left: -7%; bottom: 2px; width: 110%; height: 340px; overflow: visible; }
.hmd-data-landscape { overflow: visible; }
.hmd-landscape-candle line { stroke: var(--hmd-cobalt); stroke-width: 1.35; opacity: .58; vector-effect: non-scaling-stroke; }
.hmd-landscape-candle rect { fill: rgba(36,87,214,.42); stroke: var(--hmd-cobalt); stroke-width: 1; opacity: .82; vector-effect: non-scaling-stroke; }
.hmd-landscape-flow { fill: none; stroke: var(--hmd-cobalt); vector-effect: non-scaling-stroke; }
.hmd-landscape-flow--1 { stroke-width: 1.4; opacity: .13; }
.hmd-landscape-flow--2 { stroke-width: 1.15; opacity: .095; }
.hmd-landscape-flow--3 { stroke-width: 1; opacity: .07; }
.hmd-landscape-flow--4 { stroke-width: .9; opacity: .045; }
.hmd-landscape-mesh { fill: none; stroke: var(--hmd-cobalt); stroke-width: .85; opacity: .075; vector-effect: non-scaling-stroke; }
.hmd-landscape-mesh--faint { opacity: .04; }
.hmd-landscape-particles { fill: var(--hmd-cobalt); opacity: .28; }

.hmd-data-visual__point { position: absolute; z-index: 2; width: 9px; height: 9px; border: 2px solid var(--hmd-paper); border-radius: 50%; background: var(--hmd-cobalt); box-shadow: 0 0 0 4px rgba(36,87,214,.12); }
.hmd-data-visual__point--one { left: 26%; top: 53%; }
.hmd-data-visual__point--two { left: 57%; top: 45%; }
.hmd-data-visual__point--three { left: 83%; top: 36%; }

.hmd-data-visual__label { position: absolute; z-index: 3; min-width: 142px; padding: 13px 15px; border: 1px solid rgba(36,87,214,.10); border-radius: 10px; background: rgba(255,255,255,.86); box-shadow: 0 8px 28px rgba(11,18,32,.055); backdrop-filter: blur(5px); }
.hmd-data-visual__label strong,.hmd-data-visual__label span { display: block; }
.hmd-data-visual__label strong { margin-bottom: 5px; color: var(--hmd-ink); font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .045em; }
.hmd-data-visual__label span { color: var(--hmd-slate); font-size: 11px; line-height: 1.35; }
.hmd-data-visual__label--claim { left: 8%; top: 12%; }
.hmd-data-visual__label--data { left: 42%; top: 27%; }
.hmd-data-visual__label--evidence { right: 3%; top: 14%; }
.hmd-data-visual__demo { position: absolute; right: 3%; bottom: 8px; z-index: 3; color: var(--hmd-slate); font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .09em; }

@media (max-width: 1099px) {
  .hmd-hero { padding: 48px 0 64px; }
  .hmd-hero__grid { grid-template-columns: minmax(0,.9fr) minmax(380px,1.1fr); gap: 34px; }
  .hmd-hero h1 { font-size: clamp(50px,6.5vw,68px); }
  .hmd-hero__descriptor { font-size: 21px; }
  .hmd-hero__visual { margin: 0; }
  .hmd-data-visual { min-height: 360px; }
  .hmd-data-visual__chart { left: -4%; width: 106%; height: 290px; }
}

@media (max-width: 760px) {
  .hmd-brand__name { font-size: 12px; letter-spacing: .055em; white-space: nowrap; }
  .hmd-nav { gap: 14px; }
  .hmd-nav a { font-size: 13px; }
  .hmd-hero { padding: 32px 0 38px; }
  .hmd-hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hmd-hero__content { max-width: 100%; }
  .hmd-hero h1 { font-size: clamp(46px,14vw,60px); line-height: .98; }
  .hmd-hero__descriptor { max-width: 440px; margin-top: 18px; font-size: 20px; }
  .hmd-hero__support { margin-top: 14px; font-size: 15px; }
  .hmd-hero__actions { margin-top: 22px; flex-wrap: nowrap; gap: 10px; }
  .hmd-button { min-height: 44px; padding-inline: 15px; font-size: 13px; white-space: nowrap; }
  .hmd-hero__visual { max-width: none; margin: -2px 0 0; }
  .hmd-data-visual { min-height: 242px; }
  .hmd-data-visual__chart { left: -5%; bottom: 0; width: 108%; height: 205px; }
  .hmd-data-visual__grid { inset: 4px 0 0; background-size: 36px 36px; }
  .hmd-data-visual__range { top: 32%; height: 92px; }
  .hmd-data-landscape { opacity: .92; }
  .hmd-landscape-candle rect { opacity: .72; }
  .hmd-landscape-flow--3,.hmd-landscape-flow--4,.hmd-landscape-mesh--faint { display: none; }
  .hmd-data-visual__label { min-width: 0; padding: 8px 9px; }
  .hmd-data-visual__label strong { margin-bottom: 3px; font-size: 9px; }
  .hmd-data-visual__label span { font-size: 9px; }
  .hmd-data-visual__label--claim { left: 1%; top: 5%; }
  .hmd-data-visual__label--data { left: 37%; top: 18%; }
  .hmd-data-visual__label--evidence { right: 0; top: 5%; }
  .hmd-data-visual__point { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(36,87,214,.12); }
  .hmd-data-visual__demo { right: 0; bottom: 0; font-size: 8px; }
}

@media (max-width: 420px) {
  .hmd-hero { padding-top: 28px; padding-bottom: 34px; }
  .hmd-hero h1 { font-size: clamp(44px,14vw,56px); }
  .hmd-data-visual { min-height: 226px; }
  .hmd-data-visual__chart { height: 192px; }
  .hmd-data-visual__label span { display: none; }
}

@media (max-width: 380px) {
  .hmd-header__inner { gap: 12px; }
  .hmd-nav { gap: 10px; }
  .hmd-button { padding-inline: 12px; font-size: 12px; }
}

/* =========================================================
   HOME — RESEARCH INTRO
   ========================================================= */

.hmd-home-research {
    padding: 76px 0 84px;
    background: #fff;
}

.hmd-home-research .hmd-container {
    border-top: 1px solid var(--hmd-mist);
    padding-top: 34px;
}

.hmd-section-kicker {
    margin: 0 0 34px;
    color: var(--hmd-cobalt);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
}

.hmd-section-heading__row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 72px;
    align-items: end;
}

.hmd-section-heading h2 {
    margin: 0;
    max-width: 720px;
    color: var(--hmd-ink);
    font-size: clamp(42px, 4.2vw, 64px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hmd-section-heading__intro {
    margin: 0 0 4px;
    max-width: 420px;
    color: var(--hmd-slate);
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .hmd-home-research {
        padding: 52px 0 60px;
    }

    .hmd-home-research .hmd-container {
        padding-top: 26px;
    }

    .hmd-section-kicker {
        margin-bottom: 24px;
    }

    .hmd-section-heading__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hmd-section-heading h2 {
        max-width: 520px;
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.02;
    }

    .hmd-section-heading__intro {
        max-width: 520px;
        font-size: 16px;
    }
}
