/* ==========================================================================
   黄果短剧 · 官方片单
   午夜蓝 / 电光蓝 / 淡紫白，海报墙式布局
   ========================================================================== */

:root {
  --hd-bg: #f5f3ff;
  --hd-ink: #0b1026;
  --hd-ink-2: #11183a;
  --hd-blue: #6f8cff;
  --hd-blue-2: #8fa6ff;
  --hd-yellow: #ffc24b;
  --hd-paper: #ffffff;
  --hd-muted: #6c7392;
  --hd-muted-2: #9ba1be;
  --hd-line: #ddd9ef;
  --hd-line-dark: rgba(255, 255, 255, 0.12);
  --hd-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --hd-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hd-bg);
  color: var(--hd-ink);
  font-family: var(--hd-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--hd-blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--hd-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.hd-wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.hd-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--hd-yellow);
  color: var(--hd-ink);
  transform: translateY(-160%);
}

.hd-skip:focus {
  transform: translateY(0);
}

/* ============================ 页头 ============================ */
.hd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 38, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hd-head-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.hd-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hd-brand img {
  height: 34px;
  width: auto;
}

.hd-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.hd-nav a {
  padding: 5px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}

.hd-nav a:hover {
  color: #fff;
}

.hd-head-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 6px;
  background: var(--hd-yellow);
  color: var(--hd-ink);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hd-head-cta:hover {
  transform: translateY(-1px);
  background: #ffd574;
}

.hd-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
}

.hd-menu-btn i {
  position: relative;
  display: block;
  width: 17px;
  height: 1.5px;
  background: #fff;
}

.hd-menu-btn i::before,
.hd-menu-btn i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.22s ease;
}

.hd-menu-btn i::before {
  top: -6px;
}

.hd-menu-btn i::after {
  top: 6px;
}

.hd-menu-btn[aria-expanded="true"] i {
  background: transparent;
}

.hd-menu-btn[aria-expanded="true"] i::before {
  transform: translateY(6px) rotate(45deg);
}

.hd-menu-btn[aria-expanded="true"] i::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hd-mobile {
  display: none;
  position: fixed;
  inset: 68px 0 auto;
  z-index: 95;
  padding: 10px 24px 22px;
  background: var(--hd-ink);
  border-bottom: 1px solid var(--hd-line-dark);
}

.hd-mobile.is-open {
  display: block;
}

.hd-mobile a {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--hd-line-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hd-mobile .hd-head-cta {
  margin-top: 16px;
}

/* ============================ 首屏 ============================ */
.hd-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 54px;
  text-align: center;
  background:
    radial-gradient(circle at 82% 4%, rgba(111, 140, 255, 0.18), transparent 38%),
    radial-gradient(circle at 14% 84%, rgba(255, 194, 75, 0.12), transparent 32%),
    var(--hd-bg);
}

.hd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 16, 38, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 38%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 62% at 50% 38%, #000, transparent 80%);
}

.hd-hero > .hd-wrap {
  position: relative;
  z-index: 1;
}

.hd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--hd-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hd-blue);
}

.hd-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--hd-blue);
}

.hd-hero h1 {
  max-width: 860px;
  margin: 0 auto 16px;
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hd-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--hd-blue);
}

.hd-hero p.hd-lead {
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--hd-muted);
}

.hd-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 19px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.hd-btn svg {
  width: 14px;
  height: 14px;
}

.hd-btn--blue {
  background: var(--hd-blue);
  border-color: var(--hd-blue);
  color: #06102d;
}

.hd-btn--blue:hover {
  transform: translateY(-2px);
  background: var(--hd-blue-2);
  border-color: var(--hd-blue-2);
}

.hd-btn--line {
  border-color: var(--hd-line);
  background: #fff;
  color: var(--hd-ink);
}

.hd-btn--line:hover {
  transform: translateY(-2px);
  border-color: var(--hd-blue);
  color: var(--hd-blue);
}

.hd-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hd-stats li {
  padding: 0 22px;
  border-left: 1px solid var(--hd-line);
  font-size: 9px;
  color: var(--hd-muted);
}

.hd-stats li:first-child {
  border-left: 0;
}

.hd-stats b {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  color: var(--hd-ink);
}

/* ============================ 海报墙 ============================ */
.hd-wall-sec {
  background: var(--hd-ink);
  color: #fff;
  padding: 44px 0 48px;
}

.hd-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.hd-sec-head h2 {
  margin: 0;
  font-size: clamp(25px, 3.2vw, 37px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.hd-sec-head h2 em {
  font-style: normal;
  color: var(--hd-yellow);
}

.hd-sec-head p {
  max-width: 270px;
  margin: 0 0 3px;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.hd-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 235px;
  gap: 9px;
}

.hd-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #1a2146;
}

.hd-tile--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.hd-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hd-tile:hover img {
  transform: scale(1.035);
}

.hd-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%, rgba(6, 10, 26, 0.9));
  pointer-events: none;
}

.hd-tile-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 12px;
}

.hd-tile-body span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--hd-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  color: var(--hd-blue-2);
}

.hd-tile-body h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.35;
}

.hd-tile--featured .hd-tile-body {
  padding: 17px;
}

.hd-tile--featured .hd-tile-body h3 {
  font-size: 22px;
}

.hd-tile--featured .hd-tile-body p {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.hd-tile--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(145deg, #202a5a, #11183a);
  border: 1px solid rgba(111, 140, 255, 0.3);
}

.hd-tile--cta::after {
  display: none;
}

.hd-tile--cta b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.3;
}

.hd-tile--cta p {
  margin: 0 0 12px;
  font-size: 9.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.hd-tile--cta a {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 4px;
  background: var(--hd-yellow);
  color: var(--hd-ink);
  font-size: 10px;
  font-weight: 800;
}

.hd-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--hd-line-dark);
  margin-top: 18px;
}

.hd-genres span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--hd-mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.48);
}

/* ============================ 下载 ============================ */
.hd-download {
  background: var(--hd-ink-2);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.hd-download h2 {
  margin: 0 0 9px;
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.hd-download p {
  max-width: 580px;
  margin: 0 auto 18px;
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.hd-download .hd-actions {
  margin-bottom: 24px;
}

.hd-download .hd-btn--line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hd-download .hd-btn--line:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hd-device-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hd-device-item {
  padding: 11px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hd-device-item:first-child {
  border-left: 0;
}

.hd-device-item b {
  display: block;
  font-size: 10.5px;
}

.hd-device-item span {
  display: block;
  margin-top: 2px;
  font-family: var(--hd-mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================ FAQ ============================ */
.hd-faq {
  padding: 54px 0;
  background: var(--hd-bg);
}

.hd-faq-inner {
  max-width: 880px;
  margin-inline: auto;
}

.hd-faq-head {
  margin-bottom: 20px;
  text-align: center;
}

.hd-faq-head h2 {
  margin: 0 0 7px;
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.hd-faq-head h2 em {
  font-style: normal;
  color: var(--hd-blue);
}

.hd-faq-head p {
  margin: 0;
  font-size: 11px;
  color: var(--hd-muted);
}

.hd-faq-list {
  border-top: 1px solid var(--hd-line);
}

.hd-q {
  border-bottom: 1px solid var(--hd-line);
}

.hd-q-btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 13px 2px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
}

.hd-q-btn:hover {
  color: var(--hd-blue);
}

.hd-q-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--hd-line);
  border-radius: 50%;
  background: #fff;
}

.hd-q-icon::before,
.hd-q-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1.2px;
  background: var(--hd-blue);
  transform: translate(-50%, -50%);
}

.hd-q-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hd-q.is-open .hd-q-icon {
  background: var(--hd-ink);
  border-color: var(--hd-ink);
}

.hd-q.is-open .hd-q-icon::before,
.hd-q.is-open .hd-q-icon::after {
  background: var(--hd-yellow);
}

.hd-q.is-open .hd-q-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.hd-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.hd-q.is-open .hd-a {
  grid-template-rows: 1fr;
}

.hd-a-inner {
  overflow: hidden;
}

.hd-a-inner p {
  margin: 0;
  padding: 0 30px 13px 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--hd-muted);
}

/* ============================ 页脚 ============================ */
.hd-footer {
  background: var(--hd-ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 28px 0 20px;
}

.hd-footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
}

.hd-footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hd-footer-brand img {
  height: 28px;
  width: auto;
}

.hd-footer p {
  max-width: 32em;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
}

.hd-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hd-footer-links a {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}

.hd-footer-links a:hover {
  color: var(--hd-yellow);
}

.hd-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--hd-mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.26);
}

/* ============================ 动效 ============================ */
.hd-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hd-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================ 补充板块 ============================ */
.hd-section {
  padding: 50px 0;
}

.hd-section--light {
  background: var(--hd-bg);
}

.hd-section--dark {
  background: var(--hd-ink);
  color: #fff;
}

.hd-section--tint {
  background: #ece9fa;
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
}

.hd-section--light .hd-sec-head p,
.hd-section--tint .hd-sec-head p {
  color: var(--hd-muted);
}

.hd-section--dark .hd-sec-head p {
  color: rgba(255, 255, 255, 0.45);
}

.hd-section--dark .hd-sec-head h2 em {
  color: var(--hd-yellow);
}

/* 本周在更 */
.hd-updates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hd-update-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--hd-line);
  border-radius: 7px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hd-update-card:hover {
  transform: translateY(-2px);
  border-color: var(--hd-blue);
}

.hd-update-card img {
  width: 76px;
  height: 101px;
  object-fit: cover;
  border-radius: 4px;
}

.hd-update-card h3 {
  margin: 0 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
}

.hd-update-card p {
  margin: 0;
  font-family: var(--hd-mono);
  font-size: 8px;
  line-height: 1.6;
  color: var(--hd-muted);
}

.hd-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 8.5px;
  color: var(--hd-blue);
}

.hd-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hd-blue);
}

/* 按题材找 */
.hd-genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hd-genre-card {
  padding: 17px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hd-genre-card:hover {
  border-color: rgba(143, 166, 255, 0.65);
  background: rgba(111, 140, 255, 0.08);
}

.hd-genre-card b {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.2;
}

.hd-genre-card p {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* 怎么挑 */
.hd-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hd-guide-item {
  padding: 18px;
  border: 1px solid var(--hd-line);
  border-radius: 7px;
  background: #fff;
}

.hd-guide-item span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--hd-mono);
  font-size: 9px;
  color: var(--hd-blue);
}

.hd-guide-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.hd-guide-item p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--hd-muted);
}

/* 关于 */
.hd-about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hd-about-copy {
  max-width: 560px;
}

.hd-about-copy h2 {
  margin: 0 0 7px;
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.hd-about-copy h2 em {
  font-style: normal;
  color: var(--hd-blue);
}

.hd-about-copy p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--hd-muted);
}

.hd-about-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
}

.hd-about-stats div {
  min-width: 88px;
  padding: 10px 16px;
  border-left: 1px solid var(--hd-line);
}

.hd-about-stats div:first-child {
  border-left: 0;
}

.hd-about-stats b {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.hd-about-stats span {
  font-size: 8px;
  color: var(--hd-muted);
}

/* ============================ 响应式 ============================ */
@media (max-width: 1000px) {
  .hd-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .hd-tile--featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .hd-updates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hd-nav {
    display: none;
  }

  .hd-menu-btn {
    display: inline-flex;
  }

  .hd-head-inner {
    gap: 12px;
  }

  .hd-brand {
    margin-right: auto;
  }

  .hd-hero {
    padding: 40px 0 40px;
  }

  .hd-hero h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .hd-wall-sec {
    padding: 34px 0 38px;
  }

  .hd-sec-head {
    display: block;
    margin-bottom: 18px;
  }

  .hd-sec-head p {
    margin-top: 4px;
    max-width: none;
  }

  .hd-wall {
    grid-auto-rows: 210px;
  }

  .hd-section {
    padding: 38px 0;
  }

  .hd-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hd-guide {
    grid-template-columns: 1fr;
  }

  .hd-about {
    display: block;
  }

  .hd-about-stats {
    margin-top: 16px;
  }

  .hd-download {
    padding: 38px 0;
  }

  .hd-faq {
    padding: 40px 0;
  }

  .hd-footer-main {
    display: block;
  }

  .hd-footer p {
    margin-top: 7px;
  }

  .hd-footer-links {
    margin-top: 9px;
  }
}

@media (max-width: 560px) {
  .hd-wrap {
    width: calc(100% - 30px);
  }

  .hd-head-inner {
    height: 62px;
  }

  .hd-brand img {
    height: 30px;
  }

  .hd-head-cta {
    padding: 7px 11px;
    font-size: 10px;
  }

  .hd-hero {
    padding: 34px 0;
  }

  .hd-hero h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .hd-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hd-stats li {
    padding: 0 8px;
    font-size: 8px;
  }

  .hd-stats b {
    font-size: 18px;
  }

  .hd-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
    gap: 7px;
  }

  .hd-tile--featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .hd-tile--featured .hd-tile-body h3 {
    font-size: 19px;
  }

  .hd-device-row {
    grid-template-columns: 1fr 1fr;
  }

  .hd-device-item:nth-child(3) {
    border-left: 0;
  }

  .hd-device-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hd-footer-bottom {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hd-reveal {
    opacity: 1;
    transform: none;
  }
}
