.dp-fw-hero {
  background: var(--color-white);
}

.dp-fw-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.dp-fw-hero__copy {
  flex: 0 1 500px;
  max-width: 500px;
}

.dp-fw-hero__copy .eyebrow {
  margin: 0 0 16px;
}

.dp-fw-hero__title {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2px;
}

.dp-fw-hero__description {
  margin: 16px 0 0;
  color: var(--color-gray-950);
  font-size: 14px;
  line-height: 20px;
}

.dp-fw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.dp-fw-hero__visual {
  flex: 0 0 669px;
  max-width: 669px;
  margin: 0;
}

.dp-fw-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.dp-fw-myths {
  padding: 40px 0;
  background: #fefeff;
}

.dp-fw-myths__title {
  margin: 0 0 40px;
  color: var(--color-gray-950);
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1.2px;
  text-align: center;
}

.dp-fw-myths__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
  max-width: 1024px;
  padding: 0;
}

.dp-fw-myth-card {
  display: flex;
  flex-direction: column;
  min-height: 371px;
  padding: 28px 26px 26px;
  border-radius: 8px;
  background: #f6f8fc;
}

.dp-fw-myth-card__title {
  margin: 0;
  color: #1b242c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.dp-fw-myth-card__text {
  margin: 14px 0 28px;
  color: #1b242c;
  font-size: 15px;
  line-height: 1.45;
}

.dp-fw-myth-chart {
  position: relative;
  margin-top: auto;
  min-height: 192px;
  padding: 16px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.5));
}

.dp-fw-myth-chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

.dp-fw-myth-chart__grid {
  fill: none;
  stroke: #e5eaf0;
  stroke-dasharray: 2 3;
  stroke-width: 1;
}

.dp-fw-myth-chart__line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}

.dp-fw-myth-chart__line--purple,
.dp-fw-myth-chart__point--purple {
  stroke: #a78bfa;
}

.dp-fw-myth-chart__line--blue,
.dp-fw-myth-chart__point--blue {
  stroke: #60a5fa;
}

.dp-fw-myth-chart__line--blue-strong,
.dp-fw-myth-chart__point--blue-strong {
  stroke: #2563eb;
}

.dp-fw-myth-chart__line--orange,
.dp-fw-myth-chart__point--orange {
  stroke: #ea580c;
}

.dp-fw-myth-chart__line--red,
.dp-fw-myth-chart__point--red {
  stroke: #ef4444;
}

.dp-fw-myth-chart__line--green,
.dp-fw-myth-chart__point--green {
  stroke: #52af7b;
}

.dp-fw-myth-chart__point {
  fill: #fff;
  stroke-width: 2;
}

.dp-fw-myth-chart__legend {
  position: absolute;
  right: 20px;
  bottom: 48px;
  display: grid;
  gap: 8px;
  min-width: 90px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  color: #3a424a;
  font-size: 12px;
  line-height: 16px;
}

.dp-fw-myth-chart__legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dp-fw-myth-chart__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.dp-fw-myth-chart__dot--purple {
  background: #8b5cf6;
}

.dp-fw-myth-chart__dot--blue {
  background: #60a5fa;
}

.dp-fw-myth-chart__dot--blue-strong {
  background: #2563eb;
}

.dp-fw-myth-chart__dot--orange {
  background: #ea580c;
}

.dp-fw-myth-chart__dot--red {
  background: #dc2626;
}

.dp-fw-myth-chart__dot--green {
  background: #52af7b;
}

.dp-fw-myths__quote {
  margin: 40px 0 0;
  background: linear-gradient(-2.13deg, #5b53e6 13%, #60a5fa 104%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
}

.dp-fw-adoption {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 408px) minmax(0, 1fr);
  gap: 16px;
  min-height: 220px;
  overflow: hidden;
  padding: 32px 24px 24px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 48% -4%, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0) 22%),
    radial-gradient(circle at 96% 8%, rgba(233, 213, 255, 0.44), rgba(233, 213, 255, 0) 22%),
    #f5f7f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 0;
}

.dp-fw-adoption-card__copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 164px;
  padding: 12px;
}

.dp-fw-adoption-card__title {
  margin: 0;
  color: #2563eb;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

.dp-fw-adoption-card__subtitle {
  margin: 8px 0 0;
  color: #555f6d;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.dp-fw-adoption-card__metric {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}

.dp-fw-adoption-card__number {
  color: #272e35;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.8px;
}

.dp-fw-adoption-card__unit {
  color: #3a424a;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.dp-fw-adoption-card__visual {
  align-self: center;
  justify-self: stretch;
  margin: -12px -42px -24px -88px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.dp-fw-adoption-card__visual picture,
.dp-fw-adoption-card__visual img {
  display: block;
}

.dp-fw-adoption-card__visual img {
  width: 100%;
  height: auto;
}

.dp-fw-pillars {
  padding: 100px 0 40px;
  background: var(--color-white);
}

.dp-fw-pillars__header {
  max-width: 500px;
  margin-bottom: 40px;
}

.dp-fw-pillars__title {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1.2px;
}

.dp-fw-pillars__description {
  margin: 12px 0 0;
  color: #3a424a;
  font-size: 16px;
  line-height: 24px;
}

/*
 * Issue 7.4.2 (Viki): Pillars rebuilt as real HTML cards (Figma 3925:1110).
 */
.dp-fw-pillars__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dp-fw-pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-white);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 32px 24px 24px;
  box-shadow: none;
}

.dp-fw-pillar-card__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-fw-pillar-card__title {
  margin: 0;
  color: #2563eb;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

.dp-fw-pillar-card__subtitle {
  margin: 0;
  color: #555f6d;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.dp-fw-pillar-card__value {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}

.dp-fw-pillar-card__number {
  color: #272e35;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.8px;
}

.dp-fw-pillar-card__unit {
  color: #3a424a;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.dp-fw-roles {
  padding: 100px 0;
  background: #fefeff;
}

.dp-fw-roles__title {
  margin: 0 0 40px;
  color: var(--color-gray-950);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.88px;
}

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

.dp-fw-role-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.dp-fw-role-card__icon {
  width: 32px;
  height: 32px;
}

.dp-fw-role-card h3 {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

.dp-fw-role-card p {
  margin: 0;
  flex: 1;
  color: #555f6d;
  font-size: 16px;
  line-height: 24px;
}

.dp-fw-role-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6e65fd;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.dp-fw-role-card__link::after {
  content: '→';
}

.dp-fw-role-card__link:hover {
  text-decoration: underline;
}

.dp-fw-compare {
  padding: 32px 0 100px;
  background: var(--color-white);
}

.dp-fw-compare__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  text-align: center;
}

.dp-fw-compare__title {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1.2px;
}

.dp-fw-compare__description {
  margin: 0;
  color: var(--color-gray-950);
  font-size: 14px;
  line-height: 20px;
}

.dp-fw-compare__description a {
  color: #6e65fd;
  font-weight: 600;
  text-decoration: none;
}

.dp-fw-compare__description a:hover {
  text-decoration: underline;
}

.dp-fw-compare__visual {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding-inline: var(--page-gutter);
}

.dp-fw-compare__visual img {
  display: block;
  width: min(100%, 1182px);
  height: auto;
}

@media (max-width: 1100px) {
  .dp-fw-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-fw-hero__copy,
  .dp-fw-hero__visual {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .dp-fw-adoption {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dp-fw-adoption-card__copy {
    min-height: 0;
    gap: 40px;
  }

  .dp-fw-adoption-card__visual {
    justify-self: center;
    width: min(860px, 140vw);
    max-width: none;
    margin: 0 -24px -24px;
  }

  .dp-fw-roles__grid {
    grid-template-columns: 1fr;
  }

  .dp-fw-myths__cards {
    grid-template-columns: 1fr;
  }

  .dp-fw-myth-card {
    min-height: 0;
  }

  .dp-fw-pillars__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dp-fw-hero__title,
  .dp-fw-myths__title,
  .dp-fw-pillars__title,
  .dp-fw-roles__title,
  .dp-fw-compare__title {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.2;
  }

  .dp-fw-myths__quote {
    font-size: 20px;
    line-height: 1.4;
  }

  .dp-fw-hero__copy,
  .dp-fw-myths,
  .dp-fw-adoption-card__copy,
  .dp-fw-pillars__header,
  .dp-fw-compare__header {
    text-align: left;
  }

  .dp-fw-adoption {
    padding: 28px 20px 20px;
  }

  .dp-fw-adoption-card__copy {
    padding: 0;
  }

  .dp-fw-adoption-card__visual {
    width: min(720px, 156vw);
    margin: 0 -20px -20px;
  }

  .dp-fw-pillars__cards {
    grid-template-columns: 1fr;
  }
}
