/* Aaron's AI Academy – hand-written stylesheet (no framework, no CDN) */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #3730a3;
  --brand-soft: #eef2ff;
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --green: #15803d;
  --green-soft: #dcfce7;
  --night: #0b1026;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .15);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, .45);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 1.08rem; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7); }
.logo small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; letter-spacing: .02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a, .nav button.linklike { color: var(--ink-2); font-weight: 600; font-size: .94rem; padding: .5rem .8rem; border-radius: 8px; }
.nav a:hover, .nav button.linklike:hover { background: var(--brand-soft); color: var(--brand-ink); text-decoration: none; }
.nav .btn { margin-left: .5rem; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--brand-ink); }
.nav form { margin: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }
button.linklike { background: none; border: 0; cursor: pointer; font: inherit; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: .5rem 0 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1; padding: .85rem 1.3rem; border-radius: 10px; border: 1px solid transparent; cursor: pointer; background: var(--brand); color: #fff; transition: transform .08s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { background: var(--brand-ink); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: .5rem .8rem; font-size: .84rem; border-radius: 8px; }
.btn-xs { padding: .35rem .6rem; font-size: .78rem; border-radius: 7px; }
.btn-glow { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px -10px rgba(99, 70, 229, .8); }
.btn-glow:hover { background: linear-gradient(135deg, #4338ca, #6d28d9); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-ink); border-color: #c7d2fe; }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .22); }
.btn-success { background: var(--green); } .btn-success:hover { background: #166534; }
.btn-danger { background: #fff; color: var(--red); border-color: #fecaca; } .btn-danger:hover { background: var(--red-soft); }
.btn-amber { background: #d97706; } .btn-amber:hover { background: #b45309; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.inline { display: inline; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(124, 58, 237, .55), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(13, 148, 136, .45), transparent 60%), linear-gradient(160deg, #0b1026 0%, #1e1b4b 55%, #312e81 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5.5rem 0 6rem; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .grad { background: linear-gradient(90deg, #a5b4fc, #f0abfc 50%, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #cbd5e1; max-width: 36rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.hero .eyebrow { color: #c7d2fe; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: .4rem .8rem; border-radius: 999px; letter-spacing: .04em; text-transform: none; font-size: .86rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-trust { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; color: #a5b4fc; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { color: #5eead4; flex: none; }
.hero-card { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.hero-card h3 { font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; }
.journey { list-style: none; margin: 0; padding: 0; }
.journey li { display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px dashed var(--line); }
.journey li:first-child { border-top: 0; }
.journey .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand-ink); }
.journey li.free .num { background: var(--teal-soft); color: var(--teal); }
.journey strong { display: block; font-size: .95rem; }
.journey span.meta { font-size: .8rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 2.8rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow); }
.step .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; background: var(--brand-soft); color: var(--brand); }
.step.free .icon { background: var(--teal-soft); color: var(--teal); }
.step .tag { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .75rem; font-weight: 800; color: var(--muted); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.6rem; }
.course-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.course-card .banner { padding: 1.6rem 1.6rem 1.3rem; color: #fff; position: relative; overflow: hidden; }
.course-card .banner::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); }
.course-card.beginner .banner { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.course-card.intermediate .banner { background: linear-gradient(135deg, #4338ca, #7c3aed); }
.course-card .banner h3 { font-size: 1.45rem; margin: .7rem 0 0; }
.course-card .body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.course-card .body p { color: var(--ink-2); margin: 0; }
.course-card .facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; font-size: .9rem; }
.course-card .facts div { background: var(--bg); border-radius: 10px; padding: .6rem .8rem; }
.course-card .facts b { display: block; font-size: 1rem; }
.course-card .actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.banner .badge { background: rgba(255,255,255,.2); color: #fff; }
.badge.beginner { background: var(--teal-soft); color: #115e59; }
.badge.intermediate { background: #ede9fe; color: #5b21b6; }
.badge.sample { background: var(--amber-soft); color: var(--amber); }
.badge.off { background: #f1f5f9; color: var(--muted); }

/* ---------- Session lists ---------- */
.session-list { display: grid; gap: .8rem; }
.session-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 1.1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.datebox { width: 68px; height: 68px; border-radius: 14px; display: grid; place-content: center; text-align: center; background: var(--brand-soft); color: var(--brand-ink); line-height: 1.05; }
.datebox b { font-size: 1.6rem; font-weight: 800; }
.datebox span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.datebox.teal { background: var(--teal-soft); color: #115e59; }
.session-item h4 { margin: 0 0 .15rem; font-size: 1.02rem; }
.session-item .meta { color: var(--muted); font-size: .9rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.seats { font-weight: 700; font-size: .85rem; color: var(--green); }
.seats.low { color: var(--amber); }
.seats.full { color: var(--red); }
@media (max-width: 640px) {
  .session-item { grid-template-columns: 56px 1fr; }
  .session-item .datebox { width: 56px; height: 56px; }
  .session-item > :last-child { grid-column: 1 / -1; }
  .session-item > :last-child .btn { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

/* ---------- CTA band / about ---------- */
.cta-band { border-radius: 24px; padding: 3.2rem; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: radial-gradient(600px 300px at 100% 0%, rgba(240, 171, 252, .35), transparent 60%), linear-gradient(135deg, #312e81, #4f46e5 60%, #7c3aed); box-shadow: var(--shadow-lg); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #e0e7ff; margin: 0; font-size: 1.08rem; }
.about { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.avatar { width: 120px; height: 120px; border-radius: 28px; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--brand) 60%, var(--brand-2)); box-shadow: var(--shadow-lg); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks.two { grid-template-columns: 1fr 1fr; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #94a3b8; padding: 3rem 0 2rem; margin-top: 4rem; font-size: .92rem; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { color: #fff; }
.site-footer a { color: #cbd5e1; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.4rem; margin-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.home .site-footer, .no-footer-gap .site-footer { margin-top: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, #0b1026, #1e1b4b 60%, #312e81); color: #fff; padding: 3.2rem 0 3.4rem; }
.page-hero p.lead { color: #c7d2fe; font-size: 1.12rem; max-width: 46rem; margin: 0; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: .8rem 0 .5rem; }
.page-hero .crumbs { font-size: .88rem; color: #a5b4fc; }
.page-hero .crumbs a { color: #c7d2fe; }
.page { padding: 2.5rem 0 1rem; }

/* ---------- Course page layout ---------- */
.course-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.2rem; align-items: start; margin-top: -2rem; }
.course-layout .main { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 2.2rem; box-shadow: var(--shadow); }
.course-layout .main .prose p { color: var(--ink-2); font-size: 1.04rem; }
.price-card { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow-lg); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.price-line:last-of-type { border-bottom: 0; }
.price-line .big { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.price-line .free { font-size: 1.3rem; font-weight: 800; color: var(--teal); }
.price-card .note { font-size: .82rem; color: var(--muted); margin: .6rem 0 1rem; }
.later-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.later-grid .cell { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.later-grid .cell h4 { margin: 0 0 .4rem; font-size: .92rem; }
.later-grid .cell ul { margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--ink-2); display: grid; gap: .2rem; }

/* ---------- Cards, alerts, forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
.card.pad-lg { padding: 2.2rem; }
.alert { border-radius: 12px; padding: .9rem 1.1rem; border: 1px solid; display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.alert + .alert { margin-top: .6rem; }
.alert.success { background: var(--green-soft); border-color: #bbf7d0; color: #14532d; }
.alert.error { background: var(--red-soft); border-color: #fecaca; color: #7f1d1d; }
.alert.info { background: var(--brand-soft); border-color: #c7d2fe; color: #312e81; }
.alert.warn { background: var(--amber-soft); border-color: #fde68a; color: #78350f; }
.flash-wrap { padding-top: 1.2rem; }
.auth-wrap { min-height: calc(100vh - 68px - 260px); display: grid; place-items: center; padding: 3rem 1.25rem; background: radial-gradient(700px 400px at 100% 0%, rgba(124, 58, 237, .12), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(13, 148, 136, .12), transparent 60%); }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: 1.8rem; }
.form { display: grid; gap: 1.1rem; }
.form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: .35rem; color: var(--ink-2); }
.hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: .72rem .85rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f87171; }
.error-text { color: var(--red); font-size: .82rem; margin-top: .3rem; font-weight: 600; }
.checkbox { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--brand); }
@media (max-width: 720px) { .form .grid-2, .form .grid-3, .form .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f8fafc; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbff; }
td .sub { display: block; color: var(--muted); font-size: .8rem; }
td.actions { white-space: nowrap; text-align: right; }
td.actions form, td.actions a { display: inline-flex; margin-left: .3rem; }
.empty { text-align: center; padding: 2.4rem 1rem; color: var(--muted); }
.empty svg { color: #c7d2fe; margin-bottom: .6rem; }

/* ---------- Status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.confirmed, .pill.paid, .pill.attended, .pill.active { background: var(--green-soft); color: var(--green); }
.pill.pending, .pill.awaiting { background: var(--amber-soft); color: var(--amber); }
.pill.cancelled, .pill.absent, .pill.full { background: var(--red-soft); color: var(--red); }
.pill.not_due, .pill.inactive, .pill.neutral { background: #f1f5f9; color: var(--muted); }
.pill.free { background: var(--teal-soft); color: #115e59; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.enrol-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.enrol-card + .enrol-card { margin-top: 1.6rem; }
.enrol-card .top { padding: 1.5rem 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfbff, #fff); }
.enrol-card .top h2 { font-size: 1.35rem; margin: .4rem 0 0; }
.enrol-card .inner { padding: 1.5rem 1.6rem; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.stepper .st { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; background: #fff; }
.stepper .st .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #f1f5f9; color: var(--muted); font-size: .9rem; }
.stepper .st b { display: block; font-size: .92rem; }
.stepper .st span { font-size: .8rem; color: var(--muted); }
.stepper .st.done { border-color: #bbf7d0; background: #f7fef9; }
.stepper .st.done .n { background: var(--green); color: #fff; }
.stepper .st.current { border-color: #a5b4fc; background: #f8f9ff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .12); }
.stepper .st.current .n { background: var(--brand); color: #fff; }
.stepper .st.warn { border-color: #fde68a; background: #fffcf0; }
.stepper .st.warn .n { background: #d97706; color: #fff; }
@media (max-width: 720px) { .stepper { grid-template-columns: 1fr; } }
.unlock { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; border-radius: 14px; padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border: 1px solid #c7d2fe; }
.unlock h3 { margin: 0 0 .2rem; }
.unlock p { margin: 0; color: var(--ink-2); }
.unlock.paid { background: linear-gradient(135deg, #f0fdf4, #ecfeff); border-color: #bbf7d0; }
.meeting { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; }
.locked { color: var(--muted); font-size: .85rem; display: inline-flex; gap: .35rem; align-items: center; }

/* ---------- Continue page ---------- */
.pay-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; overflow: hidden; padding: 0; }
.pay-panel .left { padding: 2rem; }
.pay-panel .right { padding: 2rem; background: linear-gradient(160deg, #1e1b4b, #4338ca); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.pay-panel .right .amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pay-panel .right .muted { color: #c7d2fe; }
.pay-panel .right .btn { background: #fff; color: var(--brand-ink); }
.pay-panel .right .btn:hover { background: #e0e7ff; }
.pay-panel.paid .right { background: linear-gradient(160deg, #065f46, #0d9488); }
@media (max-width: 820px) { .pay-panel { grid-template-columns: 1fr; } }
.picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .picker-grid { grid-template-columns: 1fr; } }
.picker { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; box-shadow: var(--shadow); }
.picker.booked { border-color: #bbf7d0; }
.picker.pending { border-color: #fde68a; }
.picker h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.picker h3 .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: .9rem; }
.opt { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; cursor: pointer; margin-bottom: .5rem; font-weight: 500; font-size: .92rem; }
.opt:hover { border-color: #a5b4fc; background: #fafaff; }
.opt input { accent-color: var(--brand); width: 17px; height: 17px; margin: 0; }
.opt .seats { margin-left: auto; }
.opt.disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.admin-side { background: var(--night); color: #cbd5e1; padding: 1.6rem 1rem; }
.admin-side .label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #64748b; font-weight: 800; padding: 0 .8rem; margin: 1.2rem 0 .5rem; }
.admin-side .label:first-child { margin-top: 0; }
.admin-side a { display: flex; align-items: center; gap: .7rem; color: #cbd5e1; padding: .62rem .8rem; border-radius: 9px; font-weight: 600; font-size: .93rem; }
.admin-side a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.admin-side a.on { background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(124,58,237,.3)); color: #fff; }
.admin-side svg { opacity: .85; flex: none; }
.admin-main { padding: 2rem 2.2rem 3rem; min-width: 0; }
.admin-main h1 { font-size: 1.75rem; margin-bottom: .2rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.admin-head p { margin: 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat .k { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: .3rem; }
.stat .ic { position: absolute; right: 1rem; top: 1rem; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.stat.amber .ic { background: var(--amber-soft); color: var(--amber); }
.stat.teal .ic { background: var(--teal-soft); color: var(--teal); }
.stat.green .ic { background: var(--green-soft); color: var(--green); }
.admin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; align-items: start; }
.bar { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; }
.bar.full i { background: var(--red); }
.cap { display: grid; gap: .3rem; min-width: 110px; font-size: .82rem; }
.session-group + .session-group { margin-top: 1.2rem; }
.session-group h3 { font-size: .95rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.filters { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.2rem; }
.filters > div { min-width: 160px; }
.filters label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: .5rem 1rem; font-size: .94rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; }
.btn-group { display: inline-flex; gap: .3rem; flex-wrap: wrap; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } .admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { display: flex; gap: .3rem; overflow-x: auto; padding: .6rem; } .admin-side .label { display: none; } .admin-side a { white-space: nowrap; } .admin-main { padding: 1.4rem 1.1rem; } }

/* ---------- Responsive (public) ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding: 4rem 0; }
  .hero-card { transform: none; }
  .course-layout { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .price-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 2.2rem; }
  .site-footer .container { grid-template-columns: 1fr; }
  .checks.two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .about { grid-template-columns: 1fr; } .section { padding: 3.5rem 0; } .course-layout .main { padding: 1.4rem; } }
.placeholder { display: inline-block; font-size: .8rem; color: #fcd34d; border: 1px dashed rgba(252, 211, 77, .5); border-radius: 6px; padding: .1rem .4rem; }
td.nowrap { white-space: nowrap; }
.alert > span { flex: 1; }
.alert > svg { flex: none; margin-top: .2rem; }
.later-grid .cell li { display: flex; justify-content: space-between; gap: .5rem; }
.later-grid .cell li .seats { font-size: .78rem; }
.admin-grid { grid-template-columns: 1.55fr 1fr; }
.admin-shell { grid-template-columns: 220px minmax(0, 1fr); }
.admin-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.act { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; min-width: 150px; }
.act form, .act .btn-group { margin: 0 !important; }
td.actions .act form { margin-left: 0; }
.pill-stack { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
@media (max-width: 860px) { .admin-shell { grid-template-columns: 1fr; } }
.mini-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .75rem .9rem; border-top: 1px solid var(--line); font-size: .9rem; }
.mini-list li:first-child { border-top: 0; }
.mini-list li > div { min-width: 0; }
.mini-list .sub { display: block; color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.mini-list .right { text-align: right; flex: none; }
.mini-list form { flex: none; }
.nowrap { white-space: nowrap; }
.admin-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.cap { min-width: 96px; }
