/* Public website identity, matched to the live ALZUSA Original app.
   /launch deliberately does not load this stylesheet. */
.brand-current{
  color-scheme:dark;
  --background:#10110f;--background-secondary:#141512;
  --surface:#1b1d19;--surface-elevated:#23251f;--surface-input:#141611;
  --border:#2c2e27;--border-strong:#484c40;
  --text-primary:#f2f2e9;--text-secondary:#b1b5a8;--text-muted:#979e8c;
  --accent:#e5c37c;--accent-hover:#f3d695;--action:#ee784b;--action-hover:#ff8e62;
  --success:#aac786;--text-on-action:#17150f;
  --bg:var(--background);--surface2:var(--surface-elevated);--text:var(--text-primary);
  --muted:var(--text-secondary);--gold:var(--accent);--good:var(--success);--radius:12px;
  --body:'Segoe UI',Arial,sans-serif;--display:'Bahnschrift','Arial Narrow',Impact,sans-serif;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;
  --space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;
  --radius-small:6px;--radius-card:12px;--radius-large:18px;
  --container:1240px;--transition:150ms ease;
  margin:0;background:var(--background);color:var(--text-primary);
  font:400 16px/1.55 var(--body);-webkit-font-smoothing:antialiased;
}
html:has(.brand-current){background:#10110f;scroll-behavior:smooth;scroll-padding-top:100px}
.brand-current *{box-sizing:border-box}
.brand-current [hidden]{display:none!important}
.brand-current a{color:inherit;text-decoration:none}
.brand-current button,.brand-current input,.brand-current select,.brand-current textarea{font:inherit}
.brand-current button{cursor:pointer}
.brand-current button,.brand-current a{-webkit-tap-highlight-color:transparent}
.brand-current :focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.brand-current ::selection{background:var(--action);color:var(--text-on-action)}
.brand-current h1,.brand-current h2,.brand-current h3{margin:0;text-transform:none;letter-spacing:-.035em;line-height:1.08;font-family:var(--display);font-weight:650}
.brand-current h1{font-size:clamp(42px,5.3vw,76px);letter-spacing:-.045em}
.brand-current h2{font-size:clamp(30px,3.3vw,46px)}
.brand-current h3{font:600 20px/1.25 var(--body);letter-spacing:-.02em}
.brand-current p{color:var(--text-secondary)}
.brand-current img{max-width:100%;height:auto}
.brand-current .brand,.brand-current .footer-brand>a{display:inline-flex;align-items:center;gap:12px;width:max-content;color:var(--text-primary)}
.brand-current .brand svg,.brand-current .footer-brand svg{width:29px;height:31px;flex-shrink:0;color:var(--action)}
.brand-current .brand-wordmark{font:800 28px/1 var(--display);letter-spacing:-.055em}
.brand-current .site-header{position:sticky;z-index:50;top:0;display:flex;align-items:center;gap:24px;min-height:80px;padding:16px max(24px,calc((100vw - var(--container))/2));border-bottom:1px solid var(--border);background:var(--background);backdrop-filter:none}
.brand-current .site-header nav{display:flex;align-items:center;gap:22px;margin-inline:auto}
.brand-current .site-header nav>a,.brand-current .text-link{color:var(--text-secondary);font-size:14px;font-weight:500;white-space:nowrap}
.brand-current .site-header nav a:hover,.brand-current .text-link:hover{color:var(--text-primary)}
.brand-current .site-header nav a[aria-current=page]{color:var(--accent)}
.brand-current .header-actions{display:flex;align-items:center;gap:20px}
.brand-current .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid var(--border-strong);border-radius:var(--radius-small);background:transparent;color:var(--text-primary);font-size:14px;font-weight:600;transition:background var(--transition),border-color var(--transition);transform:none}
.brand-current .btn:hover{background:var(--surface-elevated);border-color:var(--text-muted);transform:none}
.brand-current .btn-primary{background:var(--action);color:var(--text-on-action);border-color:transparent}
.brand-current .btn-primary:hover{background:var(--action-hover);border-color:transparent}
.brand-current .btn-ghost{background:transparent}
.brand-current .menu-toggle{display:none;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius-small);background:transparent;color:var(--text-primary);font-size:22px}
.brand-current .mobile-nav-login,.brand-current .header-trial-short{display:none}
.brand-current .hp2-knowledge{position:relative;font-size:14px;color:var(--text-secondary)}
.brand-current .hp2-knowledge summary{display:flex;align-items:center;gap:6px;min-height:44px;list-style:none;cursor:pointer}
.brand-current .hp2-knowledge summary::-webkit-details-marker{display:none}
.brand-current .hp2-knowledge>div{position:absolute;right:0;top:100%;z-index:60;display:grid;min-width:190px;gap:4px;padding:12px;border:1px solid var(--border-strong);border-radius:var(--radius-card);background:var(--surface)}
.brand-current .hp2-knowledge>div a{padding:10px;min-height:44px;font-size:14px;border-radius:var(--radius-small)}
.brand-current .hp2-knowledge>div a:hover{background:var(--surface-elevated)}
.brand-current .site-footer{display:grid;grid-template-columns:1.7fr repeat(3,minmax(0,1fr));gap:32px;width:min(var(--container),calc(100% - 48px));margin:0 auto;padding:48px 0 32px;border-top:1px solid var(--border);color:var(--text-secondary)}
.brand-current .site-footer>div{display:grid;align-content:start;gap:12px;font-size:13px}
.brand-current .site-footer b{font-size:12px;letter-spacing:.08em;font-weight:600;color:var(--text-muted);text-transform:uppercase}
.brand-current .site-footer a:hover{color:var(--text-primary)}
.brand-current .footer-brand{grid-row:span 2}
.brand-current .footer-brand p{max-width:250px;margin:12px 0;line-height:1.7}
.brand-current .site-footer small{grid-column:1/-1;padding-top:24px;border-top:1px solid var(--border);color:var(--text-muted);font-size:12px}
.brand-current .footer-consent-link{border:0;padding:0;background:transparent;text-align:left;color:inherit;cursor:pointer;min-height:44px}
.brand-current .skip-link{position:fixed;z-index:200;top:-80px;left:16px;padding:12px 16px;border-radius:6px;background:var(--accent);color:var(--background);font-weight:600}
.brand-current .skip-link:focus{top:16px;transform:none}
.brand-current .admin-preview-bar{display:flex;justify-content:center;align-items:center;gap:20px;padding:10px 16px;background:var(--accent);color:var(--background);font-size:13px}
.brand-current .admin-preview-bar a{color:var(--background);text-decoration:underline}
/* Existing content pages use their own layout, with the current app's identity. */
.brand-current:not(.home-v3) .eyebrow{color:var(--text-muted);font-size:12px;letter-spacing:.12em;font-weight:600}
.brand-current:not(.home-v3) .page-hero h1{font-size:clamp(40px,5.3vw,70px);line-height:1.06}
.brand-current:not(.home-v3) h1 span{color:var(--accent)}
.brand-current:not(.home-v3) .lead{color:var(--text-secondary);font-size:18px}
.brand-current:not(.home-v3) :is(.content-card,.feature-grid article,.persona-list article,.pricing-card,.pricing-note,.exercise-card,.exercise-detail-card,.tool-card){border-color:var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:none}
.brand-current:not(.home-v3) .pricing-card{border-top:2px solid var(--accent)}
.brand-current:not(.home-v3) .card-link{color:var(--accent)}
.brand-current:not(.home-v3) .feature-grid i{background:var(--surface-elevated);color:var(--accent)}
.brand-current:not(.home-v3) :is(input,select,textarea){background:var(--surface-input);border-color:var(--border-strong);color:var(--text-primary);border-radius:6px;min-height:48px}
.brand-current:not(.home-v3) :is(.persona-number,.app-mockup strong,.mockup-stats b,.step-num){font-family:var(--display)}
.brand-current :is(.maintenance,.admin-auth){background:var(--background)}
.brand-current .maintenance>.brand{margin-bottom:48px}
.brand-current .maintenance h1 span{color:var(--accent)}
.brand-current .admin-auth>.brand{margin-bottom:40px}
.brand-current .admin-card h1{font-size:32px}
.brand-current .pricing-availability{padding-top:0;padding-bottom:24px;font-size:14px;color:var(--text-muted)}
.brand-current .cockpit-panel,.brand-current .cockpit-sidebar{background:var(--surface);border-color:var(--border)}
@media(max-width:1180px){
  .brand-current .site-header{gap:16px}
  .brand-current .site-header nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:16px 24px 24px;border-bottom:1px solid var(--border-strong);background:var(--surface);max-height:calc(100dvh - 80px);overflow:auto}
  .brand-current .site-header nav.open{display:flex}
  .brand-current .site-header nav>a{padding:12px 0;min-height:48px;font-size:16px}
  .brand-current .menu-toggle{display:block;order:3;flex-shrink:0;margin:0}
  .brand-current .header-actions{margin-left:auto;gap:16px}
  .brand-current.menu-open{overflow:hidden}
  .brand-current .hp2-knowledge>div{position:static;margin:4px 0 8px;border:0;padding:0;background:transparent}
  .brand-current .hp2-knowledge>summary{min-height:48px;font-size:16px}
  .brand-current .mobile-nav-login{display:block;border-top:1px solid var(--border);padding-top:16px;margin-top:12px}
}
@media(max-width:640px){
  .brand-current .site-header{min-height:72px;padding:12px 20px;gap:12px}
  .brand-current .brand{gap:8px}
  .brand-current .brand-wordmark{font-size:24px}
  .brand-current .brand svg{width:24px;height:26px}
  .brand-current .header-actions>.text-link,.brand-current .header-trial-full{display:none}
  .brand-current .header-trial-short{display:inline}
  .brand-current .header-actions .btn{padding:10px 12px;min-height:44px;font-size:13px}
  .brand-current .site-header nav{max-height:calc(100dvh - 72px)}
  .brand-current .site-footer{width:calc(100% - 40px);grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
  .brand-current .footer-brand{grid-column:1/-1;grid-row:auto}
  .brand-current .footer-brand p{max-width:350px}
  .brand-current .admin-preview-bar{flex-direction:column;gap:4px}
}
@media(prefers-reduced-motion:reduce){html:has(.brand-current){scroll-behavior:auto}.brand-current *,.brand-current *::before,.brand-current *::after{transition:none!important;animation:none!important}}


/* Existing consent UI, same behavior with the current app palette. */
.brand-current .footer-consent-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.brand-current .footer-consent-link:hover{color:var(--text)}
.brand-current .consent-banner{position:fixed;z-index:100;right:max(20px,calc((100vw - 1180px)/2));bottom:20px;left:max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:26px;padding:22px 24px;border:1px solid var(--border-strong);border-radius:20px;background:var(--surface);box-shadow:0 24px 70px #000b}
.brand-current .consent-banner h2, .brand-current .consent-dialog h2{font-size:1.8rem}
.brand-current .consent-banner a{color:var(--accent);text-decoration:underline}
.brand-current .consent-actions{display:flex;flex-wrap:wrap;gap:9px}
.brand-current .consent-actions .btn{min-height:42px;padding:9px 13px;white-space:nowrap}
.brand-current .consent-modal[hidden], .brand-current .consent-banner[hidden]{display:none}
.brand-current .consent-modal{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px}
.brand-current .consent-backdrop{position:absolute;inset:0;background:#050608b8}
.brand-current .consent-dialog{position:relative;width:min(100%,610px);max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid var(--border-strong);border-radius:20px;background:var(--surface);box-shadow:0 30px 90px #000c}
.brand-current .consent-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:28px;cursor:pointer}
.brand-current .consent-close:hover{background:var(--surface2);color:var(--text)}
.brand-current .consent-category{display:flex!important;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;padding:17px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);color:var(--text)!important}
.brand-current .consent-category div{display:grid;gap:5px}
.brand-current .consent-category small{color:var(--muted);line-height:1.45}
.brand-current .consent-category>span{color:var(--success);font-size:12px;font-weight:800}
.brand-current .consent-category input{width:22px;height:22px;accent-color:var(--accent)}
.brand-current .consent-dialog:focus{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){.brand-current .consent-banner{right:12px;bottom:max(12px,env(safe-area-inset-bottom));left:12px;display:grid;padding:20px}
.brand-current .consent-banner .consent-actions{display:grid;grid-template-columns:1fr 1fr}
.brand-current .consent-banner .consent-actions .btn:last-child{grid-column:1/-1}
.brand-current .consent-dialog{padding:25px 19px;border-radius:18px}
.brand-current .consent-category{align-items:flex-start}
.brand-current .consent-dialog .consent-actions{display:grid}
.brand-current .consent-dialog .btn{width:100%}}
.brand-current .consent-actions .btn{min-height:44px}
.brand-current .consent-close{width:44px;height:44px}

