:root {
  --blue: #1c46e0;
  --blue-dark: #10266f;
  --red: #df2638;
  --red-dark: #aa1727;
  --accent-pale: #dce6ff;
  --ink: #151821;
  --muted: #68707a;
  --paper: #f6f5ef;
  --paper-deep: #e9e7df;
  --white: #ffffff;
  --line: rgba(21, 24, 33, .14);
  --shadow: 0 22px 55px rgba(25, 30, 43, .10);
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
  --container: 1280px;
  --header-height: 88px;
  --brand-width: 184px;
  --brand-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background-color: var(--paper); background-image: linear-gradient(rgba(246, 245, 239, .42), rgba(246, 245, 239, .42)), url('assets/paper-texture.png'); background-position: center top; background-size: auto, 960px auto; background-attachment: fixed; font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { max-width: 100%; font-family: var(--display); text-wrap: balance; hyphens: none; word-break: normal; overflow-wrap: normal; }
p { text-wrap: pretty; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 11px 16px; color: white; background: var(--ink); border-radius: 4px; transform: translateY(-160%); transition: transform .16s ease; }
.skip-link:focus { transform: translateY(0); }
.noscript-message { margin: 20px; padding: 18px; color: white; background: var(--red-dark); font-weight: 700; }

.page-view { min-height: 100vh; animation: page-in .45s cubic-bezier(.22, 1, .36, 1) both; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay), transform .65s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay); }
.reveal.is-visible { opacity: 1; transform: none; }
.paper-noise { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; max-width: 100%; padding: 0 24px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }
.button:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.button svg { width: 18px; height: 18px; }
.button--blue { color: white; background: var(--blue); border-color: var(--blue-dark); box-shadow: 4px 4px 0 var(--blue-dark); }
.button--red { color: white; background: var(--red); border-color: var(--red-dark); box-shadow: 4px 4px 0 var(--red-dark); }
.button--dark { color: white; background: var(--ink); }
.button--white { color: var(--ink); background: white; }
.button--full { width: 100%; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { position: relative; display: block; width: var(--brand-width); height: var(--brand-height); overflow: visible; transform: rotate(-.7deg); }
.brand__paper { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 8px rgba(18, 27, 55, .12)); }
.brand__mark {
    position: absolute;
    z-index: 1;
    top: 20%;
    left: 12%;
    display: block;
    width: 75%;
    height: 55%;
    object-fit: contain;
    object-position: center;
}

.site-header { position: sticky; top: 0; z-index: 40; width: 100%; height: var(--header-height); background-color: rgba(246, 245, 239, .94); background-image: linear-gradient(rgba(246, 245, 239, .72), rgba(246, 245, 239, .72)), url('assets/paper-texture.png'); background-position: center; background-size: auto, 960px auto; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header__inner { position: relative; width: min(var(--container), calc(100% - 56px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header nav { display: flex; align-items: center; gap: 30px; color: #59616c; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav > a:not(.button) { padding: 10px 0; transition: color .18s ease; }
.site-header nav > a:not(.button):hover { color: var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; }

.public-page, .protected-page { min-height: 100vh; overflow: clip; background: transparent; }
.hero-wrap { position: relative; min-height: calc(100svh - var(--header-height)); padding: clamp(58px, 5vw, 84px) max(28px, calc((100% - var(--container)) / 2)) calc(clamp(58px, 5vw, 84px) + 58px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); align-items: center; gap: clamp(24px, 3.5vw, 58px); color: white; background-color: var(--blue); background-image: radial-gradient(circle at 82% 22%, rgba(255,255,255,.12), transparent 26%), linear-gradient(125deg, rgba(11,45,180,.28), transparent 48%); }
.hero-wrap::after { content: ''; position: absolute; z-index: 2; right: -1%; bottom: -2px; left: -1%; height: clamp(76px, 7vw, 112px); pointer-events: none; background: url('assets/paper-divider.png') center bottom / 102% 100% no-repeat; transform: rotate(180deg); }
.hero-copy, .hero-art { position: relative; z-index: 1; min-width: 0; }
.hero-copy { z-index: 2; max-width: 720px; }
.hero-kicker { max-width: 610px; margin-bottom: 28px; color: rgba(255, 255, 255, .76); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.65; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-size: clamp(54px, 4.5vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; }
.hero-copy h1 em { color: var(--white); font-style: normal; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0 7px; border-bottom: 1px solid rgba(255, 255, 255, .5); color: white; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-link svg { width: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 54px; color: rgba(255, 255, 255, .72); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta span { display: flex; align-items: baseline; gap: 8px; }
.hero-meta b { color: var(--white); font-family: var(--display); font-size: 22px; }
.hero-art { display: grid; place-items: center; }
.hero-collage { position: relative; width: min(770px, 112%); height: clamp(500px, 39vw, 640px); isolation: isolate; transform: translateX(-1%); }
.hero-photo { position: absolute; margin: 0; overflow: hidden; background: var(--white); border: 7px solid var(--white); border-radius: 24px; box-shadow: 12px 16px 0 rgba(7, 31, 118, .28), 0 22px 42px rgba(8, 28, 102, .22); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo--team { z-index: 2; top: 2%; left: 2%; width: 47%; height: 46%; transform: rotate(-3deg); }
.hero-photo--team img { object-position: 50% 38%; }
.hero-photo--curator { z-index: 3; top: 1%; right: 1%; width: 46%; height: 43%; transform: rotate(3deg); }
.hero-photo--curator img { object-position: 50% 26%; }
.hero-photo--audience { z-index: 4; bottom: 2%; left: 0; width: 49%; height: 48%; transform: rotate(2.5deg); }
.hero-photo--audience img { object-position: 46% 56%; }
.hero-photo--stage { z-index: 3; right: 0; bottom: 0; width: 49%; height: 49%; transform: rotate(-3deg); }
.hero-photo--stage img { object-position: 50% 44%; }
.hero-tape { position: absolute; z-index: 8; width: 66px; height: 25px; box-shadow: 7px 8px 0 rgba(10, 34, 118, .2); }
.hero-tape--top { top: 0; left: 14%; background: var(--white); transform: rotate(-5deg); }
.hero-tape--right { top: 17%; right: -2%; background: var(--red); transform: rotate(8deg); }
.hero-tape--bottom { right: 28%; bottom: -1%; background: var(--red); transform: rotate(-7deg); }
.hero-doodle { position: absolute; z-index: 9; right: -4%; bottom: 24%; color: var(--white); font-size: 58px; line-height: 1; transform: rotate(12deg); text-shadow: 5px 6px 0 rgba(8, 30, 110, .24); }
.section { width: min(var(--container), calc(100% - 56px)); margin: 0 auto; padding: 112px 0; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.eyebrow__line { width: 24px; height: 2px; flex: none; background: var(--red); }
.eyebrow b { color: var(--muted); font-family: var(--display); font-size: 16px; font-weight: 600; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); align-items: start; gap: clamp(60px, 10vw, 150px); padding: 68px 4% 0; }
.about-grid h2, .section-heading h2 { margin: 0; font-size: clamp(38px, 4.2vw, 62px); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; text-transform: uppercase; }
.about-grid h2 em, .section-heading h2 em { color: var(--blue); font-style: normal; }
.about-grid p { max-width: 460px; margin: 4px 0 40px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.principles { border-top: 1px solid var(--line); }
.principles span { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.principles b { width: 26px; color: var(--red); font-family: var(--display); font-size: 16px; }
.events-section { padding-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; padding: 62px 4% 44px; }
.section-heading p { max-width: 290px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.event-list { border-top: 1px solid var(--ink); }
.event-row { min-height: 154px; padding: 22px 0; display: grid; grid-template-columns: 92px minmax(0, 1fr) 190px 44px; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.event-row:hover { padding-right: 18px; padding-left: 18px; background: white; }
.event-date b { display: block; font-family: var(--display); font-size: 43px; font-weight: 500; line-height: .9; }
.event-date span { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.event-row small { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.event-row h3 { margin: 8px 0 7px; font-size: 17px; font-weight: 650; line-height: 1.3; text-transform: uppercase; }
.event-row p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.event-info { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.event-info span { display: flex; align-items: center; gap: 7px; }
.event-info svg { width: 15px; color: var(--blue); }
.event-arrow { display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; }
.cta-panel { position: relative; width: min(var(--container), calc(100% - 56px)); min-height: 470px; margin: 36px auto 28px; padding: clamp(48px, 6vw, 78px) clamp(48px, 6vw, 78px) calc(clamp(48px, 6vw, 78px) + 48px); overflow: hidden; color: white; background: var(--blue); box-shadow: 0 24px 55px rgba(20, 37, 99, .18); }
.cta-panel::before { content: ''; position: absolute; width: 540px; height: 540px; right: -5%; top: -42%; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; box-shadow: 0 0 0 74px rgba(255, 255, 255, .045), 0 0 0 148px rgba(255, 255, 255, .02); }
.cta-panel::after { content: ''; position: absolute; z-index: 2; right: -1%; bottom: -2px; left: -1%; height: 82px; pointer-events: none; background: url('assets/paper-divider.png') center bottom / 102% 100% no-repeat; transform: rotate(180deg); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .eyebrow { color: rgba(255, 255, 255, .7); }
.cta-panel h2 { max-width: 870px; margin: 78px 0 20px; font-size: clamp(48px, 6vw, 82px); font-weight: 700; line-height: 1.04; letter-spacing: -.05em; text-transform: uppercase; }
.cta-panel h2 span { color: var(--white); }
.cta-panel > p { max-width: 470px; margin-bottom: 26px; color: rgba(255, 255, 255, .76); font-size: 14px; line-height: 1.65; }
.site-footer { width: min(var(--container), calc(100% - 56px)); margin: 0 auto; padding: 42px 0 50px; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(260px, 1fr) minmax(250px, auto); align-items: start; gap: 42px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.site-footer p.site-footer__name { color: var(--ink); font-family: var(--display); font-size: 13px; font-weight: 600; }
.site-footer__grant { max-width: 430px; }
.site-footer__links { display: grid; justify-items: start; gap: 10px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .04em; line-height: 1.45; text-transform: uppercase; }
.site-footer__links a:hover { color: var(--red); }
.site-footer__links svg { width: 14px; height: 14px; }

.policy-page { width: min(var(--container), calc(100% - 56px)); margin: 0 auto; padding: 72px 0 110px; }
.policy-hero { padding: 28px 4% 70px; border-bottom: 1px solid var(--ink); }
.policy-hero h1 { max-width: 1120px; margin: 28px 0 22px; font-size: clamp(44px, 5.2vw, 72px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; text-transform: uppercase; }
.policy-hero h1 em { display: block; color: var(--blue); font-size: .76em; font-style: normal; overflow-wrap: normal; }
.policy-hero > p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.policy-layout { display: grid; grid-template-columns: minmax(230px, .36fr) minmax(0, 1fr); align-items: start; gap: clamp(48px, 8vw, 120px); padding: 62px 4% 0; }
.policy-summary { position: sticky; top: calc(var(--header-height) + 28px); padding: 26px; color: var(--white); background: var(--blue); box-shadow: 8px 8px 0 var(--blue-dark); }
.policy-summary span { display: block; margin-bottom: 22px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.policy-summary strong { display: block; font-family: var(--display); font-size: 17px; line-height: 1.45; text-transform: uppercase; }
.policy-summary p { margin: 24px 0 14px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.6; }
.policy-summary a { color: var(--white); font-size: 11px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.policy-content { max-width: 790px; }
.policy-content section { padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.policy-content h2 { margin-bottom: 18px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; text-transform: uppercase; }
.policy-content p, .policy-content li { color: #505965; font-size: 14px; line-height: 1.78; }
.policy-content p { margin-bottom: 14px; }
.policy-content ul { margin: 0 0 16px; padding-left: 22px; }
.policy-content li + li { margin-top: 7px; }
.policy-content a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.policy-contact { padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); background: var(--ink); }
.policy-contact span { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.policy-contact a { color: var(--white); font-family: var(--display); font-size: clamp(15px, 2vw, 21px); text-decoration: none; }
.policy-footer { margin-top: 0; }

.login-page { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: minmax(460px, .82fr) minmax(560px, 1.18fr); background: transparent; }
.login-side { min-width: 0; padding: 24px clamp(36px, 5vw, 76px) 28px; display: flex; flex-direction: column; }
.back-link { display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-top: 32px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-box { width: min(430px, 100%); margin: clamp(54px, 8vh, 90px) 0 auto; }
.login-box h1 { margin: 24px 0 20px; font-size: clamp(38px, 3.35vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; text-transform: uppercase; }
.login-box h1 em { color: var(--blue); font-style: normal; }
.login-box > p:not(.eyebrow):not(.form-error) { margin-bottom: 32px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.login-box form > label { display: block; margin-bottom: 8px; color: #525a64; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.code-field { display: flex; height: 56px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; }
.code-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28, 70, 224, .11); }
.code-field input { min-width: 0; flex: 1; padding: 0 16px; color: var(--ink); background: transparent; border: 0; outline: 0; letter-spacing: .14em; }
.code-field button { width: 54px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; }
.code-field button svg { width: 20px; height: 20px; }
.login-box .button { margin-top: 13px; }
.form-error { margin: 10px 0 0; color: var(--red-dark); font-size: 12px; font-weight: 650; line-height: 1.45; }
.demo-code { margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.demo-code > span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.demo-code p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.demo-code button { padding: 0; color: var(--blue); background: none; border: 0; font-weight: 900; }
.login-help { margin: 34px 0 0; color: #737b84; font-size: 11px; }
.login-art { position: relative; min-width: 0; margin: 12px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background-color: var(--blue-dark); background-image: radial-gradient(circle at 72% 34%, rgba(48, 93, 238, .42), transparent 35%), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
.login-art::after { content: ''; position: absolute; right: -8%; bottom: -24%; width: 62%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.018); }
.access-visual { position: absolute; z-index: 2; top: 1%; right: -2%; width: min(760px, 75%); height: 96%; filter: drop-shadow(18px 24px 0 rgba(4, 15, 58, .22)); transform: rotate(1deg); }
.access-visual > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.access-pass {
    position: absolute;
    top: 30%;
    left: 52%;
    width: 31%;
    color: var(--blue-dark);
    text-align: center;
    transform: rotate(14deg);
}
.access-pass span, .access-pass small { display: block; font-size: clamp(5.5px, .46vw, 7.5px); font-weight: 900; letter-spacing: .1em; }
.access-pass strong { display: block; margin: 10px 0; font-family: var(--display); font-size: clamp(16px, 1.55vw, 24px); line-height: 1.08; letter-spacing: -.035em; white-space: nowrap; }
.access-pass small { color: var(--red); }
.login-art__copy { position: absolute; z-index: 4; left: 6%; bottom: 7%; max-width: 440px; color: white; }
.login-art__copy > span { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.login-art__copy h2 { margin: 15px 0 0; font-size: clamp(34px, 3.5vw, 54px); font-weight: 700; line-height: 1.06; letter-spacing: -.05em; text-transform: uppercase; }
.login-art__copy em { color: var(--accent-pale); font-style: normal; }

.course-header { background-color: rgba(246,245,239,.95); }
.course-header__actions { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.course-progress { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.course-progress > div { width: 160px; height: 5px; overflow: hidden; background: #dedfda; }
.course-progress i { display: block; height: 100%; background: var(--blue); }
.course-progress b { color: var(--blue); font-family: var(--display); font-size: 18px; }
.logout-button { display: flex; align-items: center; gap: 8px; padding: 7px; color: var(--muted); background: transparent; border: 0; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.profile-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; color: var(--blue); border: 1px solid rgba(28, 70, 224, .24); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.profile-link svg { width: 16px; height: 16px; }
.course-shell, .lesson-shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 54px 0 100px; }
.course-banner { min-height: 360px; padding: 52px 7% 92px; display: flex; align-items: center; justify-content: space-between; gap: 70px; overflow: hidden; color: white; background: var(--blue); }
.course-banner::before { content: ''; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, transparent 48%, white 49%, white 51%, transparent 52%), linear-gradient(150deg, transparent 48%, white 49%, white 51%, transparent 52%); background-size: 72px 72px; }
.course-banner::after { content: ''; position: absolute; z-index: 2; right: -1%; bottom: -2px; left: -1%; height: 78px; pointer-events: none; background: url('assets/paper-divider.png') center bottom / 102% 100% no-repeat; transform: rotate(180deg); }
.course-banner { position: relative; }
.course-banner > * { position: relative; z-index: 1; min-width: 0; }
.banner-index { color: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.course-banner h1 { max-width: 780px; margin: 22px 0 16px; font-size: clamp(38px, 4.3vw, 59px); font-weight: 700; line-height: 1.08; letter-spacing: -.05em; text-transform: uppercase; }
.course-banner h1 em { color: var(--white); font-style: normal; }
.course-banner p { max-width: 430px; margin: 0; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.65; }
.progress-orbit { flex: none; display: grid; place-items: center; width: 146px; height: 146px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.055); }
.progress-orbit strong { font-family: var(--display); font-size: 38px; line-height: 1; }
.progress-orbit small { font-size: 17px; }
.progress-orbit span { margin-top: -37px; color: rgba(255,255,255,.78); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.continue-card { position: relative; z-index: 2; margin: -26px 6% 0; padding: 24px 28px; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 22px; background: white; border: 1px solid rgba(21,24,33,.08); box-shadow: var(--shadow); }
.continue-card__num { display: grid; place-items: center; width: 58px; height: 58px; color: white; background: var(--red); font-family: var(--display); font-size: 24px; font-weight: 700; }
.continue-card .eyebrow { margin-bottom: 6px; color: var(--red); }
.continue-card h2 { margin: 0 0 7px; font-size: 25px; font-weight: 650; line-height: 1.2; text-transform: uppercase; }
.continue-card p { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 11px; }
.program-section { padding-top: 90px; }
.program-heading { padding: 56px 0 40px; display: flex; align-items: end; justify-content: space-between; gap: 38px; }
.program-heading h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.05em; text-transform: uppercase; }
.program-heading h2 em { color: var(--blue); font-style: normal; }
.program-heading p { max-width: 275px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.lesson-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lesson-card { min-height: 240px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: 0 10px 28px rgba(22,28,42,.045); transition: transform .2s ease, box-shadow .2s ease; }
.lesson-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(22,28,42,.09); }
.lesson-card--red { border-top-color: var(--red); }
.lesson-card--sky { border-top-color: #4f92d6; }
.lesson-card--navy { border-top-color: var(--ink); }
.lesson-card.is-locked { color: var(--muted); background: #ecece7; border-top-color: #cfd1cc; box-shadow: none; }
.lesson-card.is-coming:hover { transform: none; box-shadow: none; }
.coming-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lesson-card__top { display: flex; align-items: center; justify-content: space-between; }
.lesson-card__top > span { color: var(--blue); font-family: var(--display); font-size: 22px; }
.lesson-card--red .lesson-card__top > span { color: var(--red); }
.lesson-card--navy .lesson-card__top > span { color: var(--ink); }
.lesson-card__top i { display: grid; place-items: center; width: 34px; height: 34px; color: var(--blue); border: 1px solid currentColor; border-radius: 50%; font-style: normal; }
.lesson-card__top svg { width: 15px; }
.lesson-card small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.lesson-card h3 { margin: 9px 0 0; font-size: 19px; font-weight: 650; line-height: 1.25; text-transform: uppercase; overflow-wrap: normal; }
.lesson-card footer { padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.lesson-card footer > span { display: flex; align-items: center; gap: 5px; }
.lesson-card footer a { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--blue); border-radius: 50%; }
.lesson-card footer svg { width: 14px; }
.locked-label { font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.continue-card, .lesson-card:not(.is-locked), .aside-card, .quiz, .quiz-result, .certificate { background-color: white; background-image: linear-gradient(rgba(255,255,255,.66), rgba(255,255,255,.66)), url('assets/paper-texture.png'); background-position: center; background-size: auto, 760px auto; }
.final-card { margin-top: 56px; padding: 30px 34px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 24px; color: white; background: var(--ink); }
.final-card.is-open { background: var(--blue); }
.final-card__icon { display: grid; place-items: center; width: 60px; height: 60px; color: var(--accent-pale); border: 1px solid currentColor; border-radius: 50%; }
.final-card__icon svg { width: 27px; }
.final-card .eyebrow { margin-bottom: 7px; color: rgba(255,255,255,.68); }
.final-card h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.final-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 11px; line-height: 1.55; }
.final-lock { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 800; text-transform: uppercase; }

.lesson-shell > .back-link { margin: 0 0 40px; }
.lesson-hero { padding-bottom: 40px; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 24px; border-bottom: 1px solid var(--line); }
.lesson-number { display: grid; place-items: center; width: 80px; height: 80px; color: white; background: var(--blue); font-family: var(--display); font-size: 28px; font-weight: 700; }
.lesson-number--red { background: var(--red); }
.lesson-number--sky { background: #4f92d6; }
.lesson-number--navy { background: var(--ink); }
.lesson-hero .eyebrow { margin: 2px 0 14px; }
.lesson-hero h1 { margin: 0 0 14px; font-size: clamp(36px, 4vw, 54px); font-weight: 700; line-height: 1.08; text-transform: uppercase; }
.lesson-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.lesson-layout { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 40px; }
.lesson-video-frame { position: relative; overflow: hidden; color: white; background: #080b14; box-shadow: 0 18px 44px rgba(18,24,45,.16); }
.lesson-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080b14; object-fit: contain; }
.lesson-video-badge { position: absolute; top: 14px; right: 14px; padding: 7px 9px; pointer-events: none; color: white; background: rgba(21,24,33,.76); border: 1px solid rgba(255,255,255,.24); font-family: var(--display); font-size: 9px; letter-spacing: .09em; backdrop-filter: blur(7px); }
.lesson-poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; color: white; background: var(--blue); }
.lesson-poster--red { background: var(--red); }
.lesson-poster--sky { background: #3e7fc5; }
.lesson-poster--navy { background: var(--ink); }
.lesson-poster__grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, transparent 48%, white 49%, white 51%, transparent 52%), linear-gradient(150deg, transparent 48%, white 49%, white 51%, transparent 52%); background-size: 62px 62px; }
.lesson-poster > span { position: absolute; top: 8%; left: 7%; font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1.05; }
.lesson-poster > span strong { font-size: 18px; }
.lesson-poster > b { position: absolute; top: 9%; right: 7%; font-family: var(--display); font-size: 13px; letter-spacing: .07em; }
.lesson-poster h2 { position: absolute; left: 7%; bottom: 14%; max-width: 68%; margin: 0; font-size: clamp(31px, 4vw, 54px); font-weight: 700; line-height: 1.08; text-transform: uppercase; }
.lesson-poster > em { position: absolute; right: 7%; bottom: 6%; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.watch-button { position: absolute; right: 7%; top: 43%; display: flex; align-items: center; gap: 9px; padding: 11px 14px; color: var(--ink); background: white; border: 0; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.watch-button:disabled { color: white; background: var(--ink); }
.watch-button svg { width: 17px; }
.player-controls { height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 12px; color: var(--muted); background: white; border: 1px solid var(--line); border-top: 0; font-size: 9px; }
.player-controls button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; color: white; background: var(--blue); border: 0; border-radius: 50%; }
.player-controls button:disabled { background: var(--red); }
.player-controls button svg { width: 13px; }
.player-controls > div { flex: 1; height: 4px; overflow: hidden; background: #e3e4df; }
.player-controls i { display: block; height: 100%; background: var(--red); transition: width 1s linear; }
.watch-note { margin-top: 16px; padding: 15px 17px; background: #ecece7; border-left: 3px solid var(--blue); }
.watch-note b { font-size: 11px; }
.watch-note p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.watch-note.is-complete { background: #edf1ff; border-left-color: var(--red); }
.continue-card--waiting { grid-template-columns: 62px minmax(0, 1fr); }
.lesson-aside { display: grid; gap: 10px; }
.aside-card { padding: 22px 20px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(22,28,42,.05); }
.aside-card .eyebrow { margin-bottom: 18px; }
.aside-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.aside-card li { display: flex; gap: 8px; color: #555e68; font-size: 11px; line-height: 1.5; }
.aside-card li svg { flex: none; width: 15px; color: var(--blue); }
.status-row { padding: 14px 16px; display: flex; align-items: center; gap: 13px; background: white; border: 1px solid var(--line); }
.status-row > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--blue); border: 1px solid currentColor; border-radius: 50%; }
.status-row svg { width: 15px; }
.status-row div { display: grid; gap: 3px; }
.status-row b { font-size: 10px; }
.status-row small { color: var(--muted); font-size: 10px; }
.quiz { margin-top: 28px; padding: 30px 32px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 35px rgba(22,28,42,.06); }
.quiz > .eyebrow { margin-bottom: 16px; }
.quiz h2, .quiz-result h2 { margin: 0 0 10px; font-size: 31px; line-height: 1.15; text-transform: uppercase; }
.quiz > p, .quiz-result p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.quiz-list { display: grid; gap: 26px; margin: 27px 0; }
.quiz fieldset { padding: 0 0 23px; border: 0; border-bottom: 1px solid var(--line); }
.quiz legend { display: flex; gap: 13px; padding: 0; font-size: 13px; font-weight: 800; line-height: 1.5; }
.quiz legend span { color: var(--red); font-family: var(--display); font-size: 18px; }
.answers { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.answers label { position: relative; min-height: 46px; padding: 10px 11px; display: flex; align-items: center; gap: 8px; color: #5d6570; background: #f0f0ec; border: 1px solid transparent; font-size: 10px; line-height: 1.4; cursor: pointer; }
.answers label:hover, .answers label.selected { color: var(--blue); background: #edf1ff; border-color: #aebeff; }
.answers label:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.answers input { position: absolute; opacity: 0; }
.answers i { width: 12px; height: 12px; flex: none; border: 1px solid #a5aaac; border-radius: 50%; }
.answers label.selected i { border: 3px solid var(--blue); }
.quiz-result { margin-top: 28px; padding: 32px; background: white; border: 1px solid var(--line); }
.quiz-result > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; color: white; background: var(--red); border-radius: 50%; }
.quiz-result.is-success > span { background: var(--blue); }
.complete-card { margin-top: 28px; padding: 25px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 18px; background: #eaf0ff; border: 1px solid #c4d1fb; }
.complete-card > span { display: grid; place-items: center; width: 48px; height: 48px; color: white; background: var(--blue); border-radius: 50%; }
.complete-card .eyebrow { margin-bottom: 6px; }
.complete-card h2 { margin: 0 0 5px; font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.complete-card p { margin: 0; color: var(--muted); font-size: 10px; }
.final-hero { min-height: 300px; padding: 46px 7%; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; color: white; background: var(--ink); }
.final-hero > div:first-child { min-width: 0; }
.final-hero .eyebrow { color: rgba(255,255,255,.68); }
.final-hero h1 { margin: 21px 0 13px; font-size: clamp(44px, 5vw, 70px); line-height: 1.05; text-transform: uppercase; }
.final-hero h1 em { color: var(--white); font-style: normal; }
.final-hero p { max-width: 470px; margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.65; }
.final-hero__mark { flex: none; display: grid; place-items: center; width: 116px; height: 116px; color: var(--white); border: 1px solid currentColor; border-radius: 50%; }
.final-hero__mark svg { width: 46px; }
.certificate { min-height: 450px; margin-top: 28px; padding: 60px 28px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: white; border: 1px solid #ced2d0; box-shadow: inset 0 0 0 10px #eeefea, inset 0 0 0 11px #cfd3d1; }
.certificate .eyebrow { color: var(--red); }
.certificate h2 { margin: 20px 0; font-size: clamp(29px, 3.7vw, 42px); line-height: 1.18; text-transform: uppercase; }
.certificate h2 em { color: var(--blue); font-style: normal; }
.certificate > div:not(.eyebrow) { width: 92px; height: 2px; margin-bottom: 18px; background: var(--red); }
.certificate p { margin: 0 0 22px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.account-shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 54px 0 100px; }
.account-hero { position: relative; min-height: 330px; padding: 48px 6%; display: flex; align-items: center; justify-content: space-between; gap: 60px; overflow: hidden; color: var(--white); background-color: var(--blue); background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.14) 49%, rgba(255,255,255,.14) 51%, transparent 52%), linear-gradient(150deg, transparent 48%, rgba(255,255,255,.14) 49%, rgba(255,255,255,.14) 51%, transparent 52%); background-size: 76px 76px; }
.account-hero::after { content: ''; position: absolute; right: -1%; bottom: -2px; left: -1%; height: 70px; background: url('assets/paper-divider.png') center bottom / 102% 100% no-repeat; transform: rotate(180deg); }
.account-hero > div:first-child { position: relative; z-index: 1; }
.account-hero .eyebrow { color: rgba(255,255,255,.72); }
.account-hero h1 { margin: 22px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: 1.03; letter-spacing: -.055em; text-transform: uppercase; }
.account-hero h1 em { color: var(--white); font-style: normal; }
.account-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.65; }
.account-badge { position: relative; z-index: 1; width: 250px; padding: 30px 26px; flex: none; color: var(--blue-dark); background: var(--paper); border: 2px solid var(--white); box-shadow: 8px 8px 0 rgba(16,38,111,.34); transform: rotate(2deg); }
.account-badge span, .account-badge small { display: block; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.account-badge b { display: block; margin: 18px 0; font-family: var(--display); font-size: 22px; }
.account-badge small { color: var(--red); }
.account-layout { margin-top: 30px; display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: start; }
.profile-card, .account-progress { padding: 30px; background-color: var(--white); background-image: linear-gradient(rgba(255,255,255,.68), rgba(255,255,255,.68)), url('assets/paper-texture.png'); background-size: auto, 760px auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile-card h2, .account-progress h2 { margin: 20px 0 10px; font-size: 25px; line-height: 1.18; text-transform: uppercase; }
.profile-card > p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-card form { margin-top: 28px; }
.profile-card label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.profile-card input { width: 100%; height: 54px; padding: 0 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 7px; outline: 0; }
.profile-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28,70,224,.1); }
.profile-card .button { width: 100%; margin-top: 16px; }
.profile-card .profile-consent { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.profile-consent a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.profile-card .profile-notice { padding: 12px 14px; color: var(--blue-dark); background: #eaf0ff; border-left: 3px solid var(--blue); font-weight: 800; }
.account-stats { margin: 25px 0 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-stats article { min-height: 126px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); border-top: 4px solid var(--blue); }
.account-stats article:nth-child(2) { border-top-color: var(--red); }
.account-stats strong { font-family: var(--display); font-size: 27px; line-height: 1; }
.account-stats strong small { font-size: 14px; }
.account-stats span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.results-table-wrap { overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.results-table th { padding: 0 10px 10px; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.results-table td { padding: 12px 10px; border-top: 1px solid var(--line); }
.results-table td:first-child { min-width: 190px; }
.results-table td:first-child span { margin-right: 9px; color: var(--red); font-family: var(--display); }
.result-status { display: inline-flex; padding: 5px 8px; color: var(--muted); background: var(--paper-deep); border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.result-status.is-done { color: var(--blue-dark); background: #eaf0ff; }
.account-course-link { margin-top: 24px; }
.state-page { min-height: 100vh; padding: 24px; display: grid; place-items: center; }
.state-card { width: min(540px, 100%); padding: 42px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.state-card h1 { margin: 22px 0 14px; font-size: 30px; text-transform: uppercase; }
.state-card p { color: var(--muted); }

@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .site-header__inner { width: calc(100% - 48px); }
  .site-header nav { gap: 18px; }
  .hero-wrap { grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: 38px; }
  .hero-copy h1 { font-size: clamp(50px, 6.7vw, 72px); }
  .about-grid { gap: 60px; padding-right: 0; padding-left: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer__links { grid-column: 1 / -1; }
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-page { grid-template-columns: minmax(420px, .9fr) minmax(430px, 1.1fr); }
  .login-side { padding: 28px 44px; }
  .lesson-layout { grid-template-columns: minmax(0, 1fr); }
  .lesson-aside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aside-card { grid-row: span 2; }
  .account-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-height: 80px; --brand-width: 128px; --brand-height: 60px; }
  .site-header__inner { width: calc(100% - 40px); gap: 16px; }
  .site-header nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
  .site-header nav.is-open { display: flex; }
  .site-header nav > a:not(.button) { min-height: 44px; padding: 12px 4px; display: flex; align-items: center; }
  .site-header nav .button { width: 100%; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; }
  .course-header__actions { min-width: 0; gap: 8px; }
  .course-progress { margin-left: auto; gap: 7px; }
  .course-progress > span, .course-progress > div { display: none; }
  .profile-link { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .profile-link span { display: none; }
  .logout-button { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; }
  .logout-button svg { width: 19px; height: 19px; }
  .course-shell, .lesson-shell { width: calc(100% - 40px); }
  .course-banner { min-height: 430px; padding: 44px 7% 92px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 34px; }
  .course-banner > div:first-child { width: 100%; max-width: 100%; min-width: 0; }
  .course-banner h1, .lesson-hero h1 { max-width: 100%; overflow-wrap: normal; word-break: normal; }
  .course-banner p, .lesson-hero p { max-width: 100%; overflow-wrap: normal; word-break: normal; }
  .progress-orbit { width: 118px; height: 118px; }
  .lesson-hero > div { min-width: 0; }
  .login-page { display: block; }
  .login-side { min-height: auto; padding: 24px clamp(24px, 7vw, 56px) 52px; }
  .login-box { margin: 52px 0 0; }
  .login-art { height: clamp(480px, 76vw, 650px); margin: 0 18px 18px; }
  .access-visual { right: 0; width: min(650px, 76%); }
}

@media (max-width: 760px) {
  body { background-attachment: scroll; background-size: auto, 760px auto; }
  :root { --header-height: 76px; --brand-width: 108px; --brand-height: 52px; }
  .button { min-height: 52px; padding-right: 20px; padding-left: 20px; font-size: 13px; line-height: 1.25; white-space: normal; text-align: center; }
  .site-header__inner { width: calc(100% - 28px); gap: 14px; }
  .site-header nav { position: absolute; top: 67px; right: 0; left: 0; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
  .site-header nav.is-open { display: flex; }
  .site-header nav > a:not(.button) { min-height: 44px; padding: 12px 4px; display: flex; align-items: center; }
  .site-header nav .button { width: 100%; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; }
  .hero-wrap { min-height: auto; padding: 52px 20px 104px; grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-wrap::after { height: 68px; }
  .hero-copy { width: 100%; }
  .hero-kicker { margin-bottom: 20px; font-size: 12px; line-height: 1.55; letter-spacing: .09em; }
  .hero-copy h1 { font-size: clamp(29px, 8.7vw, 40px); line-height: 1.08; letter-spacing: -.055em; overflow-wrap: normal; word-break: normal; white-space: normal; }
  .hero-actions { margin-top: 28px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .text-link { min-height: 44px; font-size: 12px; }
  .hero-meta { margin-top: 34px; gap: 16px 22px; font-size: 11px; line-height: 1.45; }
  .hero-meta b { font-size: 24px; }
  .hero-collage { width: min(470px, 100%); height: clamp(340px, 112vw, 430px); transform: none; }
  .hero-photo { border-width: 5px; border-radius: 16px; box-shadow: 7px 9px 0 rgba(7, 31, 118, .28), 0 14px 28px rgba(8, 28, 102, .2); }
  .hero-tape { width: 46px; height: 18px; }
  .hero-doodle { right: -1%; font-size: 40px; }
  .section { width: calc(100% - 28px); padding: 78px 0; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 12px; font-size: 12px; line-height: 1.5; }
  .section-top > span { text-align: left; }
  .eyebrow { font-size: 12px; line-height: 1.5; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 46px; }
  .about-grid h2, .section-heading h2 { font-size: clamp(29px, 8.7vw, 42px); line-height: 1.16; overflow-wrap: normal; word-break: normal; }
  .about-grid p { margin-bottom: 30px; font-size: 16px; line-height: 1.7; }
  .principles span { gap: 14px; padding: 17px 0; font-size: 14px; line-height: 1.45; }
  .principles b { font-size: 18px; }
  .section-heading { padding: 48px 0 34px; flex-direction: column; align-items: flex-start; }
  .section-heading p { max-width: 38rem; font-size: 15px; line-height: 1.65; }
  .event-row { padding: 20px 0; grid-template-columns: 62px minmax(0, 1fr) 38px; gap: 12px; }
  .event-row:hover { padding-right: 6px; padding-left: 6px; }
  .event-date b { font-size: 34px; }
  .event-date span { font-size: 11px; }
  .event-row small { font-size: 12px; line-height: 1.45; }
  .event-row h3 { font-size: 18px; line-height: 1.35; overflow-wrap: normal; word-break: normal; }
  .event-row p { font-size: 15px; line-height: 1.65; }
  .event-info { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 13px; line-height: 1.5; }
  .event-arrow { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .cta-panel { width: calc(100% - 28px); min-height: 430px; padding: 42px 24px 94px; }
  .cta-panel::after { height: 62px; }
  .cta-panel h2 { margin-top: 60px; font-size: clamp(27px, 8vw, 42px); line-height: 1.12; overflow-wrap: normal; word-break: normal; }
  .cta-panel > p { font-size: 15px; line-height: 1.7; }
  .site-footer { width: calc(100% - 28px); padding: 36px 0 42px; grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .site-footer__links { grid-column: auto; }
  .site-footer p { font-size: 13px; line-height: 1.65; }
  .site-footer p.site-footer__name { font-size: 15px; line-height: 1.5; }
  .site-footer__links { gap: 4px; }
  .site-footer__links a { min-height: 44px; font-size: 13px; line-height: 1.4; }
  .policy-page { width: calc(100% - 28px); padding: 50px 0 78px; }
  .policy-hero { padding: 20px 0 46px; }
  .policy-hero h1 { margin-top: 24px; font-size: clamp(29px, 8.5vw, 42px); line-height: 1.12; overflow-wrap: normal; word-break: normal; }
  .policy-hero h1 em { font-size: clamp(17px, 5vw, 24px); overflow-wrap: normal; word-break: normal; white-space: normal; }
  .policy-hero > p { font-size: 13px; line-height: 1.55; }
  .policy-layout { grid-template-columns: 1fr; gap: 48px; padding: 42px 0 0; }
  .policy-summary { position: static; }
  .policy-summary span { font-size: 12px; }
  .policy-summary strong { font-size: 19px; }
  .policy-summary p, .policy-summary a { font-size: 14px; }
  .policy-content h2 { font-size: clamp(20px, 6vw, 27px); overflow-wrap: normal; word-break: normal; }
  .policy-content p, .policy-content li { font-size: 16px; line-height: 1.72; }
  .policy-contact { align-items: flex-start; flex-direction: column; }
  .policy-contact span { font-size: 12px; }
  .policy-contact a { font-size: clamp(14px, 4.2vw, 19px); overflow-wrap: normal; word-break: normal; }
  .login-page { display: block; }
  .login-side { min-height: auto; padding: 20px 20px 48px; }
  .login-art { height: clamp(360px, 118vw, 430px); margin: 0 12px 12px; display: grid; }
  .login-box { margin: 48px auto 0; }
  .back-link { min-height: 44px; margin-top: 18px; align-items: center; font-size: 13px; }
  .login-box h1 { font-size: clamp(30px, 8vw, 40px); overflow-wrap: normal; word-break: normal; }
  .login-box > p:not(.eyebrow):not(.form-error) { font-size: 16px; line-height: 1.65; }
  .login-box form > label { font-size: 13px; }
  .code-field { height: 60px; }
  .code-field input { font-size: 16px; letter-spacing: .08em; }
  .code-field button { width: 58px; }
  .form-error { font-size: 14px; }
  .demo-code > span { font-size: 12px; }
  .demo-code p { font-size: 14px; line-height: 1.55; }
  .login-help { margin-top: 30px; font-size: 14px; line-height: 1.55; }
  .access-visual { top: -2%; right: -13%; width: 88%; height: 98%; }
  .access-pass { top: 29%; left: 47%; width: 32%; }
  .access-pass span, .access-pass small { font-size: 5px; }
  .access-pass strong { margin: 6px 0; font-size: clamp(11px, 3.5vw, 15px); }
  .login-art__copy { left: 7%; bottom: 7%; max-width: 220px; }
  .login-art__copy > span { font-size: 7px; }
  .login-art__copy h2 { margin-top: 9px; font-size: clamp(27px, 8.5vw, 38px); }
  .course-header__actions { min-width: 0; gap: 7px; }
  .course-progress { margin-left: auto; gap: 7px; }
  .course-progress > span { display: none; }
  .course-progress > div { display: none; }
  .course-progress b { font-size: 15px; }
  .logout-button { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; }
  .logout-button svg { width: 19px; height: 19px; }
  .profile-link { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .profile-link span { display: none; }
  .account-shell { width: calc(100% - 28px); padding: 30px 0 70px; }
  .account-hero { min-height: 420px; padding: 38px 24px 86px; align-items: flex-start; flex-direction: column; gap: 32px; }
  .account-hero h1 { font-size: clamp(26px, 7.8vw, 36px); overflow-wrap: normal; word-break: normal; }
  .account-hero p { font-size: 15px; line-height: 1.7; }
  .account-badge { width: min(250px, 86%); }
  .account-badge span, .account-badge small { font-size: 12px; }
  .account-badge b { font-size: 22px; overflow-wrap: normal; word-break: normal; }
  .account-layout { margin-top: 18px; gap: 18px; }
  .profile-card, .account-progress { padding: 24px 18px; }
  .profile-card h2, .account-progress h2 { font-size: 24px; overflow-wrap: normal; word-break: normal; }
  .profile-card > p { font-size: 15px; line-height: 1.65; }
  .profile-card label { font-size: 13px; }
  .profile-card input { height: 58px; font-size: 16px; }
  .profile-card .profile-consent { font-size: 13px; line-height: 1.6; }
  .account-stats { grid-template-columns: 1fr; }
  .account-stats article { min-height: 94px; }
  .account-stats span { font-size: 12px; line-height: 1.45; }
  .results-table-wrap { margin-right: -6px; padding: 0 6px 8px 0; -webkit-overflow-scrolling: touch; }
  .results-table { min-width: 680px; font-size: 14px; }
  .results-table th { font-size: 11px; }
  .results-table td { padding-top: 14px; padding-bottom: 14px; }
  .result-status { font-size: 11px; }
  .course-shell, .lesson-shell { width: calc(100% - 28px); padding: 30px 0 72px; }
  .course-banner { min-height: 450px; padding: 38px 26px 90px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 38px; }
  .course-banner > div:first-child { width: 100%; max-width: 100%; min-width: 0; }
  .course-banner::after { height: 60px; }
  .banner-index { font-size: 12px; line-height: 1.5; }
  .course-banner h1 { margin-top: 18px; font-size: clamp(27px, 7.2vw, 36px); line-height: 1.14; overflow-wrap: normal; word-break: normal; }
  .course-banner p { width: 100%; font-size: 15px; line-height: 1.7; overflow-wrap: normal; word-break: normal; }
  .progress-orbit { width: 108px; height: 108px; }
  .progress-orbit strong { font-size: 29px; }
  .continue-card { margin: 14px 0 0; padding: 18px; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .continue-card__num { width: 50px; height: 50px; font-size: 20px; }
  .continue-card h2 { font-size: 19px; overflow-wrap: normal; word-break: normal; }
  .continue-card p { align-items: flex-start; font-size: 14px; line-height: 1.5; }
  .continue-card .button { grid-column: 1 / -1; width: 100%; }
  .program-section { padding-top: 66px; }
  .program-heading { padding: 44px 0 30px; display: block; }
  .program-heading h2 { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.16; overflow-wrap: normal; word-break: normal; }
  .program-heading p { max-width: 38rem; margin-top: 20px; font-size: 15px; line-height: 1.65; }
  .lesson-grid { grid-template-columns: minmax(0, 1fr); }
  .lesson-card { min-height: 228px; padding: 22px 20px; }
  .lesson-card__top > span { font-size: 24px; }
  .lesson-card small, .coming-note { font-size: 13px; line-height: 1.5; }
  .lesson-card h3 { font-size: 18px; line-height: 1.35; overflow-wrap: normal; word-break: normal; }
  .lesson-card footer { font-size: 13px; }
  .lesson-card footer a { width: 42px; height: 42px; }
  .locked-label { font-size: 12px; }
  .final-card { padding: 22px; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; }
  .final-card__icon { width: 48px; height: 48px; }
  .final-card h2 { font-size: 19px; overflow-wrap: normal; word-break: normal; }
  .final-card p { font-size: 14px; line-height: 1.6; }
  .final-lock { font-size: 12px; line-height: 1.5; }
  .final-card .button, .final-lock { grid-column: 1 / -1; }
  .lesson-shell > .back-link { margin-bottom: 30px; }
  .lesson-hero { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .lesson-hero > div { width: 100%; min-width: 0; }
  .lesson-number { width: 60px; height: 60px; font-size: 20px; }
  .lesson-hero h1 { font-size: clamp(26px, 7.7vw, 36px); line-height: 1.16; overflow-wrap: normal; word-break: normal; }
  .lesson-hero p { width: 100%; font-size: 15px; line-height: 1.7; overflow-wrap: normal; word-break: normal; }
  .lesson-layout { padding-top: 34px; }
  .lesson-video-badge { top: 8px; right: 8px; font-size: 11px; }
  .lesson-poster { aspect-ratio: 1 / 1; }
  .lesson-poster h2 { bottom: 25%; max-width: 86%; font-size: clamp(28px, 9vw, 40px); }
  .watch-button { top: auto; right: 7%; bottom: 8%; }
  .watch-button span { display: none; }
  .lesson-poster > em { display: none; }
  .lesson-aside { grid-template-columns: 1fr 1fr; }
  .aside-card { grid-column: 1 / -1; grid-row: auto; }
  .aside-card li { font-size: 14px; line-height: 1.55; }
  .status-row { min-height: 70px; padding: 14px; }
  .status-row b, .status-row small { font-size: 13px; line-height: 1.4; }
  .watch-note b { font-size: 14px; }
  .watch-note p { font-size: 14px; line-height: 1.55; }
  .quiz { padding: 24px 18px; }
  .quiz h2, .quiz-result h2 { font-size: 24px; overflow-wrap: normal; word-break: normal; }
  .quiz > p, .quiz-result p { font-size: 15px; line-height: 1.6; }
  .quiz legend { gap: 10px; font-size: 15px; line-height: 1.55; }
  .quiz legend span { font-size: 19px; }
  .answers { grid-template-columns: minmax(0, 1fr); }
  .answers label { min-height: 56px; padding: 13px 14px; font-size: 15px; line-height: 1.5; }
  .answers i { width: 16px; height: 16px; }
  .complete-card { padding: 18px; grid-template-columns: 44px minmax(0, 1fr); }
  .complete-card > span { width: 42px; height: 42px; }
  .complete-card h2 { font-size: 22px; }
  .complete-card p { font-size: 14px; line-height: 1.55; }
  .complete-card .button { grid-column: 1 / -1; width: 100%; }
  .final-hero { min-height: 420px; padding: 38px 26px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 32px; }
  .final-hero h1 { font-size: clamp(29px, 8.5vw, 42px); line-height: 1.12; overflow-wrap: normal; word-break: normal; }
  .final-hero p { font-size: 15px; line-height: 1.65; }
  .final-hero__mark { width: 84px; height: 84px; }
  .final-hero__mark svg { width: 34px; }
  .certificate { padding: 50px 20px; }
  .certificate h2 { font-size: clamp(23px, 7vw, 32px); overflow-wrap: normal; word-break: normal; }
  .certificate p { font-size: 13px; line-height: 1.55; }
}

@media (max-width: 380px) {
  :root { --brand-width: 96px; --brand-height: 48px; }
  .site-header__inner { width: calc(100% - 22px); gap: 8px; }
  .hero-copy h1 { font-size: clamp(27px, 8.6vw, 34px); white-space: normal; }
  .cta-panel h2 { font-size: clamp(26px, 8.2vw, 34px); }
  .login-side { padding-right: 18px; padding-left: 18px; }
  .login-box h1 { font-size: clamp(28px, 8.5vw, 34px); }
  .course-banner { padding-right: 20px; padding-left: 20px; }
  .course-banner h1 { font-size: clamp(25px, 7.4vw, 29px); }
  .lesson-hero { grid-template-columns: 1fr; }
  .lesson-aside { grid-template-columns: 1fr; }
  .aside-card { grid-column: auto; }
  .account-hero { padding-right: 18px; padding-left: 18px; }
  .profile-card, .account-progress { padding-right: 15px; padding-left: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-view, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
}

@media print {
  body::before, .course-header, .back-link, .final-hero, .certificate .button { display: none !important; }
  .lesson-shell { width: 100%; padding: 0; }
  .certificate { min-height: 95vh; margin: 0; box-shadow: inset 0 0 0 10px #eeefea, inset 0 0 0 11px #cfd3d1; }
}
