@font-face { font-family: "DubaiLocal"; src: local("Dubai"), local("Dubai Regular"), local("Dubai-Regular"); font-weight: 400; }
@font-face { font-family: "DubaiLocal"; src: local("Dubai Medium"), local("Dubai-Medium"); font-weight: 600; }
@font-face { font-family: "DubaiLocal"; src: local("Dubai Bold"), local("Dubai-Bold"); font-weight: 700; }
:root {
  --pink: #d8a92e;
  --pink-2: #f0ca62;
  --pink-ink: #8a6a1e;
  --pink-wash: #fbf7ec;
  --maroon: #080808;
  --maroon-2: #1c1c1c;
  --ink: #080808;
  --muted: #5c584f;
  --line: #e7e1d3;
  --soft: #fbf9f4;
  --error: #b3261e;
  --focus: #2f6fdf;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(8, 8, 8, .06), 0 12px 30px rgba(8, 8, 8, .08);
  --font: DubaiLocal, Dubai, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink-ink); }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.error { color: var(--error); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.brand img { width: 27px; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--pink-ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.session { display: flex; align-items: center; gap: .9rem; min-width: 90px; justify-content: flex-end; }
.session-placeholder { display: inline-block; width: 90px; height: 38px; }
.session-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.session-name:hover { color: var(--pink-ink); }
.nav-toggle { display: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem; font: 700 .9rem var(--font); color: var(--ink); cursor: pointer; }
.nav-toggle:hover { border-color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-open .site-nav { display: flex; }
  .session { justify-content: flex-start; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .9rem 1.45rem; border-radius: 999px; border: 2px solid var(--pink-ink); background: var(--pink-ink); color: #fff; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--maroon-2); border-color: var(--maroon-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--pink-wash); border-color: var(--pink-wash); color: var(--maroon); }
.btn-small { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--pink-ink); }
.text-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0; background: radial-gradient(520px 320px at 92% 8%, rgba(216, 169, 46, .16), transparent 70%), radial-gradient(420px 300px at 64% 100%, rgba(216, 169, 46, .1), transparent 70%), #fff; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.logo-card { justify-self: center; width: min(100%, 380px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 2rem 2rem 1.75rem; }
.logo-card > img { width: 95px; height: 160px; margin: 0 auto 1.5rem; }
.wordmarks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.wordmark { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: 1.35rem; color: var(--pink-2); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .logo-card { justify-self: start; }
}

/* Features */
.features { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { padding: 2rem 1.5rem; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature svg { width: 30px; height: 30px; color: var(--pink); margin-bottom: .9rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; }
  .feature:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* Sections and courses */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.course-group + .course-group { margin-top: 2.5rem; }
.group-title { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon-2); margin-bottom: 1rem; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.course-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(8, 8, 8, .05); transition: border-color .15s, box-shadow .15s, transform .15s; }
.course-card:hover { border-color: var(--pink); box-shadow: var(--shadow); transform: translateY(-2px); }
.badge { width: 44px; height: 44px; flex: none; border-radius: 6px; }
.badge-blank { display: inline-block; background: var(--pink-wash); }
.course-text { display: grid; gap: .1rem; }
.course-title { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.course-meta { font-size: .86rem; color: var(--muted); }
.course-summary { font-size: .9rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.steps p { margin: 0; color: var(--muted); }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; margin-bottom: 1rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Page head */
.page-head { color: #fff; padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem); background: radial-gradient(520px 260px at 92% 0%, rgba(216, 169, 46, .45), transparent 70%), linear-gradient(150deg, var(--maroon) 0%, var(--maroon-2) 100%); }
.page-head .eyebrow { color: #f0ca62; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-head .lead { color: rgba(255, 255, 255, .86); margin: 0; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--pink); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 1.4rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin-bottom: .3rem; }
.plan-price .amount { font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.plan-price .cadence { color: var(--muted); }
.plan-meta { font-size: .92rem; color: var(--muted); margin: 0 0 .25rem; }
.plan-trial { align-self: flex-start; display: inline-block; font-size: .85rem; font-weight: 700; color: var(--maroon); background: var(--pink-wash); border-radius: 999px; padding: .25rem .75rem; margin: .5rem 0 0; }
.plan-desc { margin: 1rem 0; }
.perks { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.perks li { position: relative; padding-left: 1.8rem; font-size: .97rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.plan-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; }
.grid-msg { grid-column: 1 / -1; }
.plan-detail { max-width: 720px; }
.plan-detail .plan-card { padding: clamp(1.75rem, 4vw, 2.5rem); }
.plan-detail h2 { font-size: 1.15rem; margin-top: 2rem; }
.terms { white-space: pre-wrap; color: var(--muted); font-size: .95rem; }

/* Login */
.auth { max-width: 470px; margin-inline: auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--pink-wash); border-radius: 999px; padding: 4px; margin-bottom: 1.5rem; }
.tab { border: 0; background: transparent; border-radius: 999px; padding: .65rem; font: 700 .95rem var(--font); color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(8, 8, 8, .16); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .9rem; font-weight: 700; }
.field input { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 111, 223, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.form-error { color: var(--error); font-size: .92rem; min-height: 1.3em; margin: .25rem 0 .9rem; }
.form-note { font-size: .92rem; color: var(--muted); }

/* Library */
.gate-card { max-width: 580px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.gate-card h2 { font-size: 1.6rem; }
.gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.5rem; }
.library-section { margin-bottom: 3.5rem; }
.library-section:last-child { margin-bottom: 0; }
.course-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.75rem; }
.course-picker label { font-weight: 700; }
.course-picker select { font: 600 1rem var(--font); color: var(--ink); padding: .7rem 2.6rem .7rem 1rem; min-width: min(100%, 380px); border: 1.5px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .9rem center / 12px no-repeat; appearance: none; cursor: pointer; }
.course-picker select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 111, 223, .2); }
.course-picker select:disabled { cursor: wait; opacity: .7; }
.course-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.course-heading:empty { display: none; }
.course-heading .badge { width: 48px; height: 48px; }
.course-heading h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.course-heading .course-meta { display: block; margin-top: .2rem; }
.resource-list { display: grid; gap: .75rem; transition: opacity .15s; }
.resource-list.is-fetching { opacity: .55; }
.resource { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.35rem; }
.resource h3 { font-size: 1.08rem; margin: 0 0 .2rem; }
.resource .meta { font-size: .84rem; font-weight: 700; color: var(--pink-ink); margin: 0 0 .3rem; }
.resource p { margin: 0; font-size: .95rem; }
.resource .soon { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.load-more { margin-top: 1.25rem; }
@media (max-width: 640px) { .resource { grid-template-columns: 1fr; } }
.class-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.class-card { display: flex; flex-direction: column; background: linear-gradient(150deg, var(--maroon), var(--maroon-2)); color: #fff; border-radius: 18px; padding: 1.5rem; }
.class-card .level { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f0ca62; margin: 0 0 .4rem; }
.class-card h3 { margin: 0 0 .35rem; }
.class-card .when { color: rgba(255, 255, 255, .86); margin: 0 0 1.25rem; }
.class-card .btn { margin-top: auto; align-self: flex-start; }
.class-card .soon { margin-top: auto; font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* Footer */
.site-footer { background: var(--maroon); color: rgba(255, 255, 255, .8); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand p { margin: 0; }
.logo-tile { display: grid; place-items: center; width: 52px; height: 52px; flex: none; background: #fff; border-radius: 14px; }
.logo-tile img { width: 24px; height: 40px; }
.brand-foot { font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2rem; padding-top: 1.25rem; font-size: .86rem; }
.footer-base p { margin: 0 0 .35rem; }

/* Formerly ui.css */
/* Header session */
.session-placeholder { width: 190px; }
.session-login { color: var(--ink); font-weight: 700; font-size: .96rem; text-decoration: none; }
.session-login:hover { color: var(--pink-ink); }

/* Course filter */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .55rem 1.05rem; font: 700 .9rem var(--font); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.group-note { margin-left: .7rem; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* Currency */
.currency-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.75rem; }
.currency-label { font-size: .9rem; font-weight: 700; color: var(--muted); }
.currency-switch { display: inline-flex; gap: 4px; background: var(--pink-wash); border-radius: 999px; padding: 4px; }
.currency-switch button { border: 0; background: transparent; border-radius: 999px; padding: .4rem .95rem; font: 700 .88rem var(--font); color: var(--muted); cursor: pointer; }
.currency-switch button:hover { color: var(--ink); }
.currency-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(8, 8, 8, .16); }

/* Pricing */
.pricing-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.pstep-title { display: flex; align-items: center; gap: .8rem; font-size: 1.45rem; margin-bottom: 1.2rem; }
.pstep-num { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 1rem; }
.pstep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.pstep-done { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-weight: 700; }
.pstep-done::before { content: ""; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.pstep .chips { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow); }
.price-card-bundle { border: 2px solid var(--pink); background: var(--soft); }
.price-card-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.price-card-head h3 { margin: 0; font-size: 1.25rem; }
.price-card-head .course-meta { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }
.price-card .perks { margin: 1rem 0 1.5rem; }
.price-card .perks li { font-size: .92rem; }
.price-actions { margin-top: auto; display: grid; justify-items: center; gap: .8rem; }
.price-tag { position: absolute; top: -.85rem; left: 1.6rem; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: var(--pink-ink); color: #fff; font-size: .8rem; font-weight: 700; }
.plan-meta s { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: .7rem; max-width: 760px; margin-top: 1.5rem; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--pink-ink); }
.buy-error { min-height: 1.2em; margin: .6rem 0 0; color: var(--error); font-size: .92rem; font-weight: 700; }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.summary-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.6rem; }
.summary-item p { margin: 0; color: var(--muted); }
.summary-item .summary-price { font-size: 2rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.summary-from { font-size: 1rem; font-weight: 700; color: var(--muted); }
.section-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Subscribe options on course and library pages */
.buy-options { display: grid; gap: 1rem; }
.buy-option { border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.buy-option-bundle { border: 2px solid var(--pink); background: var(--soft); }
.buy-option-name { margin: 0 0 .35rem; font-weight: 700; }
.buy-option .plan-price .amount { font-size: 1.6rem; }
.buy-option .price-tag { position: static; display: inline-block; margin: 0 0 .5rem; }
.buy-option .btn { margin-top: .75rem; }
.buy-options .consent { margin-top: .25rem; font-size: .86rem; }
.locked-card { max-width: 640px; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.quote-card { margin: 0; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; font-weight: 700; line-height: .8; color: var(--pink); }
.quote-card figcaption { margin-top: auto; display: grid; gap: .1rem; font-size: .9rem; }
.quote-name { font-weight: 700; }
.quote-role, .quote-course { color: var(--muted); }

/* Schools band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 24px; background: linear-gradient(150deg, var(--maroon), var(--maroon-2)); color: #fff; }
.band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .4rem; }
.band p { max-width: 620px; margin: 0; color: rgba(255, 255, 255, .86); }

/* Questions */
.faq { max-width: 760px; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.35rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details[open] summary { color: var(--pink-ink); }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* Policy pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 2.25rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-side { display: grid; gap: 1.5rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.1rem); box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card .perks { margin: 0; }
.contact-mail { font-size: 1.2rem; font-weight: 700; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.msg-form .field input, .msg-form .field select, .msg-form .field textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.msg-form .field select:focus, .msg-form .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 111, 223, .2); }
.msg-form .form-error { min-height: 0; margin: .3rem 0 0; }
.form-done { margin: 0; font-weight: 700; }

/* Chat */
.chat-launch { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.25rem; border: 0; border-radius: 999px; background: var(--pink-ink); color: #fff; font: 700 .95rem var(--font); box-shadow: 0 10px 30px rgba(8, 8, 8, .3); cursor: pointer; }
.chat-launch:hover { background: var(--maroon-2); }
.chat-launch svg { width: 20px; height: 20px; }
.chat-panel { position: fixed; right: 1.25rem; bottom: 5.25rem; z-index: 41; display: flex; flex-direction: column; width: min(380px, calc(100vw - 2.5rem)); height: min(600px, calc(100vh - 7rem)); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(8, 8, 8, .28); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: linear-gradient(150deg, var(--maroon), var(--maroon-2)); color: #fff; }
.chat-title { margin: 0; font-weight: 700; }
.chat-sub { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .82); }
.chat-close { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .28); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: .6rem; overflow-y: auto; padding: 1rem; background: var(--soft); }
.bubble { max-width: 88%; margin: 0; padding: .65rem .9rem; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.bubble-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-me { align-self: flex-end; background: var(--maroon); color: #fff; border-bottom-right-radius: 4px; }
.chat-foot { max-height: 58%; overflow-y: auto; padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-small { padding: .4rem .75rem; font-size: .82rem; text-align: left; }
.chip-strong { background: var(--pink-ink); border-color: var(--pink-ink); color: #fff; }
.chip-strong:hover { background: var(--maroon-2); border-color: var(--maroon-2); }
.chat-back { margin-bottom: .6rem; }
.chat-foot .field { margin-bottom: .7rem; }
@media (max-width: 560px) {
  .chat-launch { padding: .85rem; }
  .chat-launch span { display: none; }
  .chat-panel { right: .75rem; left: .75rem; bottom: 4.75rem; width: auto; height: min(600px, calc(100vh - 6rem)); }
}

/* Footer */
.footer-mail { color: #fff; font-weight: 700; }
.footer-brand p + p { margin-top: .2rem; }
.course-heading { flex-wrap: wrap; }
.heading-action { margin-left: auto; }
.logo-subjects { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; justify-content: center; gap: 1.4rem; }
.logo-subjects li { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.wordmarks { gap: 0; }
.wordmark { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.wm-years { font-size: .85rem; font-weight: 700; color: var(--maroon); }
.wm-boards { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.finder-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; }
.finder-stats li { padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; color: var(--muted); }
.finder-stats b { font-size: 1.02rem; color: var(--pink-ink); }
.finder { display: grid; gap: 1.4rem; margin-bottom: 1.1rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.finder-label { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-weight: 700; }
.finder-num { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--maroon); color: #fff; font-size: .85rem; }
.finder-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.finder-options-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.finder-option { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1rem 1.15rem; border: 2px solid var(--line); border-radius: 16px; background: var(--soft); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.finder-option:hover { border-color: var(--pink); box-shadow: 0 8px 20px rgba(8, 8, 8, .08); transform: translateY(-2px); }
.finder-option:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.finder-option[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.fo-title { font-size: 1.1rem; font-weight: 700; }
.fo-sub { font-size: .86rem; color: var(--muted); }
.finder-option[aria-pressed="true"] .fo-sub { color: #efe3c4; }
.finder-help { margin: .8rem 0 0; font-size: .92rem; color: var(--muted); }
.finder-help .text-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.finder-status { margin: 0 0 1.25rem; font-size: .92rem; color: var(--muted); }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1rem; }
.cc { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(8, 8, 8, .05); transition: transform .18s, box-shadow .18s, border-color .18s; }
.cc::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 5px; background: var(--cc-accent, var(--pink)); }
.cc-biology { --cc-accent: #3bb36b; }
.cc-chemistry { --cc-accent: #2340f0; }
.cc-physics { --cc-accent: #e8c800; }
.cc:hover { border-color: var(--pink); box-shadow: var(--shadow); transform: translateY(-4px); }
.cc:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.cc-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.cc-cover img:not(.badge) { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cc:hover .cc-cover img:not(.badge) { transform: scale(1.04); }
.cc-cover .badge { position: absolute; left: .7rem; bottom: .7rem; width: 40px; height: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.cc-body { display: flex; flex: 1; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; }
.cc-subject { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
.cc-title { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.cc-meta { font-size: .86rem; color: var(--muted); }
.cc-stats { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.cc-stats span { padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: .78rem; color: var(--muted); }
.cc-stats b { color: var(--ink); }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.cc-price { font-size: .98rem; font-weight: 700; }
.cc-price s { margin-left: .25rem; font-size: .85rem; font-weight: 600; opacity: .7; }
.cc-cta { font-size: .9rem; font-weight: 700; color: var(--pink-ink); white-space: nowrap; }
.cc-cta::after { content: " →"; }
.cc-bundle { background: linear-gradient(160deg, var(--maroon), var(--maroon-2)); border-color: var(--maroon); color: #fff; }
.cc-bundle .cc-subject { color: #f0ca62; }
.cc-bundle .cc-meta { color: rgba(255, 255, 255, .82); }
.cc-bundle .cc-cta { color: #fff; }
.cc-bundle-badges { display: flex; gap: .45rem; padding: 1.5rem 1.1rem 0; }
.cc-bundle-badges .badge { width: 44px; height: 44px; }
.cc-save { align-self: flex-start; margin-top: .5rem; padding: .2rem .6rem; border-radius: 999px; background: var(--pink-2); color: #fff; font-size: .8rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .cc, .cc-cover img, .finder-option { transition: none; }
  .cc:hover, .finder-option:hover, .cc:hover .cc-cover img:not(.badge) { transform: none; }
}
.billing-switch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-left: 1rem; }
.buy-options .billing-switch { margin: 0 0 .85rem; }
.summary-alt { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.taster { max-width: 820px; margin: 0 auto; }
.taster-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.25rem; }
.taster-head label { font-weight: 700; }
.taster-head select { padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 1rem var(--font); }
.taster-result { padding: 1.25rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.taster-cta { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border: 1px solid #ebd9a8; border-radius: var(--radius); background: var(--pink-wash); }
.taster-cta p { margin: 0; }
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 0; padding: 0; }
.about-facts li { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.about-facts b { display: block; margin-bottom: .25rem; font-size: 1.35rem; color: var(--maroon); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .billing-switch { margin-left: 0; }
}
.class-box { margin-bottom: 1.2rem; }
.class-box:empty { display: none; }
.class-card { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.class-card h2 { margin: 0 0 .8rem; font-size: 1.2rem; }
.class-card table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.class-card th, .class-card td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.class-card .muted { margin: .8rem 0 0; }
.class-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; white-space: nowrap; }
.class-line { margin: 0; }
.class-join summary { cursor: pointer; font-weight: 700; }
.class-join form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .7rem; }
.class-join input { flex: 1 1 14rem; max-width: 20rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; letter-spacing: .04em; text-transform: uppercase; }
.price-grid-class { margin-top: 1.6rem; }
.taster-lead { max-width: 480px; }
.lead-form { display: grid; gap: .8rem; margin-top: .9rem; }
.lead-form .btn { justify-self: start; }
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; max-width: 620px; margin: 0 auto; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); font-size: .92rem; }
.cookie-bar p { flex: 1 1 15rem; margin: 0; }

/* Course picker: one exam board at a time */
html:not(.has-js) .board-picker { display: none; }
.has-js #course-groups .course-group:not(.is-active) { display: none; }
.has-js #course-groups .course-group + .course-group { margin-top: 0; }
.board-picker { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(0, 4fr); gap: 1rem 1.25rem; margin: 0 0 2rem; padding: clamp(1rem, 2.5vw, 1.4rem); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.board-set-label { margin: 0 0 .55rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.board-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.board-set-4 .board-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board-tab { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .15rem; width: 100%; min-height: 4.1rem; padding: .65rem .9rem; border: 2px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.board-tab:hover { border-color: var(--pink); }
.board-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.board-tab[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.bt-title { font-size: .95rem; font-weight: 700; line-height: 1.25; }
.bt-sub { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.board-tab[aria-pressed="true"] .bt-sub { color: #efe3c4; }
.board-picker .finder-help { grid-column: 1 / -1; margin: 0; }
@media (max-width: 999px) {
  .board-picker { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .board-set-4 .board-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Skip link */
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 1000; padding: .65rem 1rem; border-radius: 10px; background: var(--maroon); color: #fff; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: .5rem; outline: 3px solid var(--focus); outline-offset: 2px; }
/* Homepage banner on phones */
@media (max-width: 719px) { .hero .logo-card { display: none; } }
/* Course page header: price and jump link */
.course-head-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1rem 0 0; }
.course-head-price { font-weight: 700; }
/* Pricing: login line */
.pricing-login { margin: 0 0 1.25rem; font-size: .95rem; color: var(--muted); }
.pricing-login .text-link { font-weight: 700; }
/* About page */
.about-section { margin-top: 2.25rem; }
.about-section h2 { margin-bottom: .75rem; }
.about-section p { max-width: 72ch; }
.about-section p + p { margin-top: .9rem; }
.about-facts { margin-top: 2.25rem; }
/* Privacy summary */
.privacy-summary { padding: 1.25rem 1.4rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.privacy-summary h2 { margin: 0 0 .6rem; font-size: 1.2rem; }
.privacy-summary ul { margin: 0; padding-left: 1.2rem; }
.privacy-summary li + li { margin-top: .35rem; }
/* Missing page */
.notfound-links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sales sections */
.hero-note { margin: .85rem 0 0; font-size: .92rem; color: var(--muted); }
.sell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.sell-card { padding: 1.25rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sell-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.sell-card p { margin: 0; color: var(--muted); }
.trust-line { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.cta-band { background: linear-gradient(135deg, var(--maroon), var(--maroon-2)); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cta-band h2 { margin: 0 0 .35rem; color: #fff; }
.cta-band p { margin: 0; color: #efe3c4; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.cta-link { color: #fff; font-weight: 700; }
.course-head-try { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Hero product shot */
.hero { overflow-x: clip; }
.hero-shot { position: relative; width: 100%; max-width: 600px; justify-self: center; align-self: center; padding: 0 0 8%; }
.shot-screen { background: #0f0f0f; border-radius: 16px 16px 0 0; padding: 3% 3% 2.4%; box-shadow: 0 24px 50px rgba(8, 8, 8, .22); }
.shot-screen img, .shot-tablet img { display: block; width: 100%; height: auto; border-radius: 6px; }
.shot-base { height: 16px; margin: 0 -7%; background: linear-gradient(#eeeae2, #cfc8b8); border-radius: 0 0 16px 16px; box-shadow: 0 10px 24px rgba(8, 8, 8, .18); }
.shot-tablet { position: absolute; right: -5%; bottom: 0; width: 42%; padding: 2.2%; background: #0f0f0f; border-radius: 14px; box-shadow: 0 18px 40px rgba(8, 8, 8, .3); transform: rotate(3deg); }
@media (max-width: 719px) { .hero-shot { margin-top: 1.25rem; max-width: 460px; padding-bottom: 0; } .shot-tablet { display: none; } .shot-base { margin: 0 -5%; } }
/* Course cards on phones */
.cc-price { white-space: nowrap; }
@media (max-width: 560px) { .cc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Revision, glossary and UAE pages */
.rev-wrap { max-width: 820px; }
.rev-wrap > h2 { margin: 2rem 0 .75rem; }
.rev-terms { display: grid; gap: .65rem; margin: 0; }
.rev-terms > div { padding: .85rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 90px; }
.rev-terms dt { font-weight: 700; color: var(--maroon); }
.rev-terms dd { margin: .2rem 0 0; }
.term-lesson { display: inline-block; margin-left: .35rem; font-size: .88rem; font-weight: 700; }
.rev-q { padding: 1rem 1.15rem; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.rev-q + .rev-q { margin-top: .75rem; }
.rev-q > p { margin: 0 0 .5rem; font-weight: 700; }
.rev-q ol { margin: 0 0 .6rem; padding-left: 1.5rem; }
.rev-q li + li { margin-top: .2rem; }
.rev-q summary { cursor: pointer; font-weight: 700; color: var(--pink-ink); }
.rev-q details p { margin: .45rem 0 0; }
.rev-cta { margin-top: 2.25rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--maroon), var(--maroon-2)); color: #fff; }
.rev-cta h2 { margin: 0 0 .4rem; color: #fff; font-size: 1.3rem; }
.rev-cta p { margin: 0 0 1rem; color: #efe3c4; }
.rev-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.25rem; margin-top: 2rem; font-weight: 700; }
.rev-topic { scroll-margin-top: 90px; }
.rev-topic + .rev-topic, .glossary-topic + .glossary-topic { margin-top: 2rem; }
.glossary-topic { scroll-margin-top: 90px; }
.rev-list { columns: 2 260px; column-gap: 2rem; padding-left: 1.4rem; }
.rev-list li { break-inside: avoid; margin: .3rem 0; }
.uae-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin: 1rem 0 .5rem; }
.uae-boards > div { padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.uae-boards h3 { margin: 0 0 .35rem; font-size: 1rem; }
.uae-boards p { margin: 0; }
.uae-actions { margin-top: 1.75rem; }
.page-head .eyebrow a { color: inherit; }
.rev-termlist { margin: 0; color: var(--muted); }

/* Practice question pages */
.pq-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: 0 0 1rem; font-size: .9rem; font-weight: 700; color: #f0ca62; }
.pq-crumbs a { color: #fff; text-decoration: none; opacity: .88; }
.pq-crumbs a:hover { opacity: 1; text-decoration: underline; }
.pq-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.pq-meta li { padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .85rem; font-weight: 700; }
.pq-wrap { max-width: 820px; }
.pq-wrap-wide { max-width: 1000px; }
.pq-h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.pq-qs { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.pq-card { padding: 1.35rem 1.45rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pq-label { margin: 0 0 .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); }
.pq-stem { margin: 0 0 1rem; font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.pq-opts { display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.pq-opt { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); line-height: 1.45; transition: background .15s, border-color .15s; }
.pq-letter { flex: 0 0 1.8rem; height: 1.8rem; display: grid; place-items: center; margin-top: -.1rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--maroon); font-size: .82rem; font-weight: 700; }
.pq-card:has(.pq-ans[open]) .pq-opt.is-correct { border-color: #8fd1a8; background: #ecf8f0; }
.pq-card:has(.pq-ans[open]) .pq-opt.is-correct .pq-letter { border-color: #1f7a44; background: #1f7a44; color: #fff; }
.pq-ans summary { display: inline-block; padding: .55rem 1.1rem; border: 2px solid var(--pink-ink); border-radius: 999px; color: var(--pink-ink); font-size: .92rem; font-weight: 700; line-height: 1.2; cursor: pointer; list-style: none; user-select: none; }
.pq-ans summary::-webkit-details-marker { display: none; }
.pq-ans summary:hover { background: var(--pink-wash); }
.pq-ans[open] summary { background: var(--pink-ink); color: #fff; }
.pq-hide, .pq-ans[open] .pq-show { display: none; }
.pq-ans[open] .pq-hide { display: inline; }
.pq-ans p { margin: .9rem 0 0; padding: .75rem 1rem; border-left: 4px solid #1f7a44; border-radius: 0 12px 12px 0; background: #ecf8f0; }
.pq-ans p strong { display: block; color: #1f7a44; }
.pq-terms { margin-top: 2.75rem; }
.pq-terms h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.pq-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.pq-chips li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--maroon); font-size: .92rem; font-weight: 700; }
.pq-note { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--muted); font-size: .95rem; }
.pq-note svg { flex: 0 0 auto; color: var(--pink-ink); }
.pq-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.25rem 2.25rem; margin-top: 2.75rem; padding: 1.75rem 1.85rem; border-radius: var(--radius); background: radial-gradient(420px 220px at 100% 0%, rgba(216, 169, 46, .42), transparent 70%), linear-gradient(135deg, var(--maroon), var(--maroon-2)); color: #fff; }
.pq-cta h2 { margin: 0 0 .45rem; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.pq-cta p { margin: 0; color: #efe3c4; }
.pq-cta-side { display: grid; justify-items: start; gap: .7rem; }
.pq-cta .pq-price { color: #fff; font-size: .95rem; }
.pq-price strong { font-size: 1.7rem; font-weight: 700; }
.pq-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.pq-pager a { display: grid; align-content: start; gap: .25rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pq-pager a:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.pq-pager span { color: var(--pink-ink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pq-pager strong { font-size: 1.02rem; line-height: 1.35; }
.pq-prev { grid-column: 1; }
.pq-next { grid-column: 2; text-align: right; }
.pq-all { margin: 1.25rem 0 0; text-align: center; font-weight: 700; }
.pq-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.pq-jump a { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--maroon); font-size: .92rem; font-weight: 700; text-decoration: none; }
.pq-jump a:hover { border-color: var(--pink); background: var(--pink-wash); }
.pq-topic { padding: 1.5rem 1.6rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.pq-topic + .pq-topic { margin-top: 1.25rem; }
.pq-topic-head { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.1rem; }
.pq-topic-num { flex: 0 0 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 12px; background: var(--maroon); color: #fff; font-weight: 700; }
.pq-topic h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.pq-topic-count { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.pq-lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.pq-lessons a { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color .15s, background .15s; }
.pq-lessons a:hover { border-color: var(--pink); background: var(--pink-wash); }
.pq-lessons b { flex: 0 0 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--maroon); font-size: .8rem; }
.about-fact-wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .pq-card { padding: 1.1rem 1rem 1rem; }
  .pq-opt { padding: .6rem .7rem; }
  .pq-cta { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; }
  .pq-pager { grid-template-columns: 1fr; }
  .pq-next { grid-column: auto; text-align: left; }
  .pq-topic { padding: 1.15rem 1rem 1.2rem; }
}

/* APEX */
.brand img { width: auto; height: 26px; }
.footer-logo { width: auto; height: 32px; flex: none; }
.btn { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--pink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.btn, .chip, .tab, .board-tab, .nav-toggle, .site-nav > a, .text-btn, .text-link, .eyebrow, label, .footer-nav a { font-weight: 600; }
.board-set-8 .board-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .board-set-8 .board-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.side-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.scope-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.about-portrait { flex: 0 0 200px; width: 200px; max-width: 42vw; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* APEX: black and gold header and home banner */
.site-header { background: #080808; border-bottom: 1px solid rgba(216, 169, 46, .35); -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand img { height: 28px; }
.site-nav > a, .session-name, .session-login, .site-header .text-btn { color: #fff; }
.site-nav > a:hover, .site-nav > a[aria-current="page"], .session-name:hover, .session-login:hover { color: var(--pink); text-decoration-color: var(--pink); }
.nav-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.nav-toggle:hover { border-color: var(--pink); }
@media (max-width: 860px) { .site-nav { background: #080808; border-bottom: 1px solid rgba(216, 169, 46, .35); } }
.hero-apex { display: grid; grid-template-columns: 1fr 1fr; background: #080808; color: #fff; min-height: 460px; overflow: hidden; }
.hero-apex-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem) max(1.25rem, calc((100vw - 1140px) / 2)); }
.hero-logo { width: min(300px, 70%); height: auto; margin: 0 0 1.4rem; }
.hero-apex h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 0 1rem; }
.hero-apex .lead { color: rgba(255, 255, 255, .82); margin: 0; }
.hero-apex .lead a { color: var(--pink); }
.hero-apex .hero-note { color: rgba(255, 255, 255, .7); }
.hero-apex .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-apex .btn-outline:hover { background: #fff; border-color: #fff; color: #080808; }
.hero-author { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; color: #fff; text-decoration: none; font-size: .95rem; }
.hero-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(216, 169, 46, .6); background: #fff; }
.hero-apex-photo { position: relative; border-left: 4px solid var(--pink); min-height: 320px; }
.hero-apex-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--pink); color: #080808; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; padding: .45rem .9rem; }
.inside-shot { margin: 0 auto 2.75rem; }
@media (max-width: 860px) { .hero-apex { grid-template-columns: 1fr; } .hero-apex-photo { border-left: 0; border-top: 4px solid var(--pink); min-height: 240px; } }
.six-weeks .six-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.six-weeks h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .75rem; }
.six-weeks .six-shot img { width: 100%; height: auto; border-radius: var(--radius); border: 6px solid #080808; box-shadow: var(--shadow); }
@media (max-width: 860px) { .six-weeks .six-grid { grid-template-columns: 1fr; } }
.about-facts .fact-list { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .95rem; }
.about-facts .fact-list li { padding: 0; border: 0; background: none; margin: 0 0 .3rem; }
.about-facts .fact-note { display: block; margin-top: .35rem; font-size: .95rem; color: var(--muted); }
.results-form h2 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .25rem 1rem; }
.results-form select { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.results-form .consent { margin: 1.25rem 0; }
.library-note { margin: 0 0 1.25rem; font-size: .95rem; }
.about { display: block; }
.about .about-facts { margin-top: 2rem; }
