/* Inline overrides (3% reduction) — win on specificity (.htc .htc__x) */
.htc .htc__heading     { font-size: calc(var(--fs-h2, clamp(24px,3.4vw,40px)) * 0.97) !important; }
.htc .htc__group-title { font-size: calc(var(--fs-h3, clamp(20px,2.6vw,30px)) * 0.97) !important; }
.htc .htc__card-device { font-size: calc(var(--fs-h4, clamp(16px,1.6vw,18px)) * 0.97) !important; }
.htc .htc__subtitle    { font-size: clamp(0.922rem, 1.067vw, 1.019rem) !important; }
.htc .htc__group-note  { font-size: 0.922rem !important; }
.htc .htc__card-row dt { font-size: 0.679rem !important; }
.htc .htc__card-row dd { font-size: 0.892rem !important; }
.htc .htc__card-link   { font-size: 0.892rem !important; }
.htc .htc__card-platform { font-size: 21.3px !important; }
.htc .htc__group-title { margin-bottom: clamp(20px, 2.4vw, 32px) !important; padding-top: clamp(4px, 0.8vw, 10px) !important; }
.htc .htc__group { margin-bottom: clamp(28px, 3.5vw, 44px) !important; }
.htc.htc { border-top: 0 !important; }

.htc {
  --htc-dark:   #222222;
  --htc-orange: #e41d56;
  --htc-border: #e5e7eb;
  --htc-light:  #f5f5f7;
  --htc-muted:  #475569;
  --htc-white:  #ffffff;

  background: var(--htc-white);
  padding-block: clamp(20px, 2.5vw, 36px) clamp(40px, 5vw, 72px);
}
.htc__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Header */
.htc__header {
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 720px;
}
.htc__heading {
  font-family: var(--smyk-font, inherit);
  font-size: calc(var(--fs-h2, clamp(24px, 3.4vw, 40px)) * 0.97) !important;
  font-weight: 800;
  color: var(--htc-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.htc__subtitle {
  font-size: clamp(0.922rem, 1.067vw, 1.019rem);
  color: var(--htc-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

/* Group */
.htc__group { margin-bottom: clamp(28px, 3.5vw, 44px); }
.htc__group:last-child { margin-bottom: 0; }
.htc__group-title {
  font-family: var(--smyk-font, inherit);
  font-size: calc(var(--fs-h3, clamp(20px, 2.6vw, 30px)) * 0.97) !important;
  font-weight: 800;
  color: var(--htc-dark);
  letter-spacing: -0.01em;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  padding-top: clamp(4px, 0.8vw, 10px);
}
.htc__group:first-of-type .htc__group-title { padding-top: 0; }
.htc__group-note {
  font-size: 0.922rem;
  color: var(--htc-muted);
  line-height: 1.55;
  margin: -10px 0 clamp(20px, 2.4vw, 32px);
  max-width: 56ch;
}

/* Card grid — single-column stack of full-width gray rows */
.htc__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card — gray row, no border */
.htc__card {
  background: var(--htc-light);
  border: 0;
  border-radius: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  column-gap: clamp(16px, 2vw, 22px);
  row-gap: 12px;
  transition: background-color .2s;
}
.htc__card:hover { background: #efeff1; }

.htc__card-platform {
  font-size: 21.3px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--htc-white);
  color: var(--htc-dark);
  border-radius: 14px;
  grid-row: 1 / span 1;
  grid-column: 1;
}

.htc__card-device {
  font-family: var(--smyk-font, inherit);
  font-size: calc(var(--fs-h4, clamp(16px, 1.6vw, 18px)) * 0.97) !important;
  font-weight: 800;
  color: var(--htc-dark);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
}

/* Meta — label/value rows on a second grid row spanning icon + content cols */
.htc__card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 0;
  grid-column: 2 / -1;
  grid-row: 2;
}
.htc__card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.htc__card-row dt {
  font-size: 0.679rem;
  font-weight: 700;
  color: var(--htc-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.htc__card-row dd {
  margin: 0;
  font-size: 0.892rem;
  color: var(--htc-dark);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.005em;
  word-break: break-word;
}

/* Link — sits on the right of the row on desktop */
.htc__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--smyk-font, inherit);
  font-size: 0.892rem;
  font-weight: 700;
  color: #222222;
  text-decoration: none;
  grid-column: 3;
  grid-row: 1;
  white-space: nowrap;
  transition: gap .2s, opacity .2s;
}
.htc__card-link:hover { gap: 12px; opacity: 0.85; }
.htc__card-link--static {
  color: #222222;
}

@media (max-width: 640px) {
  .htc__card {
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
  }
  .htc__card-meta {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
  }
  .htc__card-link {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 4px;
  }
}

.htc__empty {
  text-align: center;
  color: var(--htc-muted);
  padding: 40px 0;
}

/* Real brand/platform icons in place of emoji (masked SVG, tinted). */
.htc__card-ic {
  width: 26px; height: 26px; display: block;
  background: var(--htc-dark, #1d1d1f);
  -webkit-mask: var(--htc-ic) center / contain no-repeat;
          mask: var(--htc-ic) center / contain no-repeat;
}
