@font-face {
    font-family: "Dosis";
    src: url("../fonts/Dosis-Bold.ttf") format("truetype");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

.dm-home {
    --dm-ink: #21152d;
    --dm-muted: #655d6d;
    --dm-purple: #613380;
    --dm-purple-dark: #2d163d;
    --dm-purple-deep: #21102f;
    --dm-purple-soft: #f1eaf5;
    --dm-mint: #dff4ec;
    --dm-green: #176b59;
    --dm-yellow: #f4c95d;
    --dm-white: #ffffff;
    --dm-border: #e5dee9;
    --dm-surface: #f8f6fa;
    margin-top: -50px;
    overflow: hidden;
    color: var(--dm-ink);
    background: var(--dm-white);
    font-family: "Dosis", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

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

.dm-home a {
    color: inherit;
}

.dm-home a:focus,
.dm-home button:focus,
.dm-home input:focus {
    outline: 3px solid var(--dm-yellow);
    outline-offset: 3px;
}

.dm-home a:hover,
.dm-home a:focus {
    text-decoration: none;
}

.dm-shell {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin: 0 auto;
}

.dm-skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--dm-purple-deep) !important;
    background: var(--dm-yellow);
    font-weight: 700;
    transform: translateY(-180%);
}

.dm-skip-link:focus {
    transform: translateY(0);
}

.dm-home-header {
    position: relative;
    z-index: 20;
    color: var(--dm-white);
    background: var(--dm-purple-deep);
}

.dm-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.dm-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dm-white) !important;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1;
}

.dm-brand img {
    object-fit: contain;
}

.dm-primary-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.dm-primary-nav a,
.dm-header-login {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: #f4edf7 !important;
    font-size: 15px;
    font-weight: 600;
}

.dm-primary-nav a:hover,
.dm-primary-nav a:focus,
.dm-header-login:hover,
.dm-header-login:focus {
    background: rgba(255, 255, 255, .1);
}

.dm-header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

.dm-language-button {
    min-width: 60px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 8px;
    color: #f4edf7;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
}

.dm-language-button:hover,
.dm-language.open .dm-language-button {
    background: rgba(255, 255, 255, .1);
}

.dm-language .dropdown-menu {
    max-height: 360px;
    overflow-y: auto;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(25, 10, 35, .22);
}

.dm-language .dropdown-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    color: var(--dm-ink);
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.dm-header-join {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 17px;
    border-radius: 9px;
    color: var(--dm-purple-deep) !important;
    background: var(--dm-yellow);
    font-size: 15px;
    font-weight: 800;
}

.dm-header-join:hover,
.dm-header-join:focus {
    background: #ffdb7c;
}

.dm-header-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dm-hero {
    position: relative;
    isolation: isolate;
    padding: 76px 0 70px;
    color: var(--dm-white);
    background:
        radial-gradient(circle at 80% 20%, rgba(179, 111, 207, .28), transparent 30%),
        radial-gradient(circle at 8% 90%, rgba(55, 172, 144, .18), transparent 28%),
        linear-gradient(135deg, var(--dm-purple-deep), #4d2564 72%, #62387b);
}

.dm-hero::before,
.dm-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.dm-hero::before {
    width: 440px;
    height: 440px;
    top: -250px;
    right: -70px;
}

.dm-hero::after {
    width: 310px;
    height: 310px;
    bottom: -220px;
    left: 8%;
}

.dm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 70px;
    align-items: center;
}

.dm-eyebrow {
    margin: 0 0 13px;
    color: var(--dm-purple);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dm-eyebrow-light {
    color: #ddc8e9;
}

.dm-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--dm-white);
    font-size: 56px;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 700;
    letter-spacing: -1.4px;
    line-height: 1.05;
}

.dm-hero-subtitle {
    max-width: 720px;
    margin: 25px 0 0;
    color: #eadff0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.65;
}

.dm-search {
    max-width: 750px;
    margin-top: 34px;
}

.dm-search > label {
    display: block;
    margin-bottom: 9px;
    color: var(--dm-white);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.dm-search-control {
    min-height: 62px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 6px 7px 6px 20px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 14px;
    background: var(--dm-white);
    box-shadow: 0 14px 40px rgba(20, 5, 30, .2);
}

.dm-search-control > i {
    color: var(--dm-purple);
    font-size: 19px;
}

.dm-search-control input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 5px;
    border: 0;
    color: var(--dm-ink);
    background: transparent;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
}

.dm-search-control input::placeholder {
    color: #77717b;
    opacity: 1;
}

.dm-search-control input:focus {
    outline: 0;
}

.dm-search-control button {
    min-width: 108px;
    min-height: 48px;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    color: var(--dm-white);
    background: var(--dm-purple);
    font-weight: 800;
}

.dm-search-control button:hover {
    background: #4c2664;
}

.dm-search-help {
    margin: 9px 0 0;
    color: #d8c9e0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
}

.dm-search .typeahead {
    width: calc(100% - 130px);
    max-height: 310px;
    overflow-y: auto;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(22, 7, 31, .25);
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.dm-search .typeahead > li > a {
    padding: 10px 16px;
    color: var(--dm-ink);
    white-space: normal;
}

.dm-search .typeahead > .active > a,
.dm-search .typeahead > .active > a:hover,
.dm-search .typeahead > .active > a:focus {
    color: var(--dm-white);
    background: var(--dm-purple);
}

.dm-hero-actions,
.dm-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.dm-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 23px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.dm-button:hover {
    transform: translateY(-2px);
}

.dm-button-primary {
    color: var(--dm-purple-deep) !important;
    background: var(--dm-yellow);
}

.dm-button-primary:hover,
.dm-button-primary:focus {
    background: #ffda7a;
}

.dm-button-ghost {
    color: var(--dm-white) !important;
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .05);
}

.dm-button-ghost:hover,
.dm-button-ghost:focus {
    border-color: var(--dm-white);
    background: rgba(255, 255, 255, .12);
}

.dm-button-secondary {
    color: var(--dm-white) !important;
    background: var(--dm-purple);
}

.dm-button-secondary:hover,
.dm-button-secondary:focus {
    background: #4d2864;
}

.dm-button-outline {
    color: var(--dm-purple-deep) !important;
    border-color: #b9a9c2;
    background: var(--dm-white);
}

.dm-button-outline:hover,
.dm-button-outline:focus {
    border-color: var(--dm-purple);
    background: var(--dm-purple-soft);
}

.dm-network-card {
    position: relative;
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    color: var(--dm-ink);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 28px 70px rgba(18, 5, 27, .3);
}

.dm-network-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    color: var(--dm-green);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.dm-network-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ca887;
    box-shadow: 0 0 0 5px rgba(44, 168, 135, .12);
}

.dm-network-card h2 {
    margin: 0;
    color: var(--dm-ink);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
}

.dm-network-card > p {
    margin: 10px 0 20px;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

.dm-network-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-network-card li {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px;
    border-radius: 10px;
    background: var(--dm-surface);
    font-size: 14px;
    font-weight: 700;
}

.dm-network-card li:last-child {
    grid-column: 1 / -1;
}

.dm-network-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dm-network-patient { color: #8c244d; background: #fae5ed; }
.dm-network-family { color: #176b59; background: var(--dm-mint); }
.dm-network-association { color: #755315; background: #fff1cc; }
.dm-network-clinical { color: #2b5684; background: #e1edf8; }
.dm-network-research { color: var(--dm-purple); background: var(--dm-purple-soft); }

.dm-proof {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--dm-border);
    background: var(--dm-white);
}

.dm-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dm-proof-grid > div {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    text-align: center;
}

.dm-proof-grid > div + div {
    border-left: 1px solid var(--dm-border);
}

.dm-proof-grid strong {
    color: var(--dm-purple);
    font-size: 31px;
    line-height: 1;
}

.dm-proof-grid span {
    margin-top: 8px;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
}

.dm-section {
    padding: 92px 0;
}

.dm-section-heading {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.dm-section-heading h2,
.dm-hub-copy h2,
.dm-trust h2,
.dm-final-cta h2 {
    margin: 0;
    color: var(--dm-ink);
    font-size: 40px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -.6px;
    line-height: 1.14;
}

.dm-section-heading > p:last-child,
.dm-hub-copy > p,
.dm-final-cta > .dm-shell > p {
    margin: 15px 0 0;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.dm-goal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dm-goal-card {
    min-height: 295px;
    display: flex;
    flex-direction: column;
    padding: 31px;
    border: 1px solid var(--dm-border);
    border-radius: 18px;
    background: var(--dm-white);
    box-shadow: 0 10px 35px rgba(42, 21, 54, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.dm-goal-card:hover,
.dm-goal-card:focus {
    transform: translateY(-5px);
    border-color: #c8b2d4;
    box-shadow: 0 20px 50px rgba(42, 21, 54, .12);
}

.dm-card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--dm-purple);
    background: var(--dm-purple-soft);
    font-size: 21px;
}

.dm-goal-card:nth-child(2) .dm-card-icon { color: var(--dm-green); background: var(--dm-mint); }
.dm-goal-card:nth-child(3) .dm-card-icon { color: #79540e; background: #fff1ca; }

.dm-goal-card h3 {
    margin: 23px 0 10px;
    color: var(--dm-ink);
    font-size: 25px;
    font-weight: 700;
}

.dm-goal-card p {
    margin: 0 0 22px;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.dm-text-link {
    margin-top: auto;
    color: var(--dm-purple);
    font-size: 15px;
    font-weight: 800;
}

.dm-text-link i {
    margin-left: 5px;
    transition: transform .18s ease;
}

.dm-goal-card:hover .dm-text-link i {
    transform: translateX(4px);
}

.dm-hub-section {
    background: var(--dm-surface);
}

.dm-hub-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr);
    gap: 76px;
    align-items: center;
}

.dm-hub-copy > p {
    max-width: 500px;
}

.dm-check-list {
    display: grid;
    gap: 12px;
    margin: 27px 0 31px;
    padding: 0;
    list-style: none;
}

.dm-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #463d4d;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
}

.dm-check-list i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--dm-green);
    background: var(--dm-mint);
    font-size: 11px;
}

.dm-hub-preview {
    overflow: hidden;
    border: 1px solid var(--dm-border);
    border-radius: 22px;
    background: var(--dm-white);
    box-shadow: 0 25px 65px rgba(43, 22, 57, .13);
}

.dm-hub-preview > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--dm-border);
    background: linear-gradient(135deg, #fff, #f5eff8);
}

.dm-hub-kicker {
    color: var(--dm-purple);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dm-hub-preview h3 {
    margin: 3px 0 0;
    color: var(--dm-ink);
    font-size: 27px;
    font-weight: 700;
}

.dm-hub-activity {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--dm-green);
    background: var(--dm-mint);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.dm-hub-activity i {
    font-size: 7px;
}

.dm-hub-modules {
    padding: 10px 16px;
}

.dm-hub-modules a {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 10px;
    border-radius: 12px;
}

.dm-hub-modules a + a {
    border-top: 1px solid #eee9f1;
    border-radius: 0;
}

.dm-hub-modules a:hover,
.dm-hub-modules a:focus {
    background: var(--dm-surface);
}

.dm-module-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--dm-purple);
    background: var(--dm-purple-soft);
}

.dm-hub-modules a:nth-child(2) .dm-module-icon { color: #8c244d; background: #fae5ed; }
.dm-hub-modules a:nth-child(3) .dm-module-icon { color: var(--dm-green); background: var(--dm-mint); }
.dm-hub-modules a:nth-child(4) .dm-module-icon { color: #2b5684; background: #e1edf8; }
.dm-hub-modules a:nth-child(5) .dm-module-icon { color: #79540e; background: #fff1ca; }

.dm-hub-modules strong,
.dm-hub-modules small {
    display: block;
}

.dm-hub-modules strong {
    color: var(--dm-ink);
    font-size: 17px;
}

.dm-hub-modules small {
    margin-top: 2px;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
}

.dm-hub-modules > a > i {
    color: #9a8fa0;
}

.dm-hub-preview > footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 15px 26px;
    border-top: 1px solid var(--dm-border);
    color: var(--dm-muted);
    background: #fcfbfd;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
}

.dm-hub-preview > footer i {
    margin-right: 5px;
    color: var(--dm-purple);
}

.dm-roles {
    background: var(--dm-white);
}

.dm-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dm-role-grid > a {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--dm-border);
    border-radius: 16px;
    background: var(--dm-white);
    transition: transform .18s ease, border-color .18s ease;
}

.dm-role-grid > a:hover,
.dm-role-grid > a:focus {
    transform: translateY(-4px);
    border-color: #bfa7cd;
}

.dm-role-grid > a > i {
    color: var(--dm-purple);
    font-size: 27px;
}

.dm-role-grid > a:nth-child(2) > i { color: #79540e; }
.dm-role-grid > a:nth-child(3) > i { color: #2b5684; }
.dm-role-grid > a:nth-child(4) > i { color: var(--dm-green); }

.dm-role-grid h3 {
    margin: 19px 0 8px;
    color: var(--dm-ink);
    font-size: 22px;
    font-weight: 700;
}

.dm-role-grid p {
    margin: 0 0 18px;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.dm-role-grid span {
    margin-top: auto;
    color: var(--dm-purple);
    font-size: 14px;
    font-weight: 800;
}

.dm-steps {
    padding-top: 34px;
    background: var(--dm-white);
}

.dm-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.dm-step-list li {
    position: relative;
    display: flex;
    gap: 17px;
}

.dm-step-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 56px;
    width: calc(100% - 20px);
    border-top: 1px dashed #c9b8d2;
}

.dm-step-list li > span {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbb8d6;
    border-radius: 50%;
    color: var(--dm-purple);
    background: var(--dm-white);
    font-size: 18px;
    font-weight: 800;
}

.dm-step-list h3 {
    margin: 0 0 7px;
    color: var(--dm-ink);
    font-size: 21px;
    font-weight: 700;
}

.dm-step-list p {
    margin: 0;
    color: var(--dm-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.dm-trust {
    color: var(--dm-white);
    background: linear-gradient(135deg, var(--dm-purple-deep), #422153);
}

.dm-trust-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.dm-trust-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    color: var(--dm-yellow);
    background: rgba(255, 255, 255, .08);
    font-size: 30px;
}

.dm-trust h2 {
    color: var(--dm-white);
}

.dm-trust-layout > div:last-child > p:not(.dm-eyebrow) {
    max-width: 800px;
    margin: 17px 0 0;
    color: #e6d9ec;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.dm-trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 28px;
    margin-top: 25px;
}

.dm-trust-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--dm-white);
    font-size: 15px;
    font-weight: 800;
}

.dm-trust-links a:hover,
.dm-trust-links a:focus {
    color: var(--dm-yellow);
}

.dm-final-cta {
    padding: 94px 0;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(97, 51, 128, .08), transparent 45%),
        var(--dm-white);
}

.dm-final-cta > .dm-shell {
    max-width: 760px;
}

.dm-final-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--dm-purple);
    background: var(--dm-purple-soft);
    font-size: 24px;
}

.dm-final-actions {
    justify-content: center;
    margin-top: 28px;
}

[dir="rtl"] .dm-proof-grid > div + div {
    border-left: 0;
    border-right: 1px solid var(--dm-border);
}

[dir="rtl"] .dm-text-link i,
[dir="rtl"] .dm-trust-links i,
[dir="rtl"] .dm-hub-modules > a > i {
    transform: rotate(180deg);
}

[dir="rtl"] .dm-step-list li:not(:last-child)::after {
    left: auto;
    right: 56px;
}

@media (max-width: 1050px) {
    .dm-header-inner {
        flex-wrap: wrap;
        gap: 8px 18px;
        padding: 13px 0;
    }

    .dm-primary-nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .dm-header-actions {
        margin-left: auto;
    }

    [dir="rtl"] .dm-header-actions {
        margin-right: auto;
        margin-left: 0;
    }

    .dm-hero-grid {
        gap: 36px;
    }

    .dm-hub-layout {
        gap: 45px;
    }

    .dm-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .dm-hero {
        padding: 58px 0;
    }

    .dm-hero-grid,
    .dm-hub-layout {
        grid-template-columns: 1fr;
    }

    .dm-network-card {
        max-width: 580px;
    }

    .dm-goal-grid,
    .dm-step-list {
        grid-template-columns: 1fr;
    }

    .dm-goal-card {
        min-height: 0;
    }

    .dm-step-list {
        gap: 26px;
    }

    .dm-step-list li:not(:last-child)::after {
        top: 46px;
        bottom: -27px;
        left: 23px;
        width: 0;
        border-top: 0;
        border-left: 1px dashed #c9b8d2;
    }

    [dir="rtl"] .dm-step-list li:not(:last-child)::after {
        right: 23px;
        border-right: 1px dashed #c9b8d2;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .dm-home {
        font-size: 16px;
    }

    .dm-shell {
        width: calc(100% - 28px);
    }

    .dm-header-inner {
        min-height: 68px;
    }

    .dm-brand {
        font-size: 21px;
    }

    .dm-brand img {
        width: 29px;
        height: 29px;
    }

    .dm-primary-nav {
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px;
    }

    .dm-primary-nav a {
        flex: 0 0 auto;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }

    .dm-header-login {
        padding: 8px;
    }

    .dm-header-user-name {
        display: none;
    }

    .dm-header-join {
        padding: 8px 12px;
    }

    .dm-language-button {
        min-width: 48px;
        padding: 0 5px;
    }

    .dm-language-button .fa-angle-down {
        display: none;
    }

    .dm-hero {
        padding: 46px 0 50px;
    }

    .dm-hero h1 {
        font-size: 40px;
        letter-spacing: -.7px;
    }

    .dm-hero-subtitle {
        margin-top: 19px;
        font-size: 16px;
    }

    .dm-search {
        margin-top: 27px;
    }

    .dm-search-control {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 6px 12px;
    }

    .dm-search-control button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .dm-search .typeahead {
        width: calc(100% - 24px);
    }

    .dm-hero-actions .dm-button,
    .dm-final-actions .dm-button {
        width: 100%;
    }

    .dm-network-card {
        padding: 22px;
    }

    .dm-network-card ul {
        grid-template-columns: 1fr;
    }

    .dm-network-card li:last-child {
        grid-column: auto;
    }

    .dm-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dm-proof-grid > div {
        min-height: 100px;
    }

    .dm-proof-grid > div + div {
        border-left: 0;
    }

    .dm-proof-grid > div:nth-child(even) {
        border-left: 1px solid var(--dm-border);
    }

    .dm-proof-grid > div:nth-child(n+3) {
        border-top: 1px solid var(--dm-border);
    }

    [dir="rtl"] .dm-proof-grid > div + div {
        border-right: 0;
    }

    [dir="rtl"] .dm-proof-grid > div:nth-child(even) {
        border-right: 1px solid var(--dm-border);
    }

    .dm-section {
        padding: 68px 0;
    }

    .dm-section-heading {
        margin-bottom: 32px;
    }

    .dm-goal-card {
        padding: 25px;
    }

    .dm-role-grid {
        grid-template-columns: 1fr;
    }

    .dm-role-grid > a {
        min-height: 0;
    }

    .dm-hub-preview > header {
        align-items: flex-start;
        padding: 20px;
    }

    .dm-hub-activity {
        white-space: nowrap;
    }

    .dm-hub-modules {
        padding: 8px;
    }

    .dm-hub-modules a {
        gap: 10px;
        padding: 10px 8px;
    }

    .dm-hub-preview > footer {
        padding: 14px 18px;
    }

    .dm-steps {
        padding-top: 5px;
    }

    .dm-trust-layout {
        grid-template-columns: 1fr;
    }

    .dm-trust-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 24px;
    }

    .dm-trust-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .dm-final-cta {
        padding: 72px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dm-home *,
    .dm-home *::before,
    .dm-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
