/* DEAL111 Business Coaching — the academy. A bright, calm school platform: warm paper, ink, the gold of the mark.
   One file for all pages (home, academy, community, legal). Mobile first; every grid is symmetric at every width. */
@font-face { font-family: Geist; src: url(../fonts/geist-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Geist; src: url(../fonts/geist-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; src: url(../fonts/geist-mono-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Playfair 111'; src: url(../fonts/playfair-900-latin.woff2) format('woff2'); font-weight: 900; font-display: swap; unicode-range: U+0030-0039; }

:root {
  --ink: #121417; --ink-2: #2b3036; --muted: #59606a; --dim: #7a818b;
  --paper: #ffffff; --soft: #f6f4ef; --soft-2: #efebe2; --line: #e5e1d8; --line-strong: #cfc9bc;
  --gold: #b8913f; --gold-d: #8a6a2c; --gold-l: #e9d7ab; --gold-soft: #f6eedb;
  --ok: #2f7d4f; --ok-soft: #e6f2ea; --warn: #b4510a; --warn-soft: #fbeee2;
  --grad-gold: linear-gradient(135deg, #f1dfae 0%, #d2ad66 35%, #b98f49 60%, #dcbb78 100%);
  --text: var(--ink); --tint: var(--gold-soft); --field: #fff;
  --font: Geist, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --max: 1160px; --head-h: 68px; --r: 14px; --r-s: 10px;
  --shadow: 0 1px 2px rgb(18 20 23 / .04), 0 10px 30px -14px rgb(18 20 23 / .16);
  --shadow-l: 0 2px 6px rgb(18 20 23 / .05), 0 30px 60px -24px rgb(18 20 23 / .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.022em; font-weight: 650; color: var(--ink); }
p { margin: 0 0 1em; }
.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; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.gold { color: var(--gold); }
.n111 { font-family: 'Playfair 111', Georgia, serif; font-weight: 900; font-variant-numeric: lining-nums; letter-spacing: .05em; color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
[hidden] { display: none !important; }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.label, .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 .9rem; }
.num { font: 600 .76rem var(--mono); color: var(--gold-d); letter-spacing: .08em; }
[dir='rtl'] .label, [dir='rtl'] .eyebrow, [dir='rtl'] .num, [dir='rtl'] .crumbs, [dir='rtl'] .lvl { letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font: 600 .8rem/1.2 var(--font); box-shadow: var(--shadow); }
.pill .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgb(184 145 63 / .2); }
.note { font-size: .86rem; color: var(--dim); margin-top: 1.4rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.3rem; border-radius: var(--r-s); border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 .96rem/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c9a352; border-color: #c9a352; color: var(--ink); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); border-color: var(--ink); color: var(--ink); }
.btn-s { min-height: 40px; padding: 0 1rem; font-size: .88rem; }
.btn[disabled], .btn.is-locked { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
[dir='rtl'] .text-link svg, [dir='rtl'] .btn svg { transform: scaleX(-1); }

/* Cards and icon chips */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; }
.card p:last-child { margin-bottom: 0; }
.chip-i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); flex-shrink: 0; }
.chip-i .bi { width: 28px; height: 28px; }
.chip-i.l { width: 60px; height: 60px; border-radius: 16px; }
.chip-i.l .bi { width: 34px; height: 34px; }
.chip-i img { width: 62%; height: auto; }
.bi { width: 48px; height: 48px; fill: none; stroke: url(#d111g); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.bi .a { fill: url(#d111g); stroke: none; }
.bi .k { stroke: var(--ink); stroke-width: 2.4; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); border-radius: 12px; margin-bottom: 1rem; }
.icon svg { width: 22px; height: 22px; }
.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Header: info bar, academy logo, course catalogue menu */
.topbar { background: var(--ink); color: #d9dce0; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: .4rem 1.2rem; flex-wrap: wrap; min-height: 38px; padding: .35rem 0; text-align: center; }
.topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-l); }
.topbar a { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold-l); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; }
[dir='rtl'] .topbar a svg { transform: scaleX(-1); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -18px rgb(18 20 23 / .5); }
.site-header .bar { display: flex; align-items: center; gap: 1rem; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand > img { width: 40px; height: auto; }
.brand .wm { display: grid; gap: .28rem; line-height: 1; }
.brand .word { direction: ltr; unicode-bidi: isolate; font-size: 1.28rem; font-weight: 750; letter-spacing: .01em; white-space: nowrap; }
.brand .word .n111 { margin-inline-start: .03em; }
.brand .word em { font-style: normal; font-weight: 500; color: var(--gold-d); letter-spacing: -.01em; margin-inline-start: .1em; }
.brand small { font: 600 .56rem/1 var(--mono); letter-spacing: .24em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.nav > a, .nav-btn { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-2); text-decoration: none; font: 500 .95rem var(--font); padding: .55rem .85rem; border-radius: 8px; border: 0; background: none; cursor: pointer; }
.nav > a:hover, .nav > a[aria-current='page'], .nav-btn:hover, .has-menu.open .nav-btn { color: var(--ink); background: var(--soft); }
.nav-btn .chev { transition: transform .2s var(--ease); }
.has-menu { position: relative; }
.has-menu.open .chev { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 440px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-l); padding: .5rem; z-index: 60; }
.has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu-course { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .7rem .75rem; border-radius: var(--r-s); color: var(--ink); text-decoration: none; }
.menu-course:hover { background: var(--soft); color: var(--ink); }
.menu-course .chip-i { width: 42px; height: 42px; border-radius: 11px; }
.menu-course .chip-i .bi { width: 26px; height: 26px; }
.mc-t b { display: block; font-size: .95rem; }
.mc-t small { display: block; font: 500 .72rem var(--mono); letter-spacing: .04em; color: var(--muted); margin-top: .2rem; }
.mc-p { font-weight: 700; font-size: .95rem; }
.menu-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: .3rem; padding: .7rem .75rem .35rem; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.menu-foot a { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold-d); text-decoration: none; }
.menu-foot a:hover { color: var(--ink); }
.menu-foot svg { width: 15px; height: 15px; }
.head-tools { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.lang select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a6a2c'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); border: 1px solid var(--line-strong); height: 40px; padding: 0 1.9rem 0 .8rem; font: 500 .88rem var(--font); cursor: pointer; border-radius: var(--r-s); }
[dir='rtl'] .lang select { background-position: left 10px center; padding: 0 .8rem 0 1.9rem; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: var(--head-h); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-l); max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a { padding: .85rem .9rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-btn { display: none; }
  .has-menu { order: -1; }
  .menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 .5rem; }
  .menu-foot { padding-inline: .75rem; }
  .menu-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-s); color: var(--ink); cursor: pointer; }
}
@media (max-width: 640px) { .head-cta { display: none; } }
@media (max-width: 520px) { .brand small { display: none; } .brand .word { font-size: 1.1rem; } .brand > img { width: 32px; } .lang select { max-width: 104px; } .topbar { font-size: .76rem; } }
@media (max-width: 380px) { .brand .word em { display: none; } }

/* Preview bar (local preview only) */
.preview-bar { background: var(--ink); color: #ddd; font-size: .84rem; }
.preview-bar .container { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; padding: .45rem 0; }
.preview-bar strong { color: var(--gold-l); font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.seg button { background: transparent; color: #ccc; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; padding: .2rem .7rem; font: 500 .78rem var(--font); cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--gold-l); color: #000; border-color: var(--gold-l); }

/* Sections */
section { position: relative; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head .lead { margin: 0; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal .bi :is(path, circle, rect, ellipse):not(.a) { stroke-dasharray: 160; stroke-dashoffset: 160; }
.reveal.in .bi :is(path, circle, rect, ellipse):not(.a) { animation: draw 1.4s var(--ease) .15s forwards; }
.reveal .bi .a { opacity: 0; transition: opacity .6s .9s; }
.reveal.in .bi .a { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero: a night-time deal photo that is itself the diagram — provider and buyer on the sleeves, DU above the handshake,
   gold lines between them, the commission at the handshake, the signature at the contract. A turning academy seal above the headline. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #e9e6df; background: #0e1013; }
.hero-main { position: relative; display: flex; align-items: center; min-height: clamp(640px, 78vh, 820px); padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.hero-main > .container { position: relative; z-index: 3; }
.hero-photo { position: absolute; z-index: 0; top: 0; bottom: 0; inset-inline-end: 0; height: 100%; aspect-ratio: 2400 / 1357; pointer-events: none; }
.hero-photo picture, .hero-photo picture img { display: block; width: 100%; height: 100%; }
.hero-photo picture { position: relative; overflow: hidden; }
.hero-photo picture img { object-fit: cover; transform-origin: 76% 45%; animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.05); } }
/* Every running hero effect animates transform or opacity only, so phones move it on the GPU, not the main thread */
.hero-photo picture::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(105deg, transparent 15%, rgb(255 240 205 / .11) 50%, transparent 85%); transform: translateX(-100%); animation: glare 11s ease-in-out infinite; }
@keyframes glare { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(240%); } }
.hero-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0e1013 0%, rgb(14 16 19 / .9) 24%, rgb(14 16 19 / .4) 44%, rgb(14 16 19 / 0) 60%), linear-gradient(0deg, #0e1013 0%, rgb(14 16 19 / 0) 24%), linear-gradient(180deg, rgb(14 16 19 / .55) 0%, rgb(14 16 19 / 0) 20%); }
[dir='rtl'] .hero-photo picture, [dir='rtl'] .hp-lines { transform: scaleX(-1); }
[dir='rtl'] .hero-photo::after { background: linear-gradient(270deg, #0e1013 0%, rgb(14 16 19 / .9) 24%, rgb(14 16 19 / .4) 44%, rgb(14 16 19 / 0) 60%), linear-gradient(0deg, #0e1013 0%, rgb(14 16 19 / 0) 24%), linear-gradient(180deg, rgb(14 16 19 / .55) 0%, rgb(14 16 19 / 0) 20%); }

/* Annotations, placed in % of the photo so they stay on the hands, sleeves and contract at every width */
.hp-lines { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.ln-phone { display: none; }
.ln-base { fill: none; stroke: rgb(233 207 143 / .3); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.ln-flow { fill: none; stroke: #e9cf8f; stroke-width: 2; stroke-dasharray: 8 10; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: dash 2.4s linear infinite; }
.ln-dot { fill: #fff3d0; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.an, .spot { position: absolute; z-index: 3; left: var(--x); top: var(--y); }
[dir='rtl'] .an, [dir='rtl'] .spot { left: auto; right: var(--x); }
.an-a { --x: 54%; --y: 28%; }
.an-b { --x: 92%; --y: 28%; }
.an-you { --x: 76%; --y: 16%; }
.spot-fee { --x: 76%; --y: 56%; }
.spot-sign { --x: 83%; --y: 84%; }
.an { display: flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .35rem; border-radius: 999px; background: rgb(18 20 23 / .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(233 207 143 / .45), 0 14px 30px -12px rgb(0 0 0 / .8); transform: translate(-50%, -50%); white-space: nowrap; }
[dir='rtl'] .an { transform: translate(50%, -50%); padding: .35rem .35rem .35rem .8rem; }
.an b { font-size: .8rem; font-weight: 600; color: #f3efe4; }
.an .chip-i { width: 32px; height: 32px; border-radius: 50%; background: #23272e; box-shadow: 0 0 0 1px rgb(233 207 143 / .5); }
.an .chip-i .bi { width: 19px; height: 19px; }
.an-you { flex-direction: column; gap: .4rem; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
[dir='rtl'] .an-you { padding: 0; }
.an-mark { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #2f281a, #121417 70%); box-shadow: 0 0 0 1.5px #d2ad66, 0 0 34px rgb(201 164 95 / .6); }
.an-mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px #f1dfae, 0 0 0 9px rgb(201 164 95 / .12), 0 0 50px rgb(201 164 95 / .75); opacity: 0; animation: glow 3.2s ease-in-out infinite; }
.an-mark img { width: 36px; height: auto; }
.an-you b { color: var(--ink); background: var(--grad-gold); padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
@keyframes glow { 50% { opacity: 1; } }
.spot { width: 0; height: 0; }
.ping { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #f1dfae; box-shadow: 0 0 12px rgb(241 223 174 / .9); }
.ping::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid #f1dfae; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.spot::before { content: ''; position: absolute; left: -.5px; top: 9px; width: 1px; height: 22px; background: linear-gradient(#f1dfae, rgb(241 223 174 / .2)); }
.spot.up::before { top: auto; bottom: 9px; background: linear-gradient(rgb(241 223 174 / .2), #f1dfae); }
.tag { position: absolute; left: 0; top: 31px; transform: translateX(-50%); display: flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 12px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 650; white-space: nowrap; box-shadow: 0 18px 36px -12px rgb(0 0 0 / .8); }
.spot.up .tag { top: auto; bottom: 31px; }
.tag.gold { background: var(--grad-gold); padding-inline-start: .35rem; border-radius: 999px; }
.tag .bi { width: 24px; height: 24px; }
.hv-check { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: .74rem; font-weight: 700; animation: stamp 4.5s ease-in-out infinite; }
@keyframes stamp { 0%, 18% { transform: scale(0); } 26% { transform: scale(1.25); } 32%, 100% { transform: scale(1); } }

/* Gold dust rising through the scene */
.dust { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.dust i { position: absolute; bottom: -8px; width: 3px; height: 3px; border-radius: 50%; background: #f6e2ad; box-shadow: 0 0 6px 2px rgb(241 223 174 / .55); opacity: 0; animation: dust 11s linear infinite; }
.dust i:nth-child(1) { left: 6%; animation-delay: -1s; } .dust i:nth-child(2) { left: 14%; animation-delay: -6s; animation-duration: 14s; }
.dust i:nth-child(3) { left: 23%; animation-delay: -3s; } .dust i:nth-child(4) { left: 31%; animation-delay: -9s; animation-duration: 13s; }
.dust i:nth-child(5) { left: 40%; animation-delay: -4.5s; } .dust i:nth-child(6) { left: 49%; animation-delay: -8s; animation-duration: 15s; }
.dust i:nth-child(7) { left: 57%; animation-delay: -2s; } .dust i:nth-child(8) { left: 65%; animation-delay: -7s; animation-duration: 12s; }
.dust i:nth-child(9) { left: 73%; animation-delay: -5s; } .dust i:nth-child(10) { left: 81%; animation-delay: -10s; animation-duration: 14s; }
.dust i:nth-child(11) { left: 89%; animation-delay: -3.5s; } .dust i:nth-child(12) { left: 96%; animation-delay: -6.5s; animation-duration: 13s; }
@keyframes dust { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: .9; } 70% { opacity: .5; } 100% { opacity: 0; transform: translate(24px, -560px); } }

/* Copy */
.hero-copy { max-width: 600px; }
.seal { position: relative; width: 100px; height: 100px; margin-bottom: 1rem; border-radius: 50%; box-shadow: 0 12px 26px rgb(0 0 0 / .55); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-face { fill: #15171b; }
.s-rim { fill: none; stroke: url(#sealG); stroke-width: 3; }
.s-in { fill: none; stroke: url(#sealG); stroke-width: 1.2; stroke-dasharray: 2 5; }
.seal text { font: 700 15px var(--font); fill: #e9cf8f; }
.seal-ring { animation: spin 36s linear infinite; }
.seal img { position: absolute; left: 50%; top: 50%; width: 40%; height: auto; transform: translate(-50%, -56%); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.3rem + 4vw, 4.3rem); line-height: 1.02; letter-spacing: -.04em; margin: 1.2rem 0; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / .5); }
.hero h1 .gold { display: block; padding-bottom: .06em; background: linear-gradient(100deg, #b8913f 0%, #e9cf8f 22%, #fff3d0 32%, #d2ad66 45%, #b8913f 60%, #f1dfae 80%, #b8913f 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: shine 7s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.hero .lead { max-width: 540px; margin-bottom: 2rem; color: #c3c5ca; }
.hero .pill { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .16); color: #ece8de; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .pill .dot-live { position: relative; }
.hero .pill .dot-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgb(201 164 95 / .7); animation: live 2.2s ease-out infinite; }
@keyframes live { from { transform: scale(1); opacity: 1; } to { transform: scale(3.5); opacity: 0; } }
.hero .btn-gold { position: relative; overflow: hidden; background: var(--grad-gold); border-color: #d2ad66; box-shadow: 0 10px 30px -10px rgb(201 164 95 / .7); }
.hero .btn-gold::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .55), transparent); transform: skewX(-20deg); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translateX(0) skewX(-20deg); } 85%, 100% { transform: translateX(475%) skewX(-20deg); } }
.hero .btn-gold:hover { filter: brightness(1.06); }
.hero .btn-ghost { background: rgb(14 16 19 / .4); border-color: rgb(255 255 255 / .3); color: #fff; }
.hero .btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; color: #fff; }
.hero .trust { color: #d6d2c8; }
.hero .trust li::before { background: rgb(201 164 95 / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23e9cf8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-copy > :nth-child(6) { animation-delay: .4s; }
  .an, .spot .tag { animation: pop .7s var(--ease) both; }
  .an-a { animation-delay: .5s; } .an-you { animation-delay: .7s; } .an-b { animation-delay: .9s; }
  .spot-fee .tag { animation-delay: 1.1s; } .spot-sign .tag { animation-delay: 1.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes pop { from { opacity: 0; scale: .85; } }

/* Facts as glass on the dark stage, then a running band of the real course modules */
.facts { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r); background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .1); }
.facts div { padding: 1.2rem 1rem; text-align: center; }
.facts div + div { border-inline-start: 1px solid rgb(255 255 255 / .1); }
.facts b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: .86rem; color: #a9adb4; }
.ticker { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgb(201 164 95 / .25); background: rgb(0 0 0 / .3); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { display: flex; width: max-content; direction: ltr; animation: tick 70s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: .55rem; padding: 1rem 0; padding-inline-end: 1.6rem; white-space: nowrap; font-size: .92rem; font-weight: 500; color: #d2cdc1; unicode-bidi: plaintext; }
.ticker-track span b { font: 600 .74rem var(--mono); letter-spacing: .08em; color: #e9cf8f; }
.ticker-track span::after { content: '✦'; margin-inline-start: 1.6rem; color: var(--gold); font-size: .8rem; }
@keyframes tick { to { transform: translateX(-50%); } }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding: 0; margin: 1.5rem 0 0; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust li::before, .course ul.inc li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%232f7d4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.screen { position: relative; margin: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; }
.screen .chrome { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.screen .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.screen img { width: 100%; height: auto; }

/* Tablet and phone: copy first, centred; the annotated photo sits underneath it, full width */
@media (max-width: 900px) {
  .hero-main { display: block; min-height: 0; padding-bottom: 0; }
  .hero-copy { max-width: 640px; margin-inline: auto; text-align: center; }
  .seal { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row, .trust { justify-content: center; }
  .hero-photo { top: auto; bottom: 0; height: auto; width: 130%; }
  .hero-photo::after, [dir='rtl'] .hero-photo::after { background: linear-gradient(180deg, #0e1013 0%, rgb(14 16 19 / .6) 12%, rgb(14 16 19 / 0) 30%), linear-gradient(0deg, #0e1013 0%, rgb(14 16 19 / 0) 18%); }
  .hero-gap { height: calc(130vw * 1357 / 2400 * .97); }
  /* No live blur over the zooming photo on phones and tablets: a denser chip looks the same and costs nothing */
  .hero .pill, .an { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .an-a, .an-b { background: rgb(18 20 23 / .86); }
  .screen { max-width: 640px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero-main { padding-top: 2.2rem; }
  .hero-photo { width: 100%; aspect-ratio: 1080 / 1910; }
  .hero-photo picture img { transform-origin: 51% 69%; }
  .hero-photo::after, [dir='rtl'] .hero-photo::after { background: linear-gradient(180deg, #0e1013 0%, rgb(14 16 19 / .92) 34%, rgb(14 16 19 / .55) 44%, rgb(14 16 19 / 0) 54%), linear-gradient(0deg, #0e1013 0%, rgb(14 16 19 / 0) 14%); }
  .ln-desk { display: none; }
  .ln-phone { display: block; }
  .an-a { --x: 17%; --y: 58%; }
  .an-b { --x: 83%; --y: 58%; }
  .an-you { --x: 51%; --y: 47%; }
  .spot-fee { --x: 51%; --y: 76%; }
  .spot-sign { display: none; }
  .an { gap: .35rem; padding: .25rem .6rem .25rem .25rem; }
  [dir='rtl'] .an { padding: .25rem .25rem .25rem .6rem; }
  .an b { font-size: .7rem; }
  .an .chip-i { width: 26px; height: 26px; }
  .an .chip-i .bi { width: 16px; height: 16px; }
  .an-mark { width: 50px; height: 50px; }
  .an-mark img { width: 29px; }
  .an-you b { font-size: .68rem; }
  .tag { font-size: .74rem; }
  .seal { width: 92px; height: 92px; margin-bottom: 1rem; }
  .hero-gap { height: calc(100vw * 1910 / 1080 * .6); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-inline-start: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / .1); }
  .hero .btn-row .btn { width: 100%; }
}

/* How it works: three equal steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step { text-align: center; padding: 2rem 1.5rem; }
.step .chip-i { margin: 0 auto 1rem; }
.step .no { width: 30px; height: 30px; font-size: .85rem !important; margin: 0 auto .7rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); font-weight: 700; font-size: 1.05rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* What you get: six equal tiles */
.gets-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.gets { display: grid; gap: 0; padding: .4rem 1.4rem; }
.get { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.get + .get { border-top: 1px solid var(--line); }
.get .chip-i { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.get:hover .chip-i { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 10px 20px -8px rgb(184 145 63 / .6); }
.get h3 { font-size: 1.05rem; margin: .15rem 0 .3rem; }
.get p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .gets-wrap { grid-template-columns: 1fr; } .gets-wrap .screen { max-width: 640px; margin-inline: auto; width: 100%; } }

/* Courses: catalogue cards with price */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.course { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.course .cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.course .cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); transition: transform .9s var(--ease); }
.course .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 20 23 / .05) 30%, rgb(18 20 23 / .75) 100%); }
.course:hover .cover img { transform: scale(1.05); }
.course .cover .lvl { position: absolute; z-index: 1; left: 1.1rem; bottom: .9rem; font: 600 .74rem var(--mono); letter-spacing: .1em; color: #fff; }
.course .cover .em, .course .cover .tagb { position: absolute; z-index: 1; right: 1rem; bottom: .8rem; }
.course .cover .em .bi { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .5)); }
.course.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-l); }
.course .tagb { font: 600 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: .28rem .55rem; border-radius: 6px; }
.course .body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.course h3 { font-size: 1.35rem; margin: 0; letter-spacing: -.01em; }
.course .sub { color: var(--muted); font-size: .95rem; margin: .25rem 0 1rem; }
.course .meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.course .meta li { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: .22rem .6rem; }
.course ul.inc { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.course ul.inc li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; line-height: 1.45; }
.course ul.inc li::before { margin-top: .1em; background-color: var(--gold-soft); }
.course ul.inc li.plus { font-weight: 600; }
.course .price-row { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.course .price { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; }
.course .once { font-size: .84rem; color: var(--dim); margin: 0; }
.course .btn { margin-top: 1rem; width: 100%; }
.course .soon { font-size: .82rem; color: var(--muted); text-align: center; margin: .6rem 0 0; }
@media (max-width: 960px) { .courses { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .course.featured { order: -1; } }
.syllabus { max-width: 860px; margin: 2rem auto 0; }

/* Accordions (FAQ, syllabus) */
details.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: .6rem; }
details.acc[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
details.acc summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; display: flex; gap: .9rem; align-items: center; font-weight: 600; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: ''; margin-inline-start: auto; width: 12px; height: 12px; flex-shrink: 0; background: linear-gradient(var(--gold-d), var(--gold-d)) center / 100% 2px no-repeat, linear-gradient(var(--gold-d), var(--gold-d)) center / 2px 100% no-repeat; transition: transform .2s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 1.2rem 1.15rem; color: var(--muted); }
details.acc ol { margin: .2rem 0 0; padding-inline-start: 1.2rem; }
details.acc .num { flex-shrink: 0; min-width: 2.6em; }
.syllabus > details.acc > summary { justify-content: center; }
.syllabus > details.acc > summary::after { margin-inline-start: .2rem; }
.syllabus .acc-body details.acc { box-shadow: none; }
.curr-level { margin: 1.2rem 0 1.6rem; }
.curr-level > h3 { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; font-size: 1.08rem; }
.curr-level > h3 small { font: 600 .72rem var(--mono); letter-spacing: .1em; color: var(--gold-d); }
.faq { max-width: 820px; margin: 0 auto; }

/* Final call */
.final { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.2rem); border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-l); }
.final-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.final-net path { fill: none; stroke: rgb(201 164 95 / .35); stroke-width: 1.4; stroke-dasharray: 4 10; animation: dash 7s linear infinite; }
.final-net path:nth-child(2) { animation-duration: 10s; stroke: rgb(201 164 95 / .22); }
.final .mk { animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgb(201 164 95 / .45)); }
.final h2 { color: #fff; margin-bottom: .5rem; }
.final p { color: #c9cdd2; margin: 0 0 1.5rem; }
.final .mk { width: clamp(90px, 10vw, 130px); height: auto; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; text-align: center; } .final .mk { display: none; } .final .btn-row { justify-content: center; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9bec5; padding: clamp(3rem, 6vw, 4rem) 0 2rem; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand small { color: #9aa0a8; border-color: rgb(255 255 255 / .2); }
.site-footer .tagline { color: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: 1.1rem 0 0; max-width: 28ch; }
.site-footer .tagline .gold { color: var(--gold-l); }
.site-footer h4 { font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); margin: .3rem 0 .9rem; }
.site-footer nav { display: grid; gap: .5rem; }
.site-footer nav a { color: #d7dbe0; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .disc { margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .82rem; color: #8f959d; }
.site-footer .copy { font-size: .82rem; color: #8f959d; margin: .5rem 0 0; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* Dialog */
dialog { border: 0; border-radius: 18px; background: #fff; color: var(--ink); padding: 2rem; width: min(520px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto; box-shadow: var(--shadow-l); }
dialog::backdrop { background: rgb(18 20 23 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog h2 { font-size: 1.45rem; }
.x-btn { position: absolute; top: .9rem; inset-inline-end: .9rem; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); cursor: pointer; font-size: 1.2rem; }
.order .sum { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline; padding: 1rem 1.1rem; border-radius: var(--r-s); background: var(--soft); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.order .sum b { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; }
.order .sum small { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.order .sum .no-refund { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; margin: .5rem 0 0; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.order .sum .no-refund svg { width: 16px; height: 16px; color: var(--gold-d); flex-shrink: 0; }
.order select { margin-bottom: 1rem; }
.order .who { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.order legend.f { font-size: .86rem; color: var(--muted); margin-bottom: .35rem; }
.order .consents { display: grid; gap: .8rem; margin-bottom: 1.2rem; font-size: .9rem; }
.order .consents .small { margin: 0; }
.order .hold { padding: 1rem 1.1rem; border-radius: var(--r-s); background: var(--warn-soft); margin-bottom: 1rem; font-size: .93rem; }
.order .hold p:last-child { margin: 0; }
.order .err { color: var(--warn); font-size: .9rem; }
.order .btn { width: 100%; }

/* Forms */
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold-d); margin-top: .2rem; flex-shrink: 0; }
textarea, input[type='text'], input[type='number'], input[type='date'], input[type='email'], input[type='password'], select.input { width: 100%; background: var(--field); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: .75rem .9rem; font: 400 16px var(--font); }
textarea:focus, input:focus, select.input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
label.f { display: block; font-size: .86rem; color: var(--muted); margin-bottom: .35rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

/* ============ Academy app ============ */
.app { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: calc(100vh - var(--head-h)); background: var(--soft); }
.app.solo { grid-template-columns: 1fr; }
.app.solo .main-inner { margin-inline: auto; }
.side { background: #fff; border-inline-end: 1px solid var(--line); padding: 1.2rem .9rem 3rem; position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); overflow-y: auto; }
.side .me { padding: 1rem; border-radius: var(--r-s); background: var(--soft); margin-bottom: .8rem; }
.side .me b { display: block; }
.side h4 { font: 600 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin: 1.3rem .5rem .45rem; }
.side a, .side .row { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.side a:hover { background: var(--soft); color: var(--ink); }
.side a.active { background: var(--gold-soft); color: var(--ink); font-weight: 600; }
.side a.locked { color: var(--dim); }
.side .mod { margin-top: .15rem; }
.side .mod > a { font-weight: 600; }
.side .mod .sub { padding-inline-start: .7rem; border-inline-start: 2px solid var(--line); margin: .2rem 0 .4rem .9rem; }
.dot { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; background: #fff; }
.dot.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.dot.lock { border: 0; color: var(--dim); background: transparent; }
.dot svg { width: 13px; height: 13px; }
.side svg, .dot svg { flex-shrink: 0; }
.main { padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.2rem, 4vw, 3.4rem) 5rem; min-width: 0; }
.main-inner { max-width: 880px; }
.main-inner:focus { outline: none; }
.side-toggle { display: none; }
@media (max-width: 920px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: var(--head-h) auto 0 0; width: min(320px, 86vw); z-index: 40; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-l); }
  [dir='rtl'] .side { inset: var(--head-h) 0 0 auto; transform: translateX(105%); }
  .side.open { transform: none; }
  .side-toggle { display: inline-flex; margin-bottom: 1rem; }
}
.crumbs { font: 600 .74rem var(--mono); letter-spacing: .08em; color: var(--dim); margin-bottom: .7rem; text-transform: uppercase; }
.progress { height: 8px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #d9b25e); }
/* Dashboard */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.dash-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); margin: 0 0 .3rem; letter-spacing: -.03em; }
.dash-head p { margin: 0; color: var(--muted); }
.ring { --p: 0; width: 92px; height: 92px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--soft-2) 0); }
.ring span { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; }
.continue { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; background: var(--ink); border-color: var(--ink); color: #fff; }
.continue .label { color: var(--gold-l); margin-bottom: .4rem; }
.continue h2 { color: #fff; font-size: 1.25rem; margin: 0; }
.continue .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.dash-h { font-size: 1.15rem; margin: 2.2rem 0 .9rem; }
.lv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv { display: flex; flex-direction: column; gap: .5rem; }
.lv .lvl { font: 600 .72rem var(--mono); letter-spacing: .1em; color: var(--gold-d); margin: 0; }
.lv h3 { margin: 0; font-size: 1.1rem; }
.lv .sub { font-size: .88rem; color: var(--muted); margin: 0 0 .4rem; }
.lv .stat { font-size: .84rem; color: var(--muted); margin: .2rem 0 .6rem; }
.lv .btn { margin-top: auto; }
.lv.locked { background: var(--soft); box-shadow: none; }
@media (max-width: 900px) { .lv-list { grid-template-columns: 1fr; } }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1.1rem .6rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.3; transition: border-color .18s, transform .18s; }
.quick a:hover { border-color: var(--gold); transform: translateY(-2px); }
.quick a .icon { margin: 0; width: 42px; height: 42px; }
.quick a.locked { color: var(--dim); background: var(--soft); }
@media (max-width: 640px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.welcome { text-align: center; padding: clamp(2rem, 5vw, 3rem) 1.5rem; }
.welcome img { width: 80px; margin: 0 auto 1rem; }
.welcome h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: -.03em; }
.welcome p { max-width: 540px; margin-inline: auto; color: var(--muted); }
.next-card { background: var(--gold-soft); border-color: var(--gold-l); }
/* Lesson */
.lesson h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); letter-spacing: -.032em; }
.lesson .intro { font-size: 1.15rem; color: var(--ink-2); }
.lesson h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.lesson h4 { font-size: 1.02rem; margin-top: 1.4rem; color: var(--gold-d); }
.lesson ul, .lesson ol { padding-inline-start: 1.3rem; }
.lesson li { margin-bottom: .35rem; }
.lesson table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .93rem; display: block; overflow-x: auto; background: #fff; }
.lesson th, .lesson td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: start; vertical-align: top; }
.lesson th { background: var(--soft); font-weight: 600; }
.lesson blockquote { margin: 1.2rem 0; padding: .8rem 1.2rem; border-inline-start: 3px solid var(--gold); background: #fff; border-radius: 0 var(--r-s) var(--r-s) 0; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; margin: 1.8rem 0; }
.box > .lbl { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin-bottom: .6rem; display: block; }
.box.example { background: var(--gold-soft); border-color: var(--gold-l); }
.box.mistakes { background: var(--warn-soft); border-color: #f1d3b8; }
.box.mistakes > .lbl { color: var(--warn); }
.box.task { border: 2px solid var(--ink); }
.box.key { text-align: center; font-size: 1.15rem; font-weight: 600; background: var(--ink); color: #fff; border-color: var(--ink); }
.box.key > .lbl { color: var(--gold-l); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.q { padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1rem; }
.q legend { font-weight: 600; margin-bottom: .8rem; padding: 0; }
.q fieldset { border: 0; margin: 0; padding: 0; }
.opt { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--r-s); border: 1px solid transparent; cursor: pointer; }
.opt:hover { background: var(--soft); }
.opt input { accent-color: var(--gold-d); margin-top: .3rem; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.wrong { border-color: #e9b48c; background: var(--warn-soft); }
.why { font-size: .9rem; color: var(--muted); margin-top: .6rem; display: none; }
.graded .why { display: block; }
.result { padding: 1.3rem; border-radius: var(--r); margin: 1.4rem 0; background: #fff; border: 1px solid var(--line-strong); }
.result.pass { border-color: var(--ok); background: var(--ok-soft); }
.lock-screen { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.lock-screen .icon { margin-inline: auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.2rem 0 1.6rem; }
.kpi { padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); }
.kpi b { display: block; font-size: 1.5rem; line-height: 1.1; font-weight: 700; }
.kpi span { font-size: .8rem; color: var(--muted); }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.channels { display: grid; gap: .5rem; margin: 1.2rem 0 1.4rem; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); }
.channel b { font-family: var(--mono); font-weight: 600; }
.channel span { font: 600 .72rem var(--mono); letter-spacing: .06em; color: var(--gold-d); }
.plan-day { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; align-items: center; padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: .5rem; }
.plan-day.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan-day.done { opacity: .55; }
.plan-day .d { font: 600 .8rem var(--mono); color: var(--gold-d); }
.tpl pre { white-space: pre-wrap; font: .86rem/1.6 var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-s); padding: 1rem; max-height: 420px; overflow: auto; color: var(--ink-2); }
.out { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.cert { background: #fbf7ec; color: #1b1406; padding: clamp(2rem, 6vw, 4.5rem); text-align: center; border: 10px double #b4873b; position: relative; }
.cert h1 { color: #1b1406; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cert .nm { font-size: clamp(1.6rem, 4vw, 2.6rem); font-style: italic; border-bottom: 1px solid #b4873b; display: inline-block; padding: 0 1.5rem .3rem; margin: 1rem 0; }
.cert img { width: 90px; margin: 0 auto 1rem; }
.toast { position: fixed; bottom: 1.2rem; inset-inline-start: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; z-index: 90; box-shadow: var(--shadow-l); }
[dir='rtl'] .toast { transform: translateX(50%); }
.lang-note { font-size: .86rem; padding: .7rem 1rem; background: var(--gold-soft); border-radius: var(--r-s); margin-bottom: 1.2rem; color: var(--gold-d); }

/* Community */
.post { padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .8rem; }
.post.pinned { border-color: var(--gold-l); background: var(--gold-soft); }
.post header { display: flex; gap: .7rem; align-items: center; margin-bottom: .6rem; font-size: .85rem; color: var(--dim); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.post header b { color: var(--ink); }
.post .actions { display: flex; gap: .5rem; margin-top: .6rem; }
.post .actions button { background: #fff; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: .25rem .8rem; cursor: pointer; font: inherit; font-size: .82rem; }
.post .actions button[aria-pressed='true'] { color: var(--gold-d); border-color: var(--gold); }

/* Legal */
.legal .legal-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; }
.legal .legal-nav a { padding: .4rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: .88rem; color: var(--ink); background: #fff; }
.legal .legal-nav a:hover { border-color: var(--gold); }
.legal-doc section { padding-top: 1.5rem; margin-bottom: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 16px); }
.legal-doc h2 { font-size: 1.12rem; margin-top: 1.6rem; }
.legal-doc p, .legal-doc li { color: var(--ink-2); font-size: .97rem; }
.legal-doc blockquote { margin: 1rem 0; padding: 1rem 1.2rem; border-inline-start: 3px solid var(--gold); background: var(--soft); }
.ph { color: var(--warn); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .reveal .bi :is(path, circle, rect, ellipse):not(.a) { stroke-dasharray: none; stroke-dashoffset: 0; }
  .reveal .bi .a { opacity: 1; }
  .ln-dot, .dust, .hero .btn-gold::after, .hero-photo picture::after { display: none; }
}
/* Off-screen sections stop animating (home.js sets .paused) */
.paused, .paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
/* Customer portal: account in the header, sign-in dialog, booking with Dennis, community replies */
.head-login svg { width: 16px; height: 16px; }
.nav-acct, .nav-login { display: none; }
@media (max-width: 520px) {
  .head-tools .head-login, .head-tools .acct { display: none; }
  .nav .nav-acct { display: grid; gap: .7rem; padding: 1rem .9rem .2rem; font-size: .92rem; color: var(--muted); }
  .nav .nav-login { display: inline-flex; margin: 1rem .9rem .2rem; }
}
.acct { position: relative; }
.acct summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: var(--gold-l); font-weight: 700; }
.acct summary::-webkit-details-marker { display: none; }
.acct-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; min-width: 250px; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-l); }
.acct-menu p { display: grid; gap: .1rem; margin: 0 0 .4rem; padding: .5rem .7rem .7rem; border-bottom: 1px solid var(--line); font-size: .85rem; overflow-wrap: anywhere; }
.acct-menu p small, .acct-menu p span:not(.gold) { color: var(--dim); }
.acct-menu a, .acct-menu button { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .55rem .7rem; border: 0; border-radius: var(--r-s); background: none; color: var(--ink); font: inherit; font-size: .92rem; text-decoration: none; text-align: start; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--soft); color: var(--ink); }
.auth-dialog { width: min(440px, calc(100% - 2rem)); }
.auth-dialog h2 { margin: .9rem 0 .3rem; }
.auth-dialog label.f { margin-top: .9rem; }
.auth-dialog label.f input { margin-top: .35rem; }
.auth-err { min-height: 1.3em; margin: .7rem 0; color: var(--warn); font-size: .9rem; }
.auth-dialog .btn { width: 100%; }
.slots { display: grid; gap: 1rem; margin: .9rem 0; }
.slot-day b { display: block; font-size: .9rem; margin-bottom: .45rem; }
.slot-times { display: flex; flex-wrap: wrap; gap: .45rem; }
.slot { min-height: 40px; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .9rem var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover, .slot:focus-visible { border-color: var(--gold); background: var(--gold-soft); }
.slot:disabled { opacity: .5; cursor: wait; }
.booking .bk-item { padding-bottom: 1.1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.bk-item h3 { margin: .2rem 0; font-size: 1.15rem; }
.bk-h { font-size: 1.05rem; margin: 1.2rem 0 .2rem; }
.bk-note { margin: 1.2rem 0 0; }
.join { display: inline-flex; flex-direction: column; gap: .3rem; }
.join small { font-size: .78rem; }
.btn[aria-disabled='true'] { opacity: .55; pointer-events: none; }
.post .body { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.post.reply { margin: .9rem 0 0; margin-inline-start: clamp(.6rem, 4vw, 2.4rem); padding: .9rem 1rem; background: var(--soft); }
.post .team { padding: .05rem .55rem; border-radius: 999px; background: var(--ink); color: var(--gold-l); font-size: .72rem; font-weight: 700; }
.reply-form { display: grid; gap: .5rem; margin-top: .8rem; justify-items: start; }
.reply-form textarea { min-height: 80px; }

@media print {
  .site-header, .side, .preview-bar, .site-footer, .no-print, .side-toggle { display: none !important; }
  body { background: #fff; }
  .app { display: block; background: #fff; }
  .main { padding: 0; }
  .cert { border-color: #b4873b; }
}
