.ydm-de-home {
  --ydm-res-ink: #17202a;
  --ydm-res-muted: #5d6975;
  --ydm-res-line: #dce3e8;
  --ydm-res-soft: #f3f6f8;
  --ydm-res-panel: #ffffff;
  --ydm-res-accent: #b92d22;
  --ydm-res-accent-dark: #8e2018;
  --ydm-res-focus: #0b67c2;
  --ydm-res-shadow: 0 24px 70px rgba(24, 37, 48, 0.1);
  color: var(--ydm-res-ink);
  background: #fff;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ydm-de-home *,
.ydm-de-home *::before,
.ydm-de-home *::after {
  box-sizing: border-box;
}

.ydm-de-home img {
  display: block;
  max-width: 100%;
}

.ydm-de-home a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.ydm-de-home a:focus-visible {
  outline: 3px solid var(--ydm-res-focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.ydm-de-home .ydm-res-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ydm-de-home .ydm-res-section {
  padding: 104px 0;
}

.ydm-de-home .ydm-res-eyebrow {
  margin: 0 0 16px;
  color: var(--ydm-res-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ydm-de-home .ydm-res-heading {
  max-width: 790px;
  margin-bottom: 48px;
}

.ydm-de-home .ydm-res-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 56px;
  max-width: none;
  align-items: end;
}

.ydm-de-home .ydm-res-heading h2,
.ydm-de-home .ydm-res-downloads h2,
.ydm-de-home .ydm-res-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ydm-de-home .ydm-res-heading > p:last-child,
.ydm-de-home .ydm-res-heading--split > p {
  margin: 18px 0 0;
  color: var(--ydm-res-muted);
  font-size: 1.04rem;
}

.ydm-de-home .ydm-res-heading--split > p {
  margin: 0;
}

.ydm-de-home .ydm-res-hero {
  position: relative;
  min-height: min(820px, 88vh);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #eef2f4;
}

.ydm-de-home .ydm-res-hero__media,
.ydm-de-home .ydm-res-hero__media::after {
  position: absolute;
  inset: 0;
}

.ydm-de-home .ydm-res-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ydm-de-home .ydm-res-hero__media::after {
  content: "";
  background: linear-gradient(90deg, rgba(247, 249, 250, 0.98) 0%, rgba(247, 249, 250, 0.92) 34%, rgba(247, 249, 250, 0.3) 62%, rgba(247, 249, 250, 0.06) 100%);
}

.ydm-de-home .ydm-res-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding-block: 112px 88px;
}

.ydm-de-home .ydm-res-hero__content {
  width: min(650px, 58%);
}

.ydm-de-home .ydm-res-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 6.8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.ydm-de-home .ydm-res-hero__lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #48545f;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.ydm-de-home .ydm-res-hero__nav ul,
.ydm-de-home .ydm-res-link-list,
.ydm-de-home .ydm-res-topic-grid,
.ydm-de-home .ydm-res-resource-list,
.ydm-de-home .ydm-res-task-grid,
.ydm-de-home .ydm-res-planned-grid,
.ydm-de-home .ydm-res-downloads nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ydm-de-home .ydm-res-hero__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.ydm-de-home .ydm-res-hero__nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(23, 32, 42, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ydm-de-home .ydm-res-hero__nav a:hover {
  border-color: var(--ydm-res-accent);
  background: #fff;
  transform: translateY(-2px);
}

.ydm-de-home .ydm-res-topics {
  background: #fff;
}

.ydm-de-home .ydm-res-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ydm-de-home .ydm-res-topic-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--ydm-res-line);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f8fafb);
  box-shadow: 0 14px 44px rgba(26, 39, 49, 0.05);
}

.ydm-de-home .ydm-res-topic-card__index {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--ydm-res-accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.ydm-de-home .ydm-res-topic-card h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ydm-de-home .ydm-res-topic-card > p {
  margin: 18px 0 30px;
  color: var(--ydm-res-muted);
}

.ydm-de-home .ydm-res-link-list {
  display: grid;
  gap: 9px;
}

.ydm-de-home .ydm-res-link-list a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--ydm-res-line);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.ydm-de-home .ydm-res-link-list a:hover {
  color: var(--ydm-res-accent);
  padding-left: 6px;
}

.ydm-de-home .ydm-res-featured {
  background: var(--ydm-res-soft);
}

.ydm-de-home .ydm-res-featured__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}

.ydm-de-home .ydm-res-featured__media {
  position: sticky;
  top: 30px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--ydm-res-shadow);
}

.ydm-de-home .ydm-res-featured__media img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.ydm-de-home .ydm-res-resource-list {
  display: grid;
  border-top: 1px solid #cfd7dc;
}

.ydm-de-home .ydm-res-resource-list li {
  border-bottom: 1px solid #cfd7dc;
}

.ydm-de-home .ydm-res-resource-list a {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 25px 6px;
  text-decoration: none;
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.ydm-de-home .ydm-res-resource-list a:hover {
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.ydm-de-home .ydm-res-resource-list__type {
  grid-row: 1 / span 2;
  color: var(--ydm-res-accent);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ydm-de-home .ydm-res-resource-list strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.ydm-de-home .ydm-res-resource-list a > span:last-child {
  color: var(--ydm-res-muted);
  font-size: 0.93rem;
}

.ydm-de-home .ydm-res-task-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ydm-res-line);
  border-left: 1px solid var(--ydm-res-line);
}

.ydm-de-home .ydm-res-task-grid li {
  min-width: 0;
  border-right: 1px solid var(--ydm-res-line);
  border-bottom: 1px solid var(--ydm-res-line);
}

.ydm-de-home .ydm-res-task-grid a {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.ydm-de-home .ydm-res-task-grid a:hover {
  color: #fff;
  background: var(--ydm-res-accent);
}

.ydm-de-home .ydm-res-task-grid span {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ydm-de-home .ydm-res-task-grid strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.ydm-de-home .ydm-res-planned {
  background: #111a22;
  color: #fff;
}

.ydm-de-home .ydm-res-planned .ydm-res-heading--split > p {
  color: #b8c1c8;
}

.ydm-de-home .ydm-res-planned-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ydm-de-home .ydm-res-planned-grid li {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.ydm-de-home .ydm-res-planned-grid span {
  color: #e56b61;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ydm-de-home .ydm-res-planned-grid h3 {
  max-width: 24ch;
  margin: 42px 0 14px;
  font-size: 1.45rem;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.ydm-de-home .ydm-res-planned-grid p {
  margin: 0;
  color: #b8c1c8;
}

.ydm-de-home .ydm-res-downloads {
  padding-block: 80px;
  background: #fff;
}

.ydm-de-home .ydm-res-downloads__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: start;
  padding: 54px;
  border: 1px solid var(--ydm-res-line);
  border-radius: 24px;
  background: #fafcfd;
}

.ydm-de-home .ydm-res-downloads__copy p {
  margin: 0;
  color: var(--ydm-res-muted);
}

.ydm-de-home .ydm-res-downloads nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ydm-de-home .ydm-res-downloads nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid var(--ydm-res-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.ydm-de-home .ydm-res-downloads nav a:hover {
  color: var(--ydm-res-accent);
  border-color: var(--ydm-res-accent);
}

.ydm-de-home .ydm-res-cta {
  padding: 94px 0;
  background: #e8edf0;
}

.ydm-de-home .ydm-res-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}

.ydm-de-home .ydm-res-cta p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ydm-res-muted);
  font-size: 1.04rem;
}

.ydm-de-home .ydm-res-cta__actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.ydm-de-home .ydm-res-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid var(--ydm-res-accent);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ydm-de-home .ydm-res-button:hover {
  transform: translateY(-2px);
}

.ydm-de-home .ydm-res-button--primary {
  color: #fff;
  background: var(--ydm-res-accent);
}

.ydm-de-home .ydm-res-button--primary:hover {
  background: var(--ydm-res-accent-dark);
  border-color: var(--ydm-res-accent-dark);
}

.ydm-de-home .ydm-res-button--secondary {
  color: var(--ydm-res-accent);
  background: transparent;
}

.ydm-de-home .ydm-res-button--secondary:hover {
  color: #fff;
  background: var(--ydm-res-accent);
}

@media (max-width: 1040px) {
  .ydm-de-home .ydm-res-topic-grid {
    grid-template-columns: 1fr;
  }

  .ydm-de-home .ydm-res-topic-card {
    min-height: auto;
  }

  .ydm-de-home .ydm-res-topic-card__index {
    margin-bottom: 30px;
  }

  .ydm-de-home .ydm-res-featured__layout,
  .ydm-de-home .ydm-res-heading--split,
  .ydm-de-home .ydm-res-downloads__panel,
  .ydm-de-home .ydm-res-cta__layout {
    grid-template-columns: 1fr;
  }

  .ydm-de-home .ydm-res-featured__media {
    position: static;
  }

  .ydm-de-home .ydm-res-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ydm-de-home .ydm-res-cta__actions {
    width: min(100%, 420px);
  }
}

@media (max-width: 760px) {
  .ydm-de-home .ydm-res-shell {
    width: min(100% - 28px, 1180px);
  }

  .ydm-de-home .ydm-res-section {
    padding: 72px 0;
  }

  .ydm-de-home .ydm-res-hero {
    min-height: 760px;
  }

  .ydm-de-home .ydm-res-hero__media img {
    object-position: 68% center;
  }

  .ydm-de-home .ydm-res-hero__media::after {
    background: linear-gradient(180deg, rgba(247, 249, 250, 0.98) 0%, rgba(247, 249, 250, 0.9) 52%, rgba(247, 249, 250, 0.2) 100%);
  }

  .ydm-de-home .ydm-res-hero__layout {
    align-items: start;
    padding-block: 84px 52px;
  }

  .ydm-de-home .ydm-res-hero__content {
    width: 100%;
  }

  .ydm-de-home .ydm-res-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .ydm-de-home .ydm-res-hero__nav ul {
    display: grid;
  }

  .ydm-de-home .ydm-res-hero__nav a {
    justify-content: center;
  }

  .ydm-de-home .ydm-res-topic-card,
  .ydm-de-home .ydm-res-planned-grid li {
    padding: 26px;
  }

  .ydm-de-home .ydm-res-resource-list a {
    grid-template-columns: 1fr;
  }

  .ydm-de-home .ydm-res-resource-list__type {
    grid-row: auto;
  }

  .ydm-de-home .ydm-res-task-grid,
  .ydm-de-home .ydm-res-planned-grid {
    grid-template-columns: 1fr;
  }

  .ydm-de-home .ydm-res-task-grid a {
    min-height: 190px;
  }

  .ydm-de-home .ydm-res-downloads__panel {
    gap: 34px;
    padding: 30px 24px;
  }

  .ydm-de-home .ydm-res-cta {
    padding: 72px 0;
  }

  .ydm-de-home .ydm-res-cta__actions {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ydm-de-home *,
  .ydm-de-home *::before,
  .ydm-de-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
