@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;600;700&family=Noto+Sans+Arabic:wght@400;600;700&display=swap");
:root {
    --canvas: #fff;
    --white: #fff;
    --ink: #2f343c;
    --muted: #555c68;
    --line: #e6e3ec;
    --purple: #6a4bb0;
    --purple-hover: #563b94;
    --lavender: #f3effa;
    --sage: #f6f8f1;
    --radius: 1rem;
    --spacing: 0.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: "DM Sans", "Noto Sans KR", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

::selection {
    background: #dfd2f4;
    color: #362253;
}

a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 0.35em;
}

button,
select {
    font: inherit;
    color: inherit;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 0.1875rem solid var(--purple);
    outline-offset: 0.3125rem;
}

button:disabled {
    cursor: wait;
    opacity: 0.55;
}

p {
    color: var(--muted);
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 700;
    text-wrap: balance;
    word-break: keep-all;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
    white-space: pre-line;
}

h1,
h2 {
    line-height: 1.3;
}

h2 {
    font-size: 2.75rem;
    margin: 0;
}

h3 {
    font-size: 1.625rem;
    line-height: 1.4;
    margin: 0;
}

figure {
    margin: 0;
}

.wrap {
    max-width: 75rem;
    margin-inline: auto;
    padding-inline: 2rem;
}

.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    vertical-align: middle;
}

.icon-defs {
    width: 0;
    height: 0;
    position: absolute;
    overflow: hidden;
}

.site-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 75rem;
    margin: auto;
    min-height: 6rem;
    padding: 0.875rem 2rem;
    border-bottom: 0.0625rem solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 3rem;
    white-space: nowrap;
}

.brand-mark {
    width: 5.375rem;
    height: auto;
    display: block;
}

.brand-mark img {
    width: 5.375rem;
    height: auto;
    display: block;
}

.brand b {
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-inline: auto;
    font-size: 1rem;
    font-weight: 500;
}

nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

nav a:hover {
    color: var(--purple);
}

.header-actions {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language > .icon {
    display: none;
}

.language select {
    border: 0.0625rem solid #cfcbda;
    border-radius: 0.5rem;
    background: var(--white);
    font-size: 0.9375rem;
    max-width: 8.5rem;
    min-height: 2.75rem;
    padding: 0 0.625rem;
    cursor: pointer;
}

.login {
    border: 0;
    border-radius: 0.5rem;
    background: var(--purple);
    color: white;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.login:hover {
    background: var(--purple-hover);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding-block: 4.5rem 5.5rem;
}

.hero h1 {
    font-size: clamp(2.375rem, 4.8vw, 4rem);
    margin: 0 0 1.625rem;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--purple);
}

.lead {
    font-size: 1.1875rem;
    line-height: 1.75;
    max-width: 31.25rem;
    word-break: keep-all;
}

.actions {
    display: flex;
    align-items: center;
    gap: 0.75rem 1.75rem;
    flex-wrap: wrap;
    margin-top: 1.625rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0 1.625rem;
    min-height: 3.375rem;
    border-radius: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    transition: background 0.2s;
}

.primary {
    background: var(--purple);
    color: #fff;
}

.primary:hover {
    background: var(--purple-hover);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 3.375rem;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-bottom: 0.125rem solid currentColor;
}

.text-link:hover {
    color: var(--purple);
}

.text-link .icon {
    width: 1.125rem;
    height: 1.125rem;
}

.hero-note {
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.hero-photo {
    position: relative;
    padding: 0;
    min-width: 0;
}

.hero-photo > .campus-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-photo > .photo-kobi {
    position: absolute;
    width: 7rem;
    height: auto;
    bottom: -0.5rem;
    left: -1.75rem;
    object-fit: contain;
    display: block;
}

figcaption {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.625rem;
}

.hero-photo figcaption {
    text-align: end;
    padding-inline-start: 5rem;
}

.trust {
    display: flex;
    align-items: center;
    gap: 1.5rem 2.5rem;
    border-block: 0.0625rem solid var(--line);
    padding-block: 1.375rem;
}

.trust > p {
    font-size: 0.9375rem;
    max-width: 16rem;
    line-height: 1.7;
}

.trust-schools {
    display: flex;
    gap: 0.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
}

.trust-event {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    min-height: 2.75rem;
}

.trust-event > span:first-child {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
}

.trust-event > span:nth-child(2) {
    font-size: 0.9375rem;
}

.section {
    padding-block: 6.5rem;
}

.section-top {
    display: flex;
    gap: 1.25rem 4rem;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-top > h2 {
    max-width: 36rem;
    flex: 1;
}

.section-top > p {
    max-width: 27.5rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    flex: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: white;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    text-align: center;
}

.feature-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--purple);
}

.feature-card h3 {
    font-size: 1.625rem;
    min-block-size: 2.8em;
}

.feature-card > p {
    font-size: 1rem;
    line-height: 1.75;
}

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
}

.feature-tags li {
    background: var(--lavender);
    border-radius: 0.375rem;
    padding: 0.4375rem 0.75rem;
}

.why {
    background: var(--lavender);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.why-grid > div:first-child > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-top: 1.375rem;
}

.population {
    background: white;
    border-radius: var(--radius);
    padding: 2.25rem;
    min-width: 0;
}

.population h3 {
    font-size: 1.3125rem;
    line-height: 1.5;
    margin-bottom: 1.375rem;
}

.population-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "year count" "bar bar";
    align-items: baseline;
    gap: 0.5rem;
    margin-block: 1.375rem;
}

.population-row > span {
    grid-area: year;
    font-size: 0.9375rem;
    color: var(--muted);
}

.population-row > div {
    grid-area: bar;
    height: 0.75rem;
    background: #ece9f2;
    border-radius: 0.375rem;
}

.population-row i {
    display: block;
    height: 0.75rem;
    background: #b9a8e0;
    border-radius: 0.375rem;
}

.population-row:nth-of-type(2) i {
    background: var(--purple);
}

.population-row strong {
    grid-area: count;
    text-align: end;
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.population > p {
    font-size: 0.9375rem;
}

.source {
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    max-width: 100%;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.evidence-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
}

.evidence-main {
    padding: 2.25rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius);
    min-width: 0;
}

.evidence-main > h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.university-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.125rem 0;
    border-top: 0.0625rem solid var(--line);
}

.university-row:nth-of-type(2) {
    border-bottom: 0.0625rem solid var(--line);
}

.university-row > strong {
    font-size: 1.375rem;
    font-weight: 700;
}

.university-row > span {
    font-size: 0.9375rem;
    color: var(--muted);
}

.evidence-main > p {
    font-size: 1rem;
    margin-top: 1.25rem;
    line-height: 1.75;
}

.event {
    background: var(--purple);
    color: #fff;
    padding: 2.25rem;
    border-radius: var(--radius);
    min-width: 0;
}

.event-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 700;
}

.event-date {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 1.625rem;
}

.event-date > span {
    font-size: 1.25rem;
}

.event-date > b {
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.event > h3 {
    font-size: 1.375rem;
    margin: 1.375rem 0 0.875rem;
}

.event > p {
    font-size: 1rem;
    color: inherit;
    line-height: 1.75;
}

.scheduled {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--ink);
    background: white;
    border-radius: 0.375rem;
    padding: 0.4375rem 0.75rem;
    font-weight: 700;
    margin-top: 1.25rem;
}

.evidence-note {
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.community {
    background: var(--sage);
}

.loop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.community-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.loop-copy > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-top: 1.375rem;
}

.loop-features {
    list-style: none;
    padding: 0;
    margin: 1.625rem 0 0;
    display: flex;
    flex-direction: column;
    font-size: 1.125rem;
    font-weight: 700;
}

.loop-features li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 0;
    border-top: 0.0625rem solid #dce2cf;
}

.loop-features li:last-child {
    border-bottom: 0.0625rem solid #dce2cf;
}

.loop-features .icon {
    color: #65734d;
    width: 1.375rem;
    height: 1.375rem;
}

.faq {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem 4rem;
}

.faq > h2 {
    align-self: start;
}

.faq > div {
    border-top: 0.0625rem solid var(--ink);
}

.faq details {
    padding: 1.375rem 0;
    border-bottom: 0.0625rem solid var(--line);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-weight: 700;
    font-size: 1.1875rem;
    min-height: 2.75rem;
    line-height: 1.5;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:after {
    content: "+";
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--muted);
}

.faq details[open] summary:after {
    content: "−";
}

.faq details p {
    font-size: 1rem;
    line-height: 1.75;
    margin-top: 0.5rem;
}

.contact-band {
    background: var(--purple);
    color: white;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem 3.5rem;
    padding-block: 5.5rem 0;
}

.contact > div {
    padding-bottom: 5.5rem;
    min-width: 0;
}

.contact h2 {
    font-size: 3rem;
    max-width: 43.75rem;
}

.contact > .kobi-mascot {
    width: 13.75rem;
    height: auto;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
}

.contact-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 2rem;
    font-size: 1.0625rem;
    font-weight: 500;
    margin-top: 2rem;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 2rem;
    padding-block: 1.5rem 2.25rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

footer > a:last-child {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

footer .brand-mark {
    width: 4.5rem;
}

footer .brand-mark img {
    width: 4.5rem;
}

footer .brand b {
    font-size: 0.9375rem;
}

#loginDialog {
    border: 0;
    padding: 2.5rem 2rem 1.75rem;
    max-width: 32rem;
    width: calc(100% - 2rem);
    max-height: calc(100dvh - 2rem);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 1.5rem 4rem #22232b30;
    text-align: center;
    overscroll-behavior: contain;
}

#loginDialog::backdrop {
    background: #282a326b;
}

.dialog-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dialog-brand {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    color: var(--ink);
}

.dialog-brand img {
    display: block;
    width: 6.5rem;
    height: auto;
}

.dialog-brand b {
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

#loginDialog .close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    background: none;
    border: 0;
    border-radius: 50%;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    color: var(--muted);
    padding: 0.625rem;
}

#loginDialog .close .icon {
    width: 1.25rem;
    height: 1.25rem;
}

#loginDialog .close:hover {
    background: var(--lavender);
    color: var(--purple);
}

#loginDialog .close:focus-visible {
    outline: 0.125rem solid var(--purple);
    outline-offset: 0.125rem;
}

#loginDialog h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0 auto 0.625rem;
    white-space: normal;
    overflow-wrap: normal;
    max-width: 26rem;
}

#loginTitle:focus {
    outline: none;
}

#loginDescription {
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 25rem;
    margin-inline: auto;
}

.login-options {
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 1.5rem;
}

.login-options > a,
.login-options > button {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.125rem;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    min-height: 4.5rem;
    border: 0.0625rem solid var(--line);
    background: var(--white);
    border-radius: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: start;
    transition:
        background 0.16s,
        border-color 0.16s;
}

.login-options > a:hover,
.login-options > button:hover {
    border-color: #b6a4d8;
    background: #faf8fd;
}

.login-option-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--lavender);
    color: var(--purple);
}

.login-option-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.login-options strong {
    font-weight: 600;
    overflow-wrap: normal;
}

.login-options .option-arrow {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--muted);
}

#loginDialog .login-help {
    display: block;
    border-top: 0.0625rem solid var(--line);
    padding-top: 1.125rem;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.75;
}

#loginDialog .notice {
    background: var(--lavender);
    border-radius: 0.625rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.skip {
    position: fixed;
    top: -6.25rem;
    left: 1.25rem;
    z-index: 100;
    background: white;
    padding: 0.75rem;
}

.skip:focus {
    top: 0.625rem;
}

html[lang="ur"] :is(h1, h2, h3, p, figcaption, .feature-sentence) {
    direction: rtl;
    unicode-bidi: isolate;
}

html[lang="ur"] :is(h1, h2, h3) {
    letter-spacing: 0;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .site-header {
        gap: 1.25rem;
    }
    nav {
        gap: 1.125rem;
        font-size: 0.9375rem;
    }
    .hero {
        gap: 2.5rem;
    }
    .hero h1 {
        font-size: 3.375rem;
    }
    .section-top {
        gap: 2.5rem;
    }
    .contact h2 {
        font-size: 2.75rem;
    }
    .contact > .kobi-mascot {
        width: 11rem;
    }
    .trust {
        flex-wrap: wrap;
    }
    .trust > p {
        max-width: none;
        flex-basis: 100%;
    }
    .trust-event {
        margin-inline-start: auto;
    }
    .loop-grid,
    .why-grid {
        gap: 2.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 5rem;
    }
    .site-header {
        min-height: 5rem;
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    .site-header nav {
        display: none;
    }
    .header-actions {
        margin-inline-start: auto;
        gap: 0.5rem;
    }
    .brand {
        gap: 0.5rem;
    }
    .brand-mark,
    .brand-mark img {
        width: 4.5rem;
    }
    .brand b {
        font-size: 0.875rem;
        letter-spacing: 0.04em;
    }
    .language select {
        font-size: 0.8125rem;
        max-width: 6.5rem;
        padding: 0 0.5rem;
    }
    .login {
        font-size: 0.875rem;
        padding: 0 0.875rem;
    }
    .wrap {
        padding-inline: 1.5rem;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding-block: 2.5rem 3.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.375rem;
    }
    .hero h1.long {
        font-size: 2.125rem;
    }
    .lead {
        font-size: 1.0625rem;
        max-width: none;
        line-height: 1.8;
    }
    .actions {
        gap: 0.75rem 1.5rem;
        margin-top: 1.5rem;
    }
    .button {
        font-size: 1rem;
        padding-inline: 1.25rem;
        min-height: 3.25rem;
    }
    .text-link {
        font-size: 1rem;
        min-height: 3.25rem;
    }
    .hero-note {
        margin-top: 1.5rem;
        font-size: 0.875rem;
    }
    .hero-photo > .photo-kobi {
        width: 5rem;
        left: -0.75rem;
        bottom: 0;
    }
    .hero-photo figcaption {
        padding-inline-start: 4.25rem;
        font-size: 0.75rem;
    }
    figcaption {
        font-size: 0.75rem;
    }
    .trust {
        padding-block: 1.375rem;
        gap: 0.75rem;
    }
    .trust-schools {
        gap: 0.5rem 1.25rem;
        font-size: 1rem;
    }
    .trust > p {
        font-size: 0.875rem;
    }
    .trust-event {
        margin: 0;
        flex-basis: 100%;
        border-top: 0.0625rem solid var(--line);
        padding-top: 0.75rem;
        min-height: 3.25rem;
    }
    .trust-event > span:nth-child(2) {
        font-size: 0.875rem;
    }
    .section {
        padding-block: 4rem;
    }
    h2 {
        font-size: 2rem;
    }
    .section-top {
        display: block;
        margin-bottom: 2rem;
    }
    .section-top > p {
        max-width: none;
        margin-top: 1.25rem;
        font-size: 1rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    .feature-card h3 {
        font-size: 1.5rem;
    }
    .feature-card > p {
        font-size: 1rem;
    }
    .feature-label {
        font-size: 0.875rem;
    }
    .feature-tags {
        font-size: 0.8125rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .why-grid > div:first-child > p {
        font-size: 1rem;
    }
    .population {
        padding: 1.5rem;
    }
    .population h3 {
        font-size: 1.1875rem;
    }
    .population > p {
        font-size: 0.875rem;
    }
    .source {
        font-size: 0.8125rem;
    }
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .evidence-main,
    .event {
        padding: 1.5rem;
    }
    .evidence-main > h3 {
        font-size: 1.25rem;
    }
    .university-row {
        gap: 0.25rem 0.75rem;
    }
    .university-row > strong {
        font-size: 1.25rem;
    }
    .university-row > span {
        font-size: 0.875rem;
    }
    .evidence-main > p {
        font-size: 1rem;
    }
    .event-date > b {
        font-size: 3.5rem;
    }
    .event > h3 {
        font-size: 1.375rem;
    }
    .event > p {
        font-size: 1rem;
    }
    .evidence-note {
        font-size: 0.8125rem;
    }
    .loop-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .loop-copy {
        grid-row: 1;
    }
    .loop-copy > p {
        font-size: 1rem;
    }
    .loop-features {
        font-size: 1rem;
    }
    .faq {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .faq summary {
        font-size: 1.0625rem;
    }
    .faq details p {
        font-size: 1rem;
    }
    .contact {
        padding-block: 3.5rem 0;
        position: relative;
        display: block;
    }
    .contact > div {
        padding-bottom: 3.5rem;
    }
    .contact h2 {
        font-size: 2rem;
        max-width: none;
    }
    .contact > .kobi-mascot {
        position: absolute;
        width: 6rem;
        bottom: 0;
        right: 1rem;
    }
    .contact-bottom {
        font-size: 0.875rem;
        gap: 0.375rem 1.25rem;
        padding-inline-end: 4.5rem;
        margin-top: 1.5rem;
    }
    footer {
        flex-wrap: wrap;
        font-size: 0.8125rem;
        padding-block: 1.5rem;
        gap: 1rem;
    }
    footer > span {
        order: 3;
        flex-basis: 100%;
    }
    footer .brand b {
        font-size: 0.875rem;
    }
    dialog {
        padding: 1.5rem;
    }
    dialog h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-inline: 1rem;
        gap: 0.5rem;
    }
    .brand {
        gap: 0.375rem;
    }
    .brand-mark,
    .brand-mark img {
        width: 4rem;
    }
    .brand b {
        font-size: 0.75rem;
    }
    .header-actions {
        gap: 0.375rem;
    }
    .language select {
        max-width: 5.5rem;
    }
    .login {
        padding-inline: 0.625rem;
    }
    .wrap {
        padding-inline: 1.25rem;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero h1.long {
        font-size: 2rem;
    }
    .text-link,
    .button {
        font-size: 0.9375rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}

/* Approved three-line slogan, scaled down especially on phones. */
.hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy {
    min-width: 0;
}

.hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.4;
}

.hero h1 .hero-line {
    display: block;
    white-space: nowrap;
    color: var(--ink);
}

.hero h1 .hero-line:last-child {
    color: var(--purple);
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero h1,
    .hero h1.long {
        font-size: clamp(1.5rem, 6.8vw, 1.875rem);
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .hero h1,
    .hero h1.long {
        font-size: 1.625rem;
    }
}

/* Original KERIS color CI, with its artwork and proportions preserved. */
.keris-logo {
    display: block;
    width: 7.5rem;
    height: auto;
    flex-shrink: 0;
}

.trust-event {
    max-width: 100%;
}

.trust-event > span {
    min-width: 0;
    line-height: 1.5;
}

.event-top .keris-logo {
    box-sizing: content-box;
    background: #fff;
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
}

@media (max-width: 760px) {
    .trust-event .keris-logo {
        width: 7rem;
    }
}

/* Centered, restrained login service chooser. */
@media (max-width: 760px) {
    #loginDialog {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    #loginDialog h2 {
        font-size: 1.375rem;
    }
    .dialog-brand img {
        width: 6rem;
    }
    .dialog-brand b {
        font-size: 0.875rem;
    }
    .dialog-top {
        margin-bottom: 1.25rem;
    }
    .login-options {
        margin-block: 1.5rem 1.25rem;
    }
    .login-options > a,
    .login-options > button {
        padding: 0.9375rem 0.875rem;
        gap: 0.75rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 380px) {
    #loginDialog {
        padding-inline: 1.25rem;
    }
    .login-options > a,
    .login-options > button {
        gap: 0.625rem;
    }
}

/* Proposal-sourced product detail within the existing platform layout. */
.feature-screen {
    margin-top: auto;
    padding-top: 0.5rem;
}

.feature-screen img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: contain;
}

.feature-screen figcaption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.feature-tags li {
    max-width: 100%;
    overflow-wrap: normal;
}

.learning-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 0.0625rem solid var(--line);
}

.learning-intro {
    min-width: 0;
}

.learning-intro h3 {
    font-size: 1.875rem;
    line-height: 1.4;
}

.learning-intro > p {
    margin-top: 1.125rem;
    font-size: 1rem;
}

.learning-benefits {
    padding-inline-start: 1.125rem;
    margin: 1.5rem 0 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
}

.learning-benefits li {
    padding-inline-start: 0.25rem;
    margin-block: 0.5rem;
}

.learning-benefits li::marker {
    color: var(--purple);
}

.course-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
    list-style: none;
    counter-reset: course-step;
    padding: 0;
    margin: 0;
}

.course-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding-block: 1rem;
    border-bottom: 0.0625rem solid var(--line);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
}

.course-steps li:before {
    counter-increment: course-step;
    content: counter(course-step, decimal-leading-zero);
    color: var(--purple);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.course-steps span {
    overflow-wrap: normal;
}

.language-support {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    border-top: 0.0625rem solid var(--line);
    padding-top: 2rem;
    margin-top: 2.5rem;
}

.language-support > div {
    min-width: 0;
}

.language-support h3 {
    font-size: 1.3125rem;
}

.supported-languages {
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.9;
    font-weight: 500;
}

.product-community img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    clip-path: inset(2px round 0.75rem);
}

/* The captured community screen includes a dark outer capture edge. */
#imageDialog img[src$="/program-community.webp"] {
    clip-path: inset(2px round 0.75rem);
}

.loop-copy .quiz-copy {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

@media (max-width: 760px) {
    .learning-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
    .learning-intro h3 {
        font-size: 1.625rem;
    }
    .course-steps li {
        font-size: 1.125rem;
        padding-block: 1rem;
        gap: 0.625rem;
    }
    .language-support {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    .language-support h3 {
        font-size: 1.25rem;
    }
    .feature-screen figcaption {
        font-size: 0.75rem;
    }
    .loop-copy .quiz-copy {
        font-size: 0.9375rem;
    }
}

@media (max-width: 380px) {
    .course-steps {
        grid-template-columns: 1fr;
    }
    .course-steps li {
        padding-block: 0.75rem;
    }
}

.feature-card > p {
    white-space: normal;
    text-wrap: balance;
    max-width: 30rem;
    margin-inline: auto;
}

.feature-sentence {
    display: block;
    text-wrap: balance;
}

.feature-sentence + .feature-sentence {
    margin-top: 0;
}



@supports (grid-template-rows: subgrid) {
    .feature-card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 5;
        align-items: start;
    }
    .feature-card .feature-screen {
        margin-top: 0;
    }
}

.platform .section-top > p,
.feature-card > p,
.learning-intro > p,
.language-support p,
.loop-copy > p {
    word-break: keep-all;
    overflow-wrap: normal;
}

/* Requested caption, expansion and company-link cleanup. */
.feature-screen img {
    background: #faf9fd;
    border-radius: 0.5rem;
}

.feature-screen figcaption {
    display: block;
}

footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    direction: ltr;
    text-align: left;
}

footer > span {
    order: 0;
    flex-basis: auto;
}

@media (max-width: 760px) {
    .contact-bottom {
        padding-inline-end: 6.5rem;
    }
}

/* Direct phone/email contact, with the requested short headline. */
.contact-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    max-width: 100%;
}

.contact-bottom a[href^="mailto:"] {
    text-decoration: underline;
    text-decoration-thickness: 0.0625rem;
    text-underline-offset: 0.3em;
}

.contact-bottom a:hover {
    text-decoration: underline;
}

.contact-bottom a:focus-visible {
    outline-color: #fff;
}

@media (max-width: 760px) {
    .contact-bottom {
        font-size: 1rem;
    }
}

/* The original KOBI artwork reacts only to an explicit click or touch. */
.kobi-mascot {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    min-width: 2.75rem;
    min-height: 2.75rem;
    line-height: 0;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    border-radius: 0.75rem;
    isolation: isolate;
}

.kobi-mascot > img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    transform-origin: 50% 50%;
    user-select: none;
    -webkit-user-select: none;
}

.kobi-mascot:focus-visible {
    outline: 0.1875rem solid var(--purple);
    outline-offset: 0.3125rem;
}

.contact .kobi-mascot:focus-visible {
    outline-color: #fff;
}

/* Keep navigation and translated controls within the available header width. */
h2,
h3,
.lead {
    overflow-wrap: normal;
}

html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] .lead {
    word-break: normal;
}

html {
    scroll-padding-top: var(--header-offset, 1rem);
    scrollbar-gutter: stable;
}

.site-header .brand,
.header-actions {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.375rem 0.75rem;
        padding: 0.75rem 1.25rem 0.5rem;
        background: var(--white);
    }
    .site-header .brand {
        grid-column: 1;
        grid-row: 1;
    }
    .header-actions {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        gap: 0.375rem;
    }
    .site-header nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin: 0;
        gap: 0.5rem;
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    .site-header nav a {
        justify-content: center;
        text-align: center;
        overflow-wrap: normal;
    }
    .site-header .login {
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .site-header {
        padding-inline: 1rem;
        column-gap: 0.5rem;
    }
    .site-header .brand {
        gap: 0.375rem;
    }
    .site-header .brand-mark,
    .site-header .brand-mark img {
        width: 4.5rem;
    }
    .site-header .brand b {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }
    .site-header .language select {
        width: 6rem;
        max-width: 6rem;
        font-size: 0.8125rem;
        padding-inline: 0.375rem;
    }
    .site-header .login {
        font-size: 0.8125rem;
        padding-inline: 0.625rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-inline: 0.5rem;
    }
}

@media (max-width: 350px) {
    .site-header .brand b {
        display: none;
    }
}

/* Give tablet headings a full row while keeping the supporting content in columns. */
@media (min-width: 761px) and (max-width: 1100px) {
    .section-top {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }
    .section-top > h2,
    .section-top > p {
        flex: none;
        max-width: none;
    }
    .section-top h2,
    .why h2,
    .loop-copy h2,
    .faq > h2,
    .contact h2 {
        font-size: 2.25rem;
    }
    .why-grid,
    .loop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 1.5rem 2.5rem;
    }
    .why-grid > div:first-child,
    .loop-copy {
        display: contents;
    }
    .why-grid h2,
    .loop-copy h2 {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .why-grid > div:first-child > p {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }
    .why-grid > .population {
        grid-column: 2;
        grid-row: 2;
    }
    .loop-grid > .community-photo {
        grid-column: 1;
        grid-row: 2 / 5;
    }
    .loop-copy > p,
    .loop-copy > ul {
        grid-column: 2;
        margin: 0;
    }
    .loop-copy > p:not(.quiz-copy) {
        grid-row: 2;
    }
    .loop-copy > ul {
        grid-row: 3;
    }
    .loop-copy > .quiz-copy {
        grid-row: 4;
        margin: 0;
    }
    .faq {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
    .contact {
        column-gap: 2rem;
    }
}

@media (max-width: 900px) and (min-height: 600px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10;
    }
}

@media (max-width: 600px) {
    .course-steps {
        grid-template-columns: minmax(0, 1fr);
    }
    .course-steps li {
        padding-block: 0.75rem;
    }
    .course-steps span {
        overflow-wrap: normal;
        word-break: normal;
    }
}

/* Fixed body preserves the reading position, including mobile browsers. */
html.modal-open {
    overflow: hidden;
}

.modal-open body {
    position: fixed;
    inset-inline: 0;
    width: auto;
    overflow: hidden;
}

#loginDialog {
    overflow-y: auto;
}

/* Product screenshots retain their card layout and open in a larger viewer. */
.screen-zoom {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    cursor: zoom-in;
    text-align: inherit;
}

.screen-zoom-indicator {
    position: absolute;
    inset-inline-end: 0.375rem;
    bottom: 0.375rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--purple);
    line-height: 1;
}

.language select:focus,
.language select:focus-visible {
    outline: none;
    box-shadow: none;
}

.language select:focus-visible {
    background: var(--lavender);
}

/* Retain all product copy while giving titles, descriptions and tags distinct weight. */
.feature-card {
    gap: 0.875rem;
}

.feature-card > p {
    line-height: 1.8;
}

.feature-tags {
    gap: 0.375rem 0.5rem;
    margin-top: 0;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.feature-tags li {
    padding: 0.3125rem 0.625rem;
}

.feature-screen figcaption,
.product-community figcaption {
    color: var(--muted);
}

@media (min-width: 761px) and (max-width: 1100px) {
    .section {
        padding-block: 4.5rem;
    }
    .section-top {
        margin-bottom: 2.25rem;
    }
    .learning-detail {
        margin-top: 2.75rem;
        padding-top: 2.75rem;
    }
}

@media (max-width: 760px) {
    .section {
        padding-block: 3.5rem;
    }
    .section-top {
        margin-bottom: 1.75rem;
    }
    .feature-card > p {
        font-size: 0.9375rem;
    }
}

#imageDialog {
    width: calc(100% - 2rem);
    max-width: 72rem;
    max-height: calc(100dvh - 2rem);
    padding: 1rem;
    border: 0;
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    overflow: auto;
    overscroll-behavior: contain;
}

#imageDialog::backdrop {
    background: #282a326b;
}

.image-dialog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

#imageDialog .close {
    position: static;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
}

.image-zoom-toggle {
    min-height: 2.75rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--lavender);
    color: var(--purple);
}

#imageCaption {
    margin-block: 0.5rem 0.75rem;
    overflow-wrap: normal;
}

.image-viewport {
    max-height: calc(100dvh - 12rem);
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 0.5rem;
    background: #faf9fd;
}

.image-viewport img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 12rem);
    margin-inline: auto;
}

.is-zoomed .image-viewport img {
    max-width: none;
    max-height: none;
    margin: 0;
}

.image-viewport:focus-visible {
    outline: 0.1875rem solid var(--purple);
    outline-offset: 0.1875rem;
}

/* Physical device insets must not swap when the selected language is RTL. */
:root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

html {
    scroll-padding-top: calc(var(--header-offset, 1rem) + var(--safe-top));
}

body {
    padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
}

.site-header {
    top: 0;
    position: relative;
}

.site-header::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 100%;
    height: var(--safe-top);
    background: var(--white);
    pointer-events: none;
}

@media (max-width: 900px) and (min-height: 600px) {
    .site-header {
        position: sticky;
        top: var(--safe-top);
    }
}

/* The fixed, scroll-locked body already supplies the header's top inset. */
.modal-open .site-header {
    top: 0;
}

.skip {
    left: calc(1.25rem + var(--safe-left));
}

.skip:focus {
    top: calc(0.625rem + var(--safe-top));
}

/* Native dialogs occupy the top layer and need their own safe viewport bounds. */
#loginDialog,
#imageDialog {
    inset: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
    margin: auto;
    width: calc(100% - 2rem - var(--safe-left) - var(--safe-right));
    max-height: calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));
}

.image-viewport,
.image-viewport img {
    max-height: calc(100dvh - 12rem - var(--safe-top) - var(--safe-bottom));
}

.is-zoomed .image-viewport img {
    max-height: none;
}

/* Compact disclosure navigation keeps long translations on their own rows. */
.mobile-menu {
    display: none;
}

.mobile-menu summary {
    display: grid;
    place-items: center;
    width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu .menu-close-icon,
.mobile-menu[open] .menu-open-icon {
    display: none;
}

.mobile-menu[open] .menu-close-icon {
    display: block;
}

.mobile-menu nav {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto 2.75rem;
        column-gap: 0.5rem;
        row-gap: 0;
        min-height: 0;
        padding-block: 0.5rem;
    }
    .site-header > nav {
        display: none;
    }
    .mobile-menu {
        display: block;
        grid-column: 3;
        grid-row: 1;
    }
    .mobile-menu[open] nav {
        display: grid;
        position: absolute;
        top: calc(100% + 0.5rem);
        inset-inline-end: 1rem;
        width: min(24rem, calc(100% - 2rem));
        grid-template-columns: minmax(0, 1fr);
        gap: 0.25rem;
        padding: 0.5rem;
        max-height: calc(100dvh - var(--header-offset, 6rem) - var(--safe-top) - var(--safe-bottom) - 1rem);
        overflow-y: auto;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 1rem;
        box-shadow: 0 0.75rem 2rem #2f1d4f1a;
        z-index: 1;
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    .mobile-menu nav a {
        justify-content: space-between;
        text-align: start;
        gap: 1rem;
        min-height: 3.25rem;
        padding: 0.75rem 1rem;
        border-radius: 0.625rem;
        font-weight: 600;
    }
    .mobile-menu nav a + a {
        border-top: 1px solid var(--lavender);
    }
    .mobile-menu nav a::after {
        content: '';
        width: 0.375rem;
        height: 0.375rem;
        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;
        transform: rotate(45deg);
        color: var(--purple);
        flex-shrink: 0;
    }
    .mobile-menu nav a:hover,
    .mobile-menu nav a:focus-visible,
    .mobile-menu[open] summary {
        color: var(--purple);
        background: var(--lavender);
    }
    .mobile-menu[open] summary {
        border-color: #c6b6e2;
    }
}

@media (max-width: 430px) {
    .site-header .brand {
        flex-direction: column;
        gap: 0;
        line-height: 1;
    }
    .site-header .brand b {
        font-size: 0.75rem;
        line-height: 1.4;
        display: block;
    }
}

@media (max-width: 350px) {
    .site-header {
        column-gap: 0.375rem;
    }
    .site-header .brand-mark,
    .site-header .brand-mark img {
        width: 3.75rem;
    }
    .site-header .language select {
        width: 5.25rem;
        max-width: 5.25rem;
        padding-inline: 0.25rem;
    }
    .site-header .login {
        font-size: 0.75rem;
        padding-inline: 0.5rem;
    }
}

/* Keep the platform introduction stacked and centered at every screen size. */
.platform .section-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.platform .section-top > h2,
.platform .section-top > p {
    flex: none;
    width: 100%;
    margin: 0;
}

.platform .section-top > h2 {
    max-width: 48rem;
}

.platform .section-top > p {
    max-width: 44rem;
}

/* Chinese does not use spaces between words; prefer language-aware phrase breaks. */
html[lang="zh"] :is(h1, h2, h3, p, a, li, span, strong, small, summary, figcaption) {
    word-break: normal;
    word-break: auto-phrase;
}

@media (max-width: 350px) {
    .section h2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 761px) and (max-width: 900px) {
    .course-steps li {
        font-size: 1.125rem;
    }
}

/* Keep the background ripple while character motion awaits a proper video asset. */
.contact-band {
    overflow: hidden;
    overflow: clip;
}

.contact > .kobi-mascot {
    position: relative;
}

.contact > .kobi-mascot::before,
.contact > .kobi-mascot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    aspect-ratio: 1;
    border: 1px solid #ffffff4d;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff14 0%, #ffffff05 55%, transparent 72%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    animation: kobi-contact-ripple 4.8s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

.contact > .kobi-mascot::after {
    animation-delay: -2.4s;
}

.contact .kobi-mascot:focus-visible {
    outline-offset: -0.1875rem;
}

@keyframes kobi-contact-ripple {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    15% { opacity: 0.65; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.55); }
}

@media (max-width: 760px) {
    .contact > .kobi-mascot {
        position: absolute;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact > .kobi-mascot::before,
    .contact > .kobi-mascot::after {
        animation: none;
    }
    .contact > .kobi-mascot::before,
    .contact > .kobi-mascot::after {
        opacity: 0;
    }
}

.feature-switcher,
.feature-position {
    display: none;
}

@media (max-width: 760px) {
    .feature-switcher {
        display: flex;
        justify-content: center;
        gap: 0.125rem;
        margin-top: 0.75rem;
    }

    .feature-switcher button {
        width: 2.75rem;
        min-height: 2.75rem;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
    }

    .feature-switcher button::before {
        content: '';
        display: block;
        width: 0.5rem;
        height: 0.5rem;
        margin-inline: auto;
        border-radius: 1rem;
        background: #cfcbda;
    }

    .feature-switcher button[aria-pressed="true"]::before {
        width: 1.25rem;
        background: var(--purple);
    }

    .feature-position {
        display: block;
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .feature-grid {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .feature-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-grid > .feature-card {
        display: flex;
        align-items: stretch;
        flex: 0 0 calc(100% - 2rem);
        padding: clamp(1rem, 4vw, 1.5rem);
        grid-row: auto;
        scroll-snap-align: start;
    }

    .feature-grid :focus-visible {
        outline-offset: -0.1875rem;
    }
}

/* Keep the contact mascot inset from the edge on landscape tablets. */
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
    .contact > .kobi-mascot {
        margin-inline-end: 2rem;
    }
}

/* Center presentation content on phones and portrait tablets. */
@media (max-width: 760px), (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
    main h1,
    main h2,
    main h3,
    main p {
        margin-inline: auto;
    }

    main,
    footer {
        text-align: center;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy,
    .hero-photo {
        width: 100%;
        max-width: 42rem;
        margin-inline: auto;
    }

    .lead {
        margin-inline: auto;
    }

    .learning-detail,
    .language-support,
    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .learning-detail > *,
    .language-support > *,
    .why-grid > .population,
    .why-grid > div:first-child > p {
        width: 100%;
        max-width: 42rem;
        margin-inline: auto;
    }

    .why-grid > div:first-child > p,
    .why-grid > .population {
        grid-column: 1;
        grid-row: auto;
    }

    .loop-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .loop-copy {
        display: contents;
    }

    .loop-grid > .community-photo,
    .loop-copy > * {
        width: 100%;
        max-width: 42rem;
        margin: 0;
    }

    .loop-grid > .community-photo {
        order: 1;
    }

    .actions,
    .trust-schools,
    .trust-event,
    .university-row,
    .event-top,
    .event-date,
    .loop-features li,
    .course-steps li,
    .contact-bottom {
        justify-content: center;
    }

    .trust {
        flex-direction: column;
    }

    .trust-schools {
        flex: none;
    }

    .trust-event {
        margin-inline: auto;
        flex-wrap: wrap;
    }

    .hero-photo figcaption {
        text-align: center;
        padding-inline: 0;
    }

    .learning-benefits {
        list-style: disc;
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
        padding-inline-start: 1.125rem;
        padding-inline-end: 0;
        text-align: start;
    }

    .learning-benefits li {
        padding-inline-start: 0.25rem;
    }

    .event-top {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .faq summary {
        display: block;
        position: relative;
        padding-inline: 2rem;
    }

    .faq summary::after {
        position: absolute;
        inset-inline-end: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact > div {
        padding-bottom: 0;
    }

    .contact-bottom {
        padding-inline: 0;
    }

    .contact > .kobi-mascot {
        position: relative;
        inset: auto;
    }

    footer {
        align-items: center;
    }


}

@media (max-width: 600px) {
    .site-header .brand {
        flex-direction: column;
        justify-self: start;
        width: fit-content;
        gap: 0;
        line-height: 1;
    }

    .site-header .brand b {
        display: block;
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Share number and icon columns across list rows at every screen size. */
    @supports (grid-template-columns: subgrid) {
        .course-steps {
            grid-template-columns: repeat(2, minmax(0, 1fr) max-content minmax(0, max-content) minmax(0, 1fr));
            column-gap: 0.75rem;
        }

        .course-steps li {
            display: grid;
            grid-template-columns: subgrid;
            grid-column: span 4;
        }

        .course-steps li::before {
            grid-column: 2;
            text-align: end;
        }

        .course-steps li > span {
            grid-column: 3;
            min-width: 0;
            text-align: start;
        }

        .loop-features {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 1.375rem minmax(0, max-content) minmax(0, 1fr);
            column-gap: 0.875rem;
        }

        .loop-features li {
            display: grid;
            grid-template-columns: subgrid;
            grid-column: 1 / -1;
        }

        .loop-features li > .icon {
            grid-column: 2;
        }

        .loop-features li > span {
            grid-column: 3;
            min-width: 0;
            text-align: start;
        }
    }

@media (max-width: 600px) {
    @supports (grid-template-columns: subgrid) {
        .course-steps {
            grid-template-columns: minmax(0, 1fr) max-content minmax(0, max-content) minmax(0, 1fr);
        }
    }
}
