/* The Naturally Academy (lib/academyWeb.js). The clinic's purple and gold, Playfair Display + Outfit,
   on warm cream, with a deep aubergine for heroes and the lesson theatre. */
:root {
  --p: #4b2886; --pd: #3a1f69; --pl: #7b52c4; --aub: #1d1130; --aub2: #2a1a45; --aub3: #3a2860;
  --cream: #faf7f2; --cream2: #f3eee6; --soft: #f6f1fb; --soft2: #ece4f6;
  --ink: #1c1424; --muted: #645c6c; --line: #e8e1ec; --line2: #d9cfe3;
  --gold: #c9a961; --gold2: #ecd9a8; --goldd: #a88a45; --ok: #2e8a5a; --okl: #e4f3ea; --bad: #b3261e;
  --r: 18px; --rs: 12px;
  --sh1: 0 1px 2px rgb(28 20 36 / 6%), 0 2px 8px rgb(28 20 36 / 4%);
  --sh2: 0 2px 4px rgb(28 20 36 / 5%), 0 18px 40px -12px rgb(58 31 105 / 22%);
  --sh3: 0 30px 70px -20px rgb(10 4 20 / 55%);
  --head: 'Playfair Display', Georgia, serif; --body: 'Outfit', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-top: 1.6em; }
h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; color: var(--gold2); font-weight: 600; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 580px; }
.sec { padding-top: 64px; padding-bottom: 64px; }
.small { font-size: .88rem; } .muted { color: var(--muted); } .center { text-align: center; }
.narrowh { max-width: 680px; margin: 0 auto 36px; } .narrowh h2 { margin-top: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--goldd); font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 1.16rem; color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spaced { margin-top: 48px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* buttons, chips, cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font: 600 .98rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh2); border-color: var(--p); color: var(--pd); }
.btn.primary { background: var(--p); border-color: var(--p); color: #fff; }
.btn.primary:hover { background: var(--pd); color: #fff; }
.btn.gold { background: linear-gradient(135deg, #d9bd78, var(--gold)); border-color: transparent; color: var(--aub); }
.btn.gold:hover { color: var(--aub); filter: brightness(1.05); }
.btn.glass { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 25%); color: #fff; }
.btn.glass:hover { background: rgb(255 255 255 / 14%); color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn.ghost { background: transparent; }
.btn.ok { background: var(--okl); border-color: #bfe2cd; color: var(--ok); }
.btn.small { padding: 8px 15px; font-size: .9rem; }
.btn.lg { padding: 15px 24px; font-size: 1.04rem; }
.btn.block { display: flex; width: 100%; margin-top: 10px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: inherit; cursor: pointer; }
.iconbtn:hover { border-color: var(--p); }
.lnkbtn { background: none; border: 0; color: var(--p); font: 600 .92rem var(--body); cursor: pointer; padding: 0; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 2px 9px; border-radius: 99px; background: var(--soft2); color: var(--pd); font-style: normal; white-space: nowrap; }
.tag.ok { background: var(--okl); color: var(--ok); }
.chip-s { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 600; letter-spacing: .03em; padding: 4px 11px; border-radius: 99px; background: rgb(255 255 255 / 92%); color: var(--pd); }
.chip-s.ok { color: var(--ok); }
.chip-s.ghost { background: transparent; border: 1px solid rgb(255 255 255 / 30%); color: #efe7fa; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh1); }
.card.soft { background: var(--soft); border-color: transparent; box-shadow: none; }
.err { color: var(--bad); font-weight: 500; }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--rs); background: #fff8e6; border: 1px solid #f0dfae; margin: 0 0 20px; font-size: .95rem; }

/* header + footer */
.top { position: sticky; top: 0; z-index: 30; background: rgb(250 247 242 / 88%); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgb(28 20 36 / 7%); }
.topbar { display: flex; align-items: center; gap: 16px; min-height: 72px; position: relative; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.mark { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(140deg, var(--pl), var(--p) 45%, var(--aub)); color: var(--gold2); display: inline-grid; place-items: center; font: 700 1.35rem var(--head); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%); flex: none; }
.mark.big { width: 56px; height: 56px; font-size: 1.8rem; margin: 0 auto 14px; display: grid; }
.brand b { display: block; font-family: var(--head); font-size: 1.18rem; line-height: 1.1; }
.brand small { color: var(--muted); font-size: .76rem; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 99px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a:hover { background: rgb(75 40 134 / 6%); }
.nav a[aria-current] { color: var(--p); background: var(--soft2); }
.nav a.btn { color: #fff; margin-left: 6px; }
.navsign { color: var(--p) !important; }
.pillnav { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); font-size: .9rem; padding: 5px 14px 5px 5px !important; }
.pillnav .av { width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: var(--gold2); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pillnav.dark { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 15%); color: #fff; text-decoration: none; border-radius: 99px; }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line2); background: #fff; border-radius: 99px; padding: 8px 14px; font: 600 .9rem var(--body); color: var(--ink); }
  .nav { display: none; position: absolute; left: -24px; right: -24px; top: 72px; background: var(--cream); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--sh2); }
  .nav.open { display: flex; }
  .nav a.btn { margin: 8px 0 0; }
}
.foot { background: var(--aub); color: #e3d9f2; padding: 56px 0 24px; margin-top: 40px; }
.foot a { color: #fff; text-decoration: none; } .foot a:hover { color: var(--gold2); }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.fbrand b { display: block; font: 600 1.3rem var(--head); color: #fff; margin: 12px 0 6px; }
.fmuted { color: #a99bc0; }
.foot .copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 10%); }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

/* home hero */
.hero { position: relative; background: radial-gradient(900px 500px at 85% 0%, rgb(201 169 97 / 20%), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgb(123 82 196 / 30%), transparent 60%), linear-gradient(160deg, var(--aub2), var(--aub) 60%); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 90px; background: var(--cream); clip-path: ellipse(75% 100% at 50% 100%); }
.heroin { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); }
.hero h1 em { font-style: italic; color: var(--gold2); font-weight: 500; }
.hero .lead { color: #d8cdea; max-width: 560px; }
.hero .eyebrow { color: var(--gold2); }
.trust { display: flex; gap: 14px; align-items: center; margin-top: 30px; color: #e8def6; font-size: .95rem; line-height: 1.35; }
.trust small { color: #a99bc0; }
.faces { display: flex; } .faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--aub); margin-right: -10px; }
.faces img:last-child { margin-right: 0; }
.herocard { position: relative; display: block; background: #fff; color: var(--ink); text-decoration: none; border-radius: 24px; box-shadow: var(--sh3); transform: rotate(1.2deg); transition: transform .3s; }
.herocard:hover { transform: rotate(0) translateY(-4px); color: var(--ink); }
.hcimg { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 24px 24px 0 0; overflow: hidden; background: var(--aub3); }
.hcimg img { width: 100%; height: 100%; object-fit: cover; }
.playb { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 92%); color: var(--p); box-shadow: 0 10px 30px rgb(0 0 0 / 30%); transition: transform .2s; }
.playb .ic { width: 28px; height: 28px; margin-left: 4px; }
a:hover .playb { transform: scale(1.08); }
.hcbody { display: grid; gap: 4px; padding: 18px 22px 22px; }
.hcbody .chip-s { background: var(--soft2); justify-self: start; }
.hcbody b { font: 600 1.3rem var(--head); }
.hcbody span:last-child { color: var(--muted); font-size: .92rem; }
.float { position: absolute; display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px; box-shadow: var(--sh2); font-weight: 600; font-size: .88rem; }
.float .ic { color: var(--ok); }
.f1 { left: -28px; top: 34%; } .f2 { right: -18px; bottom: 26%; } .f2 .ic { color: var(--goldd); }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; margin-bottom: -10px; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); color: var(--ink); }
.stats div { padding: 22px 24px; text-align: center; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font: 600 2.1rem/1.1 var(--head); color: var(--p); }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .heroin { grid-template-columns: 1fr; gap: 40px; } .float { display: none; } .herocard { transform: none; } .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sechead h2 { margin: 0; }
.more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; white-space: nowrap; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.dark { background: linear-gradient(160deg, var(--aub2), var(--aub)); color: #e3d9f2; border: 0; }
.band.dark h2 { color: #fff; } .band.dark .eyebrow { color: var(--gold2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--cream); border-radius: var(--r); padding: 26px 22px; counter-increment: s; }
.steps li::after { content: counter(s, decimal-leading-zero); position: absolute; top: 18px; right: 20px; font: 600 1.6rem var(--head); color: var(--line2); }
.steps li > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--p); color: var(--gold2); margin-bottom: 14px; }
.steps b { display: block; font: 600 1.15rem var(--head); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.features .ic { width: 26px; height: 26px; color: var(--p); margin-bottom: 12px; }
.features b { display: block; font: 600 1.12rem var(--head); margin-bottom: 4px; }
.features span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.insts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.inst { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: #fff; color: var(--ink); border-radius: var(--r); padding: 24px; box-shadow: var(--sh1); border: 1px solid var(--line); }
.inst img, .instph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--soft2); display: grid; place-items: center; background: var(--soft); }
.inst b { display: block; font: 600 1.3rem var(--head); }
.inst .role { display: block; color: var(--goldd); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.inst p { color: var(--muted); font-size: .95rem; margin: 0; }
.band.dark .inst { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 10%); color: #fff; box-shadow: none; }
.band.dark .inst p { color: #cbbfe0; } .band.dark .inst .role { color: var(--gold2); }
@media (max-width: 560px) { .inst { grid-template-columns: 1fr; } .inst img { width: 96px; height: 96px; } }
.faqsec { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faqsec h2 { margin-top: 0; }
@media (max-width: 860px) { .faqsec { grid-template-columns: 1fr; gap: 16px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq p { color: var(--muted); margin: -4px 0 18px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: radial-gradient(600px 300px at 100% 0, rgb(201 169 97 / 25%), transparent 60%), linear-gradient(135deg, var(--p), var(--aub)); color: #fff; border-radius: 28px; padding: 48px 52px; margin: 24px 0 40px; }
.cta h2 { color: #fff; margin: 0 0 6px; } .cta p { color: #d8cdea; margin: 0; }

/* page heads */
.pagehead { background: linear-gradient(180deg, #fff, var(--cream)); border-bottom: 1px solid var(--line); padding: 56px 0 36px; }
.pagehead.slim { padding: 40px 0 30px; }
.pagehead h1 { margin-bottom: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip { border: 1px solid var(--line2); background: #fff; border-radius: 99px; padding: 8px 16px; font: 500 .92rem var(--body); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--aub); color: #fff; border-color: var(--aub); }

/* programme cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.grid > div { display: flex; }
.ccard { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh1); transition: transform .25s, box-shadow .25s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--sh2); color: var(--ink); }
.cimg { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--pl), var(--aub)); overflow: hidden; }
.cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ccard:hover .cimg img { transform: scale(1.04); }
.cbadges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.cbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ct { font: 600 1.22rem/1.25 var(--head); }
.cs { color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.meta span { display: inline-flex; gap: 5px; align-items: center; }
.cby { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); }
.cby img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cfoot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.price { font: 600 1.25rem var(--head); color: var(--ink); }
.go { display: inline-flex; gap: 4px; align-items: center; color: var(--p); font-weight: 600; font-size: .9rem; }
.prog { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.prog small { color: var(--muted); }
.bar { display: block; height: 7px; background: var(--soft2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--pl)); border-radius: 99px; transition: width .6s; }
.bar.gold i { background: linear-gradient(90deg, var(--goldd), var(--gold2)); }
.ring { width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: conic-gradient(var(--gold) calc(var(--pc) * 3.6deg), var(--soft2) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: calc(var(--s) * .26); color: var(--p); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: #fff; box-shadow: var(--sh1); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--sh2); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--aub); font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; }
.pp b { font: 600 2.4rem var(--head); color: var(--ink); }
.pp span { color: var(--muted); margin-left: 4px; }
.pp s { color: var(--muted); margin-left: 8px; }
.pp.big { margin-bottom: 4px; } .pp.big span { display: block; margin: 0; font-size: .88rem; }
.plan form { margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--okl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e8a5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.two { columns: 2; column-gap: 32px; } .ticks.two li { break-inside: avoid; margin-top: 0; margin-bottom: 12px; }
@media (max-width: 680px) { .ticks.two { columns: 1; } }
.ptable { display: grid; gap: 12px; margin-bottom: 20px; }
.prow { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.primg { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--soft2); } .primg img { width: 100%; height: 100%; object-fit: cover; }
.prow b { display: block; font: 600 1.1rem var(--head); }
.pr { display: flex; gap: 14px; align-items: center; padding-right: 8px; } .pr b { font-size: 1.25rem; }
@media (max-width: 640px) { .prow { grid-template-columns: 80px 1fr; } .pr { grid-column: 1 / -1; justify-content: space-between; padding: 0 4px; } }

/* programme page */
.chero { background: radial-gradient(800px 400px at 90% 0, rgb(201 169 97 / 16%), transparent 60%), linear-gradient(160deg, var(--aub2), var(--aub)); color: #fff; padding: 44px 0 56px; }
.chin { max-width: 1240px; } .chin > div { max-width: calc(100% - 420px); }
.chero h1, .chero .h1 { font-family: var(--head); line-height: 1.1; color: #fff; margin: 14px 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.chero .lead { color: #d8cdea; }
.crumb { display: flex; gap: 6px; align-items: center; font-size: .88rem; color: #a99bc0; }
.crumb a { color: var(--gold2); text-decoration: none; }
.chips-s { display: flex; gap: 8px; margin-top: 18px; }
.cmeta { display: flex; gap: 20px; flex-wrap: wrap; color: #e3d9f2; font-size: .94rem; margin: 18px 0; }
.cmeta span { display: inline-flex; gap: 7px; align-items: center; } .cmeta .ic { color: var(--gold2); }
.by { display: flex; gap: 12px; align-items: center; margin-top: 18px; color: #e3d9f2; }
.by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(255 255 255 / 20%); }
.by small { display: block; color: #a99bc0; font-size: .82rem; }
.cgrid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cmain { padding: 40px 0 20px; min-width: 0; }
.cmain > h2:first-child, .learn h2 { margin-top: 0; }
.cside { margin-top: -260px; position: sticky; top: 92px; display: grid; gap: 16px; padding-bottom: 40px; }
.buybox { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sh3); border: 1px solid var(--line); }
.bbimg { position: relative; aspect-ratio: 16 / 9; background: var(--aub3); } .bbimg img { width: 100%; height: 100%; object-fit: cover; }
.buybox .bb { padding: 22px; }
.incl { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .94rem; }
.incl li { display: flex; gap: 10px; align-items: center; } .incl .ic { color: var(--p); }
.have { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.have b { display: block; }
@media (max-width: 1020px) { .cgrid { grid-template-columns: 1fr; gap: 0; } .chin > div { max-width: none; } .cside { margin-top: 24px; position: static; order: -1; padding-bottom: 0; } .cside .card.soft { display: none; } .buybox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: var(--sh2); } .bbimg { aspect-ratio: auto; min-height: 100%; } } @media (max-width: 640px) { .buybox { grid-template-columns: 1fr; } .bbimg { aspect-ratio: 16 / 9; } }
.learn { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin-bottom: 12px; }
.currhead { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .92rem; margin: -6px 0 12px; }
.curr { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.mod + .mod { border-top: 1px solid var(--line); }
.mod summary { display: grid; grid-template-columns: 38px 1fr 20px; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; background: #fff; }
.mod summary:hover { background: var(--cream); }
.mod[open] summary { background: var(--cream); }
.mod summary::-webkit-details-marker { display: none; }
.mod .chev { transition: transform .2s; color: var(--muted); } .mod[open] .chev { transform: rotate(180deg); }
.mod .mn { width: 36px; height: 36px; border-radius: 50%; background: var(--soft2); color: var(--p); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.mod .mn.done { background: var(--ok); color: #fff; }
.mod .mt b { display: block; font-size: 1.04rem; }
.mod .mt small { display: block; color: var(--muted); font-size: .84rem; }
.mod .mt .msum { margin-top: 2px; font-style: italic; }
.lessons { list-style: none; margin: 0; padding: 4px 12px 14px 64px; }
.lessons li a, .lessons li > span { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.lessons li a:hover { background: var(--soft); }
.lessons .k { font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--p); flex: none; }
.lessons .k .ic { width: 15px; height: 15px; }
.lessons li.done .k { background: var(--ok); color: #fff; }
.lessons li.locked { opacity: .55; }
.lessons .lt { flex: 1; min-width: 160px; } .lessons .lt small { display: block; color: var(--muted); font-size: .8rem; }
.lessons .dur { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .lessons { padding-left: 12px; } .mod summary { padding: 14px; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } .split h2 { margin-top: 1.6em; }
@media (max-width: 680px) { .split { grid-template-columns: 1fr; gap: 0; } }
.equip { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.equip li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--rs); padding: 10px 14px; font-size: .95rem; } .equip .ic { color: var(--p); }
.prose { font-size: 1.05rem; }
.prose img { border-radius: var(--rs); margin: 18px 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: 4px 0; }
.note { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; background: #0c0616; border-radius: var(--r); overflow: hidden; margin: 0 0 20px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.soon { display: grid; place-items: center; text-align: center; color: #e3d9f2; }
.video.soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.video.soon div { position: relative; display: grid; gap: 4px; justify-items: center; padding: 20px; }
.video.soon .ic { width: 40px; height: 40px; color: var(--gold2); }
.video.soon b { font: 600 1.4rem var(--head); color: #fff; }

/* lesson player */
.player { background: #fff; }
.pbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 380px) auto; gap: 20px; align-items: center; height: 62px; padding: 0 18px; background: var(--aub); color: #fff; }
.pback { display: inline-flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; min-width: 0; }
.pback span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--head); font-size: 1.08rem; }
.pprog { display: grid; gap: 4px; } .pprog small { color: #a99bc0; font-size: .78rem; } .pprog .bar { background: rgb(255 255 255 / 12%); }
.pacts { display: flex; gap: 10px; align-items: center; }
.pbar .iconbtn { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 15%); color: #fff; }
@media (max-width: 700px) { .pbar { grid-template-columns: minmax(0, 1fr) auto; } .pprog { display: none; } }
.pl { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 62px); }
.outline { background: var(--cream); border-right: 1px solid var(--line); position: sticky; top: 62px; height: calc(100vh - 62px); overflow-y: auto; }
.ohead { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--cream); z-index: 1; }
.op { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.oclose { display: none; }
.om { border-bottom: 1px solid var(--line); }
.om summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; }
.om summary::-webkit-details-marker { display: none; }
.om summary b { display: block; font-size: .95rem; } .om summary small { color: var(--muted); font-size: .8rem; }
.om .chev { color: var(--muted); transition: transform .2s; } .om[open] .chev { transform: rotate(180deg); }
.om ol { list-style: none; padding: 0 10px 10px; margin: 0; }
.om li a, .om li > span { display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.om li a:hover { background: #fff; }
.om li.on a { background: #fff; box-shadow: var(--sh1); font-weight: 600; color: var(--p); }
.om li i { font-style: normal; width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--p); border: 1px solid var(--line); }
.om li i .ic { width: 13px; height: 13px; }
.om li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.om li small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; margin-top: 1px; }
.om li.locked { opacity: .5; }
.pmain { min-width: 0; }
.theatre { background: linear-gradient(180deg, var(--aub), #140a22); color: #fff; padding: 24px clamp(14px, 3vw, 40px) 26px; }
.tin { max-width: 1040px; margin: 0 auto; }
.theatre .video { box-shadow: var(--sh3); margin-bottom: 0; border-radius: 14px; }
.now { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 2px 0; }
.now small { color: #a99bc0; font-size: .82rem; } .now b { display: block; font: 600 1.25rem var(--head); }
.now p { color: #cbbfe0 !important; margin: 4px 0 0; }
.now .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--aub); }
.now .btn.ok { background: rgb(46 138 90 / 20%); border-color: rgb(46 138 90 / 50%); color: #9be0b9; }
.rt { margin-top: 18px; background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 9%); border-radius: 14px; padding: 14px; }
.rthead { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; margin-bottom: 12px; }
.rthead > div:first-child { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .92rem; }
.rthead b { display: inline-flex; gap: 8px; align-items: center; }
.rtcount { color: #cbbfe0; } .rtcount b { color: var(--gold2); }
.rtbar { grid-column: 1; background: rgb(255 255 255 / 10%); height: 5px; } .rtbar i { background: linear-gradient(90deg, var(--goldd), var(--gold2)); }
.rtnav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 6px; }
.rtnav .iconbtn { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 15%); color: #fff; width: 34px; height: 34px; }
.strip { list-style: none; margin: 0; padding: 2px 2px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 20%) transparent; }
.clip { position: relative; scroll-snap-align: start; border-radius: 12px; background: rgb(255 255 255 / 5%); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.clip:hover { background: rgb(255 255 255 / 9%); }
.clip.on { border-color: var(--gold); background: rgb(201 169 97 / 14%); box-shadow: 0 0 0 1px var(--gold); }
.clk { display: block; color: #fff; text-decoration: none; padding: 8px 8px 10px; }
.th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--aub3), var(--p)); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th .num { position: absolute; left: 6px; top: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: rgb(0 0 0 / 55%); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.th .len { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgb(0 0 0 / 70%); font-size: .75rem; font-variant-numeric: tabular-nums; }
.th .pov { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgb(0 0 0 / 30%); transition: opacity .2s; }
.th .pov .ic { width: 30px; height: 30px; }
.clk:hover .pov, .clip.on .pov { opacity: 1; }
.ctt { display: block; margin-top: 8px; font-size: .86rem; line-height: 1.3; padding-right: 30px; min-height: 2.6em; }
.tick { position: absolute; right: 10px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 35%); background: transparent; color: transparent; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.tick .ic { width: 15px; height: 15px; }
.tick:hover { border-color: #9be0b9; color: rgb(155 224 185 / 60%); }
.clip.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.clip.done .th::after { content: ''; position: absolute; inset: 0; background: rgb(46 138 90 / 25%); }
.lesson { padding: 32px clamp(16px, 4vw, 48px) 72px; max-width: 900px; margin: 0 auto; }
.crumbs { color: var(--muted); margin-bottom: 6px; }
.lesson h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 20px 0 24px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: 600 .96rem var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--p); border-bottom-color: var(--p); }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 20px 0; }
.dl { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--rs); text-decoration: none; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.dl:hover { border-color: var(--p); box-shadow: var(--sh1); color: var(--ink); }
.dl span { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 10px; background: var(--soft2); color: var(--p); display: grid; place-items: center; }
.dl small { color: var(--muted); }
.quiz { background: var(--soft); border-radius: var(--r); padding: 24px; margin: 28px 0; }
.quiz h2 { margin-top: 0; display: flex; gap: 10px; align-items: center; font-size: 1.4rem; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.quiz legend { font-weight: 600; margin-bottom: 8px; }
.quiz label { display: block; padding: 9px 12px; border-radius: 10px; cursor: pointer; background: #fff; margin-bottom: 6px; border: 1px solid var(--line); }
.quiz label:hover { border-color: var(--p); }
.quiz label.right { background: var(--okl); border-color: #bfe2cd; } .quiz label.wrong { background: #fbe4e2; border-color: #f2c4c0; }
.quiz .why { font-size: .9rem; color: var(--muted); margin: 4px 10px; }
.notes { display: grid; gap: 6px; margin-bottom: 12px; }
.notes textarea { width: 100%; border: 1px solid var(--line2); border-radius: var(--rs); padding: 14px; font: inherit; margin-top: 6px; }
.lnav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.lnav > :last-child { justify-self: end; }
@media (max-width: 600px) { .lnav { grid-template-columns: 1fr 1fr; } .lnav > :nth-child(2) { grid-column: 1 / -1; order: -1; } }
.upnext { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; margin-top: 24px; padding: 18px 22px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.upnext:hover { border-color: var(--p); color: var(--ink); }
.upnext small { color: var(--goldd); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.upnext b { font: 600 1.15rem var(--head); } .upnext span { color: var(--muted); font-size: .88rem; }
.upnext .ic { grid-row: 1 / 4; grid-column: 2; color: var(--p); }
.upnext.locked { opacity: .7; }
@media (max-width: 1100px) {
  .pl { grid-template-columns: 1fr; }
  .outline { display: none; position: fixed; inset: 62px 0 0; z-index: 25; height: auto; max-width: 420px; box-shadow: var(--sh3); }
  .outline.open { display: block; }
  .oclose { display: inline-grid; }
}

/* dashboard + achievements */
.dhead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.dhead h1 { margin-bottom: 6px; }
@media (max-width: 820px) { .dhead { grid-template-columns: 1fr; } }
.levelcard { background: radial-gradient(400px 200px at 100% 0, rgb(201 169 97 / 22%), transparent 60%), linear-gradient(150deg, var(--aub2), var(--aub)); color: #fff; border-radius: var(--r); padding: 22px 24px; box-shadow: var(--sh2); }
.lvtop { display: flex; justify-content: space-between; align-items: center; }
.levelcard .lv { color: var(--gold2); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.levelcard > b { font: 600 1.7rem var(--head); display: block; margin: 4px 0 10px; }
.levelcard .bar { background: rgb(255 255 255 / 15%); }
.levelcard small { color: #cbbfe0; }
.streak { font-size: .9rem; color: #e3d9f2; }
.xp { display: grid; gap: 6px; }
.resume { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--sh2); margin-bottom: 20px; }
.resume:hover { color: var(--ink); border-color: var(--line2); }
.rimg { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--pl), var(--aub)); } .rimg img { width: 100%; height: 100%; object-fit: cover; }
.rimg .playb { width: 56px; height: 56px; }
.rbody { display: grid; gap: 6px; padding-right: 12px; }
.rbody > small:first-child { color: var(--goldd); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.rbody b { font: 600 1.5rem/1.2 var(--head); }
.rbody small { color: var(--muted); }
@media (max-width: 700px) { .resume { grid-template-columns: 1fr; } }
.mine { display: grid; gap: 12px; }
.mc { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mimg { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--soft2); } .mimg img { width: 100%; height: 100%; object-fit: cover; }
.mci { display: grid; gap: 6px; } .mci b { font: 600 1.12rem var(--head); }
@media (max-width: 680px) { .mc { grid-template-columns: 80px 1fr; } .mc .row { grid-column: 1 / -1; } }
.empty { text-align: center; padding: 40px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.badge { text-align: center; padding: 20px 12px; border-radius: var(--r); border: 1px dashed var(--line2); color: var(--muted); filter: grayscale(1); opacity: .65; background: #fff; }
.badge span { font-size: 2.3rem; display: block; line-height: 1.2; }
.badge b { display: block; color: var(--ink); margin-top: 6px; }
.badge small, .badge em { display: block; font-size: .78rem; font-style: normal; }
.badge.got { filter: none; opacity: 1; border: 1px solid var(--gold2); background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: var(--sh1); }
.badge.got em { color: var(--goldd); font-weight: 600; margin-top: 4px; }
.lvstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 18px 0 10px; }
.lvstrip div { text-align: center; padding: 12px 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.lvstrip b { display: block; font: 600 1.3rem var(--head); }
.lvstrip .past { background: var(--soft2); color: var(--p); border-color: transparent; }
.lvstrip .now { background: var(--p); color: #fff; box-shadow: var(--sh2); border-color: var(--p); }
@media (max-width: 640px) { .lvstrip { grid-template-columns: repeat(3, 1fr); } }

/* forms, sign-in, checkout */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: 13px 15px; border: 1px solid var(--line2); border-radius: var(--rs); background: #fff; width: 100%; }
.form input:focus { border-color: var(--p); outline: 3px solid rgb(75 40 134 / 15%); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.code { font-size: 1.7rem !important; letter-spacing: .45em; text-align: center; }
.authwrap { min-height: 64vh; display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(600px 300px at 50% 0, var(--soft2), transparent 70%); }
.auth { width: 100%; max-width: 460px; text-align: center; padding: 36px; box-shadow: var(--sh2); }
.auth h1 { font-size: 2rem; } .auth .form { text-align: left; margin-top: 18px; }
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; max-width: 980px; }
.checkout h1 { font-size: 2rem; }
.summary { display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; } .srow img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.srow small { display: block; color: var(--muted); }
.stot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line2); font-size: 1.1rem; }
@media (max-width: 800px) { .checkout { grid-template-columns: 1fr; } .summary { order: -1; } }
.accrow { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.accrow:last-child { border: 0; }
.big { font-size: 3rem; }

/* toast + celebration */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; justify-items: center; }
#toast div { background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 99px; box-shadow: var(--sh2); animation: up .3s; }
#toast div.award { background: linear-gradient(135deg, var(--p), var(--aub)); border: 2px solid var(--gold); font-weight: 600; }
@keyframes up { from { transform: translateY(16px); opacity: 0; } }
.confetti { position: fixed; top: -10px; width: 10px; height: 14px; z-index: 70; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .confetti { display: none; } }

/* certificate */
.certbody { background: #eee8f5; padding: 24px; }
.cert { max-width: 1000px; margin: 0 auto; aspect-ratio: 1.414; background: #fff; padding: 28px; box-shadow: var(--sh2); }
.cin { height: 100%; border: 3px double var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 4px; }
.cl { color: var(--goldd); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.ctitle { font: 600 clamp(1.6rem, 4vw, 3rem) var(--head); color: var(--p); margin-bottom: 10px; }
.cname { font: italic 600 clamp(1.6rem, 4vw, 2.8rem) var(--head); border-bottom: 1px solid var(--line); padding: 0 30px 6px; margin-bottom: 10px; }
.ccourse { font: 600 clamp(1.1rem, 2.4vw, 1.6rem) var(--head); }
.csig { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; margin-top: 26px; width: 100%; }
.csig b { display: block; } .csig span { font-size: .85rem; color: var(--muted); }
.seal { width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(var(--gold2), var(--gold)); display: grid; place-items: center; font-size: 2rem; }
.noprint { margin-top: 20px; }
@media print { .noprint { display: none; } .certbody { background: #fff; padding: 0; } .cert { box-shadow: none; } @page { size: A4 landscape; margin: 0; } }
