@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS4J0.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --navy: #153342;
  --navy-deep: #102a38;
  --gold: #b59959;
  --gold-pale: #efe5cc;
  --cream: #f8f5ee;
  --ink: #1b3442;
  --muted: #626d73;
  --border: #dedfd8;
  --white: #fff;
  --error: #8d3030;
  --success: #2a6551;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.85; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #936e25; outline-offset: 4px; }
.skip-link { position: absolute; top: -120px; right: 16px; z-index: 5; padding: 12px 18px; color: var(--navy); background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid #ffffff18; }
.header-inner { max-width: 1184px; min-height: 100px; padding: 7px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 119px; height: 74px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { color: #e7d6ae; }
.nav-account { border: 1px solid #d5c39a80; border-radius: 9px; padding: 8px 17px; }
.nav-account[aria-current="page"] { border-color: #d5c39a; background: #ffffff09; }
.layout { width: min(1120px, calc(100% - 64px)); margin: 62px auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #e3e1d8; border-radius: 24px; overflow: hidden; box-shadow: 0 16px 55px #17334109; background: var(--white); }
.introduction { position: relative; overflow: hidden; padding: 57px 50px 42px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #e4d2a7; font-size: .84rem; font-weight: 650; margin: 0 0 24px; }
.eyebrow span { width: 25px; height: 1px; background: var(--gold); }
.introduction h2 { font-size: clamp(2.25rem, 4vw, 3.45rem); line-height: 1.6; letter-spacing: -.04em; margin: 0; font-weight: 750; }
.intro-copy { color: #d5dfe0; max-width: 300px; margin: 21px 0 0; font-size: 1rem; line-height: 2; }
.intro-art { width: 220px; height: 160px; margin: 29px auto 27px; position: relative; align-self: center; }
.intro-art span { position: absolute; width: 125px; height: 125px; border: 1px solid #d2bc8780; border-radius: 50%; top: 13px; right: 48px; }
.intro-art span:nth-child(2) { right: 10px; top: 30px; border-color: #d2bc873b; }
.intro-art span:nth-child(3) { right: 84px; top: 30px; border-color: #d2bc873b; }
.intro-caption { margin: auto 0 0; color: #d5dfe0; font-size: .8rem; }
.account-surface { min-height: 600px; padding: 48px 48px 38px; align-self: center; }
.preview-note { margin: 0 0 22px; padding: 8px 12px; border: 1px solid #e3d5b3; border-radius: 8px; color: #755b26; background: #fbf8f0; font-size: .72rem; line-height: 1.85; }
.section-label { color: #80662d; margin: 0 0 8px; font-size: .8rem; font-weight: 700; }
h1 { margin: 0 0 9px; color: var(--ink); font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.65; font-weight: 750; letter-spacing: -.035em; }
h1:focus { outline: none; }
.description { margin: 0 0 26px; color: var(--muted); font-size: .88rem; line-height: 1.95; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-height: 49px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--ink); font-size: .95rem; line-height: 1.65; }
input:hover, select:hover, textarea:hover { border-color: #b6c1c1; }
input:focus, select:focus, textarea:focus { border-color: #967633; box-shadow: 0 0 0 3px #b5995920; outline: none; }
textarea { min-height: 140px; resize: vertical; }
select { padding-left: 30px; }
.password-field { position: relative; }
.password-field input { padding-right: 74px; }
.show-password { position: absolute; top: 3px; right: 4px; min-width: 62px; min-height: 43px; padding: 4px 9px; border: 0; border-radius: 6px; color: #58656b; background: transparent; font-size: .75rem; font-weight: 700; }
.show-password:hover { background: var(--cream); color: var(--navy); }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.forgot-link { display: block; width: fit-content; color: #715920; margin: -2px 0 22px; font-size: .8rem; font-weight: 650; }
.button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 9px; font-size: .9rem; font-weight: 750; text-decoration: none; text-align: center; line-height: 1.8; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.button-primary:hover { background: #214b5d; border-color: #214b5d; }
.button-secondary { background: #fff; border-color: #cbd3d3; color: var(--navy); margin-top: 12px; }
.button-secondary:hover { background: var(--cream); border-color: #a8b7b9; }
.view-switch { font-size: .82rem; text-align: center; color: var(--muted); margin: 24px 0 0; }
.view-switch a { color: #715920; font-weight: 750; }
.verification-help { text-align: center; border-top: 1px solid #e9e9e3; padding-top: 19px; margin-top: 23px; }
.verification-help p { color: var(--muted); font-size: .74rem; margin: 0 0 2px; }
.text-button { min-height: 40px; padding: 6px 8px; border: 0; background: none; color: #715920; text-decoration: underline; text-underline-offset: .25em; font-size: .75rem; font-weight: 700; }
.message { margin-top: 20px; padding: 13px 15px; border-radius: 9px; border: 1px solid #b7cebf; background: #f0f7f1; color: var(--success); font-size: .82rem; line-height: 1.95; overflow-wrap: anywhere; }
.message[data-kind="error"] { color: var(--error); background: #fcf2f0; border-color: #e8c4bd; }
.message[data-kind="neutral"] { color: var(--ink); background: #f4f5f2; border-color: #d7ded7; }
.profile-details { margin: 0 0 28px; padding: 0; }
.profile-details > div { padding: 15px 0; border-bottom: 1px solid #e8ebe7; }
dt { margin: 0 0 5px; color: var(--muted); font-size: .77rem; }
dd { margin: 0; color: var(--navy); font-size: .94rem; font-weight: 700; overflow-wrap: anywhere; }
.verified-state { color: var(--success); }
.verified-state span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 5px; border-radius: 50%; background: #e4f0e8; font-size: .8rem; }
.site-footer { max-width: 1120px; margin: 0 auto 28px; padding: 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .76rem; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.noscript-message { padding: 20px; border: 1px solid #d7ded7; border-radius: 10px; color: var(--ink); }
.workspace-page .layout { display: block; }
.workspace-page .introduction { display: none; }
.workspace-page .account-surface { padding: 35px 40px 40px; min-height: 500px; }
.workspace-page .preview-note { width: fit-content; }
.workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin: 0 0 22px; }
.workspace-heading .description { margin-bottom: 0; }
.back-link { display: inline-flex; min-height: 42px; align-items: center; color: #715920; font-size: .82rem; font-weight: 700; text-decoration: underline; flex-shrink: 0; }
.loading-state { color: var(--muted); padding: 20px 0; font-size: .9rem; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 25px; }
.course-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe5df; border-radius: 13px; background: #fff; box-shadow: 0 5px 20px #17334105; }
.course-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.course-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cover-placeholder { color: #7d6c45; font-size: 1rem; letter-spacing: .02em; font-weight: 700; }
.course-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.course-card h2 { font-size: 1.04rem; line-height: 1.8; margin: 12px 0 8px; font-weight: 750; }
.course-card-description { margin: 0 0 15px; color: var(--muted); font-size: .78rem; line-height: 1.95; }
.course-card .button { margin-top: auto; min-height: 45px; font-size: .8rem; }
.course-card .lesson-summary { margin-bottom: 16px; }
.access-badge { display: inline-flex; align-items: center; border-radius: 100px; padding: 3px 10px; background: #edf5ee; color: #35664c; font-size: .7rem; font-weight: 700; line-height: 1.9; }
.access-badge.is-locked { background: #f2f1ea; color: #756b50; }
.lesson-summary { margin: 0; color: var(--muted); font-size: .74rem; }
.empty-state { padding: 30px 24px; margin: 22px 0 0; border: 1px dashed #cfd9d1; border-radius: 11px; text-align: center; color: var(--muted); font-size: .85rem; }
.empty-state p { margin: 0 0 8px; }
.empty-state .back-link { justify-content: center; }
.access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.access-actions .button { margin-top: 0; }
.compact-button { width: auto; min-width: 150px; }
.course-intro { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 30px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #e3e8e1; }
.course-cover-detail { border-radius: 12px; border: 1px solid #e3e8e1; }
.course-description, .lesson-description { white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; line-height: 2; margin: 0 0 18px; }
.content-title { font-size: 1.15rem; line-height: 1.8; margin: 24px 0 17px; font-weight: 750; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: lessons; }
.lesson-list li { counter-increment: lessons; }
.lesson-link { display: flex; align-items: center; gap: 15px; min-height: 75px; padding: 15px 18px; border: 1px solid #e0e6df; border-radius: 10px; text-decoration: none; }
.lesson-link:hover { border-color: #b59a5c; background: #fbfaf6; }
.lesson-link::before { content: counter(lessons); width: 32px; height: 32px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); color: #75602f; font-size: .8rem; }
.lesson-link-title { color: var(--ink); font-size: .86rem; font-weight: 700; flex: 1; }
.lesson-link-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted); font-size: .71rem; flex-shrink: 0; }
.lesson-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: .8rem; color: var(--muted); }
.lesson-player { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 620px; background: #0d202b; border-radius: 12px; margin-bottom: 23px; }
.progress-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid #dfe6dd; border-radius: 11px; background: #fbfcf9; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .83rem; line-height: 1.9; }
.checkbox-label input[type="checkbox"] { display: inline-block; width: 20px; min-width: 20px; min-height: 20px; height: 20px; margin: 4px 0 0; padding: 0; accent-color: var(--navy); }
.progress-form .checkbox-label { margin: 0; }
.consent-label { margin: 0 0 24px; font-weight: 500; font-size: .76rem; }
.inquiry-success { text-align: center; padding: 18px 0 0; }
.success-mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #e8f3e9; color: var(--success); font-size: 1.7rem; }
.inquiry-success .content-title { margin: 17px 0 9px; }
.inquiry-success p { color: var(--muted); font-size: .85rem; }
.inquiry-success .back-link { margin-top: 14px; }
@media (max-width: 900px) {
  .layout { width: calc(100% - 40px); margin: 36px auto; }
  .introduction { padding: 40px 30px 32px; }
  .account-surface { padding: 38px 30px 32px; }
  .site-footer { padding: 0 22px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-intro { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 83px; padding: 5px 20px; gap: 12px; }
  .brand img { width: 96px; height: 65px; }
  nav { gap: 12px; font-size: .68rem; }
  .nav-account { padding: 7px 11px; }
  .layout { display: block; width: calc(100% - 28px); border-radius: 17px; margin: 23px auto 28px; }
  .introduction { padding: 24px 26px 25px; }
  .eyebrow { font-size: .72rem; margin-bottom: 10px; }
  .introduction h2 { font-size: 1.85rem; line-height: 1.5; letter-spacing: -.025em; }
  .introduction h2 br { display: none; }
  .intro-copy { max-width: none; margin-top: 11px; font-size: .82rem; }
  .intro-art, .intro-caption { display: none; }
  .account-surface { min-height: 0; padding: 29px 24px 30px; }
  .description { margin-bottom: 24px; font-size: .82rem; }
  h1 { font-size: 1.5rem; }
  .section-label { font-size: .74rem; }
  .view-switch { font-size: .78rem; }
  .site-footer { padding: 0 24px; font-size: .72rem; }
  .workspace-page .account-surface { padding: 25px 21px 30px; min-height: 400px; }
  .workspace-heading { display: block; margin-bottom: 18px; }
  .workspace-heading .back-link { margin-top: 8px; }
  .course-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
  .course-card-body { padding: 18px 20px 21px; }
  .course-intro { display: block; }
  .course-cover-detail { width: min(100%, 350px); margin-bottom: 20px; }
  .course-description, .lesson-description { font-size: .82rem; }
  .lesson-link { padding: 13px 11px; gap: 10px; }
  .lesson-link-title { font-size: .79rem; }
  .lesson-link-meta { font-size: .66rem; }
  .lesson-link::before { width: 27px; height: 27px; font-size: .72rem; }
  .lesson-player { border-radius: 9px; }
  .progress-form { padding: 17px; gap: 16px; }
  .progress-form .button, .access-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 380px) {
  .header-inner { padding-inline: 14px; gap: 8px; }
  .brand img { width: 76px; height: 60px; }
  nav { gap: 8px; font-size: .62rem; }
  .nav-account { padding: 7px 8px; }
}
