/* درسكو — page styles. Every class is prefixed dk- so it cannot match the kit. */

.dk-hero,
.dk-section,
.dk-lesson-top,
.dk-lesson-head,
.dk-qwrap,
.dk-end {
    --dk-ink: #221b3a;
    --dk-ink-2: #5d5773;
    --dk-violet: #5b3df5;
    --dk-violet-2: #8b6cff;
    --dk-teal: #00b8a9;
    --dk-amber: #ffb020;
    --dk-coral: #ff6b5a;
    --dk-line: #eee9f7;
}

/* ---------- hero ---------- */

.dk-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 30px 24px 34px;
    background: linear-gradient(150deg, #4b2ee0 0%, #6b46f5 46%, #9a6cff 100%);
    color: #fff;
    isolation: isolate;
}

.dk-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.dk-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    will-change: transform;
}

.dk-orb-a {
    width: 260px;
    height: 260px;
    inset-inline-end: -70px;
    top: -90px;
    background: radial-gradient(circle at 30% 30%, #ffd166, rgba(255, 209, 102, 0));
    animation: dk-float-a 13s ease-in-out infinite;
}

.dk-orb-b {
    width: 220px;
    height: 220px;
    inset-inline-start: -80px;
    bottom: -110px;
    background: radial-gradient(circle at 40% 40%, #25d3c2, rgba(37, 211, 194, 0));
    animation: dk-float-b 17s ease-in-out infinite;
}

.dk-orb-c {
    width: 160px;
    height: 160px;
    inset-inline-end: 32%;
    bottom: -90px;
    background: radial-gradient(circle at 50% 50%, #ff7b9c, rgba(255, 123, 156, 0));
    animation: dk-float-a 21s ease-in-out infinite reverse;
}

.dk-sparkles {
    position: absolute;
    inset: 0;
}

.dk-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    animation: dk-twinkle 4.6s ease-in-out infinite;
}

.dk-spark-0 { inset-inline-start: 12%; top: 22%; animation-delay: 0.2s; }
.dk-spark-1 { inset-inline-start: 28%; top: 66%; animation-delay: 1.4s; }
.dk-spark-2 { inset-inline-end: 18%; top: 30%; animation-delay: 2.3s; }
.dk-spark-3 { inset-inline-end: 34%; top: 78%; animation-delay: 0.9s; }
.dk-spark-4 { inset-inline-start: 46%; top: 12%; animation-delay: 3.1s; }
.dk-spark-5 { inset-inline-end: 8%; top: 62%; animation-delay: 1.9s; }

.dk-hero-copy {
    position: relative;
    max-width: 30em;
    animation: dk-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dk-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.82);
}

.dk-kicker-dark {
    color: rgba(255, 255, 255, 0.85);
}

.dk-wordmark {
    margin: 0;
    font-size: clamp(46px, 15vw, 76px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: dk-pop 0.7s cubic-bezier(0.2, 1.2, 0.3, 1) both;
}

.dk-hero-line {
    margin: 8px 0 6px;
    font-size: clamp(19px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.45;
}

.dk-hero-sub {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 26em;
}

.dk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.dk-hero-meta {
    margin: 16px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.dk-hero-art {
    display: none;
}

/* ---------- buttons ---------- */

.dk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    -webkit-tap-highlight-color: transparent;
}

.dk-btn-lg {
    min-height: 54px;
    padding: 0 26px;
    font-size: 17px;
}

.dk-btn-main {
    background: linear-gradient(180deg, #ffc94b 0%, #ffa51f 100%);
    color: #3a2400;
    box-shadow: 0 8px 18px rgba(255, 165, 31, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.dk-btn-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(255, 165, 31, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.dk-btn-main:active {
    transform: translateY(1px) scale(0.99);
}

.dk-btn-main:disabled {
    background: #f0ecfa;
    color: #a9a2c4;
    box-shadow: none;
    cursor: default;
}

.dk-btn-ghost {
    background: #fff;
    color: var(--dk-violet);
    border: 1px solid rgba(91, 61, 245, 0.22);
    box-shadow: 0 4px 14px rgba(40, 20, 90, 0.08);
}

.dk-btn-ghost:hover {
    transform: translateY(-1px);
}

.dk-btn:focus-visible {
    outline: 3px solid #ffd166;
    outline-offset: 3px;
}

/* ---------- sections ---------- */

.dk-section {
    margin-top: 34px;
}

.dk-h2 {
    margin: 0 0 6px;
    font-size: clamp(21px, 5vw, 26px);
    font-weight: 800;
    color: var(--dk-ink);
    letter-spacing: -0.01em;
}

.dk-note {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dk-ink-2);
}

/* ---------- characters ---------- */

.dk-chars {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.dk-char {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--dk-line);
    box-shadow: 0 10px 26px rgba(34, 27, 58, 0.07);
    animation: dk-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dk-char-nour {
    background: linear-gradient(180deg, #fff8ef 0%, #ffffff 70%);
}

.dk-char-fahmy {
    background: linear-gradient(180deg, #eefbf9 0%, #ffffff 70%);
    animation-delay: 0.1s;
}

.dk-char-img {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(34, 27, 58, 0.14);
    animation: dk-bob 5s ease-in-out infinite;
}

.dk-char-fahmy .dk-char-img {
    animation-delay: 1.2s;
}

.dk-char-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    display: block;
}

.dk-char-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--dk-ink);
}

.dk-char-line {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--dk-ink-2);
}

.dk-bubble {
    position: absolute;
    inset-inline-start: 14px;
    top: -12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--dk-violet);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(91, 61, 245, 0.3);
    animation: dk-bob 4s ease-in-out infinite;
}

.dk-bubble-2 {
    background: var(--dk-teal);
    box-shadow: 0 6px 14px rgba(0, 184, 169, 0.3);
    animation-delay: 0.8s;
}

/* ---------- curriculum ---------- */

.dk-units {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.dk-unit {
    --accent: #5b3df5;
    --accent-soft: #f1ecff;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--dk-line);
    padding: 16px 16px 8px;
    box-shadow: 0 10px 26px rgba(34, 27, 58, 0.06);
    animation: dk-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dk-unit-violet { --accent: #5b3df5; --accent-soft: #f1ecff; }
.dk-unit-teal { --accent: #00a99b; --accent-soft: #e6f8f6; }
.dk-unit-amber { --accent: #e08c00; --accent-soft: #fff4e0; }
.dk-unit-coral { --accent: #f0503f; --accent-soft: #ffece9; }

.dk-unit-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dk-unit-num {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(34, 27, 58, 0.14);
}

.dk-unit-label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.dk-unit-title {
    margin: 2px 0 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--dk-ink);
}

.dk-lessons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dk-lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    border-top: 1px solid var(--dk-line);
    font-size: 15px;
    animation: dk-rise 0.5s ease both;
}

.dk-lesson-name {
    flex: 1 1 auto;
    color: var(--dk-ink);
    line-height: 1.5;
}

.dk-lesson-page {
    flex: 0 0 auto;
    font-size: 12px;
    color: #9a94ad;
}

.dk-lesson-soon {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f4f2f8;
    color: #9a94ad;
    font-size: 12px;
    font-weight: 600;
}

.dk-lesson.is-ready .dk-lesson-name {
    font-weight: 800;
}

.dk-lesson-go {
    flex: 0 0 auto;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(34, 27, 58, 0.16);
    transition: transform 0.15s ease;
}

.dk-lesson-go:hover {
    transform: translateY(-1px);
}

/* ---------- play panel ---------- */

.dk-play-panel {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 26px 22px;
    background: linear-gradient(140deg, #0f8d84 0%, #12b3a3 60%, #34d3bd 100%);
    color: #fff;
}

.dk-play-inner {
    position: relative;
    z-index: 1;
    max-width: 26em;
}

.dk-play-title {
    margin: 6px 0 10px;
    font-size: clamp(24px, 6vw, 30px);
    font-weight: 800;
}

.dk-play-line {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.dk-play-fahmy {
    position: absolute;
    z-index: 0;
    inset-inline-start: -30px;
    bottom: -20px;
    width: 118px;
    opacity: 0.16;
    animation: dk-bob 6s ease-in-out infinite;
}

.dk-source {
    margin: 26px 0 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: #8f89a3;
}

/* ---------- lesson / game ---------- */

.dk-lesson-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dk-back {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f5f2fc;
    color: var(--dk-violet);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dk-lesson-crumb {
    font-size: 12.5px;
    color: #8f89a3;
}

.dk-lesson-head {
    margin-bottom: 18px;
}

.dk-lesson-title {
    margin: 0;
    font-size: clamp(24px, 6.5vw, 32px);
    font-weight: 800;
    color: var(--dk-ink);
    letter-spacing: -0.01em;
}

.dk-lesson-sub {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--dk-ink-2);
}

.dk-qwrap {
    animation: dk-slide 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dk-qhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.dk-qcount {
    font-size: 13px;
    font-weight: 700;
    color: var(--dk-violet);
}

.dk-qkind {
    font-size: 12px;
    color: #8f89a3;
}

.dk-progress {
    display: flex;
    direction: rtl;
    gap: 4px;
    margin-bottom: 18px;
}

.dk-dot {
    flex: 1 1 auto;
    height: 7px;
    border-radius: 999px;
    background: #ece8f7;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dk-dot.is-done {
    background: linear-gradient(90deg, #6b46f5, #9a6cff);
}

.dk-dot.is-now {
    background: linear-gradient(90deg, #ffc94b, #ffa51f);
    transform: scaleY(1.35);
    animation: dk-pulse 1.8s ease-in-out infinite;
}

.dk-prompt {
    margin: 0 0 16px;
    font-size: clamp(19px, 5vw, 23px);
    font-weight: 800;
    line-height: 1.6;
    color: var(--dk-ink);
}

.dk-choices {
    display: grid;
    gap: 10px;
}

.dk-choices-tf {
    grid-template-columns: 1fr 1fr;
}

.dk-choice {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 2px solid #ece7f9;
    background: #fff;
    color: var(--dk-ink);
    font: inherit;
    font-size: 16.5px;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
    transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    -webkit-tap-highlight-color: transparent;
}

.dk-choice:hover:not(:disabled) {
    border-color: #c9bcf9;
    box-shadow: 0 8px 18px rgba(91, 61, 245, 0.1);
}

.dk-choice:active:not(:disabled) {
    transform: scale(0.985);
}

.dk-choice.is-picked {
    border-color: var(--dk-violet);
    background: #f4f0ff;
    box-shadow: 0 10px 22px rgba(91, 61, 245, 0.16);
}

.dk-choice.is-right {
    border-color: #14b88a;
    background: #e8fbf4;
}

.dk-choice.is-wrong {
    border-color: #ff5a4d;
    background: #fff0ee;
}

.dk-choice-big {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
}

.dk-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dk-tile {
    min-height: 62px;
    padding: 12px 10px;
    border-radius: 18px;
    border: 2px solid #ece7f9;
    background: #fff;
    color: var(--dk-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease;
    -webkit-tap-highlight-color: transparent;
}

.dk-tile:active:not(:disabled) {
    transform: scale(0.97);
}

.dk-tile.is-picked {
    border-color: var(--dk-violet);
    background: #f4f0ff;
    color: #3d2bb5;
}

.dk-tile.is-right {
    border-color: #14b88a;
    background: #e8fbf4;
}

.dk-tile.is-wrong {
    border-color: #ff5a4d;
    background: #fff0ee;
}

.dk-tile:disabled {
    cursor: default;
}

.dk-feedback {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    animation: dk-slide 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dk-feedback.is-right {
    background: #e8fbf4;
    border: 1px solid #b7ecd9;
}

.dk-feedback.is-wrong {
    background: #fff3f1;
    border: 1px solid #ffd2cb;
}

.dk-feedback img {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    background: #fff;
}

.dk-feedback strong {
    display: block;
    font-size: 16px;
    color: var(--dk-ink);
}

.dk-feedback span {
    display: block;
    margin-top: 3px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a4460;
}

.dk-feedback em {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
    color: #8f89a3;
}

.dk-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dk-conf {
    position: absolute;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    opacity: 0;
    animation: dk-fall 0.9s ease-out both;
}

.dk-conf-0 { inset-inline-start: 8%; background: #ffb020; animation-delay: 0s; }
.dk-conf-1 { inset-inline-start: 22%; background: #5b3df5; animation-delay: 0.06s; }
.dk-conf-2 { inset-inline-start: 36%; background: #00b8a9; animation-delay: 0.02s; }
.dk-conf-3 { inset-inline-start: 50%; background: #ff6b5a; animation-delay: 0.1s; }
.dk-conf-4 { inset-inline-start: 64%; background: #ffb020; animation-delay: 0.04s; }
.dk-conf-5 { inset-inline-start: 76%; background: #5b3df5; animation-delay: 0.08s; }
.dk-conf-6 { inset-inline-start: 88%; background: #00b8a9; animation-delay: 0.03s; }
.dk-conf-7 { inset-inline-start: 44%; background: #ff6b5a; animation-delay: 0.12s; }

.dk-actions {
    margin-top: 18px;
}

.dk-actions .dk-btn {
    width: 100%;
}

/* ---------- end screen ---------- */

.dk-end {
    text-align: center;
    padding: 26px 8px 10px;
    animation: dk-rise 0.5s ease both;
}

.dk-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 44px;
    line-height: 1;
}

.dk-star {
    color: #e6e1f2;
    transform: scale(0.9);
}

.dk-star.is-on {
    color: #ffb020;
    animation: dk-star-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both;
    text-shadow: 0 6px 14px rgba(255, 176, 32, 0.4);
}

.dk-end-score {
    margin: 14px 0 4px;
    font-size: 26px;
    font-weight: 800;
    color: var(--dk-ink);
}

.dk-end-line {
    margin: 0 0 22px;
    font-size: 15px;
    color: var(--dk-ink-2);
}

.dk-end-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ---------- keyframes ---------- */

@keyframes dk-rise {
    from { transform: translateY(14px); }
    to { transform: translateY(0); }
}

@keyframes dk-slide {
    from { transform: translateY(10px); }
    to { transform: translateY(0); }
}

@keyframes dk-pop {
    0% { transform: scale(0.9) rotate(-2deg); }
    70% { transform: scale(1.03) rotate(0.5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes dk-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes dk-float-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-18px, 22px, 0) scale(1.08); }
}

@keyframes dk-float-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(24px, -18px, 0) scale(1.06); }
}

@keyframes dk-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes dk-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes dk-star-pop {
    0% { transform: scale(0.4) rotate(-30deg); }
    70% { transform: scale(1.15) rotate(6deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes dk-fall {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(52px) rotate(160deg); }
}

/* ---------- responsive ---------- */

@media (min-width: 720px) {
    .dk-hero {
        padding: 44px 40px 46px;
    }

    .dk-hero-copy {
        max-width: 58%;
    }

    .dk-hero-art {
        display: block;
        position: absolute;
        inset-inline-end: 24px;
        bottom: 0;
        width: 34%;
        max-width: 260px;
        height: 100%;
        pointer-events: none;
    }

    .dk-hero-nour {
        position: absolute;
        inset-inline-end: 6%;
        top: 0;
        width: 74%;
        animation: dk-bob 6s ease-in-out infinite;
    }

    .dk-hero-fahmy {
        position: absolute;
        inset-inline-start: -8%;
        bottom: 0;
        width: 52%;
        animation: dk-bob 7s ease-in-out infinite 0.9s;
    }

    .dk-chars {
        grid-template-columns: 1fr 1fr;
    }

    .dk-units {
        grid-template-columns: 1fr 1fr;
    }

    .dk-char-img {
        width: 108px;
        height: 108px;
    }

    .dk-play-fahmy {
        width: 210px;
        opacity: 0.22;
    }
}

@media (min-width: 1000px) {
    .dk-hero {
        padding: 52px 48px 54px;
    }

    .dk-hero-copy {
        max-width: 56%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dk-orb,
    .dk-spark,
    .dk-char-img,
    .dk-bubble,
    .dk-play-fahmy,
    .dk-hero-nour,
    .dk-hero-fahmy,
    .dk-dot.is-now,
    .dk-star.is-on,
    .dk-conf {
        animation: none;
    }

    .dk-hero-copy,
    .dk-wordmark,
    .dk-char,
    .dk-unit,
    .dk-lesson,
    .dk-qwrap,
    .dk-feedback,
    .dk-end {
        animation: none;
    }
}

/* Arabic fallback: the kit's display face has no Arabic glyphs, so headings take the
   text face and a line box tall enough for Arabic letterforms. */
.dk-wordmark,
.dk-h2,
.dk-unit-title,
.dk-unit-label,
.dk-play-title,
.dk-lesson-title,
.dk-prompt,
.dk-end-score,
.dk-char-name,
.dk-qcount,
.dk-lesson-crumb {
    font-family: inherit;
}

.dk-wordmark {
    line-height: 1.45;
    margin: 0 0 2px;
}

.dk-h2 {
    line-height: 1.6;
}

.dk-play-title {
    line-height: 1.55;
    margin: 4px 0 10px;
}

.dk-prompt {
    line-height: 1.75;
}

.dk-end-score {
    line-height: 1.5;
}

.dk-lesson-title {
    line-height: 1.5;
}

.dk-char-name {
    line-height: 1.5;
}

/* Keep the lesson column readable on wide screens. */
.dk-lesson-top,
.dk-lesson-head,
.dk-qwrap,
.dk-end {
    max-width: 760px;
    margin-inline: auto;
}

.dk-lesson-top {
    max-width: 760px;
}

/* standalone page shell */
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    color: #221b3a;
    font-family: "KMR Melange Grotesk", "Segoe UI", "Noto Kufi Arabic", "Cairo", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.dk-shell { max-width: 1040px; margin: 0 auto; padding: 24px; }
.dk-page { display: none; }
.dk-page.is-on { display: block; }
.dk-hero, .dk-section, .dk-lesson-top, .dk-lesson-head, .dk-qwrap, .dk-end { margin-inline: auto; }
