.dsh-header {
    padding: 0 0 clamp(16px, 2.5vw, 30px);
    border-bottom: 1px solid var(--dsh-line);
    background: #f5f8f3;
    color: var(--dsh-ink);
}

.dsh-header :where(a, span, svg) { box-sizing: border-box; }
.dsh-header a { text-decoration: none; }
.dsh-header a:focus-visible {
    outline: 2px solid #a46a2a;
    outline-offset: 4px;
}

.dsh-bar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--dsh-line);
}
.dsh-controls { display: flex; align-items: center; gap: 8px; }
.dsh-control {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--dsh-line);
    border-radius: 8px;
    background: #fff;
    color: var(--dsh-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.dsh-control:hover { border-color: var(--dsh-green); background: #eaf2eb; color: var(--dsh-dark); }
.dsh-control .dsh-icon { width: 18px; height: 18px; }
.dsh-login { border-color: var(--dsh-green); background: var(--dsh-green); color: #fff; }
.dsh-login:hover { border-color: var(--dsh-dark); background: var(--dsh-dark); color: #fff; }

.dsh-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: clamp(14px, 2.15vw, 24px);
}
.dsh-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 322px;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    overflow: hidden;
    padding: clamp(20px, 2.8vw, 34px) clamp(24px, 3.3vw, 42px);
    border-radius: 19px;
    background: var(--dsh-dark);
    color: #fff;
}
.dsh-intro::before {
    position: absolute;
    top: 0;
    left: clamp(24px, 3.3vw, 42px);
    width: 58px;
    height: 3px;
    background: linear-gradient(to right, #aed4b8 0 59%, #fff 59% 75%, #b65858 75%);
    content: "";
}
.dsh-pages {
    position: absolute;
    z-index: -1;
    right: -58px;
    bottom: -48px;
    width: clamp(220px, 29vw, 375px);
    height: auto;
    color: #9fc4ae;
    stroke: currentColor;
    stroke-width: 1.2;
    opacity: .22;
    pointer-events: none;
}
.dsh-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4.1vw, 53px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.dsh-heading p { margin: 10px 0 0; color: #d4e7dc; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.4; }
.dsh-intro-footer p { margin: 0 0 7px; color: #d4e7dc; font-size: 13px; line-height: 1.45; }
a.dsh-guide {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #ffffff64;
    border-radius: 8px;
    background: #ffffff0d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.dsh-guide:hover { border-color: #fff; background: #ffffff23; }
.dsh-guide:focus-visible { outline-color: #fff; }
.dsh-guide .dsh-icon { width: 17px; height: 17px; }

.dsh-roles {
    display: grid;
    min-width: 0;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.dsh-role {
    --dsh-role-ink: #27634e;
    --dsh-role-tint: #e5f2e9;
    display: grid;
    min-width: 0;
    min-height: 84px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(9px, 1.4vw, 17px);
    padding: 13px clamp(12px, 1.55vw, 19px);
    border: 1px solid var(--dsh-line);
    border-radius: 14px;
    background: #fff;
    color: var(--dsh-ink);
}
.dsh-role-teacher { --dsh-role-ink: #755321; --dsh-role-tint: #f7eedf; }
.dsh-role-parent { --dsh-role-ink: #8e3a41; --dsh-role-tint: #f8ebeb; }
.dsh-role:hover { border-color: var(--dsh-role-ink); color: var(--dsh-ink); }
.dsh-role-icon {
    display: grid;
    width: 51px;
    height: 51px;
    place-items: center;
    border-radius: 12px;
    background: var(--dsh-role-tint);
    color: var(--dsh-role-ink);
}
.dsh-role-icon .dsh-icon { width: 25px; height: 25px; }
.dsh-role-copy { min-width: 0; overflow-wrap: anywhere; }
.dsh-role-copy strong, .dsh-role-copy small { display: block; }
.dsh-role-copy strong {
    color: var(--dsh-ink);
    font-size: clamp(17px, 1.9vw, 24px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.18;
}
.dsh-role-copy small { margin-top: 5px; color: var(--dsh-muted); font-size: 14px; line-height: 1.3; }
.dsh-role-arrow {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--dsh-line);
    border-radius: 50%;
    color: var(--dsh-green);
}
.dsh-role-arrow .dsh-icon { width: 17px; height: 17px; }
.dsh-role:hover .dsh-role-arrow { border-color: var(--dsh-role-ink); background: var(--dsh-role-tint); color: var(--dsh-role-ink); }

.dsh-figures { padding-block: clamp(12px, 1.7vw, 20px); background: #edf3ed; }
.dsh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.dsh-stat {
    position: relative;
    display: flex;
    min-height: 76px;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 5px;
    padding: 11px 10px 11px 72px;
    border: 1px solid var(--dsh-line);
    border-radius: 12px;
    background: #fff;
    color: var(--dsh-ink);
}
.dsh-stat dt { margin: 0; color: var(--dsh-muted); font-size: 12px; font-weight: 600; line-height: 1.15; }
.dsh-stat dd {
    margin: 0;
    font-size: clamp(21px, 2.2vw, 25px);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1.04;
    white-space: nowrap;
}
.dsh-stat-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 10px;
    background: #e3efee;
    color: #256460;
}
.dsh-stat-student .dsh-stat-icon { background: #e5f2e9; color: #27634e; }
.dsh-stat-teacher .dsh-stat-icon { background: #f7eedf; color: #755321; }
.dsh-stat-icon .dsh-icon { width: 36px; height: 36px; }

.dsh-about { padding-block: clamp(36px, 4.6vw, 58px) clamp(24px, 2.6vw, 32px); }
.dsh-about-layout { gap: clamp(20px, 3vw, 34px); }
.dsh-about-points { gap: clamp(16px, 2.5vw, 28px); }

.dsh-reviews { padding-block: clamp(32px, 3.5vw, 44px) clamp(26px, 3vw, 38px); }
.dsh-reviews-heading { margin-bottom: clamp(20px, 2.4vw, 28px); }
.dsh-review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(10px, 1.5vw, 18px);
}
.dsh-review-card {
    display: flex;
    align-items: flex-start;
    gap: clamp(11px, 1.5vw, 16px);
    padding: clamp(16px, 2.1vw, 24px);
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #f5f8f4;
    overflow-wrap: anywhere;
}
.dsh-review-avatar { width: clamp(44px, 5vw, 58px); flex: none; }
.dsh-review-avatar img { aspect-ratio: 1; }

.dsh-partners {
    padding-block: clamp(22px, 2.5vw, 32px) clamp(26px, 3vw, 38px);
    border-top: 1px solid var(--dsh-line);
    background: #f5f8f3;
    color: var(--dsh-ink);
}
.dsh-partners h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.5vw, 31px);
    font-weight: 700;
    line-height: 1.2;
}
.dsh-partner-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dsh-partner-list li { display: grid; min-width: 0; }
.dsh-partner {
    --dsh-partner-ink: #226251;
    --dsh-partner-tint: #e5f2e9;
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr auto;
    gap: 9px;
    padding: clamp(12px, 1.4vw, 16px);
    border: 1px solid var(--dsh-line);
    border-radius: 12px;
    background: #fff;
    color: var(--dsh-ink);
    text-decoration: none;
}
.dsh-partner-student { --dsh-partner-ink: #755321; --dsh-partner-tint: #f7eedf; }
.dsh-partner-academy { --dsh-partner-ink: #285c69; --dsh-partner-tint: #e5f0f4; }
.dsh-partner-book { --dsh-partner-ink: #8e3a41; --dsh-partner-tint: #f8ebeb; }
.dsh-partner:hover { border-color: var(--dsh-partner-ink); color: var(--dsh-ink); }
.dsh-partner:focus-visible { outline: 2px solid #a46a2a; outline-offset: 3px; }
.dsh-partner-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dsh-partner-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 9px;
    background: var(--dsh-partner-tint);
    color: var(--dsh-partner-ink);
}
.dsh-partner-icon .dsh-icon { width: 23px; height: 23px; }
.dsh-partner-external { width: 17px; height: 17px; color: var(--dsh-green); }
.dsh-partner-name { font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.dsh-partner-domain {
    padding-top: 8px;
    border-top: 1px solid var(--dsh-line);
    color: var(--dsh-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.dsh-partner:hover .dsh-partner-domain { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) {
    .dsh-about > .dsh-width, .dsh-reviews-heading, .dsh-review-list { --dsh-gutter: 20px; }
}
@media (max-width: 900px) {
    .dsh-partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .dsh-intro { min-height: 286px; }
    .dsh-role-icon { width: 44px; height: 44px; border-radius: 9px; }
    .dsh-role-icon .dsh-icon { width: 23px; height: 23px; }
}
@media (max-width: 680px) {
    .dsh-bar { min-height: 60px; }
    .dsh-control { padding-inline: 9px; font-size: 13px; }
    .dsh-hero { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .dsh-intro { min-height: 0; gap: 15px; border-radius: 15px; }
    .dsh-heading h1 { font-size: clamp(29px, 8.3vw, 45px); }
    .dsh-roles { gap: 7px; }
    .dsh-role { min-height: 66px; padding-block: 8px; border-radius: 11px; }
    .dsh-role-copy strong { font-size: 18px; }
    .dsh-role-copy small { margin-top: 3px; font-size: 13px; }
    .dsh-stats { gap: 6px; }
    .dsh-stat { min-height: 100px; gap: 4px; padding: 56px 4px 8px; text-align: center; }
    .dsh-stat dd { font-size: clamp(17px, 4.7vw, 21px); }
    .dsh-stat-icon { top: 8px; left: 50%; width: 40px; height: 40px; transform: translateX(-50%); }
    .dsh-stat-icon .dsh-icon { width: 30px; height: 30px; }
    .dsh-partner-list { gap: 8px; }
    .dsh-partner { gap: 8px; }
    .dsh-partner-icon { width: 36px; height: 36px; }
    .dsh-partner-icon .dsh-icon { width: 21px; height: 21px; }
    .dsh-partner-name { font-size: 15px; }
}
@media (max-width: 450px) {
    .dsh-vision { width: 42px; padding: 0; }
    .dsh-vision span { display: none; }
}
@media (forced-colors: active) {
    .dsh-intro { border: 1px solid CanvasText; }
}
