.digital-human-page {
  --dh-accent: #5755f5;
  --dh-accent-dark: #4442d5;
  --dh-ink: #17191f;
  --dh-muted: #626978;
  --dh-line: #e7e9f1;
  --dh-soft: #f7f8fc;
  color: var(--dh-ink);
  background: #fff;
}

.digital-human-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 25, 31, 0.06);
  backdrop-filter: blur(16px);
}

.digital-human-page .header-inner {
  min-height: 68px;
}

.digital-human-page .menu-toggle span {
  font-size: 13px;
  font-weight: 700;
}

.digital-human-page h1,
.digital-human-page h2,
.digital-human-page h3,
.digital-human-page p {
  margin-top: 0;
}

.digital-human-page h1,
.digital-human-page h2,
.digital-human-page h3 {
  color: var(--dh-ink);
  letter-spacing: -0.035em;
}

.dh-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #f0f2ff;
}

.dh-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.dh-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.dh-hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dh-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.dh-hero-copy {
  width: min(47%, 510px);
}

.dh-eyebrow {
  margin-bottom: 14px;
  color: var(--dh-accent);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.dh-hero-copy h1,
.dh-hero-copy h2 {
  max-width: 500px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.14;
}

.dh-hero-copy > p:not(.dh-eyebrow) {
  max-width: 470px;
  margin-bottom: 30px;
  color: #4f5665;
  font-size: 17px;
  line-height: 1.85;
}

.dh-primary-button {
  background: var(--dh-accent);
  border-color: var(--dh-accent);
  box-shadow: 0 12px 30px rgba(87, 85, 245, 0.2);
}

.dh-primary-button:hover,
.dh-primary-button:focus-visible {
  background: var(--dh-accent-dark);
  border-color: var(--dh-accent-dark);
}

.dh-carousel-dots {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.dh-carousel-dots button {
  width: 28px;
  height: 5px;
  padding: 0;
  background: rgba(23, 25, 31, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.dh-carousel-dots button.is-active {
  width: 46px;
  background: var(--dh-accent);
}

.dh-section {
  padding: 112px 0;
}

.dh-soft-section,
.dh-editor-section {
  background: var(--dh-soft);
}

.dh-section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.dh-section-heading h2,
.dh-editor-copy h2,
.dh-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.24;
}

.dh-section-heading p,
.dh-editor-copy > p:not(.dh-eyebrow),
.dh-cta > .container > p:not(.dh-eyebrow) {
  margin-bottom: 0;
  color: var(--dh-muted);
  font-size: 16px;
  line-height: 1.8;
}

.dh-tabs,
.dh-template-filters {
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  background: #f0f1f5;
  border-radius: 14px;
  scrollbar-width: none;
}

.dh-tabs {
  margin-bottom: 34px;
}

.dh-tabs::-webkit-scrollbar,
.dh-template-filters::-webkit-scrollbar,
.dh-template-gallery::-webkit-scrollbar {
  display: none;
}

.dh-tabs button,
.dh-template-filters button {
  flex: 1 0 auto;
  min-width: 108px;
  padding: 13px 18px;
  color: #555d6c;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dh-tabs button.is-active,
.dh-template-filters button.is-active {
  color: var(--dh-ink);
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 24, 40, 0.08);
}

.dh-tabs button:hover,
.dh-tabs button:focus-visible,
.dh-template-filters button:hover,
.dh-template-filters button:focus-visible {
  color: var(--dh-ink);
}

.dh-scene-panel {
  display: grid;
  height: 466px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dh-scene-panel[data-scene-layout='portrait'] {
  grid-template-columns: repeat(4, minmax(0, 262px));
  grid-template-rows: minmax(0, 1fr);
  justify-content: space-between;
}

.dh-scene-panel[data-scene-panel='policy'] { --scene-tag-bg: rgba(29, 103, 214, 0.86); }
.dh-scene-panel[data-scene-panel='marketing'] { --scene-tag-bg: rgba(220, 73, 88, 0.88); }
.dh-scene-panel[data-scene-panel='commerce'] { --scene-tag-bg: rgba(111, 70, 199, 0.88); }
.dh-scene-panel[data-scene-panel='knowledge'] { --scene-tag-bg: rgba(16, 130, 139, 0.88); }
.dh-scene-panel[data-scene-panel='travel'] { --scene-tag-bg: rgba(190, 105, 35, 0.88); }

.dh-scene-panel[hidden] {
  display: none;
}

.dh-scene-card,
.dh-feature-card,
.dh-template-card,
.dh-editor-features article,
.dh-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dh-line);
  border-radius: 18px;
}

.dh-scene-card {
  position: relative;
  min-height: 0;
  background: #dfe4f4;
  border: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dh-scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(25, 29, 48, 0.1);
}

.dh-scene-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.12), transparent 22%, transparent 62%, rgba(10, 15, 30, 0.2));
  content: '';
}

.dh-scene-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--scene-position, center);
}

.dh-scene-tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  background: var(--scene-tag-bg, rgba(31, 35, 55, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.dh-scene-panel[data-scene-layout='portrait'] .dh-scene-card div {
  padding: 86px 18px 18px;
}

.dh-scene-panel[data-scene-layout='portrait'] .dh-scene-card h3 {
  margin-bottom: 4px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dh-scene-panel[data-scene-layout='portrait'] .dh-scene-card p {
  font-size: 13px;
  line-height: 1.5;
}

.dh-scene-card div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 52px 22px 20px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 30, 0.8));
}

.dh-scene-card h3,
.dh-feature-card h3,
.dh-template-card h3,
.dh-editor-features h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.dh-scene-card h3,
.dh-template-card h3 {
  color: #fff;
}

.dh-scene-card p,
.dh-feature-card p,
.dh-template-card p,
.dh-editor-features p,
.dh-service-card > div > p:not(.dh-eyebrow) {
  margin-bottom: 0;
  color: var(--dh-muted);
  font-size: 14px;
  line-height: 1.75;
}

.dh-scene-card p,
.dh-template-card p {
  color: rgba(255, 255, 255, 0.78);
}

.dh-clone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dh-feature-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.dh-feature-card div {
  padding: 26px 26px 30px;
}

.dh-feature-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--dh-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dh-avatar-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: 28px;
  padding: 28px;
  background: #f7f8ff;
  border: 1px solid #ebeafd;
  border-radius: 24px;
}

.dh-avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dh-avatar-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #edf1fb;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dh-avatar-card:hover,
.dh-avatar-card:focus-visible {
  transform: translateY(-2px);
}

.dh-avatar-card.is-active {
  border-color: var(--dh-accent);
  box-shadow: 0 12px 28px rgba(87, 85, 245, 0.18);
}

.dh-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.dh-avatar-card::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent, rgba(9, 12, 28, 0.68));
  content: '';
  pointer-events: none;
}

.dh-avatar-card-hook {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  left: 13px;
  right: 13px;
  color: #fff;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -0.04em;
  text-align: left;
  text-shadow: 0 2px 10px rgba(12, 15, 30, 0.75);
}

.dh-avatar-card span {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 13px;
  right: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.dh-avatar-preview {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dh-line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(25, 29, 48, 0.08);
}

.dh-avatar-preview-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #edf1fb;
}

.dh-avatar-preview-media::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 29, 0.74));
  content: '';
  pointer-events: none;
}

.dh-avatar-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.dh-avatar-preview-kicker,
.dh-avatar-preview-media > strong {
  position: absolute;
  z-index: 1;
  left: 22px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(7, 12, 27, 0.75);
}

.dh-avatar-preview-kicker {
  top: 18px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 750;
  background: rgba(13, 18, 41, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.dh-avatar-preview-media > strong {
  right: 22px;
  bottom: 25px;
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.dh-avatar-preview-info {
  padding: 22px;
}

.dh-avatar-badge {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--dh-accent);
  font-size: 12px;
  font-weight: 800;
  background: #efefff;
  border-radius: 999px;
}

.dh-avatar-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.dh-avatar-title h3 {
  margin: 0;
  font-size: 22px;
}

.dh-avatar-title span {
  color: var(--dh-accent);
  font-size: 14px;
  font-weight: 750;
}

.dh-avatar-preview-info > p:not(.dh-avatar-badge) {
  min-height: 50px;
  margin-bottom: 18px;
  color: var(--dh-muted);
  font-size: 14px;
  line-height: 1.75;
}

.dh-avatar-cta {
  width: 100%;
  min-height: 46px;
  padding: 9px 20px;
  color: #fff;
  background: var(--dh-accent);
  border-color: var(--dh-accent);
  box-shadow: none;
}

.dh-avatar-cta:hover,
.dh-avatar-cta:focus-visible {
  background: var(--dh-accent-dark);
  border-color: var(--dh-accent-dark);
}

.dh-voice-library {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dh-line);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(25, 29, 48, 0.07);
}

.dh-voice-row {
  display: grid;
  grid-template-columns: 56px 190px minmax(120px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--dh-line);
}

.dh-voice-row:last-child {
  border-bottom: 0;
}

.dh-voice-row img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.dh-voice-row h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.dh-voice-row p {
  margin-bottom: 0;
  color: var(--dh-muted);
  font-size: 13px;
}

.dh-voice-row progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  appearance: none;
}

.dh-voice-row progress::-webkit-progress-bar {
  background: #eceef5;
}

.dh-voice-row progress::-webkit-progress-value {
  background: var(--dh-accent);
}

.dh-voice-row progress::-moz-progress-bar {
  background: var(--dh-accent);
}

.dh-play-button,
.dh-voice-row > a {
  min-width: 68px;
  padding: 9px 14px;
  color: var(--dh-accent);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  background: #f0f0ff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.dh-voice-row > a {
  color: #fff;
  background: var(--dh-accent);
}

.dh-template-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.dh-template-filters {
  width: fit-content;
  max-width: 100%;
}

.dh-template-filters button {
  min-width: auto;
  padding-inline: 17px;
}

.dh-template-gallery {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.dh-template-gallery::-webkit-scrollbar {
  display: none;
}

.dh-template-card {
  position: relative;
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 0;
  aspect-ratio: 9 / 16;
  background: #dfe4f4;
  border: 0;
}

.dh-template-card[hidden] {
  display: none;
}

.dh-template-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh-template-hook {
  position: absolute;
  top: 18px;
  right: 13px;
  left: 13px;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 850;
  line-height: 1.27;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 9px rgba(10, 15, 30, 0.72);
}

.dh-template-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 64px 17px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 30, 0.84));
}

.dh-template-card h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.dh-template-card p {
  margin: 0;
  font-size: 13px;
}

.dh-template-card--news .dh-template-news-caption {
  padding: 100px 10px 18px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 47, 101, 0.48) 44%, rgba(4, 28, 75, 0.9) 100%);
}

.dh-template-card--news .dh-template-news-caption h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 1px #0d4687, 0 4px 10px rgba(0, 18, 57, 0.94);
}

.dh-template-card--news .dh-template-news-caption em {
  color: #ffe394;
  font-style: normal;
  text-shadow: 0 2px 1px #92512b, 0 4px 9px rgba(28, 27, 40, 0.94);
}

.dh-template-card--news .dh-template-news-caption p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.dh-template-card--showcase {
  --template-accent: #ffe394;
}

.dh-template-card--showcase[data-template-category="agri"] {
  --template-accent: #dcf39a;
}

.dh-template-card--showcase[data-template-category="knowledge"] {
  --template-accent: #e6d4ff;
}

.dh-template-card--showcase[data-template-category="marketing"] {
  --template-accent: #ffd49b;
}

.dh-template-card--showcase[data-template-category="enterprise"] {
  --template-accent: #cbe4ff;
}

.dh-template-card--showcase .dh-template-news-caption {
  padding: 100px 10px 18px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 30, 0.45) 46%, rgba(7, 17, 32, 0.92) 100%);
}

.dh-template-card--showcase .dh-template-news-caption h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.84);
}

.dh-template-card--showcase .dh-template-news-caption em {
  color: var(--template-accent);
  font-style: normal;
}

.dh-template-card--showcase .dh-template-news-caption p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.dh-editor-intro {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.2fr);
  gap: 58px;
  align-items: center;
}

.dh-editor-copy > p:not(.dh-eyebrow) {
  margin-bottom: 26px;
}

.dh-editor-copy ul,
.dh-service-card ul {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.dh-editor-copy li,
.dh-service-card li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 22px;
  color: #484f5d;
  line-height: 1.65;
}

.dh-editor-copy li::before,
.dh-service-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--dh-accent);
  border-radius: 50%;
  content: '';
}

.dh-editor-intro figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--dh-line);
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(25, 29, 48, 0.12);
}

.dh-editor-intro figure img {
  display: block;
  width: 100%;
  height: auto;
}

.dh-editor-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.dh-editor-features article {
  padding: 22px 20px;
}

.dh-editor-features span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 28px;
  margin-bottom: 17px;
  color: var(--dh-accent);
  font-size: 12px;
  font-weight: 800;
  background: #efefff;
  border-radius: 8px;
}

.dh-editor-features h3 {
  font-size: 17px;
}

.dh-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dh-service-card img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.dh-service-card > div {
  padding: 30px 32px 34px;
}

.dh-service-card h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.dh-service-card > div > p:not(.dh-eyebrow) {
  margin-bottom: 22px;
  font-size: 15px;
}

.dh-service-card ul {
  margin-bottom: 0;
}

.dh-service-card-dark {
  color: #fff;
  background: #1c1d28;
  border-color: #1c1d28;
}

.dh-service-card-dark h3 {
  color: #fff;
}

.dh-service-card-dark > div > p:not(.dh-eyebrow),
.dh-service-card-dark li {
  color: rgba(255, 255, 255, 0.72);
}

.dh-cta {
  padding: 96px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(122, 157, 255, 0.6), transparent 38%),
    radial-gradient(circle at 80% 100%, rgba(208, 116, 255, 0.48), transparent 40%),
    linear-gradient(135deg, #4c4ae4, #7067f3 55%, #7654d9);
}

.dh-cta .dh-eyebrow,
.dh-cta h2 {
  color: #fff;
}

.dh-cta h2 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.dh-cta > .container > p:not(.dh-eyebrow) {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.78);
}

.dh-cta .container > div {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dh-cta-primary {
  color: var(--dh-accent);
  background: #fff;
  border-color: #fff;
}

.dh-cta-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.dh-compliance {
  margin: 0;
  padding: 22px 0;
  color: var(--dh-muted);
  font-size: 12px;
  border-top: 1px solid var(--dh-line);
}

@media (max-width: 1024px) {
  .dh-hero-copy {
    width: 52%;
  }

  .dh-scene-panel {
    height: 600px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .dh-scene-panel[data-scene-layout='portrait'] {
    grid-template-columns: repeat(4, calc((100% - 16px) / 2));
    grid-template-rows: minmax(0, 1fr);
    justify-content: start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .dh-scene-panel[data-scene-layout='portrait'] .dh-scene-card {
    scroll-snap-align: start;
  }

  .dh-template-card {
    flex-basis: calc((100% - 32px) / 3);
    scroll-snap-align: start;
  }

  .dh-template-gallery {
    justify-content: flex-start;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .dh-avatar-showcase {
    grid-template-columns: 1fr;
  }

  .dh-avatar-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  }

  .dh-editor-intro {
    grid-template-columns: 1fr;
  }

  .dh-editor-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dh-voice-row {
    grid-template-columns: 52px 165px minmax(100px, 1fr) auto;
  }

  .dh-voice-row > a {
    display: none;
  }
}

@media (max-width: 760px) {
  .dh-section {
    padding: 76px 0;
  }

  .dh-hero {
    height: 580px;
  }

  .dh-hero-slide > img {
    object-position: 66% center;
  }

  .dh-hero-slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(246, 247, 255, 0.98) 0%, rgba(246, 247, 255, 0.94) 42%, rgba(246, 247, 255, 0.08) 78%);
    content: '';
  }

  .dh-hero-content {
    align-items: flex-start;
    padding-top: 64px;
  }

  .dh-hero-copy {
    width: 100%;
  }

  .dh-hero-copy h1,
  .dh-hero-copy h2 {
    max-width: 620px;
    font-size: clamp(36px, 10vw, 48px);
  }

  .dh-hero-copy > p:not(.dh-eyebrow) {
    max-width: 600px;
    font-size: 15px;
  }

  .dh-section-heading {
    margin-bottom: 38px;
  }

  .dh-section-heading h2,
  .dh-editor-copy h2,
  .dh-cta h2 {
    font-size: 30px;
  }

  .dh-clone-grid,
  .dh-service-grid {
    grid-template-columns: 1fr;
  }

  .dh-avatar-showcase {
    grid-template-columns: 1fr;
  }

  .dh-avatar-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  }

  .dh-template-toolbar {
    justify-content: center;
  }

  .dh-template-filters {
    width: 100%;
  }

  .dh-template-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .dh-editor-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh-voice-row {
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    padding: 16px;
  }

  .dh-voice-row progress {
    grid-column: 2 / 4;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .dh-hero {
    height: 560px;
  }

  .dh-hero-content {
    padding-top: 46px;
  }

  .dh-editor-features {
    grid-template-columns: 1fr;
  }

  .dh-template-toolbar {
    display: block;
  }

  .dh-template-filters {
    width: 100%;
  }

  .dh-scene-panel {
    height: 420px;
    grid-template-columns: repeat(6, 280px);
    grid-template-rows: minmax(0, 1fr);
    justify-content: start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .dh-scene-panel[data-scene-layout='portrait'] {
    grid-template-columns: repeat(4, 236px);
  }

  .dh-scene-card {
    scroll-snap-align: start;
  }

  .dh-avatar-showcase {
    padding: 16px;
    border-radius: 18px;
  }

  .dh-avatar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dh-avatar-preview {
    display: block;
  }

  .dh-avatar-preview-media {
    aspect-ratio: 4 / 5;
  }

  .dh-cta .container > div {
    flex-direction: column;
  }

  .dh-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh-hero-slide,
  .dh-scene-card,
  .dh-template-gallery {
    scroll-behavior: auto;
    transition: none;
  }
}
