/* Shared presentation layer. No routes, permissions or payment rules are changed. */
:root{--ui-heading:Inter,system-ui,sans-serif;--ui-ink:#14276b;--ui-muted:#52617a;--ui-border:#dce3ee;--ui-accent:#a95312;--ui-radius:16px}
body{line-height:1.6;-webkit-text-size-adjust:100%}
body h1,body h2,body h3,body h4,body .font-head,body .dash-stat-num,body .stat-num,body .adm-brand-text,body .adm-topbar h1,body .adm-mobile-top h1{font-family:var(--ui-heading);letter-spacing:-.025em;line-height:1.25}
body .dash-card,body .step-gate,body .quiz-row,body .ann-item,body .cert-row{border-color:var(--ui-border);border-radius:var(--ui-radius)}
body .dash-card{padding:clamp(20px,3vw,32px);box-shadow:0 4px 20px rgba(20,39,107,.045)}
body .dash-stat-label,body .stat-label{color:var(--ui-muted);font-size:.875rem;line-height:1.5}
body .dash-eyebrow{color:var(--ui-accent);font-size:.8125rem;letter-spacing:.065em}
body .dash-stat{background:#f8fafc;border-color:var(--ui-border);border-radius:12px}
body .dash-stat-num{font-size:1.6rem;font-variant-numeric:tabular-nums}
body .auth-label{font-size:.875rem;line-height:1.5;margin-bottom:6px}
body .auth-input{min-height:46px;border:1px solid #bac5d5;border-radius:10px;padding:10px 12px;font-family:Inter,system-ui,sans-serif;font-size:1rem;line-height:1.5;background:#fff;color:#1e293b;max-width:100%}
body .auth-input::placeholder{color:#64748b;opacity:1}
body .auth-input:focus{outline:2px solid #a95312;outline-offset:2px;box-shadow:none}
body .auth-input[type=checkbox],body .auth-input[type=radio]{min-height:0;width:auto}
body .auth-error,body .auth-success{font-size:.9375rem;line-height:1.6;padding:14px 16px}
body .dash-card button[type=submit],body .dash-card a.inline-flex,body .hbtn{min-height:44px;border-radius:10px;line-height:1.4}
body .dash-card button[type=submit]{white-space:normal}
body .bg-amber2.text-white,body .hbtn-a{background-color:#a95312}
body .bg-amber2.text-white:hover,body .hbtn-a:hover{background-color:#85420e}
body .dash-card .text-slate-400,body .adm-content .text-slate-400{color:#59677e}
body .adm-content th{color:#52617a;font-size:.75rem;line-height:1.5}
body .adm-user small{color:#59677e;font-size:.75rem}
body .adm-nav-label{color:#b2bdd6;font-size:.75rem}
body .adm-nav a.on{background:#a95312}
body .adm-bottom-nav a,body .adm-bottom-nav button{min-height:48px}
body .adm-sheet-user{color:#52617a}
body .adm-content{padding-top:28px}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #a95312;outline-offset:4px}
body .nav-links a,body .nav-dropdown>button{min-height:42px}
.nav-dropdown:focus-within>.nav-dropdown-menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.nav-more{border-top:1px solid #dce3ee;margin-top:6px;padding-top:6px}
.nav-more summary{cursor:pointer;color:#52617a;font-size:.875rem;font-weight:600;padding:10px 14px;min-height:44px}
.nav-more[open] summary{color:#14276b}
.nav-more a{margin-left:8px}
.mobile-submenu .nav-more{border-color:rgba(255,255,255,.2)}
.mobile-submenu .nav-more summary{color:#dbe3f7}
.mobile-submenu .nav-more a{margin-left:0}
body .mobile-section-title{font-size:.75rem;color:#b2bdd6}
body .nav-current{background:rgba(226,137,47,.18);box-shadow:inset 3px 0 #e2892f}
.ui-quick-start{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;max-width:1140px;margin:0 auto;padding:22px 24px}
.ui-quick-start strong{display:block;color:#14276b;font-size:1.125rem;letter-spacing:-.02em}
.ui-quick-start p{margin:4px 0 0;color:#52617a;font-size:.9375rem}
.ui-quick-actions{display:flex;gap:10px;flex-wrap:wrap}
.ui-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border:1px solid #14276b;border-radius:10px;color:#14276b;font-weight:700;text-decoration:none;font-size:.9375rem}
.ui-link-button-primary{background:#14276b;color:#fff}
.ui-link-button:hover{background:#eef2fa;color:#14276b}
.ui-link-button-primary:hover{background:#0f1d52;color:#fff}
body .hero-c{height:min(76vh,660px);min-height:520px}
body .hero-c .htitle{font-family:var(--ui-heading);line-height:1.12}
.hero-pause{position:absolute;right:24px;bottom:22px;z-index:5;background:rgba(15,29,82,.9);color:#fff;border:1px solid rgba(255,255,255,.65);border-radius:10px;min-height:44px;padding:9px 14px;font-size:.875rem;font-weight:600;cursor:pointer}
body .dash-lesson{background:#f6f8fc;border:1px solid #c6d1e5;border-left:4px solid #a95312;border-radius:12px;padding:clamp(18px,3vw,24px)}
.ui-next-step{display:flex;align-items:center;gap:10px;color:#52617a;font-size:.875rem;margin:0 0 14px}
.ui-next-step i{color:#a95312}
.ui-progress{width:100%;height:8px;accent-color:#14276b;border:0;border-radius:999px;overflow:hidden;background:#e2e8f0;margin:0 0 22px}
.ui-progress::-webkit-progress-bar{background:#e2e8f0}
.ui-progress::-webkit-progress-value{background:#14276b;border-radius:999px}
.ui-progress::-moz-progress-bar{background:#14276b;border-radius:999px}
html[data-theme=dark] body .dash-card,html[data-theme=dark] body .dash-stat,html[data-theme=dark] body .step-gate,html[data-theme=dark] body .quiz-row,html[data-theme=dark] body .ann-item,html[data-theme=dark] body .cert-row{background:#101a30;border-color:#34425e;color:#e7ebf5}
html[data-theme=dark] body .dash-lesson{background:#15223c;border-color:#52617a;border-left-color:#e7cd7c}
html[data-theme=dark] body .dash-stat-label,html[data-theme=dark] body .stat-label,html[data-theme=dark] body .ui-next-step,html[data-theme=dark] body .ui-quick-start p,html[data-theme=dark] body .dash-card .text-slate-400,html[data-theme=dark] body .dash-card .text-slate-500{color:#b7c4dd}
html[data-theme=dark] body .dash-stat-num,html[data-theme=dark] body .auth-label,html[data-theme=dark] body .dash-eyebrow,html[data-theme=dark] body .ui-quick-start strong{color:#e7cd7c}
html[data-theme=dark] body .auth-input{background:#101a30;color:#e7ebf5;border-color:#637393}
html[data-theme=dark] body .auth-input::placeholder{color:#b7c4dd}
html[data-theme=dark] body .ui-link-button{border-color:#e7cd7c;color:#e7cd7c}
html[data-theme=dark] body .ui-link-button-primary{background:#e7cd7c;color:#101a30}
html[data-theme=dark] body .ui-link-button:hover{background:#233251}
html[data-theme=dark] body .ui-link-button-primary:hover{background:#d6b957;color:#101a30}
@media(max-width:640px){body .dash-card{padding:20px}body .dash-card form.flex>.auth-input{width:100%!important;min-width:0!important}body .dash-card form.flex>button{width:100%}body .hero-c{height:auto;min-height:620px}body .hero-c .hwrap{padding-top:112px;padding-bottom:100px}body .hero-c .htitle{font-size:clamp(1.9rem,8vw,2.7rem)}.ui-quick-start{padding:22px 20px;gap:16px}.ui-quick-actions{width:100%}.ui-quick-actions a{flex:1}.hero-pause{right:16px;bottom:18px}body .dash-stat-grid{gap:12px}body .auth-input[type=file]{font-size:.875rem}body .adm-content{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.card:hover,.stat:hover,.stat-item:hover{transform:none!important}}

body .hof-feature-name,body .hof-card-name,body .disc-title,body .journey-title,body .chap-panel-title,body .subgroup-title,body .chap-tile-title,body .chap-tile-figure,body .phases-title{font-family:var(--ui-heading)}

/* The homepage has late theme styles; keep this action strip readable in both themes. */
html[data-theme=dark] body section:has(>.ui-quick-start){background:#101a30!important;border-color:#34425e!important}
body .hero-card .hsub{font-family:var(--ui-heading);line-height:1.25}

/* Second polish pass: shorter landing page and consistent secondary screens. */
body.ui-home>section.py-20{padding-block:52px}
body.ui-home>section.py-16{padding-block:44px}
body.ui-home #about img[src="img/logo.png"]{width:120px;height:120px;max-width:100%;aspect-ratio:1;object-fit:contain}
body.ui-home #about .space-y-6>div:last-child{padding-top:0}
body.ui-home #about .card{padding:22px}
body.ui-home .ring-wrap{width:112px;height:112px;margin-bottom:12px}
body.ui-home section h2.mb-12{margin-bottom:28px}
body.ui-home #contact .mb-14{margin-bottom:32px}
.ui-home-story{border:1px solid #dce3ee;border-radius:16px;background:#fff}
.ui-home-story>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;padding:22px 24px;color:#14276b;font-size:clamp(1.1rem,2vw,1.4rem);font-weight:700;line-height:1.4}
.ui-home-story>summary::-webkit-details-marker{display:none}.ui-home-story>summary i{font-size:.875rem;flex-shrink:0;transition:transform .2s}
.ui-home-story[open]>summary i{transform:rotate(180deg)}.ui-home-story[open]>summary{border-bottom:1px solid #dce3ee;margin-bottom:20px}
body .ui-home-story p{font-size:1rem;line-height:1.75;text-align:left}
.ui-home-story>div{padding:0 24px 24px}
body .chap-card,body .chap-tile,body .disc,body .phases-item,body .alert-card{border-color:#dce3ee;box-shadow:0 3px 16px rgba(20,39,107,.04)}
body .chap-card:hover,body .person:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,39,107,.09)}
body .chap-h2,body .chapter-div-title,body .numbered-title,body .chapter-div-num,body .chap-eyebrow{font-family:var(--ui-heading)}
body .chap-eyebrow,body .problem-label{color:#a95312;font-size:.8125rem}
body .roadmap-note,body .impact-note{color:#52617a;font-size:.9375rem;line-height:1.7}
body .disc-summary{min-height:64px;padding:18px 20px}
body .chap-lead,body .chap-card p,body .phases-text{line-height:1.75}
body .search-bar{gap:12px;padding:20px;border-radius:16px;border:1px solid #dce3ee;background:#f8fafc}
body .search-bar input,body .search-bar select{min-height:46px;font-size:1rem;border-color:#bac5d5;border-radius:10px;max-width:100%;min-width:0}
body .person{border:1px solid #dce3ee;border-radius:16px;overflow:hidden}
body .person-body{padding:18px}
html[data-theme=dark] body .chap-card,html[data-theme=dark] body .chap-tile,html[data-theme=dark] body .disc,html[data-theme=dark] body .phases-item,html[data-theme=dark] body .alert-card,html[data-theme=dark] body .ui-home-story,html[data-theme=dark] body .search-bar,html[data-theme=dark] body .person{background:#101a30;border-color:#34425e}
html[data-theme=dark] body .ui-home-story>summary,html[data-theme=dark] body .chap-h2,html[data-theme=dark] body .disc-title,html[data-theme=dark] body .chap-tile-title,html[data-theme=dark] body .phases-title,html[data-theme=dark] body .numbered-title{color:#e7cd7c}
html[data-theme=dark] body .chap-lead,html[data-theme=dark] body .chap-card p,html[data-theme=dark] body .chap-tile-text,html[data-theme=dark] body .phases-text,html[data-theme=dark] body .roadmap-note,html[data-theme=dark] body .impact-note{color:#b7c4dd}
html[data-theme=dark] body .search-bar input,html[data-theme=dark] body .search-bar select{background:#101a30;color:#e7ebf5;border-color:#637393}
@media(max-width:640px){body.ui-home>section.py-20{padding-block:36px}body.ui-home>section.py-16{padding-block:32px}body.ui-home #about img[src="img/logo.png"]{width:96px;height:96px}body.ui-home #about .grid{gap:24px}body.ui-home #why{padding-inline:16px}.ui-home-story>summary{padding:18px}.ui-home-story>div{padding:0 18px 20px}body .chap-card,body .phases-item{padding:20px}body .search-bar{padding:16px}body .person-body{padding:14px}body .mentor-grid{grid-template-columns:1fr}body .person img{max-height:280px;object-fit:cover}}

body .chap-card-title{font-family:var(--ui-heading)}
html[data-theme=dark] body .chap-card-title,html[data-theme=dark] body .journey-title,html[data-theme=dark] body .subgroup-title,html[data-theme=dark] body .chap-tile-figure,html[data-theme=dark] body .alert-card-label,html[data-theme=dark] body .alert-card-trigger,html[data-theme=dark] body .defs strong{color:#e7cd7c}
html[data-theme=dark] body .numbered-text,html[data-theme=dark] body .subgroup-text,html[data-theme=dark] body .problem-fix,html[data-theme=dark] body .alert-card-action,html[data-theme=dark] body .defs span{color:#b7c4dd}
/* Refined active navigation and a photo-safe homepage hero. */
body .nav-current{background:transparent;box-shadow:none}
body .nav-links>a.nav-current{position:relative;color:#fff;background:transparent;border-radius:0}
body .nav-links>a.nav-current::after{content:'';position:absolute;left:12px;right:12px;bottom:1px;height:2px;border-radius:2px;background:#e7cd7c}
body .nav-dropdown-menu a.nav-current{background:#f4f6fa;color:#14276b;box-shadow:none;font-weight:700}
body .mobile-menu a.nav-current{background:rgba(255,255,255,.05);box-shadow:none;color:#e7cd7c}
body .mobile-menu a.nav-current::after{content:'';width:6px;height:6px;border-radius:50%;background:#e7cd7c;margin-left:auto;flex-shrink:0}
body.ui-home .hero-c{height:clamp(640px,85vh,780px);min-height:640px;background:#0f1d52}
body.ui-home .hero-c .hslide{top:104px}
body.ui-home .hero-c .hslide-img{object-position:center top}
body.ui-home .hero-c .hwrap{padding-top:24px;padding-bottom:76px}
body.ui-home .hero-card{margin-top:0}
@media(max-width:640px){body.ui-home .hero-c{height:720px;min-height:720px}body.ui-home .hero-c .hslide{top:92px}body.ui-home .hero-c .hwrap{padding-top:24px;padding-bottom:96px}body.ui-home .hero-lockup{margin-bottom:18px}}
/* Restore the original hero composition while retaining the refined navigation. */
body.ui-home .hero-c{height:min(88vh,760px);min-height:540px;background:#0f1d52}
body.ui-home .hero-c .hslide{top:0}
body.ui-home .hero-c .hslide-img{object-position:center}
body.ui-home .hero-c .hwrap{padding:96px clamp(20px,5vw,48px) 68px}
body.ui-home .hero-c .htitle{font-family:'ITC Avant Garde Gothic','Century Gothic','Futura',sans-serif;font-size:clamp(26px,4.6vw,58px);font-weight:800;line-height:1.25;letter-spacing:-.01em}
body.ui-home .hero-card{margin-top:18px}
body.ui-home .hero-card .hsub{font-family:'ITC Avant Garde Gothic','Century Gothic','Futura',sans-serif;line-height:1.25}
body.ui-home .hero-c .hbtn{border-radius:12px;line-height:1}
body.ui-home .hero-c .hbtn-a{background:#e2892f}
body.ui-home .hero-c .hbtn-a:hover{background:#c76a15}
body.ui-home .hero-lockup{margin-bottom:26px}
@media(max-width:640px){body.ui-home .hero-c{height:min(88vh,760px);min-height:600px}body.ui-home .hero-c .hslide{top:0}body.ui-home .hero-c .hwrap{padding:104px 20px 84px}body.ui-home .hero-c .htitle{font-size:clamp(26px,6.8vw,38px);max-width:100%}}