:root {
    --bg: #050918;
    --panel: #0d1730d9;
    --ink: #f8f7ff;
    --muted: #aab3ca;
    --line: #917dde3d;
    --violet: #9b5cff;
    --blue: #4f8cff;
    --green: #43d8b3;
    --role: #b35cff;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    background: var(--bg);
    overflow-x: clip;
}
@media (max-width: 640px) {
    html {
        scroll-padding-top: 80px;
    }
}
body {
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at 82% 8%, #6426b133, transparent 31rem),
        radial-gradient(circle at 12% 45%, #245dc81c, transparent 35rem), var(--bg);
}
body:before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image: linear-gradient(#6d7cc00e 1px, transparent 1px),
        linear-gradient(90deg, #6d7cc00e 1px, transparent 1px);
    background-size: 112px 112px;
    mask-image: linear-gradient(#000, transparent);
}
a {
    color: inherit;
    text-decoration: none;
}
.shell {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}
.section {
    padding: clamp(36px, 5vw, 80px) 0;
}
.section,
.hero,
[id] {
    scroll-margin-top: 96px;
}
.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ffffff12;
    background: #050918c7;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand {
    display: grid;
    grid-template-columns: 50px auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 12px;
}
.brand.has-image {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mark {
    grid-row: 1/3;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid #798aee59;
    border-radius: 16px;
    background: linear-gradient(145deg, #1f3267, #070f25);
    box-shadow: 0 10px 30px #1f3ea533;
}
.mark svg {
    width: 40px;
}
.name {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.05em;
}
.name b {
    color: #ad61ff;
    display: inline-block;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .name b {
        background: linear-gradient(90deg, #ad61ff, #4f8cff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}
.tag {
    color: #b4c0d8;
    font: 700 9.5px ui-monospace, SFMono-Regular, monospace;
    letter-spacing: 0.18em;
    line-height: 1.2;
}
.compact {
    grid-template-columns: 38px auto;
    grid-template-rows: 38px;
    gap: 10px;
}
.compact .mark {
    grid-row: auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}
.compact .mark svg {
    width: 31px;
}
.compact .name {
    font-size: 18px;
}
.teacher-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}
.brand.compact .teacher-logo {
    max-height: 55px;
}
.twinkle {
    transform-box: fill-box;
    transform-origin: center;
    animation: twinkle 8s ease-in-out infinite;
}
.twinkle.two {
    animation-delay: 1.2s;
}
.twinkle.dot {
    animation-delay: 2.4s;
}
@keyframes twinkle {
    0%,
    82%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    88% {
        opacity: 0.3;
        transform: scale(0.72);
    }
    92% {
        opacity: 1;
        transform: scale(1.18);
    }
}
nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
}
nav a {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
nav a:hover, nav a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 21px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 780;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    isolation: isolate;
    white-space: nowrap;
}
.primary {
    border-color: transparent;
    background: linear-gradient(105deg, #8725ed, #bd3ee9 52%, #3789fa);
    box-shadow: 0 16px 42px #7e2be342;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.quiet {
    background: #0b122999;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.hero.section {
    padding-top: 35px;
    padding-bottom: 35px;
}
.hero {
    min-height: auto;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 56px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d7bbff;
    text-transform: uppercase;
    font: 750 12px ui-monospace;
    letter-spacing: 0.16em;
}
.eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c756f4, #4f8cff);
    box-shadow: 0 0 20px #9b5cff;
}
.hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(52px, 6vw, 84px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}
.gradient,
.gradient-text {
    color: #7c6cff;
    display: inline-block;
    max-width: 100%;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .gradient,
    .gradient-text {
        background: linear-gradient(90deg, #c447ed 0%, #7c6cff 55%, #4f8cff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        display: inline-block;
        padding-bottom: 0.16em;
        margin-bottom: -0.16em;
        line-height: 1.15;
    }
}
.lead {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}
.switch {
    display: flex;
    gap: 9px;
    margin: 28px 0 20px;
}
.switch button {
    padding: 12px 18px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0b1229ad;
    cursor: pointer;
}
.switch button.active {
    color: #fff;
    border-color: var(--role);
    background: color-mix(in srgb, var(--role) 18%, transparent);
}
.note {
    color: #8e9ab6;
    font-size: 13px;
}
.preview {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 32px;
    border: 1px solid color-mix(in srgb, var(--role) 56%, var(--line));
    border-radius: 28px;
    background: linear-gradient(145deg, #121c3bf5, #070e1fea);
    box-shadow: 0 34px 100px #130c437a;
}
.role-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.role-card-header small {
    margin: 0;
    color: var(--role);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* display: none; */
}
.status {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #aeb8cd;
    font-size: 10px;
    text-transform: uppercase;
}
.role-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-top: 0px;
    border-radius: 16px;
    color: var(--role);
    background: color-mix(in srgb, var(--role) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--role) 35%, transparent);
    font-size: 24px;
    flex-shrink: 0;
}
.preview small {
    display: block;
    margin: 0;
    color: var(--role);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.preview h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.1;
}
.preview p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 18px;
}
.bullets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 0;
    margin-bottom: 20px;
}
.bullets span {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #040a1873;
    font-size: 12px;
}
.disclaimer {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: #8e9ab6;
}
.strip {
    border-block: 1px solid #ffffff0f;
    background: #050a1994;
}
.strip-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}
.strip span {
    text-align: center;
    color: #8f9ab3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 30px;
}
.heading h2,
.access h2,
.final h2 {
    margin: 20px 0 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}
.heading > p,
.access-copy > p,
.final > p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.roles,
.modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.role-card,
.module {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #0a1126b3;
}
.role-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.role-card .role-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.role-card.active {
    border-color: var(--role);
    background: linear-gradient(145deg, color-mix(in srgb, var(--role) 12%, #0c142c), #080f21e6);
}
.role-card .icon,
.module .icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--role);
    background: color-mix(in srgb, var(--role) 14%, transparent);
    font-size: 24px;
    flex-shrink: 0;
}
.role-card small {
    margin-top: 0;
    color: var(--role);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 750;
}
.role-card h3,
.module h3 {
    font-size: 23px;
    margin: 13px 0 10px;
}
.role-card p,
.module p {
    color: var(--muted);
    line-height: 1.6;
}
.role-card b {
    margin-top: auto;
    font-size: 13px;
}
.tint {
    border-block: 1px solid #ffffff0e;
    background: linear-gradient(#0e163184, #060b1b47);
}
.module {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: auto;
}
.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}
.module-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}
.module-header h3,
.module-title-wrap h3,
.module .module-header h3 {
    margin: 0 !important;
    font-size: 22px;
    line-height: 1.2;
}
.module em {
    position: static;
    color: #54607a;
    font: 700 12px ui-monospace;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}
.module p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}
.module-link {
    margin-top: auto;
    color: inherit;
    text-decoration: none;
    display: inline-block;
}
.module-link strong {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}
.module-link:hover strong {
    color: #ad61ff;
    text-decoration: underline;
}
.access {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    padding: 58px;
    border: 1px solid #7963d559;
    border-radius: 30px;
    background: radial-gradient(circle at 90% 20%, #563bbf33, transparent 35%), #091025e0;
}
.steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #050b1b8f;
}
.steps li > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #b870ff;
    background: #8040dc29;
    font: 700 12px ui-monospace;
}
.steps p {
    margin: 6px 0 0;
    color: var(--muted);
}
.final {
    min-height: auto;
    padding: clamp(36px, 5vw, 80px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.final .brand {
    margin-bottom: 40px;
}
.footer {
    border-top: 1px solid #ffffff12;
}
.footer-inner {
    min-height: 120px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.footer p {
    color: #77839d;
}
.footer nav {
    font-size: 13px;
}
.cookie {
    position: fixed;
    right: 26px;
    bottom: 24px;
    left: 26px;
    z-index: 20;
    max-width: 1180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: auto;
    padding: 21px 24px;
    border: 1px solid #846ae26b;
    border-radius: 20px;
    background: #070d20f7;
    box-shadow: 0 24px 70px #0007;
}
.hidden {
    display: none !important;
}
.cookie-settings-link {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.cookie-settings-link:hover {
    color: #fff;
}
.cookie-trigger {
    position: fixed;
    left: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 19;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #846ae26b;
    border-radius: 30px;
    background: #070d20e6;
    color: #c6a5ff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.cookie-trigger:hover {
    background: #121c3b;
    border-color: #ad61ff;
    color: #fff;
    transform: translateY(-2px);
}
.cookie .btn.is-selected {
    box-shadow: 0 0 0 2px #ad61ff, 0 0 15px rgba(173, 97, 255, 0.5);
    border-color: #ad61ff;
}
.cookie p {
    margin: 5px 0;
    color: var(--muted);
    font-size: 13px;
}
.cookie a {
    color: #c6a5ff;
    font-size: 12px;
    text-decoration: underline;
}
.cookie button {
    color: #fff;
    cursor: pointer;
}
@media (max-width: 980px) {
    nav {
        display: none;
    }
    .header-inner {
        gap: 14px;
        justify-content: space-between;
    }
    .header .actions {
        margin-left: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
    }
    .brand.has-image .teacher-logo {
        max-height: 58px;
        max-width: 100%;
        object-fit: contain;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
    .heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .roles,
    .modules {
        grid-template-columns: repeat(2, 1fr);
    }
    .access {
        grid-template-columns: 1fr;
    }
    .strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 24px 0;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 30px 0;
    }
    .cookie-trigger {
        left: 16px !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    }
    .cookie-trigger .cookie-text {
        display: none !important;
    }
}
@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }
    .section {
        padding: 44px 0;
    }
    .section,
    .hero,
    [id] {
        scroll-margin-top: 80px;
    }
    .header-inner {
        min-height: 72px;
        gap: 10px;
        justify-content: space-between;
    }
    .brand {
        grid-template-columns: 44px auto;
        min-width: 0;
        flex: 1;
    }
    .brand.has-image {
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 1;
    }
    .brand.has-image .teacher-logo {
        max-height: 56px;
        max-width: 100%;
        object-fit: contain;
    }
    .brand .mark {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    .brand .name {
        font-size: 21px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand .tag,
    .login {
        display: none;
    }
    .header .actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .header .btn {
        min-height: 40px;
        padding: 0 12px;
        font-size: 12.5px;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    .hero {
        min-height: auto;
        padding-top: 24px;
    }
    .hero h1 {
        font-size: clamp(38px, 11vw, 54px);
        margin: 14px 0 12px;
    }
    .lead {
        font-size: 15px;
        line-height: 1.5;
    }
    .switch {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin: 16px 0 14px;
    }
    .switch button {
        padding: 10px 6px;
    }
    .hero .actions,
    .preview .actions,
    .cookie .actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }
    .preview {
        min-height: auto;
        padding: 20px;
    }
    .preview h2 {
        font-size: 28px;
    }
    .bullets {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 16px;
    }
    .strip-inner {
        min-height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .heading {
        margin-bottom: 20px;
    }
    .heading h2,
    .access h2,
    .final h2 {
        font-size: 32px;
        margin-top: 8px;
        line-height: 1.1;
    }
    .heading > p,
    .access-copy > p,
    .final > p {
        font-size: 15px;
        line-height: 1.5;
        margin-top: 8px;
    }
    .roles,
    .modules {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section {
        padding: 36px 0;
    }
    .hero {
        min-height: auto;
        padding-top: 20px;
        gap: 24px;
    }
    .role-card,
    .module {
        min-height: auto;
        height: auto;
        padding: 20px;
    }
    .module-header h3 {
        font-size: 19px;
    }
    .module-title-wrap {
        gap: 10px;
    }
    .module .icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 12px;
    }
    .final {
        min-height: auto;
        padding: 36px 0 16px;
    }
    .footer {
        padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    }
    .cookie-trigger {
        left: 16px !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    }
    .cookie-trigger .cookie-text {
        display: none !important;
    }
    .role-card small {
        margin-top: 0;
    }
    .role-card h3 {
        font-size: 20px;
        margin: 8px 0 6px;
    }
    .module-header h3,
    .module-title-wrap h3 {
        font-size: 19px;
        margin: 0 !important;
    }
    .access {
        padding: 22px 16px;
        gap: 20px;
    }
    .steps {
        gap: 10px;
    }
    .steps li {
        padding: 14px;
        gap: 14px;
    }
    .final {
        min-height: auto;
        padding: 44px 0 20px;
    }
    .final .brand {
        margin-bottom: 16px;
    }
    .footer-inner {
        min-height: auto;
        padding: 20px 0;
        gap: 10px;
    }
    .footer p {
        margin: 0;
        font-size: 13px;
    }
    .footer nav {
        margin-top: 4px;
    }
    .cookie {
        right: 12px;
        bottom: 12px;
        left: 12px;
        flex-direction: column;
    }
    .cookie .actions {
        width: 100%;
        flex-direction: row;
    }
    .cookie .btn {
        flex: 1;
        padding: 0 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
.page-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ad61ff;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .page-content h1 {
        background: linear-gradient(90deg, #ad61ff, #4f8cff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}
.page-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
}
.back-btn:hover {
    text-decoration: underline;
}
.page-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: #ffffff;
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.8;
}
.page-content li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}