/* Brand hub homepage (/) — loaded after design.css; uses the same tokens. */

.brand-header nav a[aria-current=page]{color:var(--green)}
.brand-header #account{min-height:44px;padding-inline:18px}
.button svg,.level-status svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.button.big{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:16px 28px;font-size:16px}

.brand-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:center;padding-block:88px 96px}
.brand-hero h1{font-size:clamp(46px,6vw,84px);line-height:1.02;margin:0 0 26px;letter-spacing:-.04em}
.brand-hero .hero-lead{font-size:19px;line-height:1.75;max-width:580px;color:var(--muted);margin:0}
.brand-hero .actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.brand-hero .hero-note{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:var(--muted)}
.brand-hero .hero-note li::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-inline-end:10px;vertical-align:middle}
.brand-hero-visual{position:relative}
.brand-hero-visual::before{content:'';position:absolute;inset:6% -4% -4% 10%;border-radius:40px;background:radial-gradient(circle at 70% 30%,#f8edce,transparent 60%),radial-gradient(circle at 20% 80%,#d7e8df,transparent 60%);z-index:-1}
.brand-visual{width:100%;height:auto;display:block;overflow:visible}
.bv-card{fill:var(--surface);stroke:var(--line);stroke-width:1.5;filter:drop-shadow(0 18px 30px #14213d1a)}
.bv-play{fill:var(--green)}.bv-play-icon{fill:#fff}
.bv-label{font:700 10px Inter,system-ui,sans-serif;letter-spacing:1.5px;fill:var(--green)}
.bv-title{font:20px Source,Georgia,serif;fill:var(--ink)}
.bv-bars rect{fill:var(--green);opacity:.85}.bv-bars rect:nth-child(n+13){fill:var(--line);opacity:1}
.bv-track{fill:var(--line)}.bv-progress{fill:var(--amber)}
.bv-bubble-a rect,.bv-bubble-a path{fill:#14213d}.bv-bubble-a text{font:600 15px Inter,system-ui,sans-serif;fill:#fff}
.bv-bubble-b rect,.bv-bubble-b path{fill:var(--amber)}.bv-bubble-b text{font:600 15px Inter,system-ui,sans-serif;fill:#14213d}
:root[data-theme=dark] .bv-bubble-a rect,:root[data-theme=dark] .bv-bubble-a path{fill:#2b3a67}

.trust-strip{background:var(--light);border-block:1px solid var(--line)}
.trust-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding-block:30px}
.trust-inner>div{display:flex;gap:14px;align-items:flex-start}
.trust-inner svg{flex:none;width:40px;height:40px;padding:9px;border-radius:12px;background:var(--surface);border:1px solid var(--line);fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trust-inner strong{display:block;font-size:15px;color:var(--ink)}
.trust-inner small{display:block;font-size:13px;color:var(--muted);margin-top:2px;line-height:1.45}

.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pillar-grid article{position:relative;padding:34px 30px;border-radius:20px;background:var(--surface);border:1px solid var(--line);transition:transform .25s,box-shadow .25s}
.pillar-grid article:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.pillar-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#e3efe9;margin-bottom:24px}
.pillar-grid article:nth-child(2) .pillar-icon{background:#f8edce}.pillar-grid article:nth-child(3) .pillar-icon{background:#f6d5c9}
.pillar-icon svg{width:28px;height:28px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pillar-number{position:absolute;top:26px;right:28px;font:48px/1 Source,Georgia,serif;color:var(--line)}
.pillar-grid h3{font:26px/1.2 Source,Georgia,serif;margin:0 0 12px}
.pillar-grid p{margin:0;font-size:15px;line-height:1.7}

.programs-showcase{background:var(--light);border-block:1px solid var(--line)}
.level-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:24px;align-items:stretch}
.level-card{display:flex;flex-direction:column;padding:32px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.level-card.active{border:2px solid var(--green);box-shadow:var(--shadow)}
.level-card.soon{background:transparent;border-style:dashed}
.level-card.soon h3,.level-card.soon .level-code{color:var(--muted)}
.level-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}
.level-code{font:44px/1 Source,Georgia,serif;letter-spacing:-1px;color:var(--green)}
.level-badge{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:6px 10px;border-radius:999px;background:var(--light);color:var(--muted);border:1px solid var(--line);white-space:nowrap}
.level-badge.live{background:#1f6f6b;color:#fff;border-color:#1f6f6b}
.level-card h3{font:28px/1.2 Source,Georgia,serif;margin:0 0 10px}
.level-card p{margin:0 0 20px;font-size:15px;line-height:1.7}
.level-facts{list-style:none;padding:0;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:8px}
.level-facts li{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:var(--light);color:var(--ink)}
.level-facts li::before{content:none!important}
.level-card .button{margin-top:auto}
.level-status{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted)}

.sample-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.sample-art{background:var(--light)}.sample-art img{display:block;width:100%;height:100%;object-fit:cover;min-height:100%}
.sample-body{display:flex;flex-direction:column;gap:14px;padding:36px 38px}
.sample-meta{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--green)}
.sample-body h3{font:34px/1.15 Source,Georgia,serif;margin:0}
.sample-body p{margin:0;font-size:16px;line-height:1.7}
.preview-player{background:var(--light);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.preview-label{display:block;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--green);margin-bottom:6px}
.preview-player audio{width:100%;height:44px;display:block}
.sample-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:4px}
.underlink{font-weight:600;text-decoration:underline;text-underline-offset:5px}

.brand-footer{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;padding-block:56px 40px;align-items:start}
.brand-footer p{font-size:14px;margin:12px 0 0;max-width:300px}
.brand-footer nav{display:flex;flex-direction:column;gap:2px}
.brand-footer nav strong{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px;color:var(--ink)}
.brand-footer nav a{min-height:36px;font-size:14px;color:var(--muted)}
.brand-footer>small{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;color:var(--muted)}

@media(max-width:1000px){
 .brand-hero{grid-template-columns:1fr;gap:48px;padding-block:56px 64px}
 .brand-hero-visual{max-width:520px;width:100%;margin-inline:auto}
 .trust-inner{grid-template-columns:1fr 1fr}
 .level-grid{grid-template-columns:1fr 1fr}.level-card.active{grid-column:1/-1}
 .brand-footer{grid-template-columns:1fr 1fr}.brand-footer>div{grid-column:1/-1}
}
@media(max-width:700px){
 .brand-hero h1{font-size:46px}
 .brand-hero .hero-lead{font-size:17px}
 .brand-hero .actions{flex-direction:column}.brand-hero .actions .button{width:100%}
 .trust-inner{grid-template-columns:1fr;gap:18px;padding-block:24px}
 .pillar-grid,.level-grid{grid-template-columns:1fr}
 .level-card,.pillar-grid article{padding:26px 22px}
 .sample-card{grid-template-columns:1fr}.sample-art img{aspect-ratio:16/10;height:auto}
 .sample-body{padding:24px 20px}.sample-body h3{font-size:28px}
 .brand-footer{grid-template-columns:1fr;gap:24px}
}

/* v3.3 – principle icons: tinted containers, accent-coloured strokes */
.pillar-icon{border:1px solid transparent}
.pillar-grid article:nth-child(1) .pillar-icon svg{stroke:#1f6f6b}
.pillar-grid article:nth-child(2) .pillar-icon svg{stroke:#9a6a12}
.pillar-grid article:nth-child(3) .pillar-icon svg{stroke:#b4533a}
.pillar-icon svg{stroke-width:2}
:root[data-theme=dark] .pillar-grid article:nth-child(1) .pillar-icon{background:rgba(143,211,200,.12);border-color:rgba(143,211,200,.32)}
:root[data-theme=dark] .pillar-grid article:nth-child(2) .pillar-icon{background:rgba(242,196,110,.12);border-color:rgba(242,196,110,.32)}
:root[data-theme=dark] .pillar-grid article:nth-child(3) .pillar-icon{background:rgba(240,153,123,.13);border-color:rgba(240,153,123,.34)}
:root[data-theme=dark] .pillar-grid article:nth-child(1) .pillar-icon svg{stroke:#8fd3c8}
:root[data-theme=dark] .pillar-grid article:nth-child(2) .pillar-icon svg{stroke:#f2c46e}
:root[data-theme=dark] .pillar-grid article:nth-child(3) .pillar-icon svg{stroke:#f0997b}

/* v3.11 — Instant Lesson 1 preview in the hero.
   Desktop: heading + copy left, player right. Mobile: heading → player (above the fold) → copy. */
.brand-hero{grid-template-columns:1.1fr .9fr;grid-template-areas:"head player" "rest player";row-gap:0}
.brand-hero .hero-head{grid-area:head;align-self:end}
.brand-hero .hero-rest{grid-area:rest;align-self:start}
.brand-hero .hero-player{grid-area:player}
.hero-player{position:relative;display:grid;gap:16px;padding:22px;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 60px #14213d1f;max-width:520px;width:100%;justify-self:center}
.hero-player::before{content:'';position:absolute;inset:-18px -14px -14px -18px;border-radius:36px;background:radial-gradient(circle at 75% 20%,#f8edce,transparent 60%),radial-gradient(circle at 15% 85%,#d7e8df,transparent 60%);z-index:-1}
:root[data-theme=dark] .hero-player{box-shadow:0 24px 60px #0006}
:root[data-theme=dark] .hero-player::before{opacity:.18}
.hp-head{display:flex;gap:14px;align-items:center}
.hp-cover{width:72px;height:72px;border-radius:16px;object-fit:cover;flex:none;background:var(--light)}
.hp-meta{display:grid;gap:3px;min-width:0}
.hp-badge{justify-self:start;font-size:12px;font-weight:700;letter-spacing:.04em;padding:3px 10px;border-radius:999px;background:var(--amber);color:#14213d}
.hp-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.08em;color:var(--muted)}
.hp-title{font-family:Source,Georgia,serif;font-size:24px;line-height:1.15;color:var(--ink);font-weight:600}
.hp-play{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 18px 12px 12px;border:0;border-radius:18px;background:var(--green);color:var(--surface);text-align:left;cursor:pointer;font:inherit;transition:filter .15s,transform .15s}
.hp-play:hover{filter:brightness(.95)}
.hp-play:active{transform:scale(.99)}
.hp-play:focus-visible,.hp-register:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.hp-play-icon{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--surface);color:var(--green)}
.hp-play-icon svg{width:24px;height:24px;fill:currentColor}
.hp-icon-pause,.hero-player.is-playing .hp-icon-play{display:none}
.hero-player.is-playing .hp-icon-pause{display:block}
.hero-player.is-loading .hp-play-icon{animation:hp-pulse 1s ease-in-out infinite}
@keyframes hp-pulse{50%{opacity:.55}}
.hp-play-text{display:grid;gap:3px;min-width:0}
.hp-play-text strong{font-size:17px;line-height:1.25;font-weight:700}
.hp-play-text small,.hp-register small{font-size:13px;line-height:1.3;opacity:.88;font-weight:500}
.hp-progress{display:flex;align-items:center;gap:12px}
.hp-progress input{--hp-fill:0%;flex:1;appearance:none;-webkit-appearance:none;height:6px;border-radius:99px;background:linear-gradient(90deg,var(--green) var(--hp-fill),var(--line) var(--hp-fill));padding:0;border:0;cursor:pointer}
.hp-progress input:disabled{cursor:default;opacity:.6}
.hp-progress input::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--green);border:2px solid var(--surface)}
.hp-progress input::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--green);border:2px solid var(--surface)}
.hp-time{font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;min-width:84px;text-align:right}
.hp-status{margin:0;font-size:13.5px;color:var(--error)}
.hp-status:empty{display:none}
.hp-cta{display:grid;gap:8px;padding-top:16px;border-top:1px dashed var(--line)}
.hp-register{display:grid;gap:3px;width:100%;min-height:60px;padding:12px 16px;border-radius:14px;border:2px solid var(--green);background:var(--light);color:var(--ink);text-align:center;cursor:pointer;font:inherit}
.hp-register strong{font-size:15.5px;line-height:1.3;color:var(--green)}
.hp-register:hover{background:color-mix(in srgb,var(--green) 10%,var(--surface))}
.hp-note{margin:0;font-size:12.5px;text-align:center;color:var(--muted)}
@media(max-width:1000px){
 .brand-hero{grid-template-columns:1fr;grid-template-areas:"head" "player" "rest";gap:28px;padding-block:32px 56px}
 .brand-hero .hero-head h1{margin-bottom:0}
}
@media(max-width:700px){
 .brand-hero{gap:22px;padding-block:22px 48px}
 .brand-hero .hero-head h1{font-size:40px}
 .hero-player{padding:16px;gap:14px;border-radius:20px}
 .hp-cover{width:56px;height:56px;border-radius:12px}
 .hp-title{font-size:20px}
 .hp-play{min-height:68px}
 .hp-play-icon{width:46px;height:46px}
 .hp-play-text strong{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.hero-player.is-loading .hp-play-icon{animation:none}.hp-play{transition:none}}
dialog .auth-en{margin:-4px 0 14px;font-size:13px;color:var(--muted)}
#tracks .needs-account{opacity:.8}
