/* =========================
   GLOBAL TYPO (Hardnex style)
   ========================= */

/* 1) Font stack: modern, clean (Inter/Manrope jelleg) */
:root{
  --bm-font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  --bm-font-display: var(--bm-font-sans);

  /* alap méretek */
  --bm-base: 16px;
  --bm-lh: 1.5;

  /* hero/title scale */
  --bm-hero-size: clamp(34px, 3.3vw, 56px);
  --bm-hero-lh: 1.06;

  /* subline (all caps feeling) */
  --bm-kicker-size: 13px;
  --bm-kicker-track: .10em;
}

/* 2) Alap */
html{ font-size: var(--bm-base); }
body{
  font-family: var(--bm-font-sans);
  line-height: var(--bm-lh);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3) Headings */
h1,h2,h3,h4,h5,h6{
  font-family: var(--bm-font-display);
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}

h1{
  font-size: var(--bm-hero-size);
  line-height: var(--bm-hero-lh);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2{
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3{
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.18;
  font-weight: 750;
}

/* 4) Paragraph / small text */
p{
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.6;
}

/* 5) “Kicker” / subline (mint a képen) */
.bm-kicker,
.hero-kicker,
.is-kicker{
  font-size: var(--bm-kicker-size);
  letter-spacing: var(--bm-kicker-track);
  text-transform: uppercase;
  font-weight: 700;
  opacity: .92;
}

/* 6) Hero text helper (ha kell külön class) */
.bm-hero-title,
.hero-title{
  font-size: var(--bm-hero-size);
  line-height: var(--bm-hero-lh);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* 7) Nav / UI typography (clean, crisp) */
.bm-menu > li > a{
  font-family: var(--bm-font-sans);
  font-weight: 700;
  letter-spacing: .04em;
}

/* 8) Better wrapping like in screenshot */
.bm-hero-title,
.hero-title,
h1{
  text-wrap: balance;
}


