/* ==========================================================================
   VPN Labs — Home module (home.css). Class prefix: .hm-
   Design v2 "consumer-security clean": dark glow hero with a flat illustration,
   rounded cards, pill buttons and chips, a navy stats band and a rounded navy
   CTA banner. Tokens only (no hard-coded colours); letter-spacing only via
   --tracking-* tokens; mobile-first from 360px; robust to 30–80 % longer
   translations and CJK/Burmese; dark mode via the core tokens; print at the end.
   ========================================================================== */

/* Translated button labels can be long: let them wrap instead of overflowing. */
.page-home .btn {
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

/* Robustness for long translations: long compound words (German, Russian …) wrap
   instead of widening their column. The core .section-head uses a plain 1fr track
   below 960px, which grows with an unbreakable word, so it is pinned to minmax(0,1fr). */
.page-home main {
  overflow-wrap: break-word;
}
.page-home .section-head {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .page-home .section-head:not(.section-head--center) {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
/* Centred heads are only centred from 960px; below that the title must not be
   block-centred while its text is left-aligned (core rule applies at all widths). */
@media (max-width: 959.98px) {
  .page-home .section-head--center .section-head__title {
    margin-inline: 0;
  }
}
.page-home .section-head__main,
.page-home .section-head__meta {
  min-width: 0;
}
/* Text beside an icon in a flex row may shrink and wrap. */
.hm-checks li > span,
.hm-chip > span,
.hm-hero__trust li > span,
.hm-std__use > span,
.hm-std__disclaimer > span,
.hm-stats__meta li > *,
.hm-pubs__feeds > span {
  min-width: 0;
}
/* Single-column grids: an implicit `auto` track would also grow with a long word. */
.hm-hero__float,
.hm-define__cards,
.hm-define__card-text,
.hm-doc__body,
.hm-doc__part,
.hm-ev,
.hm-hist,
.hm-anat__notes,
.hm-note__body,
.hm-principle,
.hm-std__item,
.hm-eng__foot,
.hm-faq__a,
.hm-idparts__seg {
  grid-template-columns: minmax(0, 1fr);
}
html:is(:lang(de), :lang(fr), :lang(ru), :lang(vi)) .page-home main :is(h2, h3, .hm-hero__lead, .hm-stat__label) {
  hyphens: auto;
}
/* Kicker dots stay on the first line when a translated kicker wraps. */
.page-home .kicker,
.page-home .section-head__kicker {
  align-items: flex-start;
}
.page-home .kicker::before,
.page-home .section-head__kicker::before {
  margin-top: calc(0.8em - 4px);
  margin-top: calc(0.5lh - 4px);
}

/* ------------------------------------------------------------ shared bits */
.hm-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.hm-icon-badge--solid {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
.hm-icon-badge--sm {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
}
.hm-icon-badge--amber {
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
}

.hm-checks {
  list-style: none;
  display: grid;
  gap: var(--s-2);
}
.hm-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--c-ink-2);
}
.hm-checks .icon {
  margin-top: 0.15em;
  color: var(--c-success);
}

.hm-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.hm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55em 1.05em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 550;
  line-height: 1.35;
}
.hm-chip .icon {
  color: var(--c-success);
}

/* Lettered annotation pin (A–G) */
.hm-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
}

/* Section heads inside a column (feature rows, FAQ) sit a little tighter. */
.hm-row__text .section-head,
.hm-faq__aside .section-head {
  margin-bottom: var(--s-5);
}

/* ================================================================== hero */
.hm-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding-block: var(--s-7) var(--s-8);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
@media (min-width: 720px) {
  .hm-hero {
    margin-inline: var(--s-3);
    border-radius: var(--r-xl);
    padding-block: var(--s-8) var(--s-9);
  }
}
.hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1080px) {
  .hm-hero {
    padding-block: var(--s-9) calc(var(--s-9) + var(--s-4));
  }
  .hm-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}
.hm-hero__text {
  min-width: 0;
}
.hm-hero__kicker {
  margin-bottom: var(--s-5);
}
.hm-hero__title {
  font-size: clamp(2.375rem, 1.2rem + 3.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: var(--tracking-display);
  font-weight: 750;
  color: var(--c-ink);
  overflow-wrap: break-word;
  hyphens: manual;
}
.hm-hero__line {
  display: block;
  text-wrap: balance;
}
.hm-hero__line--accent {
  color: var(--c-accent-text);
}
.hm-hero__lead {
  margin-top: var(--s-5);
  max-width: 44ch;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--c-ink-2);
}
.hm-hero__ctas {
  margin-top: var(--s-6);
}
.hm-hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--c-ink-2);
}
.hm-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.hm-hero__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-teal) 24%, transparent);
  color: var(--c-teal);
}

/* illustration + floating latest-record card */
.hm-hero__visual {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 600px;
}
@media (min-width: 1080px) {
  .hm-hero__visual {
    max-width: none;
  }
}
.hm-hero__visual::before {
  content: '';
  position: absolute;
  inset: 8% -6% -4% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-glow) 45%, transparent), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.hm-hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-surface-2);
  border: 1px solid var(--c-rule);
  box-shadow: var(--shadow-lg);
}
.hm-hero__art {
  border-radius: 0;
}
.hm-hero__float {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-2);
  margin: calc(var(--s-7) * -1) var(--s-4) 0;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c-surface-2) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-rule);
  box-shadow: var(--shadow-lg);
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.hm-hero__float:hover {
  text-decoration: none;
  color: var(--c-ink);
  transform: translateY(-2px);
  border-color: var(--c-accent-line);
}
@media (min-width: 1080px) {
  .hm-hero__float {
    position: absolute;
    left: calc(var(--s-6) * -1);
    bottom: calc(var(--s-6) * -1);
    width: min(340px, 78%);
    margin: 0;
  }
}
.hm-hero__float-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.hm-hero__float-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-ink-2);
}
.hm-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-teal) 60%, transparent);
  animation: hm-pulse 2.4s ease-out infinite;
}
@keyframes hm-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-teal) 60%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}
.hm-hero__float-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--c-muted);
}
.hm-hero__float-title {
  font-weight: 650;
  font-size: var(--fs-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-hero__float-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.hm-hero__float-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-accent-text);
}

/* ============================================================ definition */
.hm-define__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1000px) {
  .hm-define__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}
.hm-define__q {
  font-size: var(--fs-2xl);
  line-height: 1.1;
}
.hm-define__answer {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-ink);
  max-width: 64ch;
}
.hm-define__more {
  margin-top: var(--s-4);
  color: var(--c-ink-2);
  max-width: 64ch;
}
.hm-define__cards {
  display: grid;
  gap: var(--s-4);
}
.hm-define__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.hm-define__card--primary {
  background: var(--c-accent-soft);
  border-color: transparent;
}
.hm-define__card-text {
  display: grid;
  gap: var(--s-2);
  justify-items: start;
  min-width: 0;
}
.hm-define__card-label {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-accent-text);
}
.hm-define__card-title {
  font-size: var(--fs-lg);
}
.hm-define__card-body {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}
.hm-define__card .arrow-link {
  font-size: var(--fs-sm);
  margin-top: var(--s-1);
}

/* ============================================================== services */
.hm-services__grid {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
}
@media (min-width: 640px) {
  .hm-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1180px) {
  .hm-services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.hm-service {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hm-service:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-rule-strong);
  transform: translateY(-2px);
}
.hm-service__art {
  padding: var(--s-3) var(--s-3) 0;
}
.hm-service__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
}
.hm-service__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
  padding: var(--s-4) var(--s-5) var(--s-6);
}
.hm-service__sub {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-accent-text);
}
.hm-service__title {
  font-size: var(--fs-lg);
  margin-top: calc(var(--s-2) * -1);
}
.hm-service__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.hm-service__body .hm-checks {
  margin-top: auto;
  padding-top: var(--s-2);
}
.hm-service__link {
  padding-top: var(--s-2);
}
.hm-service__link .arrow-link {
  font-size: var(--fs-sm);
}

/* ================================================================ latest */
.hm-latest__empty-links {
  justify-content: center;
  gap: var(--s-3) var(--s-6);
}
.hm-latest__count {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* =============================================================== anatomy */
.hm-anat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 1080px) {
  .hm-anat {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-7);
    align-items: stretch;
  }
  .hm-anat__notes {
    align-content: space-between;
    padding-bottom: calc(var(--s-3) + 1.6em);
  }
  .hm-anat .hm-note {
    padding: var(--s-6) var(--s-5);
  }
}
.hm-anat__figure {
  min-width: 0;
}
.hm-anat__caption {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  text-align: center;
}

/* record format schematic */
.hm-doc {
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hm-doc__chrome {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.75rem var(--s-5);
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-rule);
}
.hm-doc__dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}
.hm-doc__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-rule-strong);
}
.hm-doc__url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--c-muted);
  background: var(--c-surface);
  border-radius: var(--r-pill);
  padding: 0.3em 0.9em;
}
.hm-doc__body {
  display: grid;
  padding: var(--s-2) var(--s-5) var(--s-3);
}
@media (min-width: 560px) {
  .hm-doc__body {
    padding-inline: var(--s-6);
  }
}
.hm-doc__part {
  position: relative;
  display: grid;
  gap: var(--s-3);
  justify-items: start;
  min-width: 0;
  padding: var(--s-5) 0 var(--s-5) 44px;
  border-top: 1px solid var(--c-rule);
}
.hm-doc__part > * {
  max-width: 100%;
}
.hm-doc__part:first-child {
  border-top: 0;
}
.hm-pin--doc {
  position: absolute;
  left: 0;
  top: calc(var(--s-5) - 2px);
  width: 28px;
  height: 28px;
  font-size: var(--fs-xs);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.hm-doc__label {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-muted);
}
.hm-doc__small {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.hm-doc__idrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.hm-doc__ver {
  font-size: var(--fs-2xs);
  font-weight: 650;
  padding: 0.42em 0.8em;
  border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  line-height: 1;
}
.hm-doc__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
}
.hm-doc__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
}
.hm-doc__facts dt {
  font-size: var(--fs-2xs);
  color: var(--c-muted);
}
.hm-doc__facts dd {
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* placeholder chip: a generic label standing in for a record value */
.hm-ph {
  display: inline-block;
  max-width: 100%;
  padding: 0.3em 0.75em;
  border: 1px dashed var(--c-rule-strong);
  border-radius: var(--r-xs);
  background: var(--c-surface-2);
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.hm-ph--title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-ink-2);
}
.hm-ph--mono {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
}
.hm-ev__item .hm-ph {
  background: var(--c-surface);
}
.hm-doc__facts dd .hm-ph {
  font-size: var(--fs-xs);
}

/* status lifecycle pills */
.hm-life {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hm-life__step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4em 0.85em 0.4em 0.45em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-rule);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-muted);
}
.hm-life__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--c-rule-strong);
}


/* evidence register */
.hm-ev {
  list-style: none;
  display: grid;
  gap: var(--s-2);
  width: 100%;
}
.hm-ev__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
}
.hm-ev__id {
  grid-row: span 2;
  align-self: start;
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 0.3em 0.55em;
  border-radius: var(--r-xs);
  background: var(--c-surface);
  color: var(--c-ink);
}
.hm-ev__label {
  font-size: var(--fs-sm);
  font-weight: 550;
  line-height: 1.4;
  color: var(--c-ink);
}
.hm-ev__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

/* environment */
.hm-doc__env {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--s-3) var(--s-5);
  width: 100%;
}
.hm-doc__env-item {
  min-width: 0;
}
.hm-doc__env dt {
  font-size: var(--fs-2xs);
  font-weight: 550;
  color: var(--c-muted);
}
.hm-doc__env dd {
  font-size: var(--fs-sm);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* vendor response, disclosure: neutral option pills */
.hm-doc__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem var(--s-4);
  font-size: var(--fs-xs);
  color: var(--c-ink-2);
}
.hm-doc__line--muted {
  color: var(--c-muted);
}

/* disclosure scale */
.hm-scale {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hm-scale__step {
  padding: 0.42em 0.95em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-rule-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-muted);
}

/* version history */
.hm-hist {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  width: 100%;
}
.hm-hist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem var(--s-3);
  align-items: baseline;
}
.hm-hist__v {
  grid-row: span 2;
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 0.35em 0.65em;
  border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  font-variant-numeric: tabular-nums;
}
.hm-hist__date {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-ink);
}
.hm-hist__change {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-ink-2);
}

.hm-doc__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-rule);
}
@media (min-width: 560px) {
  .hm-doc__foot {
    padding-inline: var(--s-6);
  }
}
.hm-doc__foot .arrow-link {
  font-size: var(--fs-sm);
}
.hm-doc__formats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hm-doc__formats span {
  padding: 0.35em 0.9em;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  color: var(--c-ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
}

/* annotations */
.hm-anat__notes {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  min-width: 0;
}
.hm-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.hm-note__body {
  display: grid;
  gap: var(--s-2);
  justify-items: start;
  min-width: 0;
}
.hm-note__title {
  font-size: var(--fs-md);
  line-height: 1.3;
  margin-top: 0.2rem;
}
.hm-note__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.hm-note .arrow-link {
  font-size: var(--fs-sm);
}
.hm-idparts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: var(--s-1);
}
.hm-idparts__seg {
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-md);
  background: var(--c-surface-2);
}
.hm-idparts__value {
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
}
.hm-idparts__label {
  font-size: var(--fs-2xs);
  color: var(--c-muted);
}

/* =============================================================== process */
.hm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  margin-bottom: var(--s-8);
}
@media (min-width: 960px) {
  .hm-row {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}
.hm-row__text {
  min-width: 0;
}
.hm-row__art {
  min-width: 0;
}
.hm-row__img {
  border-radius: var(--r-xl);
  background: var(--c-surface-2);
}
.hm-process__intro {
  margin-bottom: var(--s-4);
  max-width: 62ch;
  color: var(--c-ink-2);
}
.hm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
}
@media (min-width: 640px) {
  .hm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1180px) {
  .hm-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.hm-step {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.hm-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.hm-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hm-step__loop-icon {
  display: inline-flex;
  color: var(--c-accent-text);
}
.hm-step__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.hm-step__body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.hm-step__output {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--s-2);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--c-muted);
}
.hm-step__output-label {
  font-weight: 650;
  color: var(--c-ink-2);
  padding: 0.2em 0.65em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
}
.hm-step__loop {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-accent-text);
}
.hm-step__link {
  padding-top: var(--s-1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 650;
}
.hm-step--loop {
  background: var(--c-surface-2);
  border-style: dashed;
  border-color: var(--c-rule-strong);
}
.hm-step--loop .hm-step__n {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
.hm-step--loop .hm-step__output-label {
  background: var(--c-surface);
}

/* ========================================================= stats (band) */
.hm-stats .section-head {
  margin-bottom: var(--s-5);
}
.hm-stats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
}
@media (min-width: 560px) {
  .hm-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .hm-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.hm-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c-surface) 72%, transparent);
  border: 1px solid var(--c-rule);
}
.hm-stat__value {
  order: -1;
  font-size: clamp(2.5rem, 1.9rem + 2.2vw, 3.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: var(--tracking-display);
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
  overflow-wrap: anywhere;
}
.hm-stat--evidence .hm-stat__value {
  font-size: clamp(2.125rem, 1.6rem + 1.9vw, 3.25rem);
}
.hm-stat__label {
  margin-top: var(--s-2);
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--c-ink);
}
.hm-stat__note {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}
.hm-stat__types ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--s-2);
}
.hm-stat__types li {
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0.35em 0.75em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-ink-2);
}
.hm-stats__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hm-stats__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hm-stats__meta .icon {
  color: var(--c-accent-text);
}

/* ========================================================== independence */
.hm-indep__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
}
@media (min-width: 1000px) {
  .hm-indep__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-5);
  }
}
.hm-indep__lead-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-xl);
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
@media (min-width: 560px) {
  .hm-indep__lead-card {
    padding: var(--s-6);
  }
}
.hm-indep__art {
  width: 100%;
}
.hm-indep__img {
  border-radius: var(--r-lg);
}
.hm-indep__statement {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.hm-indep__note {
  font-size: var(--fs-sm);
  line-height: 1.6;
  opacity: 0.92;
}
.hm-indep__lead-card .btn {
  margin-top: auto;
}
.hm-indep__list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  min-width: 0;
}
@media (min-width: 640px) {
  .hm-indep__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-principle:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.hm-principle {
  display: grid;
  align-content: start;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.hm-principle__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.hm-principle__body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}

/* =========================================================== engagements */
.hm-compare thead th {
  white-space: normal;
  vertical-align: bottom;
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.hm-compare__aspect {
  width: 22%;
}
.hm-compare__col {
  width: 39%;
}
.hm-compare__badge {
  display: block;
  margin-bottom: 0.5rem;
}
.hm-compare__col-title {
  display: block;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
}
.hm-compare tbody th {
  font-weight: 650;
  color: var(--c-ink);
}
.hm-compare td {
  color: var(--c-ink-2);
  line-height: 1.55;
}
.hm-compare__summary td {
  color: var(--c-ink);
}
@media (max-width: 719.98px) {
  .hm-compare,
  .hm-compare tbody,
  .hm-compare tr,
  .hm-compare th,
  .hm-compare td,
  .hm-compare caption {
    display: block;
    width: 100%;
  }
  .hm-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .hm-compare tr {
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--c-rule);
  }
  .hm-compare tr:last-child {
    border-bottom: 0;
  }
  .hm-compare tbody th,
  .hm-compare td {
    padding: 0;
    border: 0;
  }
  .hm-compare tbody th {
    margin-bottom: var(--s-2);
    font-size: var(--fs-base);
  }
  .hm-compare td + td {
    margin-top: var(--s-3);
  }
  .hm-compare td::before {
    content: attr(data-label);
    display: block;
    font-size: var(--fs-2xs);
    font-weight: 650;
    color: var(--c-accent-text);
    margin-bottom: 0.15rem;
  }
  .hm-compare tbody tr:hover {
    background: transparent;
  }
}
.hm-eng__foot {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-5);
}
.hm-eng__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
}
.hm-eng__common {
  padding: var(--s-5);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
@media (min-width: 560px) {
  .hm-eng__common {
    padding: var(--s-6);
  }
}
.hm-eng__common-title {
  font-size: var(--fs-md);
  margin-bottom: var(--s-4);
}
.hm-eng__common-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-5);
}
.hm-eng__common-links .arrow-link,
.hm-eng__links .arrow-link {
  font-size: var(--fs-sm);
}

/* ========================================================== publications */
.hm-pubs__grid {
  list-style: none;
}
.hm-pub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hm-pub:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-rule-strong);
  transform: translateY(-2px);
}
.hm-pub__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.hm-pub__id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--c-muted);
}
.hm-pub__title {
  font-size: var(--fs-lg);
  line-height: 1.3;
}
.hm-pub__title a {
  color: var(--c-ink);
  text-decoration: none;
}
.hm-pub__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hm-pub:hover .hm-pub__title a {
  color: var(--c-accent-text);
}
.hm-pub__summary {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.hm-pub__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-rule);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.hm-pub__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.hm-pubs__feeds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hm-pubs__feeds a {
  font-weight: 600;
}
.hm-pubs__feeds .icon {
  color: var(--c-accent-text);
}

/* ============================================================= standards */
.hm-std__list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
}
@media (min-width: 640px) {
  .hm-std__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .hm-std__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.hm-std__item {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.hm-std__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.hm-std__name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
}
.hm-std__name .icon {
  color: var(--c-muted);
}
.hm-std__name:hover {
  color: var(--c-accent-text);
  text-decoration: none;
}
.hm-std__name:hover .icon {
  color: var(--c-accent-text);
}
.hm-std__pub {
  font-size: var(--fs-2xs);
  font-weight: 650;
  padding: 0.35em 0.75em;
  border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.hm-std__full {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}
.hm-std__use {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: var(--s-1);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-ink-2);
}
.hm-std__use .icon {
  margin-top: 0.15em;
  color: var(--c-success);
}
.hm-std__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6);
}
.hm-std__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 72ch;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hm-std__disclaimer .icon {
  margin-top: 0.15em;
  color: var(--c-accent-text);
}
.hm-std__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
}
.hm-std__links .arrow-link {
  font-size: var(--fs-sm);
}

/* =================================================================== FAQ */
.hm-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 1080px) {
  .hm-faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-8);
  }
}
.hm-faq__aside {
  min-width: 0;
}
.hm-faq__art {
  max-width: 440px;
}
.hm-faq__img {
  background: var(--c-surface-2);
}
.hm-faq__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hm-faq__more .arrow-link {
  font-size: var(--fs-sm);
}
@media (max-width: 1079.98px) {
  .hm-faq__art {
    display: none;
  }
}
.hm-faq__list {
  min-width: 0;
}
.hm-faq__item {
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hm-faq__item[open] {
  border-color: var(--c-rule-strong);
  box-shadow: var(--shadow-sm);
}
.hm-faq__q {
  font-size: var(--fs-md);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: pretty;
}
.hm-faq__item summary:hover .hm-faq__q {
  color: var(--c-accent-text);
}
.hm-faq__a {
  display: grid;
  gap: var(--s-3);
  justify-items: start;
}
.hm-faq__a p {
  line-height: 1.65;
}
.hm-faq__a .arrow-link {
  font-size: var(--fs-sm);
}

/* ======================================================= closing banner */
.hm-close {
  padding-top: 0;
  padding-bottom: 0;
}
.hm-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 0.9rem + 3vw, 4rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(55% 80% at 95% 0%, color-mix(in srgb, var(--c-glow) 40%, transparent), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, color-mix(in srgb, var(--c-teal) 18%, transparent), transparent 70%),
    var(--c-band);
}
.hm-cta__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 960px) {
  .hm-cta__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }
}
.hm-cta__text {
  min-width: 0;
}
.hm-cta__title {
  font-size: var(--fs-2xl);
  line-height: 1.1;
  font-weight: 750;
  color: var(--c-ink);
}
.hm-cta__lead {
  margin-top: var(--s-4);
  max-width: 52ch;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--c-ink-2);
}
.hm-cta__art {
  min-width: 0;
  max-width: 380px;
}
.hm-cta__img {
  border-radius: var(--r-lg);
}
@media (max-width: 959.98px) {
  .hm-cta__art {
    display: none;
  }
}
.hm-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
@media (min-width: 760px) {
  .hm-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hm-cta__panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c-surface-2) 82%, transparent);
  border: 1px solid var(--c-rule);
}
@media (min-width: 560px) {
  .hm-cta__panel {
    padding: var(--s-6);
  }
}
.hm-cta__label {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-accent-text);
}
.hm-cta__panel-title {
  font-size: var(--fs-lg);
  color: var(--c-ink);
}
.hm-cta__body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.hm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: auto;
  padding-top: var(--s-3);
}
.hm-cta__actions .arrow-link {
  font-size: var(--fs-sm);
}

/* ================================================== narrow-screen tweaks */
@media (max-width: 559.98px) {
  .hm-chip {
    border-radius: var(--r-md);
  }
}
@media (max-width: 420px) {
  .hm-hero__ctas .btn {
    flex: 1 1 100%;
  }
  .hm-define__card {
    grid-template-columns: minmax(0, 1fr);
  }
  .hm-note {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-3);
  }
  .hm-doc__part {
    padding-left: 38px;
  }
}

/* ================================================================= print */
@media print {
  .hm-hero {
    margin: 0;
    padding-block: 0 1rem;
    border-radius: 0;
  }
  .hm-hero__visual,
  .hm-service__art,
  .hm-row__art,
  .hm-indep__art,
  .hm-faq__art,
  .hm-cta__art,
  .hm-hero__ctas,
  .hm-cta__actions .btn {
    display: none !important;
  }
  .hm-hero__line--accent {
    color: #000;
  }
  .hm-service,
  .hm-pub,
  .hm-doc,
  .hm-note,
  .hm-step,
  .hm-principle,
  .hm-std__item,
  .hm-stat,
  .hm-cta__panel,
  .hm-define__card {
    box-shadow: none !important;
    transform: none !important;
    break-inside: avoid;
  }
  .hm-indep__lead-card,
  .hm-cta {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #999;
  }
  .hm-pub__title a::after {
    content: none;
  }
  .hm-hero__pulse {
    animation: none;
  }
  .hm-faq__item::details-content {
    content-visibility: visible;
    display: block;
  }
}
