.home-v2-page .home-v2-shell > main {
    overflow: clip;
}

.home-v2-page .hero {
    margin-bottom: 0;
}

.home-v2-command,
.home-v2-gateway,
.home-v2-route,
.home-v2-live,
.home-v2-product-grid,
.home-v2-repair,
.home-v2-roles {
    width: min(100% - 40px, var(--v2-content));
    margin-inline: auto;
}

.home-v2-command {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -30px;
    border: 1px solid var(--v2-line-strong);
    border-radius: var(--v2-radius-md);
    background: rgba(255, 253, 248, .94);
    box-shadow: var(--v2-shadow-md);
    backdrop-filter: blur(12px);
}

.home-v2-command > a {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 13px;
    min-height: 84px;
    padding: 15px 20px;
}

.home-v2-command > a + a::before {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 1px;
    background: var(--v2-line);
    content: "";
}

.home-v2-command > a > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--v2-line);
    border-radius: 50%;
    background: var(--v2-surface);
    font-size: 24px;
    font-weight: 850;
}

.home-v2-command > a:first-child > span {
    border-color: var(--v2-ink);
    background: var(--v2-lime);
}

.home-v2-command div {
    display: grid;
    gap: 3px;
}

.home-v2-command strong {
    font-size: 14px;
    letter-spacing: -.02em;
}

.home-v2-command small {
    color: var(--v2-muted);
    font-size: 11px;
}

.home-v2-command b {
    font-size: 18px;
}

.home-v2-command > a:hover,
.home-v2-command > a:focus-visible {
    background: rgba(231, 255, 134, .28);
}

.home-v2-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    margin-bottom: 24px;
}

.home-v2-section-head .section-kicker {
    margin: 0 0 8px;
    font: 780 10px/1.3 var(--mono);
}

.home-v2-section-head h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(31px, 4vw, 54px);
    line-height: .98;
    letter-spacing: -.06em;
}

.home-v2-section-head > a,
.home-v2-product-grid header > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--v2-muted);
    font-size: 12px;
    font-weight: 760;
}

.home-v2-section-head > a:hover,
.home-v2-section-head > a:focus-visible,
.home-v2-product-grid header > a:hover,
.home-v2-product-grid header > a:focus-visible {
    color: var(--v2-ink);
}

.home-v2-gateway {
    scroll-margin-top: 24px;
    padding-top: 74px;
}

.home-v2-grade-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--v2-line-strong);
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    background: rgba(255, 253, 248, .72);
}

.home-v2-grade-group {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 198px;
    padding: 22px;
}

.home-v2-grade-group + .home-v2-grade-group {
    border-left: 1px solid var(--v2-line);
}

.home-v2-grade-group::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    border-bottom-left-radius: 100%;
    background: var(--grade-accent, var(--v2-lime-soft));
    content: "";
    opacity: .7;
}

.home-v2-grade-group--lime { --grade-accent: var(--v2-lime-soft); }
.home-v2-grade-group--coral { --grade-accent: var(--v2-coral-soft); }
.home-v2-grade-group--blue { --grade-accent: var(--v2-blue-soft); }
.home-v2-grade-group--exam {
    --grade-accent: rgba(201, 240, 0, .32);
    background: var(--v2-ink);
    color: var(--v2-surface);
}

.home-v2-grade-symbol {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid currentColor;
    border-radius: 14px;
    background: var(--grade-accent, var(--v2-lime-soft));
    color: var(--v2-ink);
    font-size: 24px;
    font-weight: 850;
}

.home-v2-grade-copy {
    position: relative;
    z-index: 1;
}

.home-v2-grade-copy > span {
    color: var(--v2-muted);
    font: 740 9px/1.2 var(--mono);
    letter-spacing: .09em;
}

.home-v2-grade-group--exam .home-v2-grade-copy > span {
    color: rgba(255, 253, 248, .58);
}

.home-v2-grade-copy h3 {
    margin: 3px 0 0;
    font-size: 21px;
    letter-spacing: -.04em;
}

.home-v2-grade-links,
.home-v2-exam-links {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.home-v2-exam-links {
    grid-template-columns: repeat(3, 1fr);
}

.home-v2-grade-links a,
.home-v2-exam-links a {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--v2-line);
    border-radius: 10px;
    background: rgba(255, 253, 248, .82);
    color: var(--v2-ink);
    font-size: 13px;
    font-weight: 800;
}

.home-v2-exam-links a {
    border-color: rgba(255, 253, 248, .28);
    background: rgba(255, 253, 248, .08);
    color: var(--v2-surface);
}

.home-v2-grade-links a:hover,
.home-v2-grade-links a:focus-visible {
    border-color: var(--v2-ink);
    background: var(--grade-accent, var(--v2-lime-soft));
}

.home-v2-exam-links a:hover,
.home-v2-exam-links a:focus-visible {
    border-color: var(--v2-lime);
    color: var(--v2-lime-soft);
}

.home-v2-grade-all {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding-top: 9px;
    border-top: 1px solid var(--v2-line);
    color: var(--v2-muted);
    font-size: 11px;
    font-weight: 780;
}

.home-v2-grade-group--exam .home-v2-grade-all {
    border-top-color: rgba(255, 253, 248, .18);
    color: rgba(255, 253, 248, .72);
}

.home-v2-route {
    display: grid;
    grid-template-columns: minmax(170px, .62fr) minmax(0, 2.4fr);
    align-items: center;
    gap: 34px;
    margin-top: 28px;
    padding: 24px 28px;
    border: 1px solid var(--v2-line);
    border-radius: var(--v2-radius-md);
    background: rgba(255, 253, 248, .58);
}

.home-v2-route header .section-kicker {
    margin: 0 0 5px;
    font: 760 9px var(--mono);
}

.home-v2-route h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.05em;
}

.home-v2-route ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-v2-route li {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 58px;
}

.home-v2-route li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: 9px;
    left: calc(48px + 90px);
    border-top: 1px dashed var(--v2-line-strong);
    content: "";
}

.home-v2-route-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--v2-lime-soft);
    font-size: 22px;
    font-weight: 850;
}

.home-v2-route li:nth-child(2) .home-v2-route-icon { background: var(--v2-coral-soft); }
.home-v2-route li:nth-child(3) .home-v2-route-icon { background: var(--v2-blue-soft); }
.home-v2-route li:nth-child(4) .home-v2-route-icon { background: #e8ddff; }

.home-v2-route li div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    width: fit-content;
    padding-right: 8px;
    background: var(--v2-paper);
}

.home-v2-route strong {
    font-size: 14px;
}

.home-v2-route small {
    color: var(--v2-muted);
    font-size: 10px;
}

.home-v2-live {
    padding-top: 74px;
}

.home-v2-live-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--v2-line-strong);
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    background: var(--v2-surface);
}

.home-v2-task {
    --task-accent: var(--v2-lime);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 24px;
}

.home-v2-task + .home-v2-task {
    border-left: 1px solid var(--v2-line);
}

.home-v2-task--orange { --task-accent: var(--v2-coral); }
.home-v2-task--blue { --task-accent: var(--v2-blue); }
.home-v2-task--diagnostic {
    --task-accent: var(--v2-lime);
    background: var(--v2-ink);
    color: var(--v2-surface);
}

.home-v2-task-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 31px;
    border: 1px solid var(--v2-ink);
    border-radius: 50%;
    background: var(--task-accent);
    color: var(--v2-ink);
    font: 800 12px var(--mono);
}

.home-v2-task > p {
    margin: 0 0 7px;
    color: var(--v2-muted);
    font: 760 9px/1.3 var(--mono);
    letter-spacing: .08em;
}

.home-v2-task--diagnostic > p {
    color: rgba(255, 253, 248, .6);
}

.home-v2-task h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.home-v2-task h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.home-v2-task ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 18px 0 22px;
    padding: 0;
    color: var(--v2-muted);
    font-size: 10px;
    list-style: none;
}

.home-v2-task--diagnostic ul {
    color: rgba(255, 253, 248, .66);
}

.home-v2-task li::before {
    margin-right: 5px;
    color: var(--task-accent);
    content: "•";
}

.home-v2-task-link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--v2-line);
    font-size: 11px;
    font-weight: 800;
}

.home-v2-task--diagnostic .home-v2-task-link {
    border-top-color: rgba(255, 253, 248, .18);
}

.home-v2-product-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, .9fr);
    gap: 16px;
    padding-top: 22px;
}

.home-v2-resume,
.home-v2-exam-studio,
.home-v2-questions {
    min-width: 0;
    min-height: 330px;
    padding: 24px;
    border: 1px solid var(--v2-line-strong);
    border-radius: var(--v2-radius-md);
    background: rgba(255, 253, 248, .8);
}

.home-v2-product-grid article > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-v2-product-grid header .section-kicker,
.home-v2-exam-studio header p {
    margin: 0 0 6px;
    font: 760 9px var(--mono);
    letter-spacing: .1em;
}

.home-v2-product-grid h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.06;
    letter-spacing: -.05em;
}

.home-v2-empty-resume {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 16px;
    min-height: 178px;
    padding: 20px;
    border: 1px dashed var(--v2-line-strong);
    border-radius: var(--v2-radius-sm);
    background: rgba(231, 255, 134, .12);
}

.home-v2-empty-resume > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--v2-lime);
}

.home-v2-empty-resume strong {
    font-size: 15px;
}

.home-v2-empty-resume p {
    margin: 6px 0 0;
    color: var(--v2-muted);
    font-size: 12px;
    line-height: 1.55;
}

.home-v2-resume [data-journey-resume] > article,
.home-v2-resume [data-journey-resume] > a,
.home-v2-resume [data-journey-resume] .journey-resume-card {
    border-radius: var(--v2-radius-sm);
    box-shadow: none;
}

.home-v2-exam-studio {
    border-color: var(--v2-ink);
    background:
        radial-gradient(circle at 90% 5%, rgba(95, 120, 255, .24), transparent 35%),
        linear-gradient(145deg, #101b18, #182824);
    color: var(--v2-surface);
}

.home-v2-exam-studio header > a {
    color: rgba(255, 253, 248, .72);
}

.home-v2-exam-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.home-v2-exam-tabs > a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    min-height: 115px;
    padding: 15px;
    border: 1px solid rgba(255, 253, 248, .16);
    border-radius: var(--v2-radius-sm);
    background: rgba(255, 253, 248, .07);
}

.home-v2-exam-tabs strong {
    align-self: start;
    font-size: 21px;
}

.home-v2-exam-tabs span {
    grid-column: 1 / -1;
    align-self: end;
    color: rgba(255, 253, 248, .58);
    font-size: 10px;
    line-height: 1.35;
}

.home-v2-exam-tabs > a:hover,
.home-v2-exam-tabs > a:focus-visible {
    border-color: var(--v2-lime);
    background: rgba(201, 240, 0, .09);
}

.home-v2-exam-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 253, 248, .16);
}

.home-v2-exam-empty > span {
    color: var(--v2-lime-soft);
    font: 760 10px var(--mono);
}

.home-v2-exam-empty p {
    margin: 0;
    color: rgba(255, 253, 248, .64);
    font-size: 11px;
    line-height: 1.45;
}

.home-v2-exam-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--v2-lime-soft);
    font-size: 10px;
    font-weight: 800;
}

.home-v2-questions ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-v2-questions li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    border-top: 1px solid var(--v2-line);
}

.home-v2-questions li:first-child {
    border-top: 0;
}

.home-v2-questions li > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--v2-lime-soft);
    font-size: 10px;
    font-weight: 850;
}

.home-v2-questions li:nth-child(2) > span { background: var(--v2-coral-soft); }
.home-v2-questions li:nth-child(3) > span { background: var(--v2-blue-soft); }

.home-v2-questions li a {
    display: grid;
    gap: 3px;
    min-height: 44px;
    align-content: center;
}

.home-v2-questions li strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-v2-questions li small {
    color: var(--v2-muted);
    font-size: 9px;
}

.home-v2-ask {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 13px;
    border: 1px solid var(--v2-ink);
    border-radius: var(--v2-radius-xs);
    background: var(--v2-lime);
    font-size: 11px;
    font-weight: 800;
}

.home-v2-repair {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 2.25fr);
    gap: 32px;
    padding-top: 74px;
}

.home-v2-repair > header .section-kicker {
    margin: 0 0 8px;
    font: 760 10px var(--mono);
}

.home-v2-repair > header h2 {
    margin: 0;
    font-size: clamp(31px, 3.7vw, 50px);
    line-height: .98;
    letter-spacing: -.06em;
}

.home-v2-repair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--v2-line-strong);
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    background: var(--v2-surface);
}

.home-v2-repair-grid article {
    min-height: 148px;
    padding: 22px;
}

.home-v2-repair-grid article:nth-child(even) {
    border-left: 1px solid var(--v2-line);
}

.home-v2-repair-grid article:nth-child(n+3) {
    border-top: 1px solid var(--v2-line);
}

.home-v2-repair-wrong,
.home-v2-repair-right,
.home-v2-repair-lesson {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
}

.home-v2-repair-wrong > span,
.home-v2-repair-right > span,
.home-v2-repair-lesson > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--v2-coral-soft);
    color: var(--v2-danger);
    font-size: 21px;
    font-weight: 900;
}

.home-v2-repair-right > span { background: var(--v2-lime-soft); color: var(--v2-success); }
.home-v2-repair-lesson > span { background: var(--v2-blue-soft); color: var(--v2-blue); }

.home-v2-repair-grid small {
    color: var(--v2-muted);
    font: 760 9px var(--mono);
    letter-spacing: .08em;
}

.home-v2-repair-grid p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.home-v2-repair-lesson strong,
.home-v2-repair-follow strong {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.home-v2-repair-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 10px;
    color: var(--v2-blue);
    font-size: 11px;
    font-weight: 800;
}

.home-v2-repair-follow {
    background: rgba(231, 255, 134, .18);
}

.home-v2-roles {
    padding-top: 74px;
}

.home-v2-roles > header {
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
    align-items: end;
    gap: 32px;
    margin-bottom: 22px;
}

.home-v2-roles .section-kicker {
    margin: 0;
    font: 760 10px var(--mono);
}

.home-v2-roles h2 {
    margin: 0;
    font-size: clamp(29px, 3.5vw, 48px);
    line-height: .98;
    letter-spacing: -.06em;
}

.home-v2-roles > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-v2-role {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 110px;
    padding: 18px 20px;
    border: 1px solid var(--v2-line);
    border-radius: var(--v2-radius-md);
    background: linear-gradient(120deg, rgba(231, 255, 134, .55), rgba(255, 253, 248, .8));
}

.home-v2-role--guardian {
    background: linear-gradient(120deg, rgba(255, 224, 216, .62), rgba(255, 253, 248, .8));
}

.home-v2-role--teacher {
    background: linear-gradient(120deg, rgba(226, 230, 255, .72), rgba(255, 253, 248, .8));
}

.home-v2-role > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--v2-line-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    font-size: 24px;
}

.home-v2-role div {
    display: grid;
    gap: 5px;
}

.home-v2-role strong {
    font-size: 19px;
    letter-spacing: -.04em;
}

.home-v2-role small {
    color: var(--v2-muted);
    font-size: 11px;
    line-height: 1.35;
}

.home-v2-role:hover,
.home-v2-role:focus-visible {
    border-color: var(--v2-ink);
    transform: translateY(-2px);
}

.home-v2-footer {
    grid-template-columns: minmax(190px, .7fr) minmax(150px, .5fr) minmax(0, 1.8fr) !important;
}

.home-v2-footer-column,
.home-v2-footer-groups > div {
    display: grid;
    align-content: start;
    gap: 10px;
}

.home-v2-footer-column > strong,
.home-v2-footer-groups strong {
    color: var(--v2-surface);
    font-size: 13px;
}

.home-v2-footer-column nav {
    display: grid !important;
    gap: 0 !important;
}

.home-v2-footer-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-v2-footer-groups nav {
    display: grid !important;
    gap: 0 !important;
}

@media (max-width: 1100px) {
    .home-v2-page .site-header .primary-nav {
        gap: 13px 20px;
    }

    .home-v2-grade-grid,
    .home-v2-live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v2-grade-group:nth-child(3),
    .home-v2-task:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--v2-line);
    }

    .home-v2-grade-group:nth-child(4),
    .home-v2-task:nth-child(4) {
        border-top: 1px solid var(--v2-line);
    }

    .home-v2-route {
        grid-template-columns: 1fr;
    }

    .home-v2-route li:not(:last-child)::after {
        left: calc(48px + 75px);
    }

    .home-v2-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-v2-resume {
        grid-column: 1;
    }

    .home-v2-exam-studio {
        grid-column: 2;
    }

    .home-v2-questions {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .home-v2-questions ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-v2-questions li,
    .home-v2-questions li:first-child {
        padding-inline: 12px;
        border-top: 0;
        border-left: 1px solid var(--v2-line);
    }

    .home-v2-questions li:first-child {
        border-left: 0;
    }

    .home-v2-footer {
        grid-template-columns: 1fr 1fr !important;
    }

    .home-v2-footer-groups {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .home-v2-command {
        margin-top: -18px;
    }

    .home-v2-command > a {
        grid-template-columns: 40px 1fr;
        min-height: 78px;
        padding: 13px;
    }

    .home-v2-command > a > span {
        width: 40px;
        height: 40px;
    }

    .home-v2-command b {
        display: none;
    }

    .home-v2-repair {
        grid-template-columns: 1fr;
    }

    .home-v2-roles > header {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 720px) {
    .home-v2-command,
    .home-v2-gateway,
    .home-v2-route,
    .home-v2-live,
    .home-v2-product-grid,
    .home-v2-repair,
    .home-v2-roles {
        width: min(100% - 30px, var(--v2-content));
    }

    .home-v2-command {
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
        border-radius: var(--v2-radius-sm);
    }

    .home-v2-command > a + a::before {
        display: none;
    }

    .home-v2-command > a:nth-child(even) {
        border-left: 1px solid var(--v2-line);
    }

    .home-v2-command > a:nth-child(n+3) {
        border-top: 1px solid var(--v2-line);
    }

    .home-v2-section-head {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .home-v2-section-head h2 {
        font-size: clamp(30px, 10.5vw, 43px);
    }

    .home-v2-grade-grid,
    .home-v2-live-grid {
        grid-template-columns: 1fr;
        border-radius: var(--v2-radius-sm);
    }

    .home-v2-grade-group {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 0;
        padding: 18px;
    }

    .home-v2-grade-group + .home-v2-grade-group,
    .home-v2-grade-group:nth-child(3),
    .home-v2-grade-group:nth-child(4),
    .home-v2-task + .home-v2-task,
    .home-v2-task:nth-child(3),
    .home-v2-task:nth-child(4) {
        border-top: 1px solid var(--v2-line);
        border-left: 0;
    }

    .home-v2-grade-symbol {
        width: 44px;
        height: 44px;
    }

    .home-v2-grade-copy h3 {
        font-size: 19px;
    }

    .home-v2-grade-links,
    .home-v2-exam-links {
        grid-column: 1 / -1;
        max-width: 300px;
    }

    .home-v2-route {
        gap: 18px;
        padding: 20px;
    }

    .home-v2-route ol {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .home-v2-route li {
        grid-template-columns: 42px 1fr;
    }

    .home-v2-route li::after {
        display: none;
    }

    .home-v2-route-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .home-v2-route li div {
        padding: 0;
        background: transparent;
    }

    .home-v2-task {
        min-height: 235px;
        padding: 20px;
    }

    .home-v2-task-number {
        margin-bottom: 22px;
    }

    .home-v2-product-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-resume,
    .home-v2-exam-studio,
    .home-v2-questions {
        grid-column: auto;
        min-height: 0;
        padding: 20px;
    }

    .home-v2-exam-tabs {
        grid-template-columns: 1fr;
    }

    .home-v2-exam-tabs > a {
        min-height: 78px;
    }

    .home-v2-exam-empty {
        grid-template-columns: 1fr;
    }

    .home-v2-questions ul {
        grid-template-columns: 1fr;
    }

    .home-v2-questions li,
    .home-v2-questions li:first-child {
        padding-inline: 0;
        border-top: 1px solid var(--v2-line);
        border-left: 0;
    }

    .home-v2-questions li:first-child {
        border-top: 0;
    }

    .home-v2-repair-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-repair-grid article,
    .home-v2-repair-grid article:nth-child(even),
    .home-v2-repair-grid article:nth-child(n+3) {
        min-height: 0;
        border-top: 1px solid var(--v2-line);
        border-left: 0;
    }

    .home-v2-repair-grid article:first-child {
        border-top: 0;
    }

    .home-v2-roles > div {
        grid-template-columns: 1fr;
    }

    .home-v2-role {
        min-height: 92px;
    }

    .home-v2-footer {
        grid-template-columns: 1fr !important;
    }

    .home-v2-footer-groups {
        grid-column: auto;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .home-v2-command > a {
        grid-template-columns: 36px 1fr;
        gap: 9px;
        min-height: 72px;
        padding: 10px;
    }

    .home-v2-command > a > span {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .home-v2-command strong {
        font-size: 12px;
    }

    .home-v2-command small {
        font-size: 9px;
    }

    .home-v2-route ol {
        grid-template-columns: 1fr;
    }

    .home-v2-footer-groups {
        grid-template-columns: 1fr;
    }
}

/* Class gateway: readable mobile choices, not miniature desktop circles.
   ID-scoped rules intentionally beat the later legacy home reference sheet.
   These explanatory labels are mobile-only; desktop layout stays unchanged. */
body.home-v2-page #sinifini-sec .home-v2-grade-intro,
body.home-v2-page #sinifini-sec .home-v2-grade-range,
body.home-v2-page #sinifini-sec .home-v2-grade-label { display: none; }

@media (max-width: 767px) {
    body.home-v2-page #sinifini-sec {
        width: calc(100% - 32px);
        margin: 24px auto;
        padding: 18px;
        border: 1px solid #cde0ca;
        border-radius: 24px;
        background: radial-gradient(ellipse at 95% 0, #436b4e66, transparent 65%), linear-gradient(125deg, #133f38, #24594b);
        color: #fffef9;
        scroll-margin-top: 5.5rem;
        overflow: visible;
    }
    body.home-v2-page #sinifini-sec .home-v2-section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;
        margin: 0 0 16px;
    }
    body.home-v2-page #sinifini-sec .home-v2-section-head > div { min-width: 0; }
    body.home-v2-page #sinifini-sec .home-v2-section-head h2 {
        margin: 0;
        color: #fffef9;
        font-size: 1.625rem;
        line-height: 1.2;
        letter-spacing: -.035em;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-intro {
        display: block;
        margin: 10px 0 0;
        color: #e0ecdf;
        font-size: .875rem;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }
    body.home-v2-page #sinifini-sec .home-v2-section-head > a {
        min-width: 48px;
        min-height: 48px;
        padding: 4px;
        color: #d9ff57;
        font-size: .875rem;
        line-height: 1.4;
        gap: 4px;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-group {
        --grade-paper: #f5f8e7;
        --grade-button: #e9f2c3;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        gap: 14px 12px;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 14px;
        border: 1px solid #e2e9d7;
        border-radius: 18px;
        background: var(--grade-paper);
        color: #14211e;
        box-shadow: none;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-group--coral { --grade-paper: #fff3ec; --grade-button: #ffe5d6; }
    body.home-v2-page #sinifini-sec .home-v2-grade-group--blue { --grade-paper: #f0f2ff; --grade-button: #e1e6ff; }
    body.home-v2-page #sinifini-sec .home-v2-grade-group::after { display: none; }
    body.home-v2-page #sinifini-sec .home-v2-grade-symbol {
        grid-column: 1;
        grid-row: 1;
        width: 48px;
        height: 48px;
        border: 1px solid #14211e26;
        border-radius: 14px;
        background: var(--grade-button);
        color: #173f35;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-symbol svg { width: 30px; height: 30px; }
    body.home-v2-page #sinifini-sec .home-v2-grade-copy { grid-column: 2; grid-row: 1; min-width: 0; }
    body.home-v2-page #sinifini-sec .home-v2-grade-copy h3 {
        margin: 0;
        color: #14211e;
        font-size: 1.125rem;
        line-height: 1.4;
        letter-spacing: -.02em;
        overflow-wrap: anywhere;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-range {
        display: block;
        margin-top: 2px;
        color: #45594f;
        font-family: inherit;
        font-size: .8125rem;
        font-weight: 550;
        line-height: 1.5;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-links,
    body.home-v2-page #sinifini-sec .home-v2-exam-links {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        /* Four at normal text size; automatic reflow at 200% text. */
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 3rem), 1fr));
        gap: 8px;
        width: 100%;
        max-width: none;
        min-width: 0;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-links a,
    body.home-v2-page #sinifini-sec .home-v2-exam-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        min-height: 64px;
        height: auto;
        margin: 0;
        padding: 10px 4px;
        border: 1px solid #14211e30;
        border-radius: 14px;
        background: #fffef9;
        color: #14211e;
        font-size: 1.125rem;
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        gap: 2px;
        overflow-wrap: anywhere;
        scroll-margin-block: 6rem;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-links a::before { display: none; }
    body.home-v2-page #sinifini-sec .home-v2-grade-number { display: block; font-size: 1.375rem; line-height: 1.2; }
    body.home-v2-page #sinifini-sec .home-v2-grade-number::after { content: "."; }
    body.home-v2-page #sinifini-sec .home-v2-grade-label { display: block; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
    body.home-v2-page #sinifini-sec .home-v2-grade-group--exam {
        --grade-button: #d9ff57;
        margin-top: 2px;
        border-color: #d9ff5755;
        background: #0e322c;
        color: #fffef9;
    }
    body.home-v2-page #sinifini-sec .home-v2-grade-group--exam h3 { color: #fffef9; }
    body.home-v2-page #sinifini-sec .home-v2-grade-group--exam .home-v2-grade-range { color: #d4e4d8; }
    body.home-v2-page #sinifini-sec .home-v2-exam-links {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 4rem), 1fr));
    }
    body.home-v2-page #sinifini-sec .home-v2-exam-links a { min-height: 48px; background: #d9ff57; border-color: #d9ff57; color: #173f35; }
    body.home-v2-page #sinifini-sec .home-v2-grade-links a:hover,
    body.home-v2-page #sinifini-sec .home-v2-grade-links a:focus-visible { background: var(--grade-button); border-color: #173f35; }
    body.home-v2-page #sinifini-sec .home-v2-exam-links a:hover { background: #e7ff9a; }
    body.home-v2-page #sinifini-sec a:focus-visible { outline: 3px solid #d9ff57; outline-offset: 3px; }
    body.home-v2-page #sinifini-sec .home-v2-grade-links a:focus-visible { outline-color: #173f35; }
}
