/* ============================================================
   Build Know How — Homepage (dark teal, conversion-led)
   Tokens come from styles.css; this file owns the dark theme
   + section layout. All classes are hm-*.
   ============================================================ */

.hm-root{
  --ink:        #EBF2F1;   /* primary text on dark */
  --ink-soft:   #A9C4C2;   /* muted text on dark */
  --ink-faint:  #6E908C;
  --ground:     #0B2422;   /* page ground — dark teal from the logo */
  --ground-2:   #0E2A28;   /* raised panel */
  --ground-3:   #103532;   /* alt section */
  --line:       rgba(143,191,189,0.16);
  --line-2:     rgba(143,191,189,0.28);
  --sand-band:  #F5F0E6;   /* light contrast band */

  background: var(--ground);
  color: var(--ink-soft);
  font-family: var(--font-sans);
}
.hm-root *{ box-sizing:border-box; }
.hm-wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.hm-section{ padding:48px 0; }
.hm-section--tight{ padding:32px 0; }

/* headings on dark */
.hm-h1{ font-family:var(--font-serif); font-weight:500; font-size:clamp(40px,5.4vw,74px);
  line-height:1.02; letter-spacing:-.025em; color:var(--ink); margin:0; text-wrap:balance; }
.hm-h2{ font-family:var(--font-serif); font-weight:500; font-size:clamp(30px,3.8vw,48px);
  line-height:1.08; letter-spacing:-.02em; color:var(--ink); margin:0; text-wrap:balance; }
.hm-h3{ font-family:var(--font-serif); font-weight:500; font-size:22px; color:var(--ink); margin:0; }
.hm-lead{ font-size:clamp(17px,1.5vw,20px); line-height:1.6; color:var(--ink-soft); }
.hm-construction{ display:inline-flex; align-items:center; gap:.45em; align-self:flex-start;
  font-family:var(--font-mono); font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  font-size:clamp(15px,1.9vw,26px); color:#E8552B; margin-bottom:4px; }
.hm-construction i{ width:1em; height:1em; }
.hm-eyebrow{ font-family:var(--font-mono); font-size:12px; font-weight:500; letter-spacing:.16em;
  text-transform:uppercase; color:var(--orange-200); display:inline-flex; align-items:center; gap:.7em; }
.hm-eyebrow::before{ content:''; width:1.2em; height:1.5px; background:currentColor; opacity:.7; }
.hm-head{ max-width:46ch; margin-bottom:48px; display:flex; flex-direction:column; gap:18px; }
.hm-head--center{ margin-inline:auto; text-align:center; align-items:center; }

/* buttons row */
.hm-actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.hm-microcopy{ font-size:14px; line-height:1.55; color:var(--ink-faint); margin:2px 0 0; max-width:56ch; }

/* skool wordmark — per-letter colour in a white rounded bubble for legibility on dark */
.hm-skool{ display:inline-flex; align-items:center; background:#fff; border-radius:.42em;
  padding:.05em .38em; line-height:1.15; vertical-align:-.18em; font-weight:800; letter-spacing:-.01em;
  white-space:nowrap; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.hm-skool span{ font-weight:800; }

/* mini flag icons before EN / RO */
.hm-flag{ width:1.25em; height:auto; border-radius:2px; display:inline-block; vertical-align:-0.18em;
  box-shadow:0 0 0 1px rgba(0,0,0,0.18); }
.hm-flagset{ display:inline-flex; align-items:center; gap:.3em; }
.hm-globechip{ display:inline-flex; align-items:center; justify-content:center; width:1.3em; height:1.3em;
  border-radius:50%; background:rgba(143,191,189,0.16); color:var(--teal-200); box-shadow:0 0 0 1px rgba(143,191,189,0.35); }
.hm-globechip i{ width:.86em; height:.86em; }

/* ---------- Header ---------- */
.hm-header{ position:sticky; top:0; z-index:40; background:rgba(11,36,34,0.78);
  backdrop-filter:saturate(1.2) blur(10px); border-bottom:1px solid var(--line); }
.hm-header__in{ height:74px; display:flex; align-items:center; justify-content:space-between; }
.hm-logo{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.hm-logo img{ width:38px; height:38px; border-radius:10px; display:block; box-shadow:var(--shadow-sm); }
.hm-logo span{ font-family:var(--font-serif); font-weight:500; font-size:19px; color:var(--ink); }
.hm-nav{ display:flex; gap:30px; }
.hm-nav a{ font-size:14px; font-weight:500; color:var(--ink-soft); text-decoration:none; }
.hm-nav a:hover{ color:var(--ink); }
.hm-header__cta{ display:flex; align-items:center; gap:12px; }

/* ---------- Hero ---------- */
.hm-hero{ position:relative; padding:80px 0 72px; overflow:hidden; }
.hm-hero::before{ content:''; position:absolute; inset:0;
  background:radial-gradient(80% 60% at 78% 18%, rgba(20,90,91,0.45), transparent 60%),
             radial-gradient(70% 50% at 8% 88%, rgba(31,77,58,0.4), transparent 55%); pointer-events:none; }
.hm-hero__grid{ position:relative; display:grid; grid-template-columns:1.05fr 0.95fr; gap:54px; align-items:center; }
.hm-hero__copy{ display:flex; flex-direction:column; gap:24px; }
.hm-hero__lead{ max-width:46ch; }
.hm-hero__trust{ margin-top:14px; padding-top:22px; border-top:1px solid var(--line);
  display:flex; flex-direction:column; gap:10px; }
.hm-hero__trust span{ font-family:var(--font-mono); font-size:11px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink-faint); }
.hm-hero__logos{ display:flex; flex-wrap:wrap; gap:8px 22px; font-family:var(--font-serif);
  font-size:18px; color:var(--ink-soft); }
.hm-hero__video{ position:relative; }
.hm-hero__portrait{ position:relative; display:flex; align-items:center; justify-content:center; }
.hm-hero__circle{ position:relative; width:min(380px,92%); aspect-ratio:1; border-radius:50%; overflow:hidden;
  border:3px solid rgba(143,191,189,0.3);
  background:radial-gradient(70% 70% at 50% 38%, rgba(42,134,136,0.5), rgba(11,36,34,0.9) 78%);
  box-shadow:0 30px 60px -22px rgba(0,0,0,0.6), inset 0 0 0 10px rgba(11,36,34,0.25); }
.hm-hero__circle img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 8%; }

/* hero / closing CTA row — three primary actions, full width */
.hm-hero__ctarow{ margin-top:42px; }
.hm-tri{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
.hm-cta{ display:flex; flex-direction:column; gap:11px; }
.hm-cta .bkh-btn{ width:100%; }
.hm-cta__cap{ font-size:13.5px; line-height:1.5; color:var(--ink-soft); margin:0; }
.hm-free{ display:inline-flex; align-items:center; gap:.34em; color:var(--orange-200); font-weight:700; margin-right:.15em; }
.hm-free i{ width:15px; height:15px; }
.hm-free b{ font-weight:800; letter-spacing:.02em; }
.hm-hero__badge{ position:absolute; left:-26px; bottom:-22px; max-width:300px;
  display:flex; align-items:flex-start; gap:11px;
  background:var(--ground-2); border:1px solid var(--line-2); border-radius:var(--radius-md);
  padding:14px 16px; box-shadow:var(--shadow-lg); margin:0; }
.hm-hero__badge-ic{ color:var(--accent); flex:none; line-height:0; margin-top:1px; }
.hm-hero__badge-ic i{ width:18px; height:18px; }
.hm-hero__badge-quote{ font-family:var(--font-serif); font-style:italic; font-size:15px; line-height:1.34; color:var(--accent); margin:0; }
.hm-hero__badge-name{ font-family:var(--font-mono); font-size:10px; letter-spacing:.07em; text-transform:uppercase; color:var(--orange-200); display:block; margin-top:8px; line-height:1.4; }

/* full-width burnout statement */
.hm-burnout{ font-family:var(--font-serif); font-weight:500; font-size:clamp(24px,3vw,38px);
  line-height:1.22; letter-spacing:-.015em; color:var(--ink); margin:0 0 48px; max-width:30ch; text-wrap:balance; }
.hm-burnout span{ color:var(--orange-200); }

/* ---------- Stat row ---------- */
.hm-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.hm-stat .v{ font-family:var(--font-serif); font-weight:500; font-size:40px; color:var(--ink); line-height:1; letter-spacing:-.02em; }
.hm-stat .v em{ font-style:normal; color:var(--accent); }
.hm-stat .k{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-top:8px; }

/* ---------- Problem ---------- */
.hm-symptoms{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.hm-symptom{ display:flex; gap:13px; align-items:flex-start; background:var(--ground-2);
  border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; }
.hm-symptom__ic{ width:38px; height:38px; flex:none; border-radius:var(--radius-sm);
  background:rgba(232,134,42,0.12); color:var(--orange-200); display:grid; place-items:center; }
.hm-symptom__ic i{ width:18px; height:18px; }
.hm-symptom p{ margin:0; font-size:14.5px; line-height:1.45; color:var(--ink-soft); }

/* ---------- Model / Star ---------- */
.hm-model{ background:var(--ground-3); }
.hm-model__grid{ display:grid; grid-template-columns:0.92fr 1.08fr; gap:60px; align-items:center; }
.hm-states{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:30px; }
.hm-state h4{ display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:11px;
  letter-spacing:.1em; text-transform:uppercase; margin:0 0 12px; }
.hm-state h4 i{ width:15px; height:15px; }
.hm-state--up h4{ color:#6FBF9B; } .hm-state--down h4{ color:var(--orange-200); }
.hm-state ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.hm-state li{ font-size:14px; color:var(--ink-soft); padding-left:15px; position:relative; }
.hm-state li::before{ content:''; position:absolute; left:0; top:8px; width:5px; height:5px; border-radius:50%; background:var(--teal-500); }
.hm-state--down li::before{ background:var(--orange-500); }

/* ---------- Process ---------- */
.hm-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.hm-steps--4{ grid-template-columns:repeat(4,1fr); }
/* keep the four-beat title on a single line at every width */
.hm-process__title{ white-space:nowrap; font-size:clamp(13px,3.8vw,46px); }
.hm-watch__title{ white-space:nowrap; font-size:clamp(16px,5.2vw,48px); }
.hm-step{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px; display:flex; flex-direction:column; gap:10px; }
.hm-step__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.hm-step__n{ font-family:var(--font-mono); font-size:13px; letter-spacing:.1em; color:var(--orange-200); }
.hm-step__ic{ width:44px; height:44px; border-radius:var(--radius-sm); background:rgba(143,191,189,0.08);
  border:1px solid var(--line); color:var(--teal-200); display:grid; place-items:center; }
.hm-step__ic i{ width:20px; height:20px; }
.hm-step__mark{ font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; color:var(--orange-200); margin:0; }
.hm-step p.body{ font-size:14.5px; line-height:1.55; color:var(--ink-soft); margin:4px 0 14px; flex:1; }

/* ---------- Community ---------- */
.hm-comm__grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.hm-comm__card{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:26px; display:flex; flex-direction:column; gap:12px; }
.hm-comm__card--wide{ grid-column:1 / -1; }
.hm-comm__top{ display:flex; align-items:center; gap:14px; }
.hm-comm__ic{ width:48px; height:48px; flex:none; border-radius:var(--radius-md);
  background:rgba(232,134,42,0.12); color:var(--accent); display:grid; place-items:center; }
.hm-comm__ic i{ width:22px; height:22px; }
.hm-comm__card p{ margin:0; font-size:14.5px; line-height:1.55; color:var(--ink-soft); }
.hm-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.hm-tag{ display:inline-flex; align-items:center; gap:.45em; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-soft); border:1px solid var(--line-2); border-radius:var(--radius-pill); padding:5px 11px; white-space:nowrap; }
.hm-tag--en{ color:var(--teal-200); border-color:rgba(143,191,189,0.4); }
.hm-tag--ro{ color:var(--orange-200); border-color:rgba(232,134,42,0.4); }

/* ---------- Watch / proof ---------- */
.hm-watch__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

/* ---------- Founder ---------- */
.hm-founder__grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:54px; align-items:center; }
.hm-founder__col{ display:flex; flex-direction:column; gap:14px; }
.hm-founder__quote--wide{ max-width:none; margin:34px 0 0; font-size:22px; }
.hm-founder__actions{ margin-top:24px; }
.hm-founder__photo{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line-2);
  box-shadow:var(--shadow-lg); aspect-ratio:4/5; }
.hm-founder__photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.hm-founder__role{ font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--orange-200); margin:0; }
.hm-founder__quote{ border-left:3px solid var(--accent); padding-left:18px; margin:6px 0;
  font-family:var(--font-serif); font-style:italic; font-size:19px; line-height:1.4; color:var(--ink); }
.hm-founder__name{ display:flex; align-items:center; gap:14px; }
.hm-founder__avatar{ width:56px; height:56px; flex:none; border-radius:50%; object-fit:cover;
  object-position:50% 12%; background:var(--ground-2); border:2px solid var(--line-2); box-shadow:var(--shadow-md); }
.hm-founder__sig{ font-family:var(--font-serif); font-style:italic; font-size:20px; line-height:1.35;
  color:var(--accent); margin:0; max-width:30ch; }
.hm-btn-teal{ background:var(--teal-200)!important; color:#0B2422!important; border-color:var(--teal-200)!important; }
.hm-btn-teal:hover{ background:var(--teal-300)!important; border-color:var(--teal-300)!important; }

/* ---------- Quote band ---------- */
.hm-quote{ background:#081D1B; text-align:center; }
.hm-quote .hm-wrap{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.hm-quote blockquote{ font-family:var(--font-serif); font-weight:500; font-size:clamp(28px,3.6vw,46px);
  line-height:1.16; letter-spacing:-.02em; color:var(--ink); margin:0; max-width:20ch; }
.hm-quote small{ font-family:var(--font-mono); font-size:13px; letter-spacing:.04em; color:var(--orange-200); }

/* ---------- Close CTA ---------- */
.hm-close{ background:linear-gradient(180deg, var(--ground-3), var(--ground)); text-align:center; padding-top:32px; }
.hm-close .hm-wrap{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.hm-close .hm-hero__ctarow{ width:100%; max-width:980px; margin-top:14px; }
.hm-close .hm-cta__cap{ text-align:left; }
.hm-price{ color:var(--orange-200); font-weight:700; white-space:nowrap; }
.hm-signature{ font-family:var(--font-serif); font-weight:500; font-size:clamp(28px,3.4vw,42px);
  line-height:1.12; letter-spacing:-.02em; color:var(--ink); margin:0; white-space:nowrap; }
.hm-sig-br{ display:none; }

/* ---------- Footer ---------- */
.hm-footer{ background:#081D1B; border-top:1px solid var(--line); padding:40px 0; }
.hm-footer__in{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px; }
.hm-footer__fine{ font-size:12px; line-height:1.6; color:var(--ink-faint); margin:0; max-width:52ch; }
.hm-footer__links{ display:flex; gap:26px; flex-wrap:wrap; justify-content:center; }
.hm-footer__links a{ font-size:13px; color:var(--ink-soft); text-decoration:none; }
.hm-footer__links a:hover{ color:var(--ink); }

/* ---------- Contact modal ---------- */
.hm-modal__overlay{ position:fixed; inset:0; z-index:100; background:rgba(4,16,15,0.72);
  backdrop-filter:blur(5px); display:grid; place-items:center; padding:24px; }
.hm-modal{ position:relative; width:min(580px,100%); max-height:90vh; overflow:auto;
  background:var(--ground-2); border:1px solid var(--line-2); border-radius:var(--radius-lg);
  padding:34px; box-shadow:var(--shadow-lg); }
.hm-modal__close{ position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%;
  background:transparent; border:1px solid var(--line-2); color:var(--ink-soft); cursor:pointer;
  display:grid; place-items:center; }
.hm-modal__close:hover{ color:var(--ink); border-color:var(--line-2); background:rgba(143,191,189,0.08); }
.hm-modal__close i{ width:17px; height:17px; }
.hm-modal__head{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.hm-modal__sub{ font-size:14px; line-height:1.5; color:var(--ink-soft); margin:4px 0 0; }
.hm-modal__grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.hm-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.hm-field label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); }
.hm-field input,.hm-field textarea,.hm-field select{ font:inherit; font-size:15px; color:var(--ink);
  background:var(--ground); border:1px solid var(--line-2); border-radius:var(--radius-sm); padding:11px 13px; outline:none; }
.hm-field textarea{ resize:vertical; }
.hm-field input:focus,.hm-field textarea:focus,.hm-field select:focus{ border-color:var(--accent); }
.hm-field input::placeholder,.hm-field textarea::placeholder{ color:var(--ink-faint); }
.hm-modal__err{ font-size:13.5px; color:var(--orange-200); margin:0 0 12px; }
.hm-modal__err a{ color:var(--orange-200); text-decoration:underline; }
.hm-modal__fine{ font-size:12px; color:var(--ink-faint); margin:12px 0 0; text-align:center; }
.hm-modal__done{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; padding:10px 0; }
.hm-modal__check{ width:56px; height:56px; border-radius:50%; background:rgba(42,134,136,0.2);
  border:1px solid var(--teal-200); color:var(--teal-200); display:grid; place-items:center; }
.hm-modal__check i{ width:26px; height:26px; }
.hm-modal__done p{ font-size:15px; line-height:1.55; color:var(--ink-soft); margin:0; max-width:42ch; }
.hm-modal__done b{ color:var(--ink); }
.hm-modal__note{ background:var(--ground); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:14px 16px; font-size:13.5px!important; }
.hm-modal__note a{ color:var(--orange-200); }
.hm-modal__done .bkh-btn{ margin-top:6px; }

@media (max-width:1200px) and (min-width:901px){
  .hm-steps--4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .hm-signature{ white-space:normal; font-size:clamp(24px,6vw,40px); line-height:1.18; }
  .hm-sig-br{ display:inline; }
  .hm-hero__grid,.hm-model__grid,.hm-founder__grid{ grid-template-columns:1fr; }
  .hm-nav{ display:none; }
  .hm-symptoms,.hm-steps,.hm-steps--4,.hm-watch__grid,.hm-stats{ grid-template-columns:1fr 1fr; }
  .hm-comm__grid{ grid-template-columns:1fr; }
  .hm-states{ grid-template-columns:1fr 1fr; }
  .hm-hero__portrait{ order:-1; }
  .hm-hero__circle{ width:min(300px,70%); }
  .hm-hero__badge{ position:static; max-width:none; margin-top:-26px; }
  .hm-tri{ grid-template-columns:1fr; max-width:480px; margin:0 auto; }
}
@media (max-width:560px){
  .hm-symptoms,.hm-steps,.hm-steps--4,.hm-watch__grid,.hm-stats{ grid-template-columns:1fr; }
  .hm-modal__grid{ grid-template-columns:1fr; }
}
