.dui-how-it-works {
    --hiw-navy: #08265f;
    --hiw-text: #27456f;
    --hiw-muted: #637da2;
    --hiw-blue: #0864e8;
    --hiw-sky: #17a8e6;
    --hiw-teal: #10bca7;
    --hiw-orange: #ff760b;
    --hiw-gold: #ffb71b;
    --hiw-purple: #6d4be8;
    --hiw-soft: #eef8ff;
    --hiw-line: #d9e8f5;
    --hiw-card: #ffffff;
    --hiw-shadow: 0 18px 42px rgba(11, 59, 112, .12);
    --hiw-shadow-strong: 0 24px 60px rgba(11, 59, 112, .18);
    color: var(--hiw-text);
    background: #fff;
    overflow-x: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dui-how-it-works *,
.dui-how-it-works *::before,
.dui-how-it-works *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.dui-how-it-works a {
    color: inherit;
}

.hiw-container {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
}

.hiw-hero {
    min-height: 545px;
    padding: 48px 0 44px;
    background:
        radial-gradient(circle at 72% 5%, rgba(119, 211, 250, .35), transparent 29%),
        linear-gradient(90deg, #fff 0%, #f8fcff 44%, #eaf7ff 100%);
}

.hiw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(650px, 1.14fr);
    gap: 34px;
    align-items: center;
}

.hiw-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hiw-pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: #dff7ff;
    color: #0864e8;
    font-size: 12px;
    font-weight: 900;
}

.hiw-pill-row span + span::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 999px;
    background: var(--hiw-blue);
}

.hiw-hero h1,
.hiw-section h2,
.hiw-final h2 {
    margin: 0;
    color: var(--hiw-navy);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.hiw-hero h1 {
    max-width: 600px;
    font-size: clamp(58px, 4.6vw, 76px);
    line-height: .96;
}

.hiw-lead {
    max-width: 600px;
    margin: 14px 0 0;
    color: #264b7d;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
}

.hiw-info-callout {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 12px 16px;
    border: 2px solid #8edcf3;
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    color: #0957ca;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(8, 100, 232, .1);
}

.hiw-info-callout i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hiw-blue);
    color: #fff;
    font-size: 12px;
}

.hiw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
}

.hiw-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.hiw-btn:hover,
.hiw-btn:focus-visible,
.hiw-btn-primary {
    border: 1px solid #f06a00;
    background: linear-gradient(135deg, #ff8b16, #f36d05);
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(255, 118, 11, .27);
}

.hiw-btn-secondary {
    border: 2px solid #1976ff;
    background: #fff;
    color: #0864e8 !important;
}

.hiw-campaign-line {
    margin: 16px 0 0;
    color: var(--hiw-navy);
    font-size: 18px;
    font-weight: 700;
}

.hiw-hero-graphic {
    position: relative;
    min-height: 440px;
    overflow: visible;
}

.hiw-sky-shapes span {
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 50%;
    background: rgba(205, 234, 252, .82);
}

.hiw-sky-shapes span:nth-child(1) {
    width: 250px;
    height: 95px;
    right: 60px;
    top: 20px;
}

.hiw-sky-shapes span:nth-child(2) {
    width: 360px;
    height: 130px;
    right: 168px;
    top: 116px;
}

.hiw-sky-shapes span:nth-child(3) {
    width: 190px;
    height: 78px;
    right: 0;
    top: 172px;
}

.hiw-hero-board,
.hiw-feature-domain,
.hiw-example-board,
.hiw-goal-card,
.hiw-dashboard-card,
.hiw-rules-grid article,
.hiw-benefit-grid article,
.hiw-layer-card {
    border: 1px solid #d9e8f5;
    background: #fff;
    box-shadow: var(--hiw-shadow);
}

.hiw-hero-board {
    position: absolute;
    z-index: 4;
    left: 10px;
    top: 30px;
    width: 360px;
    padding: 26px;
    border-radius: 14px;
}

.hiw-card-head,
.hiw-board-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.hiw-card-head strong,
.hiw-board-title strong {
    color: var(--hiw-navy);
    font-size: 18px;
    font-weight: 950;
}

.hiw-card-head span,
.hiw-board-title span {
    color: #52749f;
    font-size: 12px;
    font-weight: 700;
}

.hiw-board-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hiw-teal);
}

.hiw-board-title span i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hiw-teal);
}

.hiw-board-list,
.hiw-example-board ol {
    display: grid;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hiw-board-list li,
.hiw-example-board li {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 1px solid #edf3f8;
}

.hiw-board-list li:last-child,
.hiw-example-board li:last-child {
    border-bottom: 0;
}

.hiw-board-list li > span,
.hiw-example-board li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #edf5fc;
    color: var(--hiw-navy);
    font-size: 14px;
    font-weight: 950;
}

.hiw-board-list strong,
.hiw-example-board strong {
    min-width: 0;
    color: var(--hiw-navy);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hiw-board-list em,
.hiw-example-board em {
    color: #0d6cbb;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

.hiw-board-list .is-gold > span,
.hiw-example-board .is-gold > span {
    background: var(--hiw-gold);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 183, 27, .35);
}

.hiw-board-list .is-silver > span,
.hiw-example-board .is-silver > span {
    background: #a8b9cc;
    color: #fff;
}

.hiw-board-list .is-bronze > span,
.hiw-example-board .is-bronze > span {
    background: #c97b41;
    color: #fff;
}

.hiw-feature-domain {
    position: absolute;
    z-index: 6;
    right: 18px;
    top: 30px;
    width: 322px;
    padding: 24px;
    border-radius: 14px;
}

.hiw-domain-top,
.hiw-strength-row,
.hiw-domain-stats,
.hiw-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hiw-domain-top strong {
    color: var(--hiw-navy);
    font-size: 22px;
    font-weight: 950;
}

.hiw-domain-top i {
    color: #2d6ab1;
    font-size: 14px;
}

.hiw-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 10px;
}

.hiw-tag-row span,
.hiw-tag-row b,
.hiw-dashboard-head b {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.hiw-tag-row span {
    background: #c8fff2;
    color: #057e73;
}

.hiw-tag-row b,
.hiw-dashboard-head b {
    background: #fff1af;
    color: #8a5a00;
}

.hiw-feature-domain > small {
    display: block;
    color: #637da2;
    font-size: 13px;
    font-weight: 700;
}

.hiw-domain-price {
    margin-top: 12px;
    color: var(--hiw-navy);
    font-size: 24px;
    font-weight: 950;
}

.hiw-strength-row {
    margin-top: 20px;
    color: var(--hiw-navy);
    font-size: 14px;
    font-weight: 950;
}

.hiw-strength-row strong {
    font-size: 18px;
}

.hiw-progress {
    height: 15px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #d8edf8;
}

.hiw-progress i {
    display: block;
    height: 100%;
    width: 72%;
    border-radius: inherit;
    background: linear-gradient(90deg, #12bda7, #23d0b7);
}

.hiw-progress.is-88 i { width: 88%; }
.hiw-progress.is-77 i { width: 77%; }

.hiw-domain-stats {
    margin-top: 18px;
}

.hiw-domain-stats span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    min-width: 82px;
    padding: 7px 8px;
    border: 1px solid #e0edf7;
    border-radius: 11px;
    background: #fbfdff;
    color: var(--hiw-navy);
    font-size: 13px;
    font-weight: 900;
}

.hiw-domain-stats i {
    color: var(--hiw-teal);
}

.hiw-domain-stats span:nth-child(2) i { color: #ff3767; }
.hiw-domain-stats span:nth-child(3) i { color: #14a4e6; }

.hiw-crown {
    position: absolute;
    z-index: 8;
    right: 16px;
    top: -6px;
    color: var(--hiw-gold);
    font-size: 60px;
    transform: rotate(12deg);
    filter: drop-shadow(0 12px 14px rgba(137, 82, 0, .2));
}

.hiw-hero-bars {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 162px;
    bottom: 18px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 22px;
    height: 120px;
}

.hiw-hero-bars span {
    width: 34px;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(180deg, #bce7ff, #71c5f5);
    opacity: .68;
}

.hiw-hero-bars span:nth-child(1) { height: 38px; }
.hiw-hero-bars span:nth-child(2) { height: 62px; }
.hiw-hero-bars span:nth-child(3) { height: 92px; }
.hiw-hero-bars span:nth-child(4) { height: 58px; }
.hiw-hero-bars span:nth-child(5) { height: 80px; }
.hiw-hero-bars span:nth-child(6) { height: 114px; }

.hiw-hero-arrow {
    position: absolute;
    z-index: 2;
    right: 222px;
    bottom: 76px;
    width: 120px;
    height: 86px;
    border-right: 9px solid #1eb4c5;
    border-bottom: 9px solid #1eb4c5;
    border-radius: 0 0 90px 0;
    transform: rotate(-19deg);
}

.hiw-hero-arrow::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 22px solid #1eb4c5;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    transform: rotate(50deg);
}

.hiw-hand-note {
    position: absolute;
    z-index: 5;
    right: 4px;
    bottom: 18px;
    display: grid;
    gap: 4px;
    color: #073d8c;
    font-family: "Comic Sans MS", "Segoe Print", cursive;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    transform: rotate(-8deg);
}

.hiw-section {
    padding: 54px 0;
    background: #fff;
}

.hiw-what {
    padding-top: 46px;
    padding-bottom: 48px;
    background: linear-gradient(90deg, #fff 0%, #fff 46%, #f2faff 100%);
}

.hiw-two-col {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 58px;
    align-items: center;
}

.hiw-copy-block {
    max-width: 610px;
}

.hiw-copy-block h2,
.hiw-section-head h2 {
    font-size: clamp(36px, 3vw, 46px);
    line-height: 1.03;
}

.hiw-copy-block p,
.hiw-section-head p {
    margin: 12px 0 0;
    color: var(--hiw-text);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
}

.hiw-market-visual {
    position: relative;
    min-height: 226px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fcff 0%, #eaf8ff 100%);
}

.hiw-layer-card {
    position: absolute;
    z-index: 2;
    width: 240px;
    padding: 18px 20px;
    border-radius: 10px;
}

.hiw-layer-card strong,
.hiw-layer-card span {
    display: block;
}

.hiw-layer-card strong {
    color: var(--hiw-navy);
    font-size: 16px;
    font-weight: 950;
}

.hiw-layer-card span {
    margin-top: 4px;
    color: #104a97;
    font-size: 14px;
    font-weight: 900;
}

.hiw-layer-card.is-back {
    left: 88px;
    top: 16px;
    opacity: .76;
}

.hiw-layer-card.is-mid {
    left: 42px;
    top: 88px;
}

.hiw-layer-card.is-front {
    left: 8px;
    top: 146px;
    border-color: var(--hiw-gold);
    box-shadow: 0 18px 42px rgba(255, 183, 27, .18);
}

.hiw-market-bars {
    position: absolute;
    right: 18px;
    bottom: 14px;
    display: flex;
    align-items: end;
    gap: 16px;
}

.hiw-market-bars span {
    width: 36px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #2bb0ee, #6fc8f5);
}

.hiw-market-bars span:nth-child(1) { height: 26px; opacity: .5; }
.hiw-market-bars span:nth-child(2) { height: 44px; opacity: .58; }
.hiw-market-bars span:nth-child(3) { height: 58px; opacity: .66; }
.hiw-market-bars span:nth-child(4) { height: 78px; opacity: .76; }
.hiw-market-bars span:nth-child(5) { height: 108px; opacity: .86; }
.hiw-market-bars span:nth-child(6) { height: 146px; }

.hiw-market-arrow {
    position: absolute;
    right: 42px;
    top: 32px;
    width: 260px;
    height: 120px;
    border-top: 8px solid #20abc5;
    border-radius: 50%;
    transform: rotate(-14deg);
}

.hiw-market-arrow::after {
    content: "";
    position: absolute;
    right: -14px;
    top: -18px;
    border-left: 24px solid #20abc5;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    transform: rotate(35deg);
}

.hiw-market-visual p {
    position: absolute;
    z-index: 3;
    right: 226px;
    top: 20px;
    margin: 0;
    color: #0864e8;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
}

.hiw-section-head {
    max-width: 760px;
    margin: 0 0 24px;
}

.hiw-section-head:not(.is-left) {
    text-align: left;
}

.hiw-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hiw-steps article {
    position: relative;
    min-height: 224px;
    padding: 32px 28px 28px;
    border: 1px solid #dbe8f2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(8, 48, 112, .08);
}

.hiw-steps article > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--hiw-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.hiw-steps article > i {
    display: block;
    margin: 28px 0 18px 74px;
    color: var(--hiw-blue);
    font-size: 48px;
}

.hiw-steps h3 {
    margin: 0;
    color: var(--hiw-navy);
    font-size: 22px;
    line-height: 1.12;
    font-weight: 950;
}

.hiw-steps p {
    margin: 12px 0 0;
    color: #49688f;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 600;
}

.hiw-steps .is-teal > span { background: var(--hiw-teal); }
.hiw-steps .is-teal > i { color: var(--hiw-teal); }
.hiw-steps .is-orange > span { background: var(--hiw-orange); }
.hiw-steps .is-orange > i { color: var(--hiw-orange); }
.hiw-steps .is-purple > span { background: var(--hiw-purple); }
.hiw-steps .is-purple > i { color: var(--hiw-purple); }

.hiw-product-band {
    background:
        linear-gradient(90deg, #fff 0 49.8%, rgba(8, 100, 232, .16) 49.8% 50%, #fff 50%),
        linear-gradient(180deg, #f9fdff, #fff);
}

.hiw-product-grid {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    gap: 48px;
    align-items: start;
}

.hiw-beat-grid {
    display: grid;
    grid-template-columns: minmax(290px, .97fr) minmax(220px, .72fr);
    gap: 22px;
    align-items: stretch;
}

.hiw-example-board {
    padding: 26px 24px;
    border-radius: 11px;
}

.hiw-example-board li {
    min-height: 62px;
}

.hiw-example-board li > span {
    width: 36px;
    height: 36px;
}

.hiw-goal-stack {
    display: grid;
    gap: 18px;
}

.hiw-goal-card {
    min-height: 158px;
    padding: 24px;
    border-radius: 10px;
}

.hiw-goal-card > i {
    color: var(--hiw-orange);
    font-size: 31px;
}

.hiw-goal-card h3 {
    margin: 8px 0 0;
    color: var(--hiw-navy);
    font-size: 18px;
    font-weight: 950;
}

.hiw-goal-card p,
.hiw-goal-card em {
    margin: 7px 0 0;
    color: #5b7699;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.hiw-goal-card strong {
    display: block;
    margin-top: 13px;
    color: var(--hiw-navy);
    font-size: 17px;
    font-weight: 950;
}

.hiw-goal-card .hiw-progress {
    height: 13px;
    margin-top: 18px;
}

.hiw-dashboard-card {
    padding: 18px;
    border-radius: 13px;
}

.hiw-dashboard-head {
    padding: 0 4px 16px;
}

.hiw-dashboard-head > i {
    color: var(--hiw-gold);
    font-size: 39px;
}

.hiw-dashboard-head div {
    min-width: 0;
    flex: 1;
}

.hiw-dashboard-head strong,
.hiw-dashboard-head span,
.hiw-dashboard-head small {
    display: block;
}

.hiw-dashboard-head strong {
    color: var(--hiw-navy);
    font-size: 18px;
    font-weight: 950;
}

.hiw-dashboard-head span {
    margin-top: 2px;
    color: var(--hiw-navy);
    font-size: 17px;
    font-weight: 950;
}

.hiw-dashboard-head small {
    margin-top: 2px;
    color: #6d85a4;
    font-size: 12px;
    font-weight: 700;
}

.hiw-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hiw-dashboard-grid span {
    min-height: 98px;
    padding: 15px 14px;
    border: 1px solid #dfeaf4;
    border-radius: 8px;
    background: #fbfdff;
}

.hiw-dashboard-grid small,
.hiw-dashboard-grid strong,
.hiw-dashboard-grid em {
    display: block;
}

.hiw-dashboard-grid small {
    color: #5b759a;
    font-size: 12px;
    font-weight: 700;
}

.hiw-dashboard-grid strong {
    margin-top: 8px;
    color: var(--hiw-navy);
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
}

.hiw-dashboard-grid em {
    margin-top: 7px;
    color: #7790ad;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.hiw-protect-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #d9e8f5;
    border-radius: 9px;
    background: linear-gradient(90deg, #f5fbff, #fff);
}

.hiw-protect-row > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #e6f0ff;
    color: var(--hiw-blue);
    font-size: 22px;
}

.hiw-protect-row strong,
.hiw-protect-row span {
    display: block;
}

.hiw-protect-row strong {
    color: var(--hiw-navy);
    font-size: 17px;
    font-weight: 950;
}

.hiw-protect-row span {
    margin-top: 3px;
    color: #5c7495;
    font-size: 12px;
    font-weight: 600;
}

.hiw-protect-row .hiw-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
}

.hiw-rules-grid,
.hiw-benefit-grid {
    display: grid;
    gap: 18px;
}

.hiw-rules-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hiw-rules-grid article {
    min-height: 162px;
    padding: 26px 22px;
    border-radius: 10px;
}

.hiw-rules-grid i,
.hiw-benefit-grid i {
    display: block;
    width: 42px;
    height: 42px;
    color: var(--hiw-blue);
    font-size: 31px;
}

.hiw-rules-grid article:nth-child(2) i,
.hiw-rules-grid article:nth-child(4) i,
.hiw-benefit-grid article:nth-child(2) i,
.hiw-benefit-grid article:nth-child(4) i {
    color: var(--hiw-teal);
}

.hiw-rules-grid article:nth-child(5) i,
.hiw-benefit-grid article:nth-child(5) i {
    color: var(--hiw-orange);
}

.hiw-rules-grid article:nth-child(6) i,
.hiw-benefit-grid article:nth-child(6) i {
    color: var(--hiw-purple);
}

.hiw-rules-grid p {
    margin: 20px 0 0;
    color: #314d72;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 650;
}

.hiw-benefits-section {
    padding-top: 22px;
}

.hiw-benefit-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hiw-benefit-grid article {
    min-height: 170px;
    padding: 26px 22px;
    border-radius: 10px;
}

.hiw-benefit-grid h3 {
    margin: 16px 0 0;
    color: var(--hiw-navy);
    font-size: 17px;
    line-height: 1.15;
    font-weight: 950;
}

.hiw-benefit-grid p {
    margin: 9px 0 0;
    color: #536f93;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

.hiw-final {
    padding: 14px 0 34px;
    background: #fff;
}

.hiw-final-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(380px, .95fr);
    gap: 34px;
    align-items: center;
    min-height: 170px;
    padding: 28px 32px;
    border: 1px solid #cfe7fa;
    border-radius: 13px;
    background: linear-gradient(100deg, #e8f7ff 0%, #f7fcff 48%, #d9f1ff 100%);
    overflow: hidden;
}

.hiw-final h2 {
    font-size: clamp(31px, 2.7vw, 42px);
}

.hiw-final p {
    margin: 8px 0 0;
    color: #254b79;
    font-size: 17px;
    font-weight: 600;
}

.hiw-final .hiw-actions {
    margin-top: 18px;
}

.hiw-final .hiw-btn {
    min-height: 46px;
    padding-inline: 28px;
    font-size: 15px;
}

.hiw-mountain {
    position: relative;
    min-height: 145px;
}

.hiw-mountain p {
    position: absolute;
    z-index: 2;
    left: 18px;
    top: 10px;
    display: grid;
    color: #06459c;
    font-style: italic;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.hiw-mountain svg {
    position: absolute;
    right: -8px;
    bottom: -30px;
    width: min(100%, 440px);
    height: auto;
}

@media (max-width: 1180px) {
    .hiw-container {
        width: min(1080px, calc(100% - 42px));
    }

    .hiw-hero-grid,
    .hiw-two-col,
    .hiw-product-grid {
        grid-template-columns: 1fr;
    }

    .hiw-hero-graphic {
        width: min(100%, 720px);
        min-height: 440px;
        margin-inline: auto;
    }

    .hiw-market-visual {
        min-height: 260px;
    }

    .hiw-steps,
    .hiw-rules-grid,
    .hiw-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hiw-product-band {
        background: linear-gradient(180deg, #f9fdff, #fff);
    }
}

@media (max-width: 760px) {
    .hiw-container {
        width: min(620px, calc(100% - 28px));
    }

    .hiw-hero {
        min-height: 0;
        padding: 34px 0 40px;
    }

    .hiw-hero h1 {
        font-size: clamp(38px, 11vw, 48px);
    }

    .hiw-pill-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        align-items: center;
        gap: 8px;
    }

    .hiw-pill-row span {
        min-width: 0;
        padding-inline: 10px;
        font-size: 11px;
    }

    .hiw-pill-row span + span::before {
        margin-right: 8px;
    }

    .hiw-pill-row span:nth-child(3) {
        grid-column: 1 / -1;
        width: max-content;
    }

    .hiw-hero-copy,
    .hiw-info-callout,
    .hiw-info-callout span,
    .hiw-campaign-line {
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .hiw-info-callout {
        display: flex;
        width: 100%;
    }

    .hiw-info-callout i {
        flex: 0 0 22px;
    }

    .hiw-info-callout span {
        flex: 1 1 auto;
    }

    .hiw-lead {
        font-size: 18px;
    }

    .hiw-info-callout {
        align-items: flex-start;
        font-size: 14px;
    }

    .hiw-btn {
        width: 100%;
        min-height: 48px;
        padding-inline: 18px;
    }

    .hiw-hero-graphic {
        min-height: 590px;
        overflow: hidden;
    }

    .hiw-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hiw-hero-board,
    .hiw-feature-domain {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
    }

    .hiw-feature-domain {
        margin-top: 16px;
    }

    .hiw-hero-board,
    .hiw-feature-domain {
        overflow: hidden;
    }

    .hiw-domain-top strong {
        overflow-wrap: anywhere;
    }

    .hiw-domain-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .hiw-domain-stats span {
        min-width: 0;
        padding-inline: 6px;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hiw-crown {
        right: 8px;
        top: 250px;
        font-size: 44px;
    }

    .hiw-hero-bars,
    .hiw-hero-arrow,
    .hiw-hand-note,
    .hiw-sky-shapes {
        display: none;
    }

    .hiw-section {
        padding: 42px 0;
    }

    .hiw-copy-block h2,
    .hiw-section-head h2 {
        font-size: clamp(31px, 9vw, 38px);
    }

    .hiw-copy-block p,
    .hiw-section-head p {
        font-size: 16px;
    }

    .hiw-market-visual {
        min-height: 430px;
    }

    .hiw-layer-card {
        width: min(88%, 270px);
    }

    .hiw-layer-card.is-back {
        left: 36px;
    }

    .hiw-layer-card.is-mid {
        left: 18px;
    }

    .hiw-layer-card.is-front {
        left: 0;
    }

    .hiw-market-bars {
        right: 6px;
        bottom: 16px;
        gap: 8px;
    }

    .hiw-market-bars span {
        width: 22px;
    }

    .hiw-market-arrow,
    .hiw-market-visual p {
        display: none;
    }

    .hiw-steps,
    .hiw-rules-grid,
    .hiw-benefit-grid,
    .hiw-beat-grid,
    .hiw-dashboard-grid,
    .hiw-final-panel {
        grid-template-columns: 1fr;
    }

    .hiw-steps article {
        min-height: 205px;
    }

    .hiw-product-grid {
        gap: 36px;
    }

    .hiw-protect-row {
        grid-template-columns: 42px 1fr;
    }

    .hiw-protect-row .hiw-btn {
        grid-column: 1 / -1;
    }

    .hiw-final-panel {
        padding: 24px 20px 0;
    }

    .hiw-mountain {
        min-height: 150px;
    }

    .hiw-mountain p {
        position: relative;
        left: 0;
        top: 0;
    }

    .hiw-mountain svg {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 8px;
    }

}

@media (max-width: 380px) {
    .hiw-container {
        width: min(620px, calc(100% - 22px));
    }

    .hiw-board-list li,
    .hiw-example-board li {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .hiw-board-list strong,
    .hiw-example-board strong {
        font-size: 14px;
    }

    .hiw-board-list em,
    .hiw-example-board em {
        font-size: 13px;
    }

    .hiw-domain-stats {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dui-how-it-works *,
    .dui-how-it-works *::before,
    .dui-how-it-works *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Dedicated mobile layout pass. Desktop mockup proportions remain untouched. */
@media (max-width: 1024px) {
    .dui-how-it-works .hiw-container {
        width: min(100% - 40px, 920px);
    }

    .dui-how-it-works .hiw-hero-grid,
    .dui-how-it-works .hiw-two-col,
    .dui-how-it-works .hiw-product-grid,
    .dui-how-it-works .hiw-final-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .dui-how-it-works .hiw-hero-copy,
    .dui-how-it-works .hiw-copy-block,
    .dui-how-it-works .hiw-section-head {
        max-width: 760px;
    }

    .dui-how-it-works .hiw-hero-graphic,
    .dui-how-it-works .hiw-market-visual,
    .dui-how-it-works .hiw-dashboard-card,
    .dui-how-it-works .hiw-final-panel {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .dui-how-it-works {
        overflow-x: clip;
    }

    .dui-how-it-works .hiw-container {
        width: min(100% - 28px, 620px);
    }

    .dui-how-it-works .hiw-hero {
        padding: 30px 0 36px;
    }

    .dui-how-it-works .hiw-section {
        padding: 36px 0;
    }

    .dui-how-it-works .hiw-final {
        padding: 12px 0 28px;
    }

    .dui-how-it-works .hiw-pill-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dui-how-it-works .hiw-pill-row span {
        min-height: 28px;
        font-size: 11px;
    }

    .dui-how-it-works .hiw-pill-row span + span::before {
        content: none;
    }

    .dui-how-it-works .hiw-pill-row span:nth-child(3) {
        width: auto;
    }

    .dui-how-it-works .hiw-hero h1 {
        font-size: clamp(38px, 11vw, 48px);
        line-height: 1;
    }

    .dui-how-it-works .hiw-lead {
        font-size: 17px;
        line-height: 1.48;
    }

    .dui-how-it-works .hiw-info-callout {
        width: 100%;
        align-items: flex-start;
        padding: 13px 14px;
        font-size: 15px;
        line-height: 1.35;
    }

    .dui-how-it-works .hiw-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        width: 100%;
    }

    .dui-how-it-works .hiw-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        font-size: 15px;
    }

    .dui-how-it-works .hiw-hero-graphic {
        display: grid;
        gap: 14px;
        min-height: 0;
        overflow: visible;
    }

    .dui-how-it-works .hiw-hero-board,
    .dui-how-it-works .hiw-feature-domain {
        position: relative;
        inset: auto;
        width: 100%;
        padding: 18px;
        overflow: hidden;
    }

    .dui-how-it-works .hiw-feature-domain {
        margin-top: 0;
    }

    .dui-how-it-works .hiw-crown {
        top: auto;
        right: 18px;
        bottom: 210px;
        font-size: 38px;
    }

    .dui-how-it-works .hiw-hero-bars,
    .dui-how-it-works .hiw-hero-arrow,
    .dui-how-it-works .hiw-hand-note,
    .dui-how-it-works .hiw-sky-shapes {
        display: none;
    }

    .dui-how-it-works .hiw-board-list li,
    .dui-how-it-works .hiw-example-board li {
        grid-template-columns: 32px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 48px;
    }

    .dui-how-it-works .hiw-board-list strong,
    .dui-how-it-works .hiw-example-board strong,
    .dui-how-it-works .hiw-domain-top strong,
    .dui-how-it-works .hiw-layer-card strong {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    .dui-how-it-works .hiw-copy-block h2,
    .dui-how-it-works .hiw-section-head h2,
    .dui-how-it-works .hiw-final h2 {
        font-size: clamp(30px, 8.8vw, 38px);
        line-height: 1.06;
    }

    .dui-how-it-works .hiw-copy-block p,
    .dui-how-it-works .hiw-section-head p,
    .dui-how-it-works .hiw-final p {
        font-size: 16px;
        line-height: 1.48;
    }

    .dui-how-it-works .hiw-market-visual {
        min-height: 310px;
        overflow: hidden;
    }

    .dui-how-it-works .hiw-layer-card {
        width: min(88%, 280px);
        padding: 16px 18px;
    }

    .dui-how-it-works .hiw-layer-card.is-back {
        left: 26px;
        top: 8px;
    }

    .dui-how-it-works .hiw-layer-card.is-mid {
        left: 12px;
        top: 78px;
    }

    .dui-how-it-works .hiw-layer-card.is-front {
        left: 0;
        top: 146px;
    }

    .dui-how-it-works .hiw-market-bars {
        right: 0;
        bottom: 10px;
        gap: 7px;
        opacity: .78;
    }

    .dui-how-it-works .hiw-market-bars span {
        width: 20px;
    }

    .dui-how-it-works .hiw-market-arrow,
    .dui-how-it-works .hiw-market-visual p {
        display: none;
    }

    .dui-how-it-works .hiw-steps,
    .dui-how-it-works .hiw-beat-grid,
    .dui-how-it-works .hiw-rules-grid,
    .dui-how-it-works .hiw-benefit-grid,
    .dui-how-it-works .hiw-final-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .dui-how-it-works .hiw-steps article {
        min-height: 0;
        padding: 24px 22px;
    }

    .dui-how-it-works .hiw-steps article > i {
        margin: 20px 0 14px;
        font-size: 42px;
    }

    .dui-how-it-works .hiw-example-board,
    .dui-how-it-works .hiw-goal-card,
    .dui-how-it-works .hiw-dashboard-card {
        padding: 18px;
    }

    .dui-how-it-works .hiw-dashboard-head {
        align-items: flex-start;
        gap: 12px;
    }

    .dui-how-it-works .hiw-dashboard-head b {
        flex: 0 0 auto;
    }

    .dui-how-it-works .hiw-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dui-how-it-works .hiw-dashboard-grid span {
        min-height: 106px;
        padding: 13px;
    }

    .dui-how-it-works .hiw-protect-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .dui-how-it-works .hiw-protect-row .hiw-btn {
        grid-column: 1 / -1;
    }

    .dui-how-it-works .hiw-rules-grid article,
    .dui-how-it-works .hiw-benefit-grid article {
        min-height: 0;
        padding: 22px;
    }

    .dui-how-it-works .hiw-benefit-grid h3 {
        font-size: 19px;
    }

    .dui-how-it-works .hiw-benefit-grid p,
    .dui-how-it-works .hiw-rules-grid p {
        font-size: 15px;
        line-height: 1.4;
    }

    .dui-how-it-works .hiw-final-panel {
        gap: 20px;
        padding: 24px 20px 18px;
        min-height: 0;
    }

    .dui-how-it-works .hiw-mountain {
        min-height: 0;
    }

    .dui-how-it-works .hiw-mountain p,
    .dui-how-it-works .hiw-mountain svg {
        position: relative;
        inset: auto;
    }

    .dui-how-it-works .hiw-mountain svg {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 340px) {
    .dui-how-it-works .hiw-container {
        width: min(100% - 20px, 620px);
    }

    .dui-how-it-works .hiw-hero h1 {
        font-size: clamp(34px, 10.6vw, 40px);
    }

    .dui-how-it-works .hiw-hero-board,
    .dui-how-it-works .hiw-feature-domain,
    .dui-how-it-works .hiw-example-board,
    .dui-how-it-works .hiw-goal-card,
    .dui-how-it-works .hiw-dashboard-card,
    .dui-how-it-works .hiw-final-panel {
        padding: 15px;
    }

    .dui-how-it-works .hiw-board-list li,
    .dui-how-it-works .hiw-example-board li {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 7px;
    }

    .dui-how-it-works .hiw-board-list strong,
    .dui-how-it-works .hiw-example-board strong {
        font-size: 13px;
    }

    .dui-how-it-works .hiw-board-list em,
    .dui-how-it-works .hiw-example-board em {
        font-size: 12px;
    }

    .dui-how-it-works .hiw-domain-stats,
    .dui-how-it-works .hiw-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Tablet mode for the shared-header How It Works page. Desktop remains the
   approved mockup; 901-1220px keeps balanced product sections, while narrower
   tablet portrait keeps the existing stacked flow. */
@media (min-width: 768px) and (max-width: 1220px) {
    .dui-how-it-works {
        overflow-x: clip;
    }

    .dui-how-it-works .hiw-container {
        width: min(calc(100% - 32px), 1120px);
    }

    .dui-how-it-works .hiw-hero {
        min-height: 0;
        padding: 42px 0 46px;
    }

    .dui-how-it-works .hiw-hero h1 {
        font-size: clamp(48px, 5.2vw, 62px);
    }

    .dui-how-it-works .hiw-lead {
        font-size: 18px;
    }

    .dui-how-it-works .hiw-actions {
        gap: 12px;
    }

    .dui-how-it-works .hiw-btn {
        min-height: 48px;
        padding-inline: 22px;
    }

    .dui-how-it-works .hiw-steps,
    .dui-how-it-works .hiw-rules-grid,
    .dui-how-it-works .hiw-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dui-how-it-works .hiw-dashboard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 901px) and (max-width: 1220px) {
    .dui-how-it-works .hiw-hero-grid,
    .dui-how-it-works .hiw-two-col,
    .dui-how-it-works .hiw-product-grid,
    .dui-how-it-works .hiw-final-panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }

    .dui-how-it-works .hiw-hero-grid {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    }

    .dui-how-it-works .hiw-hero-graphic {
        width: 100%;
        min-height: 410px;
    }

    .dui-how-it-works .hiw-hero-board {
        width: min(58%, 350px);
        padding: 20px;
    }

    .dui-how-it-works .hiw-feature-domain {
        right: 0;
        width: min(53%, 330px);
    }

    .dui-how-it-works .hiw-market-visual,
    .dui-how-it-works .hiw-ranking-diagram {
        width: 100%;
        min-height: 330px;
    }

    .dui-how-it-works .hiw-market-visual p {
        right: 26px;
        top: 24px;
        text-align: right;
    }

    .dui-how-it-works .hiw-beat-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 22px;
    }

    .dui-how-it-works .hiw-final-panel {
        min-height: 0;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .dui-how-it-works .hiw-hero-grid,
    .dui-how-it-works .hiw-two-col,
    .dui-how-it-works .hiw-product-grid,
    .dui-how-it-works .hiw-beat-grid,
    .dui-how-it-works .hiw-final-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .dui-how-it-works .hiw-hero-graphic,
    .dui-how-it-works .hiw-market-visual,
    .dui-how-it-works .hiw-ranking-diagram {
        width: min(100%, 720px);
        margin-inline: auto;
    }
}
