.dw-home-services {
  padding-block: clamp(40px, 6vw, 80px);
  background: #151925;
  color: #fff;
}
.dw-home-services-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(18px, 4vw, 52px); margin-bottom: 22px; }
.dw-home-services-top h2 { margin: 0; color: #fff; font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.dw-home-services-top p { max-width: 40ch; margin: 12px 0 0; color: #d9dde8; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.dw-home-services-photo { width: 100%; height: clamp(166px, 22vw, 265px); object-fit: cover; object-position: center 55%; border-radius: 14px; }
.dw-home-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.dw-home-service { display: flex; flex-direction: column; min-width: 0; padding: clamp(15px, 2vw, 26px); border: 1px solid #dddfe8; border-radius: 13px; background: #fbfafc; color: #151925; }
.dw-home-service h3 { margin: 0 0 8px; color: #151925; font-size: clamp(1rem, 1.55vw, 1.28rem); }
.dw-home-service p { margin: 0 0 12px; color: #465164; font-size: .94rem; line-height: 1.6; }
.dw-home-service a, .dw-home-services .dw-home-services-all { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; gap: 6px; margin-top: auto; color: #872840; font-size: .9rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.dw-home-services .dw-home-services-all { margin-top: 14px; color: #fbd9e1; }
@media (max-width: 990px) { .dw-home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dw-home-services-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .dw-home-services-grid { grid-template-columns: minmax(0, 1fr); } }

.dw-home-graphs {
  --graph-ink: #151925;
  --graph-muted: #465164;
  --graph-accent: #872840;
  padding-block: clamp(36px, 6vw, 85px);
  background: linear-gradient(120deg, #edf0f7, #faf3f5 65%);
  color: var(--graph-ink);
}
.dw-graphs-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.65fr); align-items: start; gap: clamp(24px, 4vw, 60px); }
.dw-graphs-intro h2 { margin: 0; color: var(--graph-ink); font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.dw-graphs-intro p { margin-block: 16px; color: var(--graph-muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.dw-home-graphs .dw-graphs-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; color: var(--graph-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.dw-graphs-board { min-width: 0; padding: clamp(14px, 2.2vw, 28px); border: 1px solid #d9dce6; border-radius: 19px; background: #fff; box-shadow: 0 18px 50px #26365312; }
.dw-graphs-header { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.dw-graphs-header h3 { margin: 0; color: var(--graph-ink); font-size: clamp(1.05rem, 2vw, 1.45rem); }
.dw-graphs-demo { margin: 5px 0 14px; color: var(--graph-muted); font-size: .85rem; }
.dw-graphs-periods { display: flex; gap: 3px; padding: 3px; border: 1px solid #d9dce6; border-radius: 9px; background: #f5f5f8; }
.dw-graphs-periods button, .dw-graph-points button { border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--graph-muted); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; }
.dw-graphs-periods button { min-height: 36px; padding-inline: 10px; }
.dw-graphs-periods button[aria-pressed=true] { background: #151925; color: #fff; }
.dw-graph-points button[aria-pressed=true] { border-color: #be8393; background: #f7e7ed; color: #752239; }
.dw-home-graphs [hidden] { display: none !important; }
.dw-graph-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.dw-graph-metrics div { min-width: 0; padding: 9px 10px; border: 1px solid #e3dfe8; border-radius: 10px; background: #f7f5f9; }
.dw-graph-metrics dt { color: var(--graph-muted); font-size: .8rem; line-height: 1.35; }
.dw-graph-metrics dd { margin: 4px 0 0; color: var(--graph-ink); font-size: clamp(1.18rem, 2.35vw, 1.85rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dw-graph-views { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 9px; }
.dw-graph-views figure { min-width: 0; margin: 0; padding: 12px; border: 1px solid #dfe1ea; border-radius: 11px; background: #fff; }
.dw-graph-views figcaption { margin: 0 0 6px; color: var(--graph-ink); font-size: .97rem; font-weight: 750; }
.dw-graph-legend { display: flex; flex-wrap: wrap; gap: 5px 13px; color: var(--graph-muted); font-size: .76rem; }
.dw-graph-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dw-graph-legend span::before { content: ''; display: inline-block; width: 11px; height: 9px; border-radius: 2px; background: #b64767; }
.dw-graph-legend .dw-graph-legend-line::before { width: 13px; height: 3px; background: #252e57; }
.dw-graph-canvas { display: block; width: 100%; height: 158px; margin-top: 8px; }
.dw-graph-points { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 0 8px 0 31px; }
.dw-graph-points button { min-height: 33px; min-width: 0; padding: 0 1px; white-space: nowrap; font-size: clamp(.63rem, 1vw, .76rem); }
.dw-graph-selection { margin: 6px 0 0; color: var(--graph-muted); font-size: .76rem; line-height: 1.4; min-height: 2.8em; }
.dw-graph-funnel ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.dw-graph-funnel li { min-width: 0; }
.dw-graph-funnel-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: .79rem; }
.dw-graph-funnel-row strong { font-size: .88rem; font-variant-numeric: tabular-nums; }
.dw-graph-funnel meter { display: block; width: 100%; height: 8px; margin-block: 3px 0; appearance: none; background: #f1eaf0; border-radius: 5px; }
.dw-graph-funnel meter::-webkit-meter-bar { border: 0; background: #f1eaf0; border-radius: 5px; }
.dw-graph-funnel meter::-webkit-meter-optimum-value { background: #a33956; border-radius: 5px; }
.dw-graph-funnel meter::-moz-meter-bar { background: #a33956; border-radius: 5px; }
.dw-graph-rate { color: var(--graph-muted); font-size: .72rem; }
.dw-graph-table { margin-top: 9px; }
.dw-graph-table summary { width: fit-content; max-width: 100%; padding-block: 5px; color: var(--graph-accent); font-size: .82rem; font-weight: 700; cursor: pointer; }
.dw-graph-table-scroll { overflow-x: auto; }
.dw-graph-table table { width: 100%; border-collapse: collapse; color: var(--graph-ink); font-size: .78rem; }
.dw-graph-table :is(th, td) { text-align: start; padding: 4px 5px; border-bottom: 1px solid #e5e7ee; }
.dw-graph-table caption { padding: 4px 0; color: var(--graph-muted); text-align: start; caption-side: top; }

.dw-graph-extra { margin-top: 9px; align-items: start; }
.dw-graph-cumulative-values { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-block: 8px; }
.dw-graph-cumulative-values div { display: grid; gap: 2px; border-inline-start: 2px solid #a33956; padding-inline-start: 8px; }
.dw-graph-cumulative-values span { color: var(--graph-muted); font-size: .74rem; }
.dw-graph-cumulative-values strong { color: var(--graph-ink); font-size: 1.32rem; line-height: 1.15; }
.dw-graph-channels ol { display: grid; gap: 9px; margin: 10px 0 0; padding: 0; list-style: none; }
.dw-graph-channel-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; color: var(--graph-ink); font-size: .76rem; }
.dw-graph-channel-label span:first-child { font-weight: 750; }
.dw-graph-channel-label span:last-child { color: var(--graph-muted); }
.dw-graph-channels meter { display: block; width: 100%; height: 6px; margin-top: 3px; appearance: none; background: #f0edf4; border-radius: 5px; }
.dw-graph-channels meter::-webkit-meter-bar { border: 0; background: #f0edf4; border-radius: 5px; }
.dw-graph-channels meter::-webkit-meter-optimum-value { background: #b64767; border-radius: 5px; }
.dw-graph-channels meter::-moz-meter-bar { background: #b64767; border-radius: 5px; }
.dw-graph-channels .dw-graph-channel-qualified::-webkit-meter-optimum-value { background: #252e57; }
.dw-graph-channels .dw-graph-channel-qualified::-moz-meter-bar { background: #252e57; }
.dw-graph-channels th { min-width: 5.3em; }

.dw-xp-site .dw-home-start {
  padding-block: clamp(26px, 4vw, 56px);
  border-block: 1px solid #e1dce5;
  background: #f5f2f6;
  scroll-margin-top: 90px;
}
.dw-xp-site .dw-home-start > .ex-wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 16px clamp(22px, 4vw, 54px); }
.dw-xp-site .dw-home-start h2 { margin: 0; font-size: clamp(25px, 3.15vw, 44px); line-height: 1.12; }
.dw-home-start p { margin: 8px 0 0; color: #465164; }
.dw-home-start .ex-buttons { column-gap: 16px; }
#main-content .dw-home-start .dw-home-start-primary { color: #fff; background-color: #141a24; }
#main-content .dw-home-start .dw-home-start-primary:hover { color: #fff; background-color: #323c4a; }
#main-content .dw-home-start .dw-home-start-guide { display: inline-flex; min-height: 44px; align-items: center; color: #872840; font-weight: 700; }
.dw-home-start a:focus-visible, .dw-home-graphs :is(button, summary, a):focus-visible { outline: 2px solid #872840; outline-offset: 3px; }

@media (max-width: 1070px) {
  .dw-graphs-layout { grid-template-columns: minmax(0, 1fr); }
  .dw-graphs-break { display: none; }
  .dw-graphs-intro p { max-width: 50ch; }
}
@media (max-width: 800px) {
  .dw-xp-site .dw-home-start > .ex-wrap { grid-template-columns: minmax(0, 1fr); }
  .dw-xp-site .dw-home-start .ex-buttons { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .dw-graph-views { grid-template-columns: minmax(0, 1fr); }
  .dw-graph-metrics { gap: 5px; }
  .dw-graph-metrics div { padding-inline: 6px; }
}
