﻿/* Portal feedback and narrow-screen table behavior. */
.toast-stack { position: fixed; top: 1rem; right: 1rem; z-index: 20; display: grid; gap: .5rem; max-width: min(24rem, calc(100vw - 2rem)); }
.toast { padding: .8rem 1rem; border-radius: .5rem; background: #153b2e; color: #fff; box-shadow: 0 8px 24px #0002; }
.toast-error { background: #8b2635; }
.pagination { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.form-help { color: #68738b; font-size: .9rem; }
.portal-table td small, .portal-table td strong { display: block; }
.portal-workspace { max-width: 1120px; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.workspace-heading h1 { margin: .25rem 0 .5rem; }
.workspace-subtitle { max-width: 42rem; color: #68738b; }
.workspace-back { white-space: nowrap; }
.workspace-back-icon { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; padding:0; border:1px solid #e4e8ef; border-radius:10px; background:#fff; color:#5b21b6; font-size:28px; line-height:1; text-decoration:none; }
.workspace-back-icon:hover { background:#f3e8ff; color:#4c1d95; }
.workspace-toolbar { display: flex; align-items: end; gap: .75rem; padding: 1rem; margin-bottom: 1rem; background: #f7f8fb; border: 1px solid #e4e8ef; border-radius: .75rem; }
.workspace-toolbar label { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: #68738b; }
.attendance-card { padding: 1.25rem; }
.portal-page .site-header, .portal-page .site-footer, .portal-page > .site-hero { display: none; }
.standalone-portal-page { max-width: 900px; margin: 0 auto; }
.profile-card { max-width: 760px; padding: clamp(1rem, 4vw, 2rem); }
.profile-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.auth-page-body .site-header { display: none; }
.auth-page-body .profile-avatar { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 0 1rem; border: 3px solid #ede9fe; }
.management-card { padding: clamp(1rem, 3vw, 1.5rem); }
.management-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.management-toolbar h2 { margin: .35rem 0 0; color: #202744; font-size: 1.35rem; }
.management-search { display: flex; flex: 1; gap: .6rem; max-width: 34rem; }.management-search input { flex: 1; min-width: 0; padding: .75rem .9rem; border: 1px solid #dde0ea; border-radius: 10px; font: inherit; }.record-count { color: #7580a0; font-size: .85rem; white-space: nowrap; }
.management-form { margin-bottom: 1rem; padding: 1rem; border: 1px solid #e4e8ef; border-radius: 10px; background: #fbfcfe; }.management-form summary { cursor: pointer; color: #5b21b6; font-weight: 700; }.management-form .auth-form { max-width: 560px; margin-top: 1rem; }.management-form .auth-submit { max-width: 260px; }.management-card .portal-table a:not([class]) { color: #5b21b6; font-weight: 700; text-decoration: none; }.management-card .portal-table button:not([class]) { margin-left: .4rem; padding: .45rem .7rem; background: transparent; color: #8b2635; border: 1px solid #e3b8bf; border-radius: 7px; }.management-card .portal-table button:not([class]):hover { background: #fff0f1; }
.school-home { padding: 2.5rem 0 4rem; }
.school-home-hero { position:relative; overflow:hidden; display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 22px; background: linear-gradient(145deg, #33217e 0%, #6d28d9 52%, #c026d3 100%); color: #fff; box-shadow:0 22px 48px rgba(76,29,149,.2); }
.school-home-hero::after { content:""; position:absolute; right:-95px; bottom:-145px; width:290px; height:290px; border:1px solid rgba(255,255,255,.28); border-radius:50%; box-shadow:0 0 0 34px rgba(255,255,255,.05),0 0 0 68px rgba(255,255,255,.035); }
.school-home-hero>div { position:relative; z-index:1; }
.school-home-hero h1 { margin: .4rem 0 .6rem; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.school-home-hero p:not(.portal-eyebrow) { margin: 0; color: rgba(255,255,255,.82); }
.school-home-hero .portal-eyebrow { color:#ddd6fe; }
.school-home-mark { display: grid; place-items: center; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 18px; background: rgba(255,255,255,.18); font-size: 2rem; font-weight: 800; }
.school-home-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.school-home-panel { margin-bottom: 1.25rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid #e6e3f1; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(30,27,75,.05); }
.school-home-wide { margin-bottom: 0; }
.school-home-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }.school-home-heading h2 { margin: .35rem 0 0; color: #211653; font-size: 1.35rem; }
.school-home-classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; }.school-home-classes article { display: grid; gap: .25rem; padding: 1rem; border: 1px solid #ebe7f5; border-radius: 10px; background: #fcfbff; }.school-home-classes span,.school-home-classes small { color: #68738b; font-size: .8rem; }.school-home-actions { display: grid; gap: .65rem; }.school-home-actions a { display: flex; justify-content: space-between; padding: .9rem 1rem; border-radius: 9px; background: #f5f3ff; color: #5b21b6; font-weight: 700; text-decoration: none; }.school-home-actions a:hover { background:#ede9fe; }.school-home-notices { display: grid; gap: .75rem; }.school-home-notices article { padding: .9rem 1rem; border-left: 3px solid #7e22ce; background: #faf8ff; }.school-home-notices p { margin: .25rem 0 0; color: #68738b; }.school-home-notices small { display: block; margin: .25rem 0 0; color: #8a93a8; font-size: .75rem; }
@media (max-width: 720px) { .school-home-grid { grid-template-columns: 1fr; }.school-home-wide { margin-bottom: 0; }.school-home-hero { align-items: flex-start; }.school-home-mark { flex-basis: 56px; width: 56px; height: 56px; } }
/* ---- School home: polished post-login overview (before the dashboard) ---- */
.school-home-hero-copy { position: relative; z-index: 1; }
.school-home-hero .school-home-mark img { width: 76px; height: 76px; border-radius: 18px; object-fit: contain; }
.school-home-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.school-home-hero-cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .65rem 1.15rem; border-radius: 11px; background: #fff; color: #4c1d95; font-weight: 800; font-size: .9rem; text-decoration: none; box-shadow: 0 8px 18px rgba(0,0,0,.16); transition: transform .15s ease; }
.school-home-hero-cta:hover { transform: translateY(-2px); }
.school-home-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin-bottom: 1.75rem; }
.school-home-stat { display: grid; gap: .1rem; padding: 1rem 1.1rem; border: 1px solid #e6e3f1; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(30,27,75,.05); color: #211653; text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.school-home-stat:hover { transform: translateY(-2px); border-color: #c7b4f5; }
.school-home-stat strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.school-home-stat span { color: #68738b; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.school-home-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: .8rem; }
.school-home-actions-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: .95rem 1rem; border: 1px solid #e6e3f1; border-radius: 12px; background: #f6f4ff; color: #3d2b6b; text-decoration: none; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.school-home-actions-grid a:hover { transform: translateY(-2px); border-color: #c7b4f5; background: #ece7fb; }
.school-home-actions-grid b { font-size: .95rem; font-weight: 700; }
.school-home-actions-grid span { color: #68738b; font-size: .72rem; }
.school-home-more { font-size: .75rem; font-weight: 700; color: #5b21b6; text-decoration: none; white-space: nowrap; }
.school-home-more:hover { color: #4c1d95; }
.school-holiday { display: grid; gap: .25rem; padding: .8rem 1rem; border-left: 3px solid #f06b5b; background: #fff8f6; }
.school-holiday p { margin: .15rem 0 0; color: #68738b; font-size: .78rem; }
.school-home-albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.school-home-album { display: flex; flex-direction: column; gap: .5rem; padding: .4rem; border: 1px solid #e6e3f1; border-radius: 12px; background: #fff; overflow: hidden; color: #211653; text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.school-home-album:hover { transform: translateY(-2px); border-color: #c7b4f5; }
.school-home-album img { width: 100%; height: 120px; object-fit: cover; border-radius: 9px; }
.school-home-album span { display: grid; place-items: center; height: 120px; border-radius: 9px; background: #f2eefe; color: #7e22ce; font-size: .8rem; font-weight: 700; }
.school-home-album b { font-size: .8rem; }
@media (max-width: 720px) { .school-home-stats { grid-template-columns: repeat(2, 1fr); }.school-home-actions-grid { grid-template-columns: 1fr; }.school-home-albums { grid-template-columns: repeat(2, 1fr); } }
.portal-form p { display: grid; gap: .4rem; margin: 0 0 1rem; }
.portal-form input, .portal-form textarea, .portal-form select { width: 100%; box-sizing: border-box; padding: .75rem; border: 1px solid #d9deea; border-radius: .5rem; background: #fff; }
/* Style form.as_p output in auth-form */
.auth-form p { display: grid; gap: .4rem; margin: 0 0 1rem; }
.auth-form p label { font-size: 12px; font-weight: 700; color: #39415a; }
.auth-form p input, .auth-form p select, .auth-form p textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 13px; border: 1px solid #dde0ea; border-radius: 10px; background: #fff; color: #1f2937; font: inherit; font-size: 14px; outline: none; }
.auth-form p input:focus, .auth-form p select:focus, .auth-form p textarea:focus { border-color: #6d28d9; box-shadow: 0 0 0 4px rgba(109,40,217,.12); }
.auth-form .helptext, .auth-form .help { font-size: 11px; color: #6b7280; margin-top: 4px; }
.auth-form ul.errorlist { list-style: none; padding: 0; margin: 4px 0; }
.auth-form ul.errorlist li { color: #d95656; font-size: 11px; font-weight: 600; }
@media (max-width: 700px) { .workspace-heading, .workspace-toolbar { align-items: stretch; flex-direction: column; gap: .75rem; } .workspace-back { align-self: flex-start; } }
@media (max-width: 700px) { .portal-table-wrap { overflow-x: auto; } .portal-table { min-width: 640px; } .dashboard form { max-width: 100%; } .toast-stack { left: 1rem; right: 1rem; } }
:root{--school-ink:#202744;--school-coral:#ef6a59;--school-blue:#343b70}
.schools-showcase{margin-top:30px;padding:34px 0 54px}.schools-showcase-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:18px}.schools-showcase-heading h2{margin:6px 0;color:var(--school-ink);font-size:28px}.schools-showcase-heading p:last-child{max-width:620px;margin:0;color:#7d879d;font-size:13px}.schools-count{padding:8px 11px;border:1px solid #e1e5ef;border-radius:999px;color:#69758d;font-size:11px;font-weight:700;white-space:nowrap}.schools-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.school-showcase-card{display:grid;grid-template-columns:64px 1fr 22px;align-items:center;gap:14px;padding:16px;border:1px solid #e3e7f0;border-radius:11px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 20px rgba(34,43,76,.04);transition:transform .2s,border-color .2s}.school-showcase-card:hover{transform:translateY(-2px);border-color:#f0b3aa}.school-showcase-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:10px;background:#fff1ee;color:var(--school-coral);font-size:27px;font-weight:800;overflow:hidden}.school-showcase-logo img{width:100%;height:100%;object-fit:contain}.school-showcase-info h3{margin:0;color:var(--school-ink);font-size:15px}.school-showcase-info p{margin:5px 0;color:#8992a8;font-size:11px;line-height:1.45}.school-showcase-info div{display:flex;gap:12px;color:#5f6b86;font-size:10px;font-weight:700}.school-showcase-arrow{color:var(--school-coral);font-size:22px}.school-detail-hero{position:relative;color:#fff;background:var(--school-blue);overflow:hidden}.school-detail-cover{height:300px;background-position:center;background-size:cover;opacity:.8}.school-detail-cover-empty{background:linear-gradient(120deg,#23284d,#ef6a59)}.school-detail-identity{display:flex;align-items:center;gap:20px;margin-top:-72px;position:relative;padding-bottom:30px}.school-detail-logo{display:grid;place-items:center;width:116px;height:116px;border:6px solid #fff;border-radius:18px;background:#fff1ee;color:var(--school-coral);font-size:46px;font-weight:800;overflow:hidden;box-shadow:0 12px 28px rgba(15,20,48,.2)}.school-detail-logo img{width:100%;height:100%;object-fit:contain}.school-detail-identity h1{margin:6px 0 5px;color:#fff;font-size:34px}.school-detail-identity p:last-child{margin:0;color:#d9dced;font-size:13px}.school-detail-content{padding-top:30px;padding-bottom:60px}.school-detail-contact{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.school-detail-contact span{padding:7px 10px;border-radius:6px;background:#eef1f8;color:#64708a;font-size:11px;font-weight:700}.school-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.public-detail-list{display:grid;gap:0;margin:18px 0 0;padding:0;list-style:none}.public-detail-list li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #eef0f5;color:#53607b;font-size:12px}.public-detail-list span{color:#929bb0;font-size:10px;text-align:right}@media(max-width:720px){.schools-showcase-heading{display:block}.schools-count{display:inline-block;margin-top:14px}.schools-showcase-grid,.school-detail-grid{grid-template-columns:1fr}.school-detail-cover{height:210px}.school-detail-identity{align-items:flex-start;margin-top:-48px}.school-detail-logo{width:84px;height:84px;font-size:34px;border-width:4px}.school-detail-identity h1{font-size:25px}}@media(max-width:440px){.schools-showcase{padding-top:20px}.schools-showcase-heading h2{font-size:23px}.school-showcase-card{grid-template-columns:52px 1fr 18px;padding:12px}.school-showcase-logo{width:52px;height:52px}.school-showcase-info div{display:block}.school-showcase-info div span{display:block;margin-top:3px}.school-detail-identity{gap:12px}.school-detail-identity h1{font-size:21px}}
/* Portal school identity */
.portal-school-identity{display:flex;align-items:center;gap:10px;margin:0 10px 23px}.portal-school-identity img,.portal-school-identity>span{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#fff1ee;color:#ef6a59;object-fit:contain;font-size:18px;font-weight:800}.portal-school-identity .portal-school-name{margin:4px 0 0}

/* Portal app shell */
.portal-page{background:#f5f7fb}.portal-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 74px)}.portal-sidebar{display:flex;flex-direction:column;padding:28px 18px;background:#171b35;color:#fff}.portal-brand{display:flex;align-items:center;gap:10px;margin:0 10px 42px;font-size:13px;font-weight:800;letter-spacing:.13em}.portal-brand small{display:block;margin-top:3px;color:#a9b2d1;font-size:9px}.portal-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f06b5b}.portal-kicker,.portal-eyebrow{margin:0;color:#7580a0;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.portal-sidebar .portal-kicker{margin:0 10px 8px}.portal-school-name{margin:0 10px 23px;font-size:17px}.portal-nav{display:grid;gap:4px}.portal-nav a{display:block;padding:11px 12px;border-radius:8px;color:#b9c1dc;text-decoration:none;font-size:13px;font-weight:600}.portal-nav a:hover,.portal-nav a.active{background:#292f56;color:#fff}.portal-sidebar-bottom{display:flex;justify-content:space-between;margin-top:auto;border-top:1px solid #2b3151;padding:18px 10px 0}.portal-sidebar-bottom a{color:#b9c1dc;text-decoration:none;font-size:11px}.portal-sidebar-bottom span{color:#697396;font-size:10px}.portal-main{min-width:0;padding:34px clamp(18px,4vw,56px) 60px}.portal-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.portal-topbar h1{margin:5px 0 0;color:#1d2445;font-size:28px}.portal-user-chip{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f06b5b;color:#fff;font-weight:800}.portal-hero{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;padding:30px 34px;border-radius:14px;background:linear-gradient(125deg,#23284d,#343b70);color:#fff}.portal-hero h2{margin:7px 0 5px;color:#fff;font-size:25px}.portal-hero p:not(.portal-eyebrow){margin:0;color:#c6cbe0;font-size:13px}.portal-hero-meta{padding-left:25px;border-left:1px solid #626a96;text-align:right}.portal-hero-meta span,.portal-hero-meta strong{display:block}.portal-hero-meta span{color:#aab2d0;font-size:10px;text-transform:uppercase}.portal-hero-meta strong{margin-top:7px;font-size:17px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:22px}.metric-grid article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e4e7f0;border-radius:11px;background:#fff}.metric-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;font-size:12px;font-weight:800}.metric-blue{background:#e5f0ff;color:#3478cd}.metric-coral{background:#ffebe7;color:#d85d4c}.metric-green{background:#e5f7ee;color:#2c9a68}.metric-gold{background:#fff4d8;color:#b77c10}.metric-grid strong,.metric-grid small{display:block}.metric-grid strong{color:#202744;font-size:22px}.metric-grid small{margin-top:3px;color:#7e879f;font-size:11px}.portal-grid-two{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:18px;margin-bottom:18px}.portal-card{min-width:0;margin-bottom:18px;padding:23px;border:1px solid #e4e7f0;border-radius:11px;background:#fff;box-shadow:0 6px 18px rgba(34,43,76,.03)}.portal-grid-two .portal-card{margin-bottom:0}.card-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:20px}.card-heading h2{margin:4px 0 0;color:#202744;font-size:17px}.card-heading a{color:#ef6a59;font-size:11px;font-weight:800;text-decoration:none}.bar-row{margin-bottom:17px}.bar-label{display:flex;justify-content:space-between;color:#3b4561;font-size:12px}.bar-label b{color:#8690a7;font-size:10px}.bar-track{height:7px;margin:8px 0 5px;border-radius:10px;background:#edf0f7}.bar-track i{display:block;height:100%;border-radius:10px;background:#ef6a59}.bar-row small{color:#8992a9;font-size:10px}.action-list{display:grid;gap:8px}.action-list a{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #edf0f5;border-radius:8px;color:#45506e;text-decoration:none;font-size:12px;font-weight:700}.action-list a span{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#ffebe7;color:#e26051;font-size:16px}.portal-table-wrap{overflow-x:auto}.portal-table{width:100%;min-width:620px;border-collapse:collapse;text-align:left}.portal-table th{padding:0 12px 11px;color:#8b94aa;font-size:10px;text-transform:uppercase}.portal-table td{padding:13px 12px;border-top:1px solid #eef0f5;color:#5b6580;font-size:12px;vertical-align:top}.portal-table td strong,.portal-table td small{display:block}.portal-table td strong{color:#303952}.portal-table td small{margin-top:4px;color:#99a1b5;font-size:10px}.table-tag{display:inline-block;margin:0 4px 4px 0;padding:4px 6px;border-radius:5px;background:#f1f3fa;color:#66718c;font-size:10px}.notice-list,.assignment-list,.attendance-list{display:grid;gap:9px}.notice-row,.assignment-list>div,.attendance-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #eef0f5}
/* Portal resource buttons (used across portal cards, e.g. transport admin forms) */
.portal-page .resource-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 12px;border:none;border-radius:8px;background:#5b21b6;color:#fff;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer;transition:background .15s}
.portal-page .resource-btn:hover{background:#4c1d95}
.portal-page .resource-btn.ghost{background:#fff;color:#5b21b6;border:1px solid #e1ddea}
.portal-page .resource-btn.ghost:hover{background:#f5f3ff}
/* Status pill: base chip shared by every table (students Active/Inactive, classes,
   sections...). Page-local definitions (e.g. section_attendance.html) still win
   because they load later; this only fills the previously-missing default. */
.status-pill{display:inline-block;padding:4px 11px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;line-height:1.4}
.status-approved{background:#e5f7ee;color:#229565}
.status-rejected{background:#fff0ef;color:#d95656}
.status-pending{background:#fff4d8;color:#b77c10}
.status-active{background:#e5f7ee;color:#229565}
.status-info{background:#eef1fb;color:#66718c}
/* Compact pencil-icon action replacing wide "Edit" text buttons in table rows.
   Works with any base button class (row-btn, btn-edit, resource-btn...). */
a.edit-icon,button.edit-icon{display:inline-flex;align-items:center;justify-content:center;
  min-height:26px;min-width:26px;padding:3px 7px;cursor:pointer}
a.edit-icon svg,button.edit-icon svg{width:13px;height:13px;flex:none}
/* Inline admin forms inside portal cards (labels above inputs/selects) */
.portal-card form label{display:inline-block;font-size:11px;font-weight:700;color:#5b5772;text-transform:uppercase;letter-spacing:.04em}
.portal-card form input[type=text],.portal-card form select{display:block;min-width:170px;padding:8px 10px;font-size:13px;color:#3b4561;background:#fff;border:1px solid #d9d6e6;border-radius:9px}
.portal-card form input[type=text]:focus,.portal-card form select:focus{outline:none;border-color:#a78bfa;box-shadow:0 0 0 3px rgba(124,58,237,.12)}.notice-row strong,.assignment-list strong,.attendance-list strong{display:block;color:#3b4561;font-size:12px}.notice-row span,.assignment-list span,.attendance-list span{display:block;margin-top:4px;color:#8a93a8;font-size:10px}.status-present,.status-approved{color:#229565}.status-absent,.status-rejected{color:#d95656}.status-pending{color:#c28a19}.mini-button,.primary-button{border:0;border-radius:6px;background:#eaf7f0;color:#218a5e;padding:7px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.mini-button.danger{background:#fff0ef;color:#d4574c}.portal-inline-form{display:grid;grid-template-columns:1fr 1fr 110px auto;gap:9px}.portal-inline-form select,.portal-inline-form input{min-height:42px;box-sizing:border-box;width:100%;padding:9px;border:1px solid #e1e5ee;border-radius:7px;background:#fff;color:#4d5772}.primary-button{background:#ef6a59;color:#fff}.empty-state{color:#9199ad;font-size:12px}@media(max-width:900px){.portal-shell{grid-template-columns:1fr}.portal-sidebar{padding:16px 18px}.portal-brand{margin-bottom:18px}.portal-sidebar .portal-kicker,.portal-school-name{display:none}.portal-nav{display:flex;overflow-x:auto}.portal-nav a{white-space:nowrap}.portal-sidebar-bottom{display:none}.portal-main{padding-top:25px}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.portal-main{padding:22px 14px 40px}.portal-topbar h1{font-size:23px}.portal-hero{display:block;padding:24px}.portal-hero-meta{margin-top:18px;padding:13px 0 0;border-top:1px solid #626a96;border-left:0;text-align:left}.portal-grid-two{grid-template-columns:1fr}.portal-card{padding:18px}.portal-inline-form{grid-template-columns:1fr}.metric-grid{gap:9px}.metric-grid article{padding:14px 12px}.metric-grid strong{font-size:19px}.portal-table{min-width:560px}}
:root{
  --brand-primary:#7C3AED; /* vibrant purple */
  --brand-accent:#FF3B6B;  /* vivid pink/red */
  --brand-2:#8B5CF6;
  --radius:16px;
}

body{font-family:Poppins,system-ui,Arial;margin:0;background:linear-gradient(180deg,#FFF8F5 0%,#FFFBFF 50%);color:#10243a}
.container{max-width:1100px;margin:0 auto;padding:22px}
.site-header{background:linear-gradient(90deg,var(--brand-2),var(--brand-accent));padding:0;border-bottom:4px solid rgba(0,0,0,0.08);min-height:68px}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px;padding-top:0;padding-bottom:0;max-width:1500px}
.logo{flex:0 0 auto;font-weight:800;color:#fff;display:flex;align-items:center;gap:10px}
.site-logo{height:44px;display:block;vertical-align:middle}
.site-header .logo a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;width:max-content;height:68px;gap:12px;color:#fff;text-decoration:none;white-space:nowrap}.site-logo{flex:0 0 auto;transform:translateY(-2px)}.site-title{display:block;flex:0 0 auto;font-size:18px;line-height:1;color:#fff;font-weight:800;letter-spacing:.16em;white-space:nowrap}.site-title span{font-weight:400;opacity:.78}

/* Responsive logo sizes */
@media (max-width: 900px) {
  .site-logo{height:40px}
  .site-header{min-height:60px;height:auto}
  .site-header .container{min-height:60px}.site-header .logo a{height:60px}
}
@media (max-width: 600px) {
  .site-logo{height:34px}
  .site-header{min-height:56px;height:auto}
  .site-header .container{min-height:56px}.site-header .logo a{height:56px}
  .site-title{font-size:14px;letter-spacing:.12em}
  .nav a{padding:6px 8px}
}
@media (max-width: 420px) {
  .site-logo{height:30px}
  .site-header{min-height:52px;height:auto}
  .site-header .container{min-height:52px}.site-header .logo a{height:52px}
  .site-title{font-size:11px;letter-spacing:.08em}
}
.nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;white-space:nowrap;min-width:0}.nav a{margin-left:5px;color:rgba(255,255,255,0.95);text-decoration:none;padding:8px 9px;border-radius:14px;font-weight:800;font-size:14px}.nav-user{white-space:nowrap}
.nav a:hover{background:rgba(255,255,255,0.14)}
.hero{display:flex;gap:20px;align-items:center;padding:30px 0}
.hero img{width:260px}
.cta{background:linear-gradient(90deg,var(--brand-primary),var(--brand-accent));color:#fff;padding:12px 20px;border-radius:18px;text-decoration:none;font-weight:800;box-shadow:0 12px 28px rgba(124,58,237,0.14);display:inline-block;min-width:110px;text-align:center}
.cta:hover{transform:translateY(-3px)}

/* Buttons and controls */
.nav-logout{background:transparent;border:none;color:inherit;font-weight:800;cursor:pointer;padding:8px 12px;border-radius:12px}
.nav-notification-bell{position:relative;display:flex;align-items:center;justify-content:center;margin-left:5px;padding:8px;border-radius:14px;color:rgba(255,255,255,0.95);text-decoration:none;transition:background 0.2s}
.nav-notification-bell:hover{background:rgba(255,255,255,0.14)}
.nav-bell-icon{position:relative;display:inline-flex;align-items:center;justify-content:center}
.nav-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;font-size:10px;font-weight:700;border-radius:9px;padding:0 4px;border:2px solid #33217e}
#fullscreen-btn{background:linear-gradient(90deg,var(--brand-primary),var(--brand-accent));color:#fff;padding:8px 12px;border-radius:12px;border:none;font-weight:800;cursor:pointer}
#fullscreen-btn:hover{transform:translateY(-2px)}
/* align fullscreen control to the right of the controls container */
#fullscreen-btn{margin-left:auto}
.cards{display:flex;gap:12px;flex-wrap:nowrap;overflow-x:auto;padding:8px 0}
.cards::-webkit-scrollbar{height:8px}
.cards::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.08);border-radius:8px}
.card{background:linear-gradient(180deg,#FFF6FB,#FFF1F6);padding:16px;border-radius:12px;box-shadow:0 8px 24px rgba(12, 55, 100, 0.04);text-align:center;flex:0 0 180px}
.card-icon{width:56px;height:56px;margin:0 auto 8px;display:block}
.card small{display:block;margin-top:6px;color:#6b7280}
.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.book-card{background:linear-gradient(180deg,#FFF6FB,#FFF1F6);border-radius:16px;padding:12px;box-shadow:0 8px 20px rgba(0,0,0,0.04);} 
.book-card img{width:100%;height:160px;object-fit:cover;border-radius:12px}
.book-card h3{margin:8px 0 4px}
.book-detail{display:flex;gap:20px}
.book-detail .cover img{width:260px;border-radius:12px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;margin-top:6px;margin-bottom:10px;border-radius:10px;border:1px solid #eef2ff}

/* Reader styles */
.book-reader{background:linear-gradient(180deg,#FFF9FB,#FFF3F8);padding:20px;border-radius:12px}
#pdf-controls button{background:var(--brand-accent);border:none;padding:8px 12px;border-radius:8px;font-weight:700;cursor:pointer}
#pdf-controls button:hover{transform:translateY(-2px)}
#pdf-controls select{padding:6px;border-radius:8px}
#pdf-canvas{display:block;margin:0 auto;max-width:100%;border-radius:10px;box-shadow:0 8px 24px rgba(2,6,23,0.06)}

/* Page-turn animation styles */
.page-container{perspective:1400px;margin-top:8px}
.page{transform-origin:left center;backface-visibility:hidden;transition:transform 600ms cubic-bezier(.2,.8,.2,1),opacity 300ms}
.page.turn-next{animation:turnNext 600ms forwards}
.page.turn-prev{animation:turnPrev 600ms forwards}

@keyframes turnNext{
  0% { transform: rotateY(0deg) scale(1); opacity:1 }
  40% { transform: rotateY(-60deg) scale(.98); opacity:1 }
  100% { transform: rotateY(-100deg) translateX(30%) scale(.96); opacity:0 }
}
@keyframes turnPrev{
  0% { transform: rotateY(0deg) scale(1); opacity:1 }
  40% { transform: rotateY(60deg) scale(.98); opacity:1 }
  100% { transform: rotateY(100deg) translateX(-30%) scale(.96); opacity:0 }
}

/* Two-page spread layout for wider screens */
@media(min-width:900px){
  .spread{display:flex;gap:12px}
  .spread .page{width:50%}
}

/* Kid-friendly touches */
.badge{background:var(--brand-accent);color:#fff;padding:6px 10px;border-radius:999px;font-weight:700}
.badge-small{padding:4px 8px;font-size:12px;font-weight:700}
.large-cta{font-size:18px;padding:12px 18px}

/* Featured books section */
.featured-books{padding:28px 0}
.featured-books .section-title{font-size:20px;margin:0 0 12px;color:#10243a}
.featured-books .books-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px}
.featured-books .book-card{display:block;text-decoration:none;color:inherit;padding:8px;border-radius:12px;background:linear-gradient(180deg,#FFF,#FFF8F8);box-shadow:0 6px 20px rgba(2,6,23,0.04);}
.featured-books .book-cover{width:100%;height:160px;object-fit:cover;border-radius:10px}
.featured-books .book-info{padding:8px 4px}
.featured-books .book-title{display:block;font-weight:700}
.featured-books .book-age{display:block;color:#6b7280;font-size:13px;margin-top:6px}

/* News section */
.news-section{padding:22px 0;border-top:1px dashed rgba(16,36,58,0.06);margin-top:8px}
.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.news-card{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;padding:12px;border-radius:10px;background:linear-gradient(180deg,#ffffff,#fff9fb);box-shadow:0 6px 18px rgba(2,6,23,0.04)}
.news-thumb{width:110px;height:70px;object-fit:cover;border-radius:8px;flex:0 0 110px}
.news-title{display:block;font-weight:700}
.news-meta{margin-top:6px;font-size:13px}

/* Partner schools */
.partners-section{margin-top:28px;padding:24px 22px 18px;border-radius:18px;background:linear-gradient(135deg,#faf7ff 0%,#f5efff 100%);border:1px solid rgba(124,58,237,.07)}
.partners-heading-row{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}
.partners-heading{display:flex;align-items:flex-start;gap:14px}.partners-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;font-size:23px;box-shadow:0 8px 16px rgba(124,58,237,.18)}
.partners-heading h2{margin:0;color:#1e1b4b;font-size:21px}.partners-heading p{max-width:650px;margin:7px 0 0;color:#69738b;font-size:13px;line-height:1.55}
.partners-action{flex:0 0 auto;padding:9px 14px;border:1px solid #a78bfa;border-radius:999px;color:#6d28d9;text-decoration:none;font-size:12px;font-weight:700;background:rgba(255,255,255,.55)}.partners-action span{margin-left:7px;font-size:16px}
.partners-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px}.partner-card{min-width:0;padding:13px 9px 10px;border:1px solid #eee9f9;border-radius:12px;background:rgba(255,255,255,.92);text-align:center;box-shadow:0 5px 14px rgba(49,31,104,.04)}.partner-logo-wrap{display:grid;place-items:center;height:58px;margin-bottom:8px}.partner-logo{display:block;max-width:78px;max-height:56px;width:auto;height:auto;object-fit:contain}.partner-logo-fallback{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#ede9fe;color:#6d28d9;font-size:24px;font-weight:800}.partner-card h3{margin:0;color:#20253d;font-size:12px;line-height:1.35}.partner-card p{margin:7px 0 0;color:#768097;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.partner-card p span{color:#64748b}.partners-note{margin:15px 0 0;text-align:center;color:#737c92;font-size:12px}.partners-note span{margin-right:5px;color:#7c3aed;font-size:16px}
@media(max-width:650px){.partners-heading-row{align-items:flex-start;flex-direction:column}.partners-action{align-self:flex-end}.partners-section{padding:20px 13px 16px}.partners-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Featured videos */
.featured-videos{padding:20px 0}
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.video-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#fff,#fff8f8);box-shadow:0 8px 24px rgba(2,6,23,0.04);padding:0}
.video-thumb{width:100%;height:140px;object-fit:cover;display:block}
.video-info{padding:10px}
.video-title{display:block;font-weight:700}
.video-meta{margin-top:6px;font-size:13px;color:#6b7280}

/* Video list page layout */
.video-list{display:flex;flex-direction:column;gap:14px}
.video-list .book-card{display:flex;gap:14px;align-items:flex-start;padding:12px}
.video-list .video-thumb-wrap img{width:220px;height:140px;object-fit:cover;border-radius:10px;flex:0 0 220px}
.video-list .video-body{flex:1}
.video-list .video-body p{margin:6px 0}

/* Video detail/player styling */
#video-embed-container{position:relative;padding-top:56.25%;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(2,6,23,0.12)}
#yt-embed{position:absolute;top:0;left:0;width:100%;height:100%;border:0;border-radius:8px;display:block}
.video-fallback{margin-top:12px;text-align:center}
.video-fallback img{max-width:320px;border-radius:10px;display:block;margin:0 auto 8px}
.video-fallback .open-btn{display:inline-block;background:linear-gradient(90deg,var(--brand-primary),var(--brand-accent));color:#fff;padding:10px 14px;border-radius:14px;text-decoration:none;font-weight:800}

.video-error{margin-top:8px;color:#b91c1c;font-weight:700}

/* Play overlay for thumbnails */
.thumb-overlay{position:relative}
.thumb-overlay::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:0;height:0;border-left:24px solid rgba(255,255,255,0.94);border-top:14px solid transparent;border-bottom:14px solid transparent;text-shadow:0 6px 18px rgba(0,0,0,0.4)}
.thumb-overlay img{max-width:320px;border-radius:10px;display:block;margin:0 auto}
.thumb-overlay{cursor:pointer}

/* Animated replacement for AJAX-updated grids */
#worksheets-container{transition:opacity .22s ease, transform .22s ease}

/* Site hero banner */
.site-hero{width:100%;aspect-ratio:8/3;background-size:contain;background-position:center center;background-repeat:no-repeat;background-color:#1e1b4b;position:relative;overflow:hidden}
.site-hero .hero-content{position:relative;z-index:2;padding:40px;color:white}
.site-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.35) 100%);}
.hero-title{font-size:32px;margin:0 0 6px}
.hero-sub{font-size:16px;margin:0 0 12px;opacity:0.95}
.site-hero .cta{box-shadow:0 10px 30px rgba(255,59,107,0.18)}

/* Hero slider styles */
.hero-slider{position:relative;width:100%;aspect-ratio:8/3;background:linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4c1d95 100%);overflow:hidden;touch-action: pan-y;overscroll-behavior: contain;}
.hero-slider .hero-slides{position:absolute;inset:0;z-index:0;display:flex;transition:transform .8s cubic-bezier(.2,.9,.2,1)}
.hero-slider .hero-slide{position:relative;flex:0 0 100%;height:100%;background-size:contain;background-position:center center;background-repeat:no-repeat;transform-origin:center center;transition:transform .8s ease,opacity .6s ease}
.hero-slider .hero-slide.active{transform:scale(1.03);opacity:1}
.hero-slider .hero-content{position:relative;z-index:3}
.hero-controls{position:absolute;right:20px;bottom:18px;z-index:4;display:flex;align-items:center;gap:8px}
.hero-prev,.hero-next{background:rgba(0,0,0,0.32);color:#fff;border:none;padding:8px 12px;border-radius:8px;font-size:18px;cursor:pointer}
.hero-thumbs{display:flex;gap:8px;align-items:center}
.hero-thumb{width:64px;height:40px;border-radius:6px;background-size:contain;background-position:center center;background-repeat:no-repeat;border:2px solid transparent;cursor:pointer;flex:0 0 auto;background-color:#1e1b4b}
.hero-thumb.active{border-color:rgba(255,255,255,0.95);box-shadow:0 6px 18px rgba(2,6,23,0.12)}

/* Mobile / Responsive nav and hero tweaks */
.nav{display:flex;align-items:center}
.nav-toggle{
  display:none;
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.25);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  padding:8px 12px;
  border-radius:8px;
  line-height:1;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  -webkit-tap-highlight-color:transparent;
  z-index:1000;
}
.nav-toggle-icon{
  display:block;
  line-height:1;
}

@media (max-width:900px){
  .site-hero .hero-content{padding:28px}
  .hero-slider,.site-hero{aspect-ratio:16/9}
  .hero-controls{bottom:12px;right:12px}
}
@media (max-width:600px){
  .site-hero .hero-content{padding:18px}
  .hero-title{font-size:24px}
  .hero-sub{font-size:14px}
  .hero-slider,.site-hero{aspect-ratio:4/3}
  .hero-thumb{width:48px;height:30px}
  .container{padding:12px}
}

/* Stack video grids to a single column on small screens for better readability */
@media (max-width:800px){
  .video-grid{grid-template-columns:1fr}
  .news-grid{grid-template-columns:1fr}
}

@media (max-width:420px){
  .nav-toggle{display:inline-block}
  .nav{position:fixed;right:0;top:52px;background:linear-gradient(90deg,var(--brand-2),var(--brand-accent));width:72%;max-width:320px;height:100%;transform:translateX(100%);transition:transform .25s ease;flex-direction:column;padding:20px;gap:12px;z-index:999}
  .nav a{display:block;color:#fff;padding:10px 8px;border-radius:8px}
  .nav.open{transform:translateX(0)}
  .site-hero{height:180px}
}

.nav-form{display:inline;margin-left:10px}

@media (max-width: 1024px){
  .container{max-width:960px;padding-left:20px;padding-right:20px}
  .nav a{font-size:13px;padding:8px 7px}
  .book-detail{align-items:flex-start}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width: 900px){
  .site-header .container{gap:12px}
  .nav-toggle{display:inline-block}
  .nav{position:fixed;right:0;top:60px;width:min(82vw,340px);height:calc(100dvh - 60px);overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:20px;gap:6px;background:#33217e;z-index:999}
  .nav.open{transform:translateX(0)}
  .nav a,.nav-user,.nav-form,.nav-notification-bell{margin:0;padding:12px 10px;min-height:44px;box-sizing:border-box}
  .nav-user{display:block;color:#fff}
  .nav-form{display:block}
  .nav-logout{width:100%;text-align:left;padding:12px 10px}
  .book-detail{display:grid;grid-template-columns:minmax(180px,280px) 1fr}
  .about-hero-pro{grid-template-columns:1fr;gap:30px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 720px){
  .container{padding-left:16px;padding-right:16px}
  .hero{display:block;padding:20px 0}
  .hero img{width:min(100%,260px);margin-top:18px}
  .book-detail{display:block}
  .book-detail .cover img{width:min(100%,300px);display:block;margin:0 auto 18px}
  .video-list .book-card{display:block}
  .video-list .video-thumb-wrap img{width:100%;height:auto;max-height:240px;object-fit:cover}
  .contact-fields,.account-type-options{grid-template-columns:1fr}
  .dashboard{padding:32px 0 42px}
  .dashboard-welcome{display:block;padding:28px 24px;border-radius:18px}
  .dashboard-welcome-side{justify-items:start;margin-top:22px}
  .dashboard-stats{grid-template-columns:1fr}
  .about-value-grid{grid-template-columns:1fr}
  .marketplace-heading{display:block}
  .marketplace-filters{grid-template-columns:1fr}
  .book-reader{padding:12px}
  #pdf-controls{flex-wrap:wrap}
  #fullscreen-btn{margin-left:0}
  .school-portal-table,.dashboard table{display:block;overflow-x:auto;white-space:nowrap;max-width:100%}
  .dashboard form{max-width:100%}
  .dashboard input,.dashboard select,.dashboard textarea,.dashboard button{max-width:100%;box-sizing:border-box;min-height:44px}
}

@media (max-width: 480px){
  .site-header .container{min-height:56px}
  .site-header .logo a{height:56px}
  .nav{top:56px;height:calc(100dvh - 56px);width:88vw}
  .site-title{font-size:13px;letter-spacing:.1em}
  .site-logo{height:32px}
  .book-grid,.featured-books .books-grid,.product-grid{grid-template-columns:1fr}
  .book-card img,.featured-books .book-cover{height:auto;aspect-ratio:4/3}
  .auth-content,.contact-content{padding:24px 18px}
  .auth-intro,.contact-intro{padding:24px 18px}
  .auth-form{gap:12px}
  .large-cta,.cta{width:100%;box-sizing:border-box}
  .site-hero{border-radius:0}
}

/* Contact page */
.contact-page-body{background:#f7f7fc}.contact-page-body .site-hero{display:none}.contact-page{padding:64px 0 72px;background:radial-gradient(circle at 8% 16%,rgba(255,59,107,.1),transparent 25rem),radial-gradient(circle at 93% 75%,rgba(124,58,237,.11),transparent 28rem)}
.contact-card{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(390px,1.1fr);width:min(100%,980px);margin:0 auto;overflow:hidden;background:#fff;border:1px solid rgba(67,56,202,.12);border-radius:26px;box-shadow:0 28px 70px rgba(43,31,96,.16)}
.contact-intro{position:relative;overflow:hidden;padding:52px 46px;background:linear-gradient(145deg,#33217e 0%,#6d28d9 52%,#c026d3 100%);color:#fff}.contact-intro::before,.contact-intro::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}.contact-intro::before{width:280px;height:280px;right:-145px;top:-110px}.contact-intro::after{width:220px;height:220px;left:-130px;bottom:-95px}.contact-intro>*{position:relative;z-index:1}.contact-intro .auth-brand{display:inline-block;margin-bottom:58px;color:#fff;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.16em}.contact-intro .auth-brand span{font-weight:400;opacity:.72}.contact-intro .auth-kicker{display:inline-block;border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.contact-intro h1{max-width:310px;margin:18px 0 14px;color:#fff;font-size:37px;line-height:1.13;letter-spacing:-.04em}.contact-intro p{max-width:310px;margin:0;color:rgba(255,255,255,.82);font-size:14px;line-height:1.75}.contact-intro .auth-benefits{display:grid;gap:13px;margin:38px 0 0;padding:0;list-style:none;font-size:13px;font-weight:600}.contact-intro .auth-benefits span{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:8px;border-radius:50%;background:rgba(255,255,255,.18);font-size:11px}
.contact-content{padding:46px 50px 40px}.contact-eyebrow{margin:0 0 8px;color:#7e22ce;font-size:11px;font-weight:800;letter-spacing:.13em}.contact-content .auth-content-heading{margin-bottom:24px}.contact-content .auth-content-heading h2{margin-bottom:7px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:130px;border:1px solid #dde0ea;border-radius:10px;background:#fff;padding:12px 13px;color:#1f2937;font:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s}.contact-form textarea:focus{border-color:#6d28d9;box-shadow:0 0 0 4px rgba(109,40,217,.12)}.contact-form .form-field label span{font-weight:400;color:#8991a4}.contact-form input[type=file]{padding:10px;background:#fafaff;border-style:dashed}.contact-alert{margin-bottom:18px;padding:11px 13px;border-radius:9px;font-size:12px;font-weight:600}.contact-alert-success{background:#ecfdf5;color:#047857}.contact-alert-warning{background:#fffbeb;color:#b45309}.contact-alert-error{background:#fef2f2;color:#b91c1c}
@media(max-width:720px){.contact-page{padding:28px 0 44px}.contact-card{grid-template-columns:1fr;width:min(100%,540px)}.contact-intro{padding:32px 30px}.contact-intro .auth-brand{margin-bottom:30px}.contact-intro h1{font-size:29px}.contact-intro .auth-benefits{display:none}.contact-content{padding:32px 28px}}
@media(max-width:420px){.contact-page{padding:12px 0 28px}.contact-card{border-radius:18px}.contact-intro{padding:26px 22px}.contact-content{padding:28px 22px}.contact-fields{grid-template-columns:1fr}}

/* Learning content upload workspace */
.upload-card{padding:clamp(18px,3vw,32px)!important}
.portal-page main.container{width:100%;max-width:none;margin:0;padding:0}
.portal-page .portal-shell{width:100%;max-width:none}
.portal-page .portal-main{width:auto;min-height:100vh}
.portal-school-identity{margin:0 10px 26px}.portal-school-identity img,.portal-school-identity>span{flex:0 0 42px}.portal-school-identity .portal-school-name{overflow-wrap:anywhere}
.upload-hero{align-items:center}.upload-hero-logo{flex:0 0 74px;width:74px;height:74px;object-fit:contain;border:5px solid rgba(255,255,255,.3);border-radius:18px;background:#fff;padding:6px}.upload-hero-logo-fallback{display:grid;place-items:center;box-sizing:border-box;color:#6d28d9;font-size:34px;font-weight:900}
.upload-card{display:grid;grid-template-columns:minmax(220px,.34fr) minmax(0,1fr);gap:0;overflow:hidden;padding:0!important;border:0!important;border-radius:18px!important;box-shadow:0 24px 60px rgba(43,31,96,.12)!important}
.upload-intro{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:560px;padding:34px 30px;background:linear-gradient(145deg,#33217e 0%,#6d28d9 52%,#c026d3 100%);color:#fff;overflow:hidden}
.upload-intro::before,.upload-intro::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}
.upload-intro::before{width:250px;height:250px;right:-145px;top:-80px}.upload-intro::after{width:200px;height:200px;left:-125px;bottom:-80px}
.upload-intro>div,.upload-intro-list{position:relative;z-index:1}.upload-intro-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:60px;border-radius:11px;background:rgba(255,255,255,.18);font-size:18px;font-weight:900}
.upload-intro .portal-eyebrow{color:#ddd6fe}.upload-intro h2{max-width:240px;margin:14px 0;color:#fff;font-size:31px;line-height:1.12;letter-spacing:-.04em}.upload-intro>div>p:last-child{max-width:250px;margin:0;color:rgba(255,255,255,.8);font-size:13px;line-height:1.75}
.upload-intro-list{display:grid;gap:14px;margin:30px 0 0;padding:0;list-style:none;color:rgba(255,255,255,.88);font-size:12px;font-weight:600}.upload-intro-list li{display:flex;align-items:center;gap:10px}.upload-intro-list span{display:grid;place-items:center;width:27px;height:27px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;font-size:9px}
.settings-hero{align-items:center}.settings-logo-preview{flex:0 0 90px;width:90px;height:90px;object-fit:contain;border:5px solid rgba(255,255,255,.3);border-radius:22px;background:#fff;padding:8px}.settings-logo-fallback{display:grid;place-items:center;box-sizing:border-box;color:#6d28d9;font-size:40px;font-weight:900}.settings-card{max-width:980px}.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-field{display:grid;gap:7px;min-width:0}.settings-field label{color:#394263;font-size:12px;font-weight:800}.settings-field input,.settings-field textarea,.settings-field select{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #d9deea;border-radius:9px;background:#fff;color:#202744;font:inherit;font-size:13px}.settings-field textarea{min-height:100px;resize:vertical}.settings-field input:focus,.settings-field textarea:focus,.settings-field select:focus{border-color:#7e22ce;outline:0;box-shadow:0 0 0 3px rgba(126,34,206,.11)}.settings-logo-field{grid-column:1 / -1;padding:16px;border:1px dashed #cfc4ed;border-radius:11px;background:#faf8ff}.settings-field small{color:#8992a8;font-size:11px}.settings-field .errorlist{margin:0;padding:0;color:#b91c1c;list-style:none;font-size:11px}.settings-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:6px}
.upload-form-panel{padding:34px clamp(24px,4vw,48px);background:#fff}.upload-form-panel .card-heading{margin-bottom:24px}
.upload-card .card-heading{align-items:flex-start;margin-bottom:24px}
.card-heading-copy{max-width:620px;margin:8px 0 0;color:#68738b;font-size:13px}
.portal-upload-form{display:grid;gap:22px}
.upload-section{display:grid;gap:16px;margin:0;padding:20px;border:1px solid #e6e3f1;border-radius:12px;background:#fcfbff}
.upload-section legend{padding:0 8px;color:#211653;font-size:15px;font-weight:800}
.upload-section-note{margin:-4px 0 0;color:#68738b;font-size:12px}
.upload-grid{display:grid;gap:16px}
.upload-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.upload-field{display:grid;gap:7px;min-width:0}
.upload-field-wide{grid-column:1 / -1}
.upload-field label,.upload-source label{color:#394263;font-size:12px;font-weight:800}
.portal-upload-form input,.portal-upload-form select,.portal-upload-form textarea{box-sizing:border-box;width:100%;border:1px solid #d9deea;border-radius:9px;background:#fff;color:#202744;padding:11px 12px;font:inherit;font-size:13px;outline:none}
.portal-upload-form textarea{min-height:96px;resize:vertical}
.portal-upload-form input:focus,.portal-upload-form select:focus,.portal-upload-form textarea:focus{border-color:#7e22ce;box-shadow:0 0 0 3px rgba(126,34,206,.11)}
.portal-upload-form input[type=file]{padding:8px;background:#fff;border-style:dashed}
.upload-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.upload-source{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;padding:14px;border:1px solid #e7e2f4;border-radius:10px;background:#fff}
.upload-source-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#f3e8ff;color:#7e22ce;font-size:10px;font-weight:900;letter-spacing:.04em}
.upload-source-video .upload-source-icon{background:#fce7f3;color:#be185d}.upload-source-sheet .upload-source-icon{background:#ecfdf5;color:#15803d}
.upload-source small{display:block;margin-top:5px;color:#8992a8;font-size:11px}
.upload-source .errorlist,.upload-field .errorlist{margin:4px 0 0;padding:0;color:#b91c1c;list-style:none;font-size:11px}
.upload-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}
.upload-form-actions p{margin:0;color:#68738b;font-size:12px}
.upload-form-actions .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:nowrap}
.upload-form-actions .primary-button span{font-size:18px;line-height:1}
@media(max-width:700px){
  .upload-card{display:block;border-radius:14px!important}
  .upload-intro{min-height:auto;padding:25px 22px}.upload-intro-mark{margin-bottom:28px}.upload-intro h2{font-size:26px}.upload-intro-list{grid-template-columns:1fr;gap:10px;margin-top:25px}.upload-form-panel{padding:22px 16px}
  .upload-hero-logo{flex-basis:54px;width:54px;height:54px;border-width:3px;padding:4px}
  .settings-logo-preview{flex-basis:58px;width:58px;height:58px}.settings-form{grid-template-columns:1fr}.settings-logo-field,.settings-actions{grid-column:auto}.settings-actions{align-items:stretch;flex-direction:column}.settings-actions>*{width:100%}
  .upload-grid-two,.upload-source-grid{grid-template-columns:1fr}
  .upload-field-wide{grid-column:auto}
  .upload-section{padding:16px}
  .upload-form-actions{align-items:stretch;flex-direction:column}
  .upload-form-actions .primary-button{width:100%}
}
@media(max-width:420px){
  .upload-card{padding:14px!important}
  .upload-card{padding:0!important}.upload-intro{padding:22px 18px}.upload-form-panel{padding:20px 13px}
  .upload-hero{align-items:flex-start}.upload-hero-logo{flex-basis:46px;width:46px;height:46px}
  .upload-section{padding:13px}
  .upload-source{grid-template-columns:36px minmax(0,1fr);padding:11px;gap:10px}
  .upload-source-icon{width:36px;height:36px;font-size:9px}
}

/* Premium content-upload treatment */
.portal-page .portal-main{background:radial-gradient(circle at 92% 4%,rgba(192,38,211,.10),transparent 23rem),radial-gradient(circle at 42% 62%,rgba(109,40,217,.07),transparent 26rem)}
.upload-hero{position:relative;isolation:isolate;overflow:hidden;align-items:center;margin-bottom:28px;padding:34px 38px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:linear-gradient(125deg,#211653 0%,#4c1d95 53%,#9d174d 145%);box-shadow:0 20px 44px rgba(57,26,110,.22)}
.upload-hero::before,.upload-hero::after{content:"";position:absolute;z-index:-1;border-radius:50%;background:rgba(255,255,255,.10)}
.upload-hero::before{width:340px;height:340px;top:-235px;right:8%}.upload-hero::after{width:210px;height:210px;bottom:-145px;right:-44px}
.upload-hero-copy{max-width:590px}.upload-hero .portal-eyebrow{color:#e9d5ff}.upload-hero h2{max-width:550px;margin:10px 0 9px;font-size:clamp(27px,3vw,38px);line-height:1.08;letter-spacing:-.045em}.upload-hero p:not(.portal-eyebrow){max-width:510px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.7}
.upload-hero-status{display:grid;grid-template-columns:1fr;gap:8px;min-width:178px;padding:12px;border:1px solid rgba(255,255,255,.20);border-radius:14px;background:rgba(255,255,255,.10);backdrop-filter:blur(8px)}
.upload-hero-status span{display:flex;align-items:center;gap:9px;color:#f8f7ff;font-size:11px;font-weight:700;white-space:nowrap}.upload-hero-status b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#6d28d9;font-size:9px}
.upload-card{border:1px solid rgba(109,40,217,.12)!important;border-radius:24px!important;background:#fff;box-shadow:0 28px 70px rgba(43,31,96,.14)!important}
.upload-intro{min-height:620px;padding:42px 36px;background:linear-gradient(145deg,#2e1065 0%,#6d28d9 53%,#c026d3 115%)}
.upload-intro-mark{width:46px;height:46px;margin-bottom:66px;border:1px solid rgba(255,255,255,.2);border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.upload-intro h2{font-size:34px}.upload-intro>div>p:last-child{font-size:13px}.upload-intro-list{gap:12px;padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(26,11,76,.16)}
.upload-intro-list span{background:rgba(255,255,255,.1)}
.upload-form-panel{padding:42px clamp(26px,4vw,54px);background:linear-gradient(145deg,#fff 0%,#fcfbff 100%)}
.upload-form-panel .card-heading{padding-bottom:20px;border-bottom:1px solid #ece8f6}.upload-card .card-heading h2{font-size:25px;letter-spacing:-.035em}.card-heading-copy{max-width:540px;line-height:1.6}
.portal-upload-form{gap:18px}.upload-section{gap:15px;padding:21px;border-color:#e8e2f2;border-radius:15px;background:linear-gradient(145deg,#fff,#fbfaff);box-shadow:0 6px 18px rgba(62,35,117,.025)}
.upload-section legend{color:#432080;font-size:14px}.upload-field label,.upload-source label{color:#34305d}.portal-upload-form input,.portal-upload-form select,.portal-upload-form textarea{border-color:#e1ddea;border-radius:10px;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}.portal-upload-form input:hover,.portal-upload-form select:hover,.portal-upload-form textarea:hover{border-color:#c4b5df}.portal-upload-form input:focus,.portal-upload-form select:focus,.portal-upload-form textarea:focus{border-color:#7e22ce;box-shadow:0 0 0 4px rgba(126,34,206,.10)}
.upload-source{border-color:#e9e3f2;border-radius:12px;transition:transform .2s,border-color .2s,box-shadow .2s}.upload-source:hover{transform:translateY(-2px);border-color:#c4b5df;box-shadow:0 10px 18px rgba(67,35,122,.08)}.upload-source-icon{border-radius:11px}
.upload-form-actions{margin-top:4px;padding:17px 18px;border:1px solid #e8e2f2;border-radius:14px;background:#f8f6ff}.upload-form-actions .primary-button{padding:11px 17px;border-radius:10px;background:linear-gradient(120deg,#6d28d9,#c026d3);box-shadow:0 10px 18px rgba(126,34,206,.23);transition:transform .2s,box-shadow .2s}.upload-form-actions .primary-button:hover{transform:translateY(-1px);box-shadow:0 13px 22px rgba(126,34,206,.3)}
@media(max-width:700px){.upload-hero{display:block;padding:28px 24px}.upload-hero-status{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.upload-hero-status span{font-size:10px;white-space:normal}.upload-intro{min-height:auto;padding:30px 24px}.upload-intro-mark{margin-bottom:34px}.upload-form-panel{padding:28px 20px}}
@media(max-width:480px){.upload-hero{padding:25px 19px;border-radius:17px}.upload-hero h2{font-size:29px}.upload-hero-status{grid-template-columns:1fr}.upload-intro{padding:27px 19px}.upload-intro h2{font-size:29px}.upload-form-panel{padding:24px 14px}.upload-card .card-heading h2{font-size:22px}.upload-form-actions{padding:14px}}

/* Authentication pages */
.auth-page-body{background:#f7f7fc}
.auth-page-body .site-hero{display:none}
.auth-page{position:relative;display:grid;place-items:center;min-height:calc(100vh - 175px);padding:64px 0;background:radial-gradient(circle at 12% 18%,rgba(255,59,107,.11),transparent 26rem),radial-gradient(circle at 88% 82%,rgba(124,58,237,.12),transparent 30rem)}
.auth-home-link{position:absolute;top:28px;left:max(24px,calc((100% - 960px)/2));display:inline-flex;align-items:center;gap:7px;color:#5b21b6;font-size:13px;font-weight:800;text-decoration:none}.auth-home-link:hover{color:#7e22ce}.auth-home-link span{font-size:18px}
.auth-card{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);width:min(100%,960px);overflow:hidden;background:#fff;border:1px solid rgba(67,56,202,.12);border-radius:26px;box-shadow:0 28px 70px rgba(43,31,96,.16)}
.auth-intro{position:relative;overflow:hidden;padding:52px 46px;background:linear-gradient(145deg,#33217e 0%,#6d28d9 50%,#c026d3 100%);color:#fff}
.auth-intro::before,.auth-intro::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}
.auth-intro::before{width:280px;height:280px;right:-145px;top:-110px}
.auth-intro::after{width:220px;height:220px;left:-130px;bottom:-95px}
.auth-brand,.auth-kicker,.auth-intro h1,.auth-intro p,.auth-benefits{position:relative;z-index:1}
.auth-brand{display:inline-block;margin-bottom:58px;color:#fff;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.16em}.auth-brand span{font-weight:400;opacity:.72}
.auth-kicker{display:inline-block;border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.auth-intro h1{max-width:300px;margin:18px 0 14px;font-size:37px;line-height:1.13;letter-spacing:-.04em}
.auth-intro p{max-width:310px;margin:0;color:rgba(255,255,255,.82);font-size:14px;line-height:1.75}
.auth-benefits{display:grid;gap:13px;margin:38px 0 0;padding:0;list-style:none;font-size:13px;font-weight:600}.auth-benefits span{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:8px;border-radius:50%;background:rgba(255,255,255,.18);font-size:11px}
.auth-content{padding:48px 50px 40px}
.auth-content-heading{margin-bottom:28px}.auth-content-heading h2{margin:0 0 7px;color:#1e1b4b;font-size:26px;letter-spacing:-.03em}.auth-content-heading p{margin:0;color:#75809a;font-size:14px}
.auth-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.forgot-password-link{color:#6d28d9;font-size:12px;font-weight:800;text-decoration:none}.forgot-password-link:hover{text-decoration:underline}
.auth-form{display:grid;gap:16px}.form-field{display:grid;gap:7px}.form-field label{font-size:12px;font-weight:700;color:#39415a;letter-spacing:.01em}
.form-field input,.form-field select{box-sizing:border-box;display:block;width:100%;min-height:48px;border:1px solid #dde0ea;border-radius:10px;background:#fff;padding:12px 13px;color:#1f2937;font:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}.form-field input:hover,.form-field select:hover{border-color:#beb8dc}.form-field input:focus,.form-field select:focus{border-color:#6d28d9;background:#fefeff;box-shadow:0 0 0 4px rgba(109,40,217,.12)}
.form-field small{font-size:11px;line-height:1.4;color:#8991a4}.form-field.has-error input{border-color:#dc2626}.field-error,.form-errors{color:#b91c1c;font-size:12px;font-weight:600}.form-errors{background:#fef2f2;border-radius:9px;padding:10px 12px}.form-errors ul{margin:0;padding-left:18px}
.account-type-field{display:grid;gap:9px;margin:0;padding:0;border:0}.account-type-field legend{padding:0;color:#39415a;font-size:12px;font-weight:700}.account-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-choice{display:flex;align-items:flex-start;gap:9px;min-height:74px;box-sizing:border-box;padding:13px;border:1px solid #dde0ea;border-radius:10px;background:#fff;cursor:pointer}.account-choice:has(input:checked){border-color:#6d28d9;background:#faf8ff;box-shadow:0 0 0 3px rgba(109,40,217,.1)}.account-choice input{flex:0 0 auto;margin-top:3px;accent-color:#6d28d9}.account-choice strong{display:block;color:#33217e;font-size:13px}.account-choice small{display:block;margin-top:4px;color:#7b8498;font-size:11px;line-height:1.4}.auth-form [hidden]{display:none}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin-top:8px;border:0;border-radius:10px;background:#5b21b6;color:#fff;cursor:pointer;font:inherit;font-size:14px;font-weight:700;box-shadow:0 10px 20px rgba(91,33,182,.22);transition:transform .2s,background .2s,box-shadow .2s}.auth-submit span{font-size:19px;line-height:1;transition:transform .2s}.auth-submit:hover{background:#6d28d9;transform:translateY(-2px);box-shadow:0 14px 25px rgba(91,33,182,.3)}.auth-submit:hover span{transform:translateX(3px)}
.auth-switch{text-align:center;margin:22px 0 0;color:#7b8498;font-size:13px}.auth-switch a{color:#5b21b6;font-weight:700;text-decoration:none}.auth-switch a:hover{text-decoration:underline}
@media (max-width:720px){.auth-page{padding:28px 0}.auth-card{grid-template-columns:1fr;width:min(100%,540px)}.auth-intro{padding:32px 30px}.auth-brand{margin-bottom:30px}.auth-intro h1{font-size:29px}.auth-benefits{display:none}.auth-content{padding:32px 28px}}
@media (max-width:420px){.auth-page{padding:12px 0}.auth-card{border-radius:18px}.auth-intro{padding:26px 22px}.auth-content{padding:28px 22px}}

/* About page */
.about-page{padding:50px 0 62px}.about-hero{max-width:760px;margin:0 auto 54px;text-align:center}.about-eyebrow{margin:0 0 12px;color:#7e22ce;font-size:11px;font-weight:800;letter-spacing:.14em}.about-hero h1{margin:0;color:#211653;font-size:45px;line-height:1.1;letter-spacing:-.05em}.about-hero>p:last-child{max-width:620px;margin:18px auto 0;color:#6f7890;font-size:16px;line-height:1.75}.about-story{display:grid;grid-template-columns:190px 1fr;gap:45px;margin:0 auto 66px;padding:42px;border:1px solid #e6e4ef;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(30,27,75,.05)}.about-story-label{display:flex;align-items:flex-start;gap:10px}.about-story-label p{margin:8px 0 0;color:#7e22ce;font-size:11px;font-weight:800;letter-spacing:.1em}.about-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ede9fe;color:#6d28d9}.about-story h2,.about-section-heading h2,.about-resources h2{margin:0;color:#211653;font-size:28px;line-height:1.2;letter-spacing:-.035em}.about-story div:last-child>p{margin:15px 0 0;color:#68738b;font-size:14px;line-height:1.8}.about-values{margin-bottom:64px}.about-section-heading{max-width:610px;margin-bottom:22px}.about-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.about-value-card{padding:25px 23px;border:1px solid #e7e5f0;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(30,27,75,.035)}.about-value-number{color:#a21caf;font-size:12px;font-weight:800;letter-spacing:.1em}.about-value-card h3{margin:30px 0 9px;color:#33217e;font-size:18px}.about-value-card p{margin:0;color:#758097;font-size:13px;line-height:1.7}.about-resources{display:flex;justify-content:space-between;align-items:center;gap:34px;padding:39px 42px;border-radius:22px;background:linear-gradient(125deg,#33217e,#6d28d9 60%,#c026d3);color:#fff;box-shadow:0 18px 36px rgba(76,29,149,.18)}.about-resources .about-eyebrow{color:#ddd6fe}.about-resources h2{color:#fff}.about-resources p:last-child{max-width:650px;margin:12px 0 0;color:rgba(255,255,255,.82);font-size:14px;line-height:1.7}.about-cta{display:inline-flex;align-items:center;gap:11px;flex:0 0 auto;border-radius:10px;background:#fff;color:#4c1d95;padding:13px 16px;text-decoration:none;font-size:13px;font-weight:800}.about-cta span{font-size:17px}@media(max-width:720px){.about-page{padding:34px 0 46px}.about-hero{margin-bottom:35px}.about-hero h1{font-size:34px}.about-story{grid-template-columns:1fr;gap:22px;margin-bottom:45px;padding:28px}.about-value-grid{grid-template-columns:1fr}.about-resources{display:block;padding:30px 27px}.about-cta{margin-top:22px}}@media(max-width:420px){.about-hero h1{font-size:30px}.about-story h2,.about-section-heading h2,.about-resources h2{font-size:24px}}

/* Member dashboard */
.dashboard-page-body{background:#f7f7fc}.dashboard-page-body .site-hero{display:none}.dashboard{padding:56px 0 62px}.dashboard-welcome{position:relative;display:flex;justify-content:space-between;gap:30px;align-items:end;overflow:hidden;padding:42px 46px;border-radius:26px;background:linear-gradient(145deg,#33217e 0%,#6d28d9 52%,#c026d3 100%);color:#fff;box-shadow:0 28px 60px rgba(76,29,149,.22)}.dashboard-welcome::before,.dashboard-welcome::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}.dashboard-welcome::before{width:310px;height:310px;right:-130px;top:-165px}.dashboard-welcome::after{width:230px;height:230px;left:-135px;bottom:-145px}.dashboard-welcome-copy,.dashboard-welcome-side{position:relative;z-index:1}.dashboard-brand{display:inline-block;margin-bottom:34px;color:#fff;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.16em}.dashboard-brand span{font-weight:400;opacity:.72}.dashboard-eyebrow{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.13em;color:#a78bfa}.dashboard-welcome .dashboard-eyebrow{color:#ddd6fe}.dashboard-welcome h1{max-width:560px;margin:0;font-size:34px;letter-spacing:-.04em}.dashboard-welcome p:not(.dashboard-eyebrow){max-width:510px;margin:10px 0 0;color:rgba(255,255,255,.82);font-size:14px;line-height:1.65}.dashboard-welcome-side{display:grid;justify-items:end;gap:18px}.dashboard-plan-count{display:grid;justify-items:end}.dashboard-plan-count strong{font-size:35px;line-height:1}.dashboard-plan-count span{margin-top:5px;color:rgba(255,255,255,.75);font-size:11px;font-weight:600}.dashboard-browse{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;border-radius:10px;background:#fff;color:#4c1d95;padding:12px 16px;text-decoration:none;font-size:13px;font-weight:800}.dashboard-browse span{font-size:17px}.dashboard-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:22px 0 38px}.dashboard-stats article{padding:23px 25px;border:1px solid #e6e5f0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(30,27,75,.04)}.stat-label{display:block;color:#7c8498;font-size:12px;font-weight:700}.dashboard-stats strong{display:block;margin:7px 0 3px;color:#312e81;font-size:32px}.dashboard-stats small{color:#8991a4;font-size:12px}.dashboard-section{margin-top:38px}.dashboard-section-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.dashboard-section h2{margin:0;color:#1e1b4b;font-size:23px;letter-spacing:-.025em}.dashboard-section-header>a{color:#5b21b6;font-size:13px;font-weight:800;text-decoration:none}.subscription-list{display:flex;flex-wrap:wrap;gap:12px}.subscription-pill{display:flex;align-items:center;gap:11px;min-width:225px;padding:15px 16px;border:1px solid #dedaf5;border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(30,27,75,.04)}.subscription-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#ede9fe;color:#6d28d9}.subscription-pill strong,.subscription-pill small{display:block}.subscription-pill strong{font-size:14px;color:#312e81}.subscription-pill small{margin-top:2px;font-size:11px;color:#7c8498}.subscription-active{margin-left:auto;border-radius:999px;background:#dcfce7;color:#15803d;padding:4px 7px;font-size:10px;font-weight:800}.dashboard-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dashboard-content-card{min-height:170px;padding:20px;border:1px solid #e5e4ef;border-radius:15px;background:#fff;color:#1e1b4b;text-decoration:none;box-shadow:0 7px 18px rgba(30,27,75,.04);transition:transform .2s,box-shadow .2s}.dashboard-content-card:hover{transform:translateY(-3px);box-shadow:0 14px 25px rgba(30,27,75,.1)}.content-class{display:inline-block;border-radius:999px;background:#f3e8ff;color:#7e22ce;padding:4px 7px;font-size:10px;font-weight:800}.dashboard-content-card h3{margin:15px 0 7px;font-size:16px}.dashboard-content-card p{min-height:38px;margin:0 0 12px;color:#748097;font-size:12px;line-height:1.55}.dashboard-content-card>span:last-child{color:#6d28d9;font-size:12px;font-weight:800}.reading-list{display:grid;gap:9px}.reading-list a{display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid #e5e4ef;border-radius:12px;background:#fff;color:#1e1b4b;text-decoration:none}.reading-book-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fce7f3;color:#be185d;font-size:18px}.reading-list strong,.reading-list small{display:block}.reading-list strong{font-size:13px}.reading-list small{margin-top:2px;color:#8790a3;font-size:11px}.reading-list a>span:last-child{margin-left:auto;color:#6d28d9;font-size:12px;font-weight:800}.dashboard-empty{padding:22px;border:1px dashed #d4d2e7;border-radius:14px;background:#fff;color:#3f3b61}.dashboard-empty strong{font-size:14px}.dashboard-empty p{margin:7px 0 0;color:#7c8498;font-size:13px}@media (max-width:720px){.dashboard{padding:28px 0 48px}.dashboard-welcome{display:block;padding:32px 28px}.dashboard-welcome h1{font-size:28px}.dashboard-welcome-side{justify-items:start;margin-top:24px}.dashboard-plan-count{justify-items:start}.dashboard-content-grid{grid-template-columns:1fr 1fr}}@media (max-width:480px){.dashboard{padding-top:18px}.dashboard-welcome{padding:27px 23px;border-radius:18px}.dashboard-stats,.dashboard-content-grid{grid-template-columns:1fr}.dashboard-section-header{align-items:start}.reading-list a>span:last-child{display:none}}

/* About page – editorial layout */
.about-page-body{background:#fafafd}.about-page-body .site-hero{display:none}.about-page{padding:76px 0 72px}.about-hero-pro{display:grid;grid-template-columns:1.25fr .75fr;align-items:stretch;gap:72px;max-width:none;margin:0 0 86px;text-align:left}.about-hero-pro>div{padding:29px 0}.about-hero-pro h1{max-width:650px;font-size:58px;line-height:1.04;letter-spacing:-.065em}.about-hero-pro>div>p:last-of-type{max-width:570px;margin:22px 0 0;font-size:16px;line-height:1.8}.about-primary-link{display:inline-flex;align-items:center;gap:11px;margin-top:30px;color:#5b21b6;font-size:13px;font-weight:800;text-decoration:none}.about-primary-link span{font-size:18px}.about-purpose{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-height:342px;padding:32px;border-radius:4px;background:linear-gradient(145deg,#33217e,#6d28d9 55%,#a21caf);color:#fff;box-shadow:0 22px 45px rgba(76,29,149,.2)}.about-purpose::after{content:"";position:absolute;width:220px;height:220px;right:-90px;top:-92px;border:1px solid rgba(255,255,255,.28);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.05),0 0 0 70px rgba(255,255,255,.04)}.about-purpose-icon{position:absolute;top:30px;left:31px;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.35);border-radius:50%;font-size:15px}.about-purpose p{margin:0 0 10px;color:#e9d5ff;font-size:11px;font-weight:800;letter-spacing:.12em}.about-purpose strong{position:relative;z-index:1;max-width:300px;font-size:22px;line-height:1.37;letter-spacing:-.025em}.about-story{grid-template-columns:200px 1fr;gap:68px;margin-bottom:90px;padding:0 0 47px;border:0;border-bottom:1px solid #dfddea;border-radius:0;background:transparent;box-shadow:none}.about-story-label{display:block}.about-story-label p{margin:0;color:#6d28d9;font-size:11px;font-weight:800;letter-spacing:.13em}.about-story-label span{display:block;width:35px;height:2px;margin-top:17px;background:#c026d3}.about-story h2{max-width:680px;font-size:34px}.about-story div:last-child>p{max-width:720px;font-size:15px;line-height:1.82}.about-values{margin-bottom:86px}.about-section-heading{max-width:650px;margin-bottom:31px}.about-section-heading h2{font-size:34px}.about-value-grid{display:block;border-top:1px solid #dfddea}.about-value-card{display:grid;grid-template-columns:120px 1fr;gap:28px;padding:26px 0;border:0;border-bottom:1px solid #dfddea;border-radius:0;background:transparent;box-shadow:none}.about-value-number{color:#a21caf;font-size:12px;padding-top:3px}.about-value-card h3{margin:0 0 7px;color:#312e81;font-size:19px}.about-value-card p{max-width:630px;font-size:14px;line-height:1.7}.about-resources{border-radius:4px;padding:49px 52px}.about-resources h2{max-width:620px;font-size:31px}.about-cta{border-radius:7px}@media(max-width:720px){.about-page{padding:40px 0 50px}.about-hero-pro{grid-template-columns:1fr;gap:29px;margin-bottom:56px}.about-hero-pro h1{font-size:42px}.about-purpose{min-height:260px}.about-story{grid-template-columns:1fr;gap:25px;margin-bottom:57px}.about-story h2,.about-section-heading h2{font-size:28px}.about-values{margin-bottom:55px}.about-value-card{grid-template-columns:70px 1fr}.about-resources{padding:34px 27px}}@media(max-width:420px){.about-hero-pro h1{font-size:35px}.about-purpose{padding:25px}.about-value-card{grid-template-columns:1fr;gap:8px}.about-resources h2{font-size:25px}}

.about-profile{display:grid;grid-template-columns:.85fr 1.15fr;gap:74px;align-items:center;margin:0 0 90px;padding:0 0 90px;border-bottom:1px solid #dfddea}.about-profile-image{position:relative;display:grid;place-content:center;min-height:400px;overflow:hidden;border-radius:4px;background:linear-gradient(145deg,#e7ddff,#fce7f3);color:#5b21b6;text-align:center}.about-profile-image::before,.about-profile-image::after{content:"";position:absolute;border:1px solid rgba(109,40,217,.2);border-radius:50%}.about-profile-image::before{width:300px;height:300px;top:-120px;right:-95px}.about-profile-image::after{width:220px;height:220px;bottom:-105px;left:-90px}.profile-image-icon,.about-profile-image span:not(.profile-image-icon),.about-profile-image small{position:relative;z-index:1}.profile-image-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 15px;border-radius:50%;background:#fff;box-shadow:0 8px 22px rgba(76,29,149,.12);font-size:20px}.about-profile-image span:not(.profile-image-icon){font-size:11px;font-weight:800;letter-spacing:.14em}.about-profile-image small{margin-top:8px;color:#7c6aa5;font-size:11px}.about-profile-content h2{max-width:560px;margin:0;color:#211653;font-size:34px;line-height:1.18;letter-spacing:-.045em}.about-profile-content>p:not(.about-eyebrow){max-width:620px;margin:17px 0 0;color:#69758d;font-size:14px;line-height:1.8}.about-profile-details{display:grid;gap:0;margin:30px 0 0;border-top:1px solid #dfddea}.about-profile-details div{display:grid;grid-template-columns:110px 1fr;gap:18px;padding:13px 0;border-bottom:1px solid #dfddea}.about-profile-details dt{color:#7e22ce;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.about-profile-details dd{margin:0;color:#3f4960;font-size:13px;font-weight:600}@media(max-width:720px){.about-profile{grid-template-columns:1fr;gap:32px;margin-bottom:55px;padding-bottom:55px}.about-profile-image{min-height:290px}.about-profile-content h2{font-size:28px}}@media(max-width:420px){.about-profile-details div{grid-template-columns:1fr;gap:4px}.about-profile-image{min-height:250px}}

.about-profile-image{margin:0}.about-profile-image img{position:relative;z-index:1;width:280px;height:280px;border:8px solid rgba(255,255,255,.9);border-radius:50%;object-fit:cover;box-shadow:0 22px 40px rgba(76,29,149,.23)}@media(max-width:420px){.about-profile-image img{width:210px;height:210px}}

/* Marketplace */
.marketplace{padding:48px 0 64px}.marketplace-hero{padding:55px 48px;margin-bottom:42px;background:#312e81;color:#fff}.marketplace-hero p,.marketplace-heading>div>p{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.12em}.marketplace-hero h1{max-width:560px;margin:0 0 20px;color:#fff;font-size:42px}.marketplace-hero a,.marketplace-button{display:inline-block;background:#fff;color:#4c1d95;padding:12px 16px;text-decoration:none;font-weight:800}.marketplace-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:34px 0 16px}.marketplace-heading h1,.marketplace-heading h2{margin:0;color:#211653}.marketplace-heading a{color:#5b21b6;font-weight:800;text-decoration:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{overflow:hidden;border:1px solid #e4e1ee;background:#fff}.product-card>img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:#f1f0f8}.product-card>div{padding:15px}.product-card p{margin:0;color:#7e22ce;font-size:11px;font-weight:800}.product-card h3{margin:8px 0 3px;font-size:16px}.product-card h3 a{color:#211653;text-decoration:none}.product-card small{color:#748097}.product-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0}.product-price del{color:#8b91a1;font-size:13px}.product-price strong{font-size:18px;color:#211653}.product-price span{background:#dcfce7;color:#15803d;padding:3px 6px;font-size:11px;font-weight:800}.product-card button,.checkout-form button,.cart-item button{border:0;background:#5b21b6;color:#fff;padding:10px 13px;font:inherit;font-weight:800;cursor:pointer}.category-list{display:flex;flex-wrap:wrap;gap:9px}.category-list a{border:1px solid #dedaf5;color:#5b21b6;padding:8px 10px;text-decoration:none;font-size:13px;font-weight:700}.marketplace-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin-bottom:24px}.marketplace-filters input,.marketplace-filters select,.marketplace-input,.checkout-form textarea{box-sizing:border-box;width:100%;padding:11px;border:1px solid #d9d6e6;background:#fff;font:inherit}.marketplace-filters button{border:0;background:#312e81;color:#fff;padding:0 16px;font-weight:800}.product-detail{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(300px,1fr);gap:42px}.product-cover{width:100%;max-height:520px;object-fit:contain;background:#f5f3ff}.product-thumbs{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.product-thumbs img{width:74px;height:94px;object-fit:cover;border:1px solid #ddd}.product-description{grid-column:1/-1;border-top:1px solid #dfddea;padding-top:26px}.checkout-layout{display:grid;grid-template-columns:1fr 340px;gap:28px}.cart-item{display:grid;grid-template-columns:82px 1fr auto;gap:15px;align-items:center;border-bottom:1px solid #e2dfeb;padding:14px 0}.cart-item img{width:70px;height:88px;object-fit:cover}.cart-item h3,.cart-item p{margin:0}.cart-item input{width:55px;padding:7px}.order-summary{align-self:start;padding:22px;background:#f5f3ff}.order-summary h2{margin-top:0}.order-summary p{display:flex;justify-content:space-between;gap:10px}.order-summary .total{padding-top:12px;border-top:1px solid #d8d4e8;font-size:17px}.checkout-form p{display:grid;gap:5px}.checkout-form label{font-size:13px;font-weight:800}.orders-list{display:grid;border-top:1px solid #dfddea}.orders-list a{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:10px;padding:16px 0;border-bottom:1px solid #dfddea;color:#312e81;text-decoration:none;font-size:13px}.order-timeline{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.order-timeline span{padding:6px 9px;background:#ecebf1;color:#74748a;font-size:12px}.order-timeline .active{background:#dcfce7;color:#15803d}@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail,.checkout-layout{grid-template-columns:1fr}.marketplace-filters{grid-template-columns:1fr 1fr}.orders-list a{grid-template-columns:1fr 1fr}}@media(max-width:480px){.marketplace{padding-top:28px}.marketplace-hero{padding:35px 25px}.marketplace-hero h1{font-size:32px}.product-grid{grid-template-columns:1fr}.marketplace-filters{grid-template-columns:1fr}.cart-item{grid-template-columns:60px 1fr}.cart-item>strong{grid-column:2}.orders-list a{grid-template-columns:1fr}.product-detail{gap:24px}}

/* Video player and progress */
.video-detail-page{max-width:980px;margin:0 auto;padding:48px 0 70px}.video-detail-heading>a{color:#5b21b6;font-size:13px;font-weight:800;text-decoration:none}.video-detail-heading .dashboard-eyebrow{margin-top:30px}.video-detail-heading h1{margin:0;color:#211653;font-size:42px;line-height:1.1}.video-player-shell{margin-top:24px;overflow:hidden;background:#151326;box-shadow:0 18px 40px rgba(30,27,75,.18)}#yt-player{width:100%;aspect-ratio:16/9}#yt-player iframe{display:block;width:100%;height:100%;border:0}.video-error{padding:14px;background:#fff1f2;color:#9f1239;font-size:13px}.video-error a{color:inherit;font-weight:800}.video-description{margin-top:18px;padding:22px 26px;background:#fff;border:1px solid #e4e1ee;color:#59647b;line-height:1.8}.dashboard-video-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.dashboard-video-progress{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center;padding:12px;border:1px solid #e4e1ee;background:#fff;color:inherit;text-decoration:none}.dashboard-video-progress:hover{border-color:#b9a9e8}.dashboard-video-thumb{position:relative;overflow:hidden;aspect-ratio:16/10;background:#e9e5f7}.dashboard-video-thumb img{display:block;width:100%;height:100%;object-fit:cover}.dashboard-video-thumb span{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:29px;height:29px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:#5b21b6;font-size:12px}.dashboard-video-progress strong{display:block;color:#211653;font-size:14px;line-height:1.35}.dashboard-video-progress small{display:block;margin-top:7px;color:#748097;font-size:11px}.video-progress-track{height:4px;margin-top:12px;background:#e8e3f5}.video-progress-track span{display:block;height:100%;background:#7e22ce}@media(max-width:700px){.video-detail-page{padding:32px 0 50px}.video-detail-heading h1{font-size:32px}.dashboard-video-list{grid-template-columns:1fr}.dashboard-video-progress{grid-template-columns:100px 1fr}}

/* Vision page */
.vision-page-body{background:#fafafd}.vision-page-body .site-hero{display:none}.vision-page{padding:78px 0 72px}.vision-hero{max-width:820px;margin:0 auto 88px;text-align:center}.vision-eyebrow{margin:0 0 13px;color:#7e22ce;font-size:11px;font-weight:800;letter-spacing:.14em}.vision-hero h1{margin:0;color:#211653;font-size:56px;line-height:1.06;letter-spacing:-.065em}.vision-hero>p:last-child{max-width:650px;margin:22px auto 0;color:#6d7890;font-size:16px;line-height:1.8}.vision-statement{position:relative;display:grid;grid-template-columns:130px 1fr;gap:42px;align-items:start;margin-bottom:92px;padding:52px 56px;border-radius:4px;background:linear-gradient(130deg,#33217e,#6d28d9 58%,#a21caf);color:#fff;box-shadow:0 23px 48px rgba(76,29,149,.2);overflow:hidden}.vision-statement::after{content:"";position:absolute;width:270px;height:270px;right:-96px;top:-128px;border:1px solid rgba(255,255,255,.26);border-radius:50%;box-shadow:0 0 0 34px rgba(255,255,255,.05),0 0 0 68px rgba(255,255,255,.035)}.vision-statement-mark{position:relative;z-index:1;color:#e9d5ff;font-family:Georgia,serif;font-size:110px;line-height:.65}.vision-statement>div{position:relative;z-index:1}.vision-statement .vision-eyebrow{color:#ddd6fe}.vision-statement h2{max-width:690px;margin:0;color:#fff;font-size:35px;line-height:1.18;letter-spacing:-.045em}.vision-statement div>p:last-child{max-width:670px;margin:17px 0 0;color:rgba(255,255,255,.8);font-size:14px;line-height:1.8}.vision-principles{margin-bottom:90px}.vision-section-heading{max-width:620px;margin-bottom:33px}.vision-section-heading h2{margin:0;color:#211653;font-size:35px;line-height:1.15;letter-spacing:-.045em}.vision-principle-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #dfddea}.vision-principle-grid article{min-height:200px;padding:25px 25px 22px;border-right:1px solid #dfddea;border-bottom:1px solid #dfddea}.vision-principle-grid article:nth-child(3n){border-right:0}.vision-principle-grid span{color:#a21caf;font-size:11px;font-weight:800;letter-spacing:.1em}.vision-principle-grid h3{margin:29px 0 8px;color:#312e81;font-size:19px}.vision-principle-grid p{margin:0;color:#748097;font-size:13px;line-height:1.72}.vision-closing{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:42px 46px;border:1px solid #dfddea;border-radius:4px;background:#fff}.vision-closing .vision-eyebrow{margin-bottom:8px}.vision-closing h2{max-width:600px;margin:0;color:#211653;font-size:30px;line-height:1.18;letter-spacing:-.04em}.vision-closing a{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;border-radius:7px;background:#5b21b6;color:#fff;padding:13px 16px;font-size:13px;font-weight:800;text-decoration:none;box-shadow:0 9px 18px rgba(91,33,182,.2)}.vision-closing a span{font-size:17px}@media(max-width:720px){.vision-page{padding:42px 0 50px}.vision-hero{margin-bottom:55px}.vision-hero h1{font-size:42px}.vision-statement{grid-template-columns:1fr;gap:16px;margin-bottom:57px;padding:34px 28px}.vision-statement-mark{font-size:80px}.vision-statement h2,.vision-section-heading h2{font-size:28px}.vision-principles{margin-bottom:55px}.vision-principle-grid{grid-template-columns:1fr 1fr}.vision-principle-grid article:nth-child(3n){border-right:1px solid #dfddea}.vision-principle-grid article:nth-child(even){border-right:0}.vision-closing{display:block;padding:33px 28px}.vision-closing a{margin-top:23px}}@media(max-width:420px){.vision-hero h1{font-size:35px}.vision-principle-grid{grid-template-columns:1fr}.vision-principle-grid article{min-height:auto;border-right:0!important}.vision-closing h2{font-size:25px}}


/* ================================================================
   ENHANCED RESPONSIVE DESIGN - Full Device Support
   ================================================================ */

/* Responsive table fixes for all screen sizes */
.portal-table { 
  width: 100%; 
  border-collapse: collapse; 
}

.portal-table td, 
.portal-table th { 
  word-wrap: break-word;
}

/* Mobile: Ensure content fits */
@media(max-width:600px) {
  .portal-table-wrap { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }
  
  .portal-table { 
    min-width: 560px; 
  }
  
  .management-toolbar {
    flex-direction: column !important;
    align-items: stretch;
  }
  
  .management-search {
    width: 100%;
  }
  
  .record-count {
    align-self: flex-start;
  }
  
  .portal-card .portal-table button {
    padding: 0.35rem 0.6rem;
    font-size: 12px;
  }
  
  details.management-form {
    margin-bottom: 1rem;
    padding: 0.75rem;
  }
  
  .management-form .auth-form {
    width: 100%;
  }
}

/* Extra small screens (max 420px) */
@media(max-width:420px) {
  .portal-table { 
    min-width: 480px; 
    font-size: 13px;
  }
  
  .portal-table th,
  .portal-table td {
    padding: 10px 8px;
  }
  
  .portal-card {
    padding: 12px !important;
  }
  
  .management-toolbar {
    gap: 8px;
  }
  
  .portal-eyebrow {
    font-size: 9px;
  }
  
  .status-pill {
    font-size: 11px;
    padding: 4px 6px;
  }
}

/* Tablet portrait (600px - 900px) */
@media(min-width:600px) and (max-width:900px) {
  .portal-table { 
    min-width: 100%;
  }
  
  .portal-card {
    padding: 20px !important;
  }
  
  .management-toolbar {
    flex-wrap: wrap;
  }
  
  .record-count {
    width: 100%;
    text-align: left;
    margin-top: 8px;
  }
}

/* Desktop and larger (901px+) */
@media(min-width:901px) {
  .portal-table-wrap {
    overflow-x: visible;
  }
  
  .portal-card {
    padding: 28px !important;
  }
  
  .management-toolbar {
    align-items: center;
    justify-content: space-between;
  }
}

/* Form improvements for all sizes */
.portal-form input, 
.portal-form textarea, 
.portal-form select {
  max-width: 100%;
  box-sizing: border-box;
}

@media(max-width:600px) {
  .portal-form input, 
  .portal-form textarea, 
  .portal-form select {
    width: 100%;
  }
  
  .portal-form p {
    margin: 0 0 0.8rem;
  }
}

/* Pagination improvements */
.pagination {
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media(max-width:600px) {
  .pagination {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .pagination a {
    display: block;
    text-align: center;
  }
  
  .pagination span {
    text-align: center;
    width: 100%;
  }
}

/* Hero section responsiveness */
.portal-hero {
  flex-wrap: wrap;
  gap: 16px;
}

@media(max-width:600px) {
  .portal-hero {
    padding: 18px 20px !important;
  }
  
  .portal-hero h2 {
    font-size: 18px;
  }
  
  .portal-hero p {
    font-size: 13px;
  }
}

/* Topbar improvements */
.portal-topbar {
  flex-wrap: wrap;
}

@media(max-width:600px) {
  .portal-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .portal-topbar h1 {
    font-size: 20px;
    margin: 0;
  }
  
  .portal-topbar > div:first-child {
    width: 100%;
  }
}

/* Sidebar navigation improvements */
.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-nav a {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

@media(max-width:600px) {
  .portal-sidebar.mobile-open {
    animation: slideIn 0.3s ease-out;
  }
  
  @keyframes slideIn {
    from { left: -220px; opacity: 0; }
    to { left: 0; opacity: 1; }
  }
}

/* Mobile toggle button styling */
.portal-mobile-toggle {
  display: none;
}

@media(max-width:768px) {
  .portal-mobile-toggle {
    display: block;
  }
}

/* Utility classes for responsive visibility */
.hide-on-mobile { display: block; }
.hide-on-tablet { display: block; }
.hide-on-desktop { display: none; }

@media(max-width:768px) {
  .hide-on-mobile { display: none; }
  .hide-on-tablet { display: none; }
  .hide-on-desktop { display: block; }
}

/* Container max-width for all screens */
.container {
  max-width: 100%;
  padding: clamp(12px, 3vw, 24px);
}

@media(min-width:1400px) {
  .container {
    max-width: 1360px;
    margin: 0 auto;
  }
}
/* === AnidiOne Landing Page === */
.home-landing-page main.container{width:100%;max-width:none;margin:0 auto;padding:0}
.site-subtitle{display:block;font-size:10px;font-weight:600;letter-spacing:.04em;opacity:.75;margin-top:2px;text-transform:none}
.nav-left,.nav-right{display:flex;align-items:center;gap:2px;flex-wrap:nowrap}
.nav-right{margin-left:auto;padding-right:56px}
.nav-cta{margin-left:10px!important;padding:9px 18px!important;border-radius:999px!important;background:linear-gradient(120deg,#6d28d9,#c026d3)!important;color:#fff!important;font-size:13px!important;font-weight:700;box-shadow:0 8px 18px rgba(126,34,206,.25);white-space:nowrap}
.nav-cta:hover{background:linear-gradient(120deg,#7e22ce,#db2777)!important;color:#fff!important}
.cta-secondary{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border:1.5px solid #c4b5fd;border-radius:14px;background:#fff;color:#5b21b6;font-weight:800;text-decoration:none;text-align:center;transition:transform .2s,border-color .2s,box-shadow .2s}
.cta-secondary:hover{transform:translateY(-2px);border-color:#7c3aed;box-shadow:0 8px 18px rgba(124,58,237,.12)}

/* Landing shared */
.landing-section-header{text-align:center;margin:0 auto 36px;max-width:680px}
.landing-section-header h2{margin:0 0 10px;color:#1e1b4b;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.03em;line-height:1.2}
.landing-section-sub{margin:0;color:#68738b;font-size:1rem;line-height:1.6}

/* ===== Section Dividers ===== */
.section-divider{
  border:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#ddd6fe 20%,#ddd6fe 80%,transparent);
  margin:0 auto 44px;
  max-width:960px;
  opacity:.5
}
.section-divider.strong{
  height:2px;
  background:linear-gradient(90deg,transparent,#6d28d9 15%,#6d28d9 85%,transparent);
  max-width:1100px;
  opacity:.65
}
.section-divider.soft{
  height:1px;
  background:linear-gradient(90deg,transparent,#ede9fe 15%,#ede9fe 85%,transparent);
  max-width:800px;
  opacity:.4
}

/* Hero */
.landing-hero{position:relative;overflow:hidden;padding:clamp(40px,6vw,72px) 0 clamp(48px,7vw,80px);background:
  radial-gradient(circle at 12% 20%,rgba(192,38,211,.12),transparent 28rem),
  radial-gradient(circle at 88% 10%,rgba(124,58,237,.14),transparent 30rem),
  linear-gradient(180deg,#faf7ff 0%,#fff 55%,#f8f6ff 100%)}
.landing-hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(28px,4vw,48px);align-items:center;max-width:1200px;margin:0 auto;padding:0 clamp(16px,3vw,28px)}
.landing-badge{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid #ddd6fe;border-radius:999px;background:#fff;color:#6d28d9;font-size:12px;font-weight:700;box-shadow:0 4px 12px rgba(109,40,217,.08)}
.landing-hero-title{margin:16px 0 10px;color:#1e1b4b;font-size:clamp(2rem,4.2vw,3.25rem);line-height:1.12;letter-spacing:-.04em;font-weight:800;text-align:left}
.landing-hero-sub{margin:0 0 12px;color:#5b21b6;font-size:1.1rem;font-weight:600}
.landing-hero-desc{margin:0 0 22px;color:#4b5563;font-size:1rem;line-height:1.7;max-width:34rem}
.landing-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.landing-benefits{display:flex;flex-wrap:wrap;gap:8px}
.landing-benefits span{padding:6px 11px;border-radius:999px;background:rgba(124,58,237,.07);color:#5b21b6;font-size:12px;font-weight:600}

/* Dashboard mock */
.dashboard-mock{display:grid;grid-template-columns:140px minmax(0,1fr);min-height:340px;border:1px solid rgba(109,40,217,.14);border-radius:18px;background:#fff;box-shadow:0 28px 60px rgba(49,31,104,.16);overflow:hidden}
.dashboard-sidebar{padding:16px 12px;background:linear-gradient(180deg,#1e1b4b,#312e81);color:#fff}
.dashboard-logo{margin-bottom:16px;padding:0 6px;font-size:13px;font-weight:800;letter-spacing:.04em}
.dashboard-nav{display:grid;gap:2px}
.dashboard-nav a{display:block;padding:8px 10px;border-radius:8px;color:#c7d2fe;font-size:11px;font-weight:600;text-decoration:none}
.dashboard-nav a.active,.dashboard-nav a:hover{background:rgba(255,255,255,.14);color:#fff}
.dashboard-main{padding:16px 18px;background:linear-gradient(160deg,#faf8ff,#fff)}
.dashboard-greeting{margin-bottom:14px;color:#1e1b4b;font-size:15px;font-weight:800}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.kpi-card{padding:10px;border:1px solid #ede9fe;border-radius:12px;background:#fff;text-align:center}
.kpi-card strong{display:block;color:#5b21b6;font-size:15px}
.kpi-card small{color:#7580a0;font-size:10px}
.dashboard-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dashboard-col{padding:12px;border:1px solid #eee9f9;border-radius:12px;background:#fff}
.dashboard-col h4{margin:0 0 8px;color:#312e81;font-size:12px}
.activity-list,.schedule-list{margin:0;padding:0;list-style:none}
.activity-list li,.schedule-list li{position:relative;padding:6px 0 6px 14px;color:#4b5563;font-size:11px;border-bottom:1px solid #f3f0fa}
.activity-list li:last-child,.schedule-list li:last-child{border-bottom:0}
.activity-list li::before{content:"";position:absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%;background:#7c3aed}
.schedule-list span{display:inline-block;min-width:62px;color:#7c3aed;font-weight:700}


/* Features */
.landing-features{padding:clamp(48px,7vw,80px) clamp(16px,3vw,28px);max-width:1200px;margin:0 auto}
.features-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.feature-card{padding:22px 18px;border:1px solid #eee9f9;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(49,31,104,.04);transition:transform .2s,box-shadow .2s,border-color .2s}
.feature-card:hover{transform:translateY(-3px);border-color:#ddd6fe;box-shadow:0 14px 28px rgba(109,40,217,.1)}
.feature-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:14px}
.feature-card h3{margin:0 0 6px;color:#1e1b4b;font-size:15px}
.feature-card p{margin:0;color:#68738b;font-size:13px;line-height:1.5}

/* Product preview */
.landing-product-preview{padding:clamp(40px,6vw,72px) clamp(16px,3vw,28px);max-width:1200px;margin:0 auto}
.product-showcase{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center}
.product-showcase-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;margin-bottom:14px;padding:16px;border:1px solid #eee9f9;border-radius:14px;background:#fff;align-items:start}
.product-showcase-number{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#ede9fe,#fce7f3);color:#6d28d9;font-size:13px;font-weight:800}
.product-showcase-item h3{margin:2px 0 4px;color:#1e1b4b;font-size:15px}
.product-showcase-item p{margin:0;color:#68738b;font-size:13px;line-height:1.55}
.dashboard-mock-product{min-height:280px}

/* AI */
.landing-ai{padding:clamp(40px,6vw,72px) clamp(16px,3vw,28px);max-width:1200px;margin:0 auto;background:linear-gradient(180deg,#faf8ff,#fff);border-radius:24px;border:1px solid #f1ecfb}
.ai-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ai-card{padding:24px 20px;border:1px solid #eee9f9;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(49,31,104,.04)}
.ai-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:14px}
.ai-card h3{margin:0 0 8px;color:#1e1b4b;font-size:16px}
.ai-card p{margin:0;color:#68738b;font-size:13px;line-height:1.55}


/* Mobile devices */
.landing-mobile{padding:clamp(48px,7vw,80px) clamp(16px,3vw,28px);background:linear-gradient(180deg,#f5f3ff 0%,#faf8ff 100%)}
.mobile-grid{display:flex;justify-content:center;align-items:flex-end;gap:clamp(16px,3vw,36px);flex-wrap:wrap;max-width:1000px;margin:0 auto 22px}
.device-mock{text-align:center}
.device-frame{margin:0 auto 10px;border:1px solid #ddd6fe;border-radius:16px;background:#1e1b4b;box-shadow:0 18px 40px rgba(49,31,104,.18);overflow:hidden;padding:6px}
.device-screen{background:#fff;border-radius:11px;min-height:140px;padding:10px}
.device-desktop{width:min(320px,90vw)}
.device-tablet{width:min(200px,70vw)}
.device-mobile{width:min(130px,44vw);border-radius:26px}
.device-mobile .device-screen{min-height:190px;border-radius:20px}
.device-desktop .device-screen{min-height:180px}
.device-mock-header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:10px}
.device-dot{width:7px;height:7px;border-radius:50%;background:#ddd6fe}
.device-status{font-size:10px;color:#68738b;font-weight:700}
.device-mock-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.device-nav-item{padding:3px 8px;border-radius:999px;background:#f3f0ff;color:#6d28d9;font-size:9px;font-weight:700}
.device-nav-item.active{background:#6d28d9;color:#fff}
.device-mock-content{display:grid;gap:6px}
.device-kpi{padding:8px;border-radius:8px;background:#faf8ff;color:#312e81;font-size:11px;font-weight:700;text-align:left}
.device-label{color:#5b21b6;font-size:12px;font-weight:700}
.mobile-badge-row{display:flex;justify-content:center}
.mobile-badge{display:inline-flex;padding:7px 16px;border-radius:999px;background:#fff;border:1px solid #ddd6fe;color:#6d28d9;font-size:12px;font-weight:800;box-shadow:0 6px 14px rgba(109,40,217,.08)}


/* Demo form */
.landing-demo{padding:clamp(48px,7vw,80px) clamp(16px,3vw,28px);max-width:960px;margin:0 auto}
.demo-wrapper{padding:clamp(22px,3vw,32px);border:1px solid #eee9f9;border-radius:20px;background:#fff;box-shadow:0 18px 48px rgba(49,31,104,.08)}
.demo-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.demo-form .form-field{display:grid;gap:.4rem}
.demo-form label{color:#34305d;font-size:12px;font-weight:700}
.demo-form input,.demo-form textarea{width:100%;box-sizing:border-box;padding:.75rem .9rem;border:1px solid #e1ddea;border-radius:10px;background:#fff;font:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}
.demo-form input:focus,.demo-form textarea:focus{outline:0;border-color:#7e22ce;box-shadow:0 0 0 4px rgba(126,34,206,.1)}
.form-field-full{grid-column:1/-1}
.demo-form .cta{width:100%;border:0;cursor:pointer}
.demo-success{text-align:center;padding:28px 12px}
.demo-success-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:#ecfdf5;color:#059669;font-size:24px;font-weight:800}
.demo-success h3{margin:0 0 8px;color:#1e1b4b}
.demo-success p{margin:0;color:#68738b}

/* Trust */
.landing-trust{padding:clamp(48px,7vw,80px) 0;background:linear-gradient(180deg,#fff 0%,#faf8ff 100%)}
.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1100px;margin:0 auto;padding:0 clamp(16px,3vw,28px)}
.trust-card{padding:24px 20px;border:1px solid #eee9f9;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(49,31,104,.04)}
.trust-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:14px}
.trust-card h3{margin:0 0 8px;color:#1e1b4b;font-size:16px}
.trust-card p{margin:0;color:#68738b;font-size:13px;line-height:1.55}

/* Final CTA */
.landing-final-cta{padding:clamp(40px,6vw,64px) clamp(16px,3vw,28px);max-width:1100px;margin:0 auto 32px}
.landing-final-cta-content{padding:clamp(32px,5vw,48px);border-radius:22px;background:linear-gradient(135deg,#33217e 0%,#6d28d9 52%,#c026d3 100%);color:#fff;text-align:center;box-shadow:0 24px 50px rgba(76,29,149,.22)}
.landing-final-cta-content h2{margin:0 0 10px;color:#fff;font-size:clamp(1.5rem,3vw,2.1rem);letter-spacing:-.03em}
.landing-final-cta-sub{margin:0 0 22px;color:rgba(255,255,255,.85);font-size:1rem}
.landing-final-cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.landing-final-cta .cta{background:#fff;color:#5b21b6;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.landing-final-cta .cta:hover{background:#fff;color:#4c1d95}
.landing-final-cta .cta-secondary{border-color:rgba(255,255,255,.45);background:transparent;color:#fff}
.landing-final-cta .cta-secondary:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}

/* Responsive */
@media(max-width:1000px){
  .landing-hero-grid,.product-showcase{grid-template-columns:1fr}
  .features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-brand{grid-column:1/-1}
  .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .features-grid,.ai-grid,.trust-grid,.demo-form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .dashboard-content{grid-template-columns:1fr}
  .dashboard-mock{grid-template-columns:1fr}
  .dashboard-sidebar{display:none}
  .landing-hero{padding-top:36px}
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .landing-hero-actions{flex-direction:column}
  .landing-hero-actions .cta,.landing-hero-actions .cta-secondary{width:100%}
}

/* Landing overrides for legacy elements */
.home-landing-page .site-hero,.home-landing-page .hero-slider{display:none!important}

/* ===== Premium Landing Layer v2 ===== */
body.home-landing-page{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
body.home-landing-page h1,body.home-landing-page h2,body.home-landing-page h3,
.landing-hero-title,.landing-section-header h2,.footer-col h4{font-family:'Sora','Inter',system-ui,sans-serif}

/* Entrance animations */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:none}

/* Eyebrow chips */
.eyebrow-chip{display:inline-flex;align-items:center;gap:7px;margin:0 auto 14px;padding:7px 14px;border:1px solid #ddd6fe;border-radius:999px;background:linear-gradient(180deg,#ffffff,#f6f2ff);color:#6d28d9;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 4px 12px rgba(109,40,217,.08)}
.eyebrow-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#db2777)}

/* Hero */
.landing-hero{position:relative;isolation:isolate}
.hero-bg{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.orb{position:absolute;width:34rem;height:34rem;border-radius:50%;filter:blur(85px);opacity:.5;will-change:transform}
.orb-a{top:-12rem;left:-10rem;background:#e9d5ff;animation:orbFloat 16s ease-in-out infinite alternate}
.orb-b{top:-8rem;right:-12rem;background:#fbcfe8;opacity:.45;animation:orbFloat 19s ease-in-out infinite alternate-reverse}
.orb-c{bottom:-16rem;left:32%;background:#ddd6fe;opacity:.4;animation:orbFloat 23s ease-in-out infinite alternate}
@keyframes orbFloat{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(40px,-30px,0) scale(1.08)}}
.hero-grid-lines{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(124,58,237,.05) 1px,transparent 1px),linear-gradient(to bottom,rgba(124,58,237,.05) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse at 50% 0%,#000 35%,transparent 72%);mask-image:radial-gradient(ellipse at 50% 0%,#000 35%,transparent 72%)}
.landing-hero-grid{position:relative}
.landing-badge{align-items:center;gap:8px;padding:8px 14px;font-size:12.5px}
.badge-dot{position:relative;display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981}
.badge-dot::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:1.5px solid #10b981;animation:pulseRing 1.8s ease-out infinite}
@keyframes pulseRing{0%{transform:scale(.6);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.landing-hero-title{margin:20px 0 14px;font-size:clamp(2.3rem,5vw,3.9rem);line-height:1.07;letter-spacing:-.045em}
.landing-hero-title em{font-style:normal;background:linear-gradient(92deg,#7c3aed 10%,#db2777 60%,#f472b6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#7c3aed}
.landing-hero-desc{font-size:1.09rem;line-height:1.75;max-width:36rem}
.landing-hero-actions{margin-bottom:26px}
.landing-hero-actions .cta{padding:14px 26px!important;border-radius:999px!important;background:linear-gradient(120deg,#6d28d9,#c026d3)!important;box-shadow:0 12px 26px rgba(124,58,237,.32)!important}
.landing-hero-actions .cta:hover{transform:translateY(-2px)}
/* Hero stats */
.hero-stats{display:flex;list-style:none;margin:0;padding:0;gap:clamp(20px,3vw,34px);flex-wrap:wrap}
.hero-stats li{position:relative;min-width:86px}
.hero-stats li+li::before{content:"";position:absolute;left:calc(-1 * clamp(10px,1.5vw,17px));top:6px;bottom:6px;width:1px;background:#e6e1f5}
.hero-stats strong{display:block;color:#1e1b4b;font-size:clamp(1.4rem,2.4vw,1.8rem);font-weight:800;letter-spacing:-.03em}
.hero-stats small{display:block;margin-top:3px;color:#68738b;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}

/* Window chrome around dashboard mock */
.dash-shell{border:1px solid rgba(109,40,217,.16);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 34px 70px rgba(49,31,104,.2),0 8px 22px rgba(49,31,104,.08)}
.dash-chrome{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#faf9ff;border-bottom:1px solid #efeafc}
.dash-chrome i{width:10px;height:10px;border-radius:50%}
.dash-chrome i:nth-child(1){background:#f87171}.dash-chrome i:nth-child(2){background:#fbbf24}.dash-chrome i:nth-child(3){background:#34d399}
.dash-chrome b{flex:1;margin-left:8px;padding:4px 12px;border-radius:999px;background:#f3effe;color:#6d28d9;font-size:11px;font-weight:700;text-align:center}
.dash-shell .dashboard-mock{border:0;border-radius:0;box-shadow:none;min-height:auto;background:#fff}

/* Floating notification chips */
.float-chip{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid rgba(255,255,255,.9);border-radius:12px;background:rgba(255,255,255,.88);backdrop-filter:blur(8px);color:#34305d;font-size:12px;font-weight:600;box-shadow:0 14px 30px rgba(49,31,104,.18);animation:chipFloat 5s ease-in-out infinite}
.float-chip b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#ede9fe;font-size:11px}
.chip-top{top:-14px;right:-6px}
.chip-bottom{bottom:-16px;left:-10px;animation-delay:2.5s}
.chip-bottom b{background:#dcfce7;color:#15803d}
@keyframes chipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(max-width:900px){.float-chip{display:none}}
/* KPI cards */
.kpi-card{padding:11px 9px;text-align:left;display:grid;gap:2px}
.kpi-card small{color:#7580a0;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.kpi-card strong{color:#211653;font-size:16px;font-weight:800;letter-spacing:-.02em}
.delta{justify-self:start;padding:1.5px 7px;border-radius:999px;font-size:8.5px;font-weight:800;letter-spacing:.02em}
.delta.up{background:#ecfdf5;color:#059669}
.delta.down{background:#fef2f2;color:#dc2626}

/* Mini bar chart */
.dashboard-col-chart{display:flex;flex-direction:column}
.mini-bars{display:flex;align-items:flex-end;gap:6px;flex:1;min-height:74px;margin-top:10px}
.mini-bars i{flex:1;height:var(--h,50%);border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#a78bfa,#6d28d9);transform-origin:bottom;animation:barGrow .9s cubic-bezier(.2,.7,.3,1) both}
.mini-bars i:nth-child(2){animation-delay:.07s}.mini-bars i:nth-child(3){animation-delay:.14s}.mini-bars i:nth-child(4){animation-delay:.21s}.mini-bars i:nth-child(5){animation-delay:.28s}.mini-bars i:nth-child(6){animation-delay:.35s}.mini-bars i:nth-child(7){animation-delay:.42s}
.mini-bars-sm{min-height:58px}
.mini-bars-days{display:flex;gap:6px;margin-top:7px}
.mini-bars-days span{flex:1;text-align:center;color:#9aa1b9;font-size:8px;font-weight:700}
@keyframes barGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* Feature cards */
.feature-card{position:relative;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.feature-card::before{content:"";position:absolute;top:-1px;left:18px;right:18px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#7c3aed,#db2777);opacity:0;transition:opacity .25s ease}
.feature-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(76,29,149,.14);border-color:#ddd6fe}
.feature-card:hover::before{opacity:1}
.feature-icon{transition:transform .25s ease}
.feature-card:hover .feature-icon{transform:rotate(-7deg) scale(1.07)}
.feature-card p{line-height:1.55}
/* Product showcase items */
.product-showcase-item{transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease;box-shadow:inset 3px 0 0 #eee9f9}
.product-showcase-item:hover{transform:translateX(4px);box-shadow:inset 3px 0 0 #7c3aed,0 12px 24px rgba(49,31,104,.08)}
.product-showcase-number{background:linear-gradient(135deg,#ede9fe,#fce7f3)}
/* AI cards */
.ai-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.ai-card:hover{transform:translateY(-5px);border-color:#ddd6fe;box-shadow:0 16px 32px rgba(76,29,149,.12)}

/* Demo split */
.demo-split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(20px,3vw,34px);align-items:start}
.demo-perks{padding:clamp(22px,3vw,30px);border-radius:20px;background:linear-gradient(155deg,#33217e 0%,#6d28d9 60%,#9333ea 100%);color:#fff;box-shadow:0 22px 48px rgba(49,31,104,.28)}
.demo-perks h3{margin:0 0 18px;color:#fff;font-size:19px;letter-spacing:-.02em}
.demo-perks ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.demo-perks li{position:relative;padding-left:34px;color:rgba(255,255,255,.92);font-size:13.5px;line-height:1.55}
.demo-perks li::before{content:'';position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);box-sizing:border-box}
.demo-perks li::after{content:'';position:absolute;left:7px;top:8px;width:6px;height:3px;border-left:2px solid #a7f3d0;border-bottom:2px solid #a7f3d0;transform:rotate(-45deg)}
.demo-quote{margin:24px 0 0;padding-left:16px;border-left:3px solid rgba(255,255,255,.35);font-size:13.5px;line-height:1.6;font-style:italic;color:rgba(255,255,255,.95)}
.demo-quote cite{display:block;margin-top:8px;font-style:normal;font-size:11.5px;font-weight:700;color:rgba(255,255,255,.7)}
.demo-form-pane{min-width:0}
.demo-wrapper{box-shadow:0 24px 56px rgba(49,31,104,.1)}
@media(max-width:900px){.demo-split{grid-template-columns:1fr}}

/* Final CTA reassurance */
.final-reassure{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 14px;margin-bottom:24px;color:rgba(255,255,255,.88);font-size:13px;font-weight:600}
.final-reassure span{display:inline-flex;align-items:center;gap:6px}
.final-reassure span::before{content:'';display:inline-block;width:8px;height:5px;border-left:2px solid #6ee7b7;border-bottom:2px solid #6ee7b7;transform:rotate(-45deg);margin-right:4px}
.final-reassure i{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.4)}

/* Partner/school cards on landing */
.landing-partners .partner-card{background:#fff;transition:transform .2s ease,box-shadow .2s ease}
.landing-partners .partner-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(49,31,104,.1)}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  .orb,.float-chip,.badge-dot::after{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
  .mini-bars i{animation:none}
}


/* ==== v5 premium polish ==== */
/* Footer — single canonical block (neat & clean) */
.site-footer{padding:16px 0;background:#14123a;background-image:linear-gradient(180deg,#171540 0%,#100f2c 100%);border-top:1px solid rgba(167,139,250,.16)}
.site-footer .container{padding-top:0;padding-bottom:0;text-align:left;color:#c3cbef;font-size:14px;line-height:1.5}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,minmax(0,1fr));gap:30px 24px;align-items:start}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start}
.footer-logo-lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.footer-logo-chip{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#fff;box-shadow:0 6px 14px rgba(9,7,32,.35);overflow:hidden}
.footer-logo-img{width:25px;height:25px;object-fit:contain;display:block}
.footer-logo-text{display:flex;flex-direction:column;line-height:1.12}
.footer-logo-text .site-title{color:#fff;font-size:16px;font-weight:800;letter-spacing:-.01em}
.footer-logo-text .site-subtitle{color:#8fa0e8;font-size:10.5px;font-weight:600;margin-top:2px}
.footer-tagline{color:#a4adda!important;font-size:13px;line-height:1.55;margin:12px 0 0;max-width:210px}
.footer-col h4{color:#fff!important;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:4px 0 14px}
.footer-col a{display:block;color:#b6bfe8;margin-bottom:9px;font-size:13px;text-decoration:none;transition:color .15s ease}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:34px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);color:#8892c4!important;font-size:12.5px}
.footer-bottom p{margin:0}
.footer-social{display:flex;gap:8px}
.social-link{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:#dfe4ff;font-size:11px;font-weight:800;text-decoration:none;transition:all .18s ease}
.social-link:hover{transform:translateY(-2px);background:linear-gradient(135deg,#6d28d9,#c026d3);border-color:transparent;color:#fff}
/* Feature cards */
.home-landing-page .features-grid{gap:18px}
.home-landing-page .feature-card{padding:26px 22px;border-radius:20px;background:linear-gradient(180deg,#fff,#fcfbff);box-shadow:0 12px 32px rgba(49,31,104,.07)}
.home-landing-page .feature-card:hover{transform:translateY(-7px)!important;box-shadow:0 24px 48px rgba(76,29,149,.16)!important}
.home-landing-page .feature-card::after{content:"";position:absolute;right:-42px;bottom:-42px;width:130px;height:130px;border-radius:50%;background:var(--glow,#ede9fe);filter:blur(46px);opacity:.75;transition:opacity .25s ease;pointer-events:none}
.home-landing-page .feature-card:hover::after{opacity:1}
.home-landing-page .feature-card:nth-child(1){--a:#7c3aed;--b:#5b21b6;--glow:#ede9fe}
.home-landing-page .feature-card:nth-child(2){--a:#059669;--b:#047857;--glow:#d1fae5}
.home-landing-page .feature-card:nth-child(3){--a:#d97706;--b:#b45309;--glow:#fef3c7}
.home-landing-page .feature-card:nth-child(4){--a:#db2777;--b:#be185d;--glow:#fce7f3}
.home-landing-page .feature-card:nth-child(5){--a:#0284c7;--b:#0369a1;--glow:#e0f2fe}
.home-landing-page .feature-card:nth-child(6){--a:#6366f1;--b:#4f46e5;--glow:#e0e7ff}
.home-landing-page .feature-card:nth-child(7){--a:#ea580c;--b:#c2410c;--glow:#ffedd5}
.home-landing-page .feature-card:nth-child(8){--a:#10b981;--b:#059669;--glow:#d1fae5}
.home-landing-page .feature-card:nth-child(9){--a:#c026d3;--b:#a21caf;--glow:#fae8ff}
.home-landing-page .feature-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 8px 16px color-mix(in srgb,var(--a) 35%,transparent),inset 0 1px 0 rgba(255,255,255,.45);transition:transform .2s ease}
.home-landing-page .feature-card:hover .feature-icon{transform:rotate(-3deg) scale(1.04)}
.home-landing-page .feature-icon svg *{stroke:#fff}
.home-landing-page .feature-card h3{font-size:15px;font-weight:800}
.home-landing-page .feature-card p{color:#64748b;font-size:12.5px;line-height:1.55}
.home-landing-page .feature-card .jargon-tip{display:block;font-size:10.5px;color:#a78bfa;text-decoration:underline;text-underline-offset:2px;cursor:help;border-bottom:1.5px dashed #c4b5fd;margin-top:3px;line-height:1.4}
.home-landing-page .feature-card .jargon-tip:hover{color:#7c3aed}
/* Product tour step cards */
.home-landing-page .product-showcase-item{grid-template-columns:52px minmax(0,1fr);gap:14px;padding:18px 18px 16px;margin-bottom:12px;border-radius:18px;border-color:#ece7fa;background:linear-gradient(180deg,#fff,#fbfaff);box-shadow:0 8px 22px rgba(49,31,104,.05);position:relative;z-index:1}
.home-landing-page .product-showcase-item:hover{box-shadow:0 14px 30px rgba(76,29,149,.1)!important;z-index:2}
.home-landing-page .product-showcase-number{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#6d28d9,#c026d3);color:#fff;font-size:13px;box-shadow:0 8px 16px rgba(124,58,237,.3),inset 0 1px 0 rgba(255,255,255,.4)}
.home-landing-page .product-showcase-item h3{font-size:15px;font-weight:800}
.home-landing-page .product-showcase-item p{color:#64748b;font-size:12.5px;line-height:1.55}
.home-landing-page .product-showcase-item .jargon-tip{display:block;font-size:10.5px;color:#a78bfa;text-decoration:underline;text-underline-offset:2px;cursor:help;border-bottom:1.5px dashed #c4b5fd;margin-top:3px;line-height:1.4}
.home-landing-page .product-showcase-item .jargon-tip:hover{color:#7c3aed}
/* AI role cards */
.home-landing-page .ai-card{position:relative;overflow:hidden;padding:28px 24px 24px;border-radius:20px;box-shadow:0 12px 32px rgba(49,31,104,.06)}
.home-landing-page .ai-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--a),transparent)}
.home-landing-page .ai-card:nth-child(1){--a:#6d28d9;--ai:#ede9fe}
.home-landing-page .ai-card:nth-child(2){--a:#db2777;--ai:#fce7f3}
.home-landing-page .ai-card:nth-child(3){--a:#0284c7;--ai:#e0f2fe}
.home-landing-page .ai-icon{width:54px;height:54px;border-radius:16px;background:var(--ai);box-shadow:inset 0 0 0 1px rgba(49,31,104,.05)}
.home-landing-page .ai-icon svg *{stroke:var(--a)}
.home-landing-page .ai-card h3{font-size:17px;font-weight:800}
.home-landing-page .ai-card p{color:#68738b;font-size:13.5px;line-height:1.65}
/* Device mocks */
.device-frame{background:linear-gradient(160deg,#2b2160,#171338);box-shadow:0 22px 46px rgba(23,15,60,.32),inset 0 1px 0 rgba(255,255,255,.22)}
.device-screen{background:linear-gradient(180deg,#fdfcff,#f7f4ff)}
.device-label{display:inline-block;margin-top:12px;padding:5px 14px;border-radius:999px;background:#fff;border:1px solid #e5defa;color:#4c1d95;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 6px 14px rgba(76,29,149,.1)}
.device-feature-card{padding:13px 14px;border-radius:14px;background:linear-gradient(160deg,#fff,#faf8ff);border:1px solid #ede9f9;box-shadow:0 4px 12px rgba(49,31,104,.05);position:relative;z-index:1}
.device-feature-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(76,29,149,.09)!important;z-index:2}
.device-feature-card .device-feature-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin-bottom:8px;box-shadow:0 6px 14px color-mix(in srgb,var(--a) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.45)}
.device-feature-card .device-feature-icon svg *{stroke:#fff}
.device-feature-card h3{font-size:13.5px;font-weight:800;color:#1e1b4b;margin:0 0 3px}
.device-feature-card p{font-size:11.5px;color:#64748b;line-height:1.5;margin:0}
.device-feature-card .dev-jargon{display:block;font-size:10px;color:#a78bfa;text-decoration:underline;text-underline-offset:2px;cursor:help;border-bottom:1.5px dashed #c4b5fd;margin-top:3px;line-height:1.4}
.device-feature-card .dev-jargon:hover{color:#7c3aed}
@media(max-width:720px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px 18px}
  .footer-brand{grid-column:1/-1;align-items:flex-start}
  .footer-bottom{justify-content:center;text-align:center}
}
/* Trust icon accents */
.home-landing-page .trust-card:nth-child(1){--a:#059669;--b:#047857}
.home-landing-page .trust-card:nth-child(2){--a:#d97706;--b:#b45309}
.home-landing-page .trust-card:nth-child(3){--a:#7c3aed;--b:#5b21b6}
.home-landing-page .trust-icon{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 12px 24px rgba(49,31,104,.18)}
.home-landing-page .trust-icon svg *{stroke:#fff}
/* ==========================================================================
   MOBILE NAVIGATION FIX (2026-08-27)
   Root cause of "Home/About/Contact in one row on mobile": the unscoped rule
   `.nav-left,.nav-right{display:flex;...;flex-wrap:nowrap}` earlier in this
   file appears AFTER the <=900px drawer rules in source order, so it won the
   cascade at every viewport width and kept those link groups on a single
   horizontal row inside the slide-in menu.
   These overrides are appended LAST, so they win without !important hacks.
   ========================================================================== */

/* Off-canvas drawer widths (phones + small tablets): stack every nav group
   into ONE COLUMN with comfortable full-width tap targets (44px+ height). */
@media (max-width:900px){
  .nav-left,
  .nav-right{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:2px;
    width:100%;
    margin:0;
  }
  /* second group sits under the first inside the drawer */
  .nav-right{margin-left:0;margin-top:10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18)}
  /* each link becomes a full-width stacked row */
  .nav-left a,
  .nav-right a{
    display:block;
    width:100%;
    box-sizing:border-box;
    margin:0;
    padding:12px 10px;
    min-height:44px;
    font-size:15px;
    text-align:left;
    border-radius:10px;
  }
  .nav-left .nav-cta,
  .nav-right .nav-cta{margin-top:8px!important;text-align:center}
  /* hamburger button: larger touch area, stays inside gradient header */
  .nav-toggle{font-size:24px;line-height:1;padding:10px 14px;-webkit-tap-highlight-color:transparent;border-radius:8px}
  .nav-toggle:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}
}

/* Very small phones: keep drawer flush against a ~56px header (last-in-file
   therefore wins over the earlier 52px/56px mix). */
@media (max-width:420px){
  .site-header{min-height:56px}
  .site-header .container{min-height:56px}
  .site-header .logo a{height:56px}
  .site-logo{height:32px}
  .nav{top:56px;height:calc(100dvh - 56px);width:min(88vw,340px)}
}

/* Small tablets / short laptops (901px-1150px): the ☰ is hidden and the
   inline nav is shown; allow wrapping there so long menus never overflow
   horizontally out of the header. */
@media (min-width:901px) and (max-width:1150px){
  .nav{white-space:normal}
  .nav-left{flex-wrap:wrap}
  .nav a{padding:7px 7px;font-size:13px}
}
/* Fallback shadow when color-mix() unsupported */
@supports not (color:color-mix(in srgb,red,blue)){
  .home-landing-page .feature-icon{box-shadow:0 12px 24px rgba(76,29,149,.25),inset 0 1px 0 rgba(255,255,255,.45)}
}
/* Member welcome card (logged-in, no school space) */
.member-welcome{max-width:1200px;margin:0 auto;padding:clamp(28px,5vw,48px) clamp(16px,3vw,28px)}
.member-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding:clamp(22px,3vw,34px) clamp(22px,3vw,36px);border:1px solid #e8e2f4;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f6f2ff 100%);box-shadow:0 16px 40px rgba(49,31,104,.1)}
.member-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#6d28d9,#c026d3);color:#fff;font-size:24px;font-weight:800}
.member-copy h1{margin:.35rem 0 .3rem;color:#1e1b4b;font-size:clamp(1.3rem,2.4vw,1.7rem);letter-spacing:-.02em}
.member-copy p{margin:0;color:#68738b;font-size:14px;line-height:1.55}
.member-links{display:flex;flex-wrap:wrap;gap:10px}
.member-links a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #e4ddf5;border-radius:999px;background:#fff;color:#4b4671;font-size:13px;font-weight:700;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.member-links a b{font-size:15px}
.member-links a:hover{border-color:#a78bfa;transform:translateY(-1px);box-shadow:0 6px 16px rgba(109,40,217,.12)}
.member-link-primary{border-color:transparent!important;background:linear-gradient(120deg,#6d28d9,#c026d3)!important;color:#fff!important}
@media(max-width:900px){.member-card{grid-template-columns:1fr;text-align:left}}

/* === School Owner Survey === */
.survey-page main.site-main{width:100%;max-width:none;margin:0;padding:0}
.survey-hero{position:relative;padding:clamp(44px,7vw,84px) clamp(16px,3vw,28px) clamp(20px,3vw,32px);text-align:center;background:
  radial-gradient(circle at 18% 18%,rgba(192,38,211,.12),transparent 26rem),
  radial-gradient(circle at 82% 8%,rgba(124,58,237,.15),transparent 28rem),
  linear-gradient(180deg,#faf7ff,#fff)}
.survey-hero h1{max-width:760px;margin:14px auto 12px;color:#1e1b4b;font-size:clamp(1.9rem,4vw,2.9rem);line-height:1.14;letter-spacing:-.03em}
.survey-hero p{max-width:600px;margin:0 auto;color:#68738b;font-size:1rem;line-height:1.65}
.survey-perks{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px}
.survey-perks span{padding:8px 14px;border:1px solid #ddd6fe;border-radius:999px;background:#fff;color:#5b21b6;font-size:13px;font-weight:700;box-shadow:0 4px 12px rgba(109,40,217,.06)}
.survey-body{padding:clamp(24px,4vw,48px) clamp(16px,3vw,28px) clamp(56px,7vw,80px);max-width:860px;margin:0 auto;display:grid;gap:22px}
.survey-card{padding:clamp(20px,3vw,30px);border:1px solid #eee9f9;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(49,31,104,.07)}
.survey-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}
.survey-card-head p{margin:4px 0 0;color:#68738b;font-size:13px;line-height:1.55}
.survey-card-head h2{margin:0;color:#1e1b4b;font-size:17px;letter-spacing:-.02em}
.survey-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#ede9fe,#fce7f3);color:#6d28d9;font-family:Sora,sans-serif;font-size:13px;font-weight:800}
.survey-choices{display:grid;gap:12px}
@media(min-width:720px){.survey-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
.survey-choice input{position:absolute;opacity:0;pointer-events:none}
.survey-choice-box{display:block;padding:16px 14px;border:1.5px solid #e6e0f5;border-radius:14px;background:#fdfcff;color:#34305d;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.survey-choice-box small{display:block;margin-top:4px;color:#7580a0;font-size:11px;font-weight:500}
.survey-choice:hover .survey-choice-box{border-color:#c4b5fd;transform:translateY(-2px)}
.survey-choice input:checked+.survey-choice-box{border-color:#7c3aed;background:linear-gradient(160deg,#faf6ff,#fff);box-shadow:0 0 0 4px rgba(124,58,237,.12);color:#5b21b6}
.survey-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.survey-chip input{position:absolute;opacity:0;pointer-events:none}
.survey-chip span{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #e1ddea;border-radius:999px;background:#fff;color:#4b4671;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.survey-chip span::before{content:"";width:6px;height:6px;margin-right:7px;border-radius:50%;background:#ddd6fe;transition:background .15s}
.survey-chip:hover span{border-color:#c4b5fd}
.survey-chip input:checked+span{border-color:#7c3aed;background:#7c3aed;color:#fff}
.survey-chip input:checked+span::before{background:#fde047}
.demo-form select{width:100%;box-sizing:border-box;padding:.75rem .9rem;border:1px solid #e1ddea;border-radius:10px;background:#fff;font:inherit;font-size:14px;color:#20253d;transition:border-color .2s,box-shadow .2s}
.demo-form select:focus{outline:0;border-color:#7e22ce;box-shadow:0 0 0 4px rgba(126,34,206,.1)}
.survey-errors{margin-bottom:6px;padding:14px 16px;border:1px solid #fecaca;border-radius:14px;background:#fef2f2;color:#991b1b;font-size:13px}
.survey-errors ul{margin:.45rem 0 0;padding-left:18px}
.survey-errors li{margin:2px 0}
.survey-submit{min-width:min(280px,100%);justify-self:start}
.survey-form{display:flex;flex-direction:column}
.survey-footnote{margin:10px 0 0;color:#8992a8;font-size:12px;text-align:center}
@media(max-width:480px){.survey-submit{width:100%}}

/* === TOUR PREMIUM v6 === */
.landing-product-preview .landing-section-header h2{font-family:"Sora",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.03em;line-height:1.15}
.landing-section-header h2 em{font-style:normal;background:linear-gradient(120deg,#7c3aed,#c026d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.tour-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.tour-meta span{padding:7px 13px;border-radius:999px;border:1px solid #ede9fe;background:#fff;color:#5b21b6;font-size:12px;font-weight:700;box-shadow:0 6px 14px rgba(109,40,217,.06)}
/* === TOUR v8 - full-width product stage + two-column step grid === */
.product-stage{position:relative;z-index:1;margin:6px 0 26px}
.product-stage::before{content:"";position:absolute;left:5%;right:5%;top:-20px;height:62%;border-radius:50%;background:radial-gradient(closest-side,rgba(124,58,237,.22),rgba(124,58,237,0));filter:blur(26px);z-index:0;pointer-events:none}
.product-stage::after{content:"";position:absolute;left:10%;right:10%;bottom:-18px;height:55%;border-radius:50%;background:radial-gradient(closest-side,rgba(192,38,211,.16),rgba(56,189,248,.14));filter:blur(30px);z-index:0;pointer-events:none}
.product-stage .dash-shell{position:relative;z-index:1}
.landing-product-preview .dash-shell{overflow:visible}
.landing-product-preview .dash-shell .dash-chrome{border-radius:20px 20px 0 0}
.landing-product-preview .dash-shell .dashboard-mock{border-radius:0 0 20px 20px}
.stage-facts{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0 0;padding:0;list-style:none}
.stage-facts li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #ece7fa;border-radius:999px;background:rgba(255,255,255,.92);color:#5b6478;font-size:12px;font-weight:600;box-shadow:0 8px 18px rgba(49,31,104,.06)}
.stage-facts li b{color:#5b21b6;font-weight:800}
.stage-facts li i{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#c026d3)}
.landing-product-preview .dashboard-mock{grid-template-columns:200px minmax(0,1fr);min-height:360px}
.landing-product-preview .dashboard-content{grid-template-columns:repeat(3,minmax(0,1fr))}
.landing-product-preview .mock-rows{display:grid;gap:10px;margin-top:2px}
.landing-product-preview .mock-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;color:#4b5563;font-size:11px;font-weight:600}
.landing-product-preview .mock-row em{font-style:normal;color:#5b21b6;font-size:11px;font-weight:800}
.landing-product-preview .mock-track{grid-column:1/-1;height:6px;border-radius:999px;background:#f1eefe;overflow:hidden}
.landing-product-preview .mock-track b{display:block;width:var(--w,70%);height:100%;border-radius:999px;background:linear-gradient(90deg,#7c3aed,#c026d3)}
.tour-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tour-steps::before{content:"";position:absolute;z-index:0;left:32px;top:26px;bottom:26px;width:2px;border-radius:2px;background:linear-gradient(180deg,#ddd6fe 0%,#e9d5ff 50%,#f5d0fe 100%);display:none}
.tour-step:last-child{grid-column:1/-1}
.tour-step:last-child .tour-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-areas:"head head" "text tags";gap:8px 26px;align-items:start}
.tour-step:last-child .tour-body h3{grid-area:head}
.tour-step:last-child .tour-body p{grid-area:text;margin:0}
.tour-step:last-child .tour-body .tour-tags{grid-area:tags;align-content:start}
@media(max-width:1000px){.landing-product-preview .dashboard-mock{grid-template-columns:150px minmax(0,1fr)}.landing-product-preview .dashboard-content{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* the stage window is ~1300px wide, so the mock's own type/spacing scale up with it */
.landing-product-preview .dashboard-sidebar{padding:18px 14px}
.landing-product-preview .dashboard-logo{margin-bottom:18px;font-size:14px;letter-spacing:.03em}
.landing-product-preview .dashboard-nav{gap:3px}
.landing-product-preview .dashboard-nav a{padding:9px 11px;border-radius:9px;font-size:12px}
.landing-product-preview .dashboard-main{padding:18px 22px}
.landing-product-preview .dashboard-greeting{margin-bottom:16px;font-size:16px}
.landing-product-preview .dashboard-kpis{gap:10px;margin-bottom:16px}
.landing-product-preview .kpi-card{padding:12px 10px}
.landing-product-preview .kpi-card small{font-size:11px}
.landing-product-preview .kpi-card strong{margin:3px 0 5px;font-size:19px}
.landing-product-preview .delta{padding:2px 8px;font-size:9.5px}
.landing-product-preview .dashboard-content{gap:14px}
.landing-product-preview .dashboard-col{padding:14px}
.landing-product-preview .dashboard-col h4{margin-bottom:10px;font-size:13px}
.landing-product-preview .activity-list li{padding:7px 0 7px 16px;font-size:12px}
.landing-product-preview .activity-list li::before{top:12px;width:7px;height:7px}
.landing-product-preview .mock-rows{gap:12px}
.landing-product-preview .mock-row{font-size:12px;row-gap:5px}
.landing-product-preview .mock-row em{font-size:12px}
.landing-product-preview .mock-track{height:7px}
.landing-product-preview .mini-bars-sm{min-height:88px}
.landing-product-preview .mini-bars-days span{font-size:9.5px}
.tour-step{position:relative;z-index:1;display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:start;padding:20px;border:1px solid #eee9f9;border-radius:18px;background:rgba(255,255,255,.88);backdrop-filter:blur(6px);box-shadow:0 10px 28px rgba(49,31,104,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.tour-step:hover{transform:translateY(-4px);border-color:#ddd6fe;box-shadow:0 20px 44px rgba(109,40,217,.15)}
.tour-node{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;border:2px solid #ede9fe;box-shadow:0 8px 18px rgba(124,58,237,.18);transition:border-color .25s,transform .25s}
.tour-step:hover .tour-node{border-color:#c4b5fd;transform:scale(1.05)}
.tour-num{font-family:"Sora",ui-sans-serif,system-ui;font-style:normal;font-size:15px;font-weight:800;letter-spacing:.02em;background:linear-gradient(135deg,#6d28d9,#c026d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.tour-body{min-width:0}
.tour-body h3{margin:2px 0 6px;font-family:"Sora",ui-sans-serif,system-ui;font-size:1.08rem;font-weight:800;color:#1e1b4b;letter-spacing:-.02em}
.tour-body p{margin:0 0 12px;color:#55607a;font-size:.95rem;line-height:1.65}
.tour-tags{display:flex;flex-wrap:wrap;gap:6px}
.tour-tags span{padding:5px 11px;border-radius:999px;background:linear-gradient(120deg,#f5f3ff,#fdf4ff);border:1px solid #ece5ff;color:#6d28d9;font-size:11px;font-weight:700}
.landing-dashboard-mock{position:relative;min-width:0}
.landing-hero-content{min-width:0;max-width:36rem}
.dash-shell{position:relative}
.mock-float-badge,.mock-float-pill{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:12px;border:1px solid rgba(255,255,255,.75);background:rgba(255,255,255,.94);box-shadow:0 14px 30px rgba(49,31,104,.18);font-size:12px;font-weight:800;font-family:"Sora",ui-sans-serif,system-ui}
.mock-float-badge{top:-14px;left:-14px;color:#047857;animation:bob 5s ease-in-out infinite}
.mock-float-pill{bottom:-14px;right:-12px;color:#6d28d9;animation:bob 6s ease-in-out infinite reverse}
.mock-float-pill i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.2)}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:720px){
  .tour-steps{grid-template-columns:1fr}
  .tour-steps::before{display:block;left:24px}
  .tour-step:last-child{grid-column:auto}
  .tour-step:last-child .tour-body{grid-template-columns:1fr;grid-template-areas:"head" "text" "tags";gap:0;max-width:none}
  .tour-step:last-child .tour-body p{margin:0 0 10px}
  .landing-product-preview .dashboard-mock{grid-template-columns:1fr}
  .landing-product-preview .dashboard-content{grid-template-columns:1fr}
  .stage-facts{justify-content:flex-start;gap:8px}
  .stage-facts li{font-size:11px;padding:7px 12px}
  .tour-step{grid-template-columns:40px 1fr;padding:16px}
  .tour-node{width:38px;height:38px}
  .tour-num{font-size:12px}
  .mock-float-badge{left:0}.mock-float-pill{right:0}
}
@media(prefers-reduced-motion:reduce){.mock-float-badge,.mock-float-pill{animation:none}}


/* === NAV SURVEY PILL v7 === */
.nav-survey{display:inline-flex;align-items:center;gap:8px;padding:8px 15px!important;border:1.5px solid #a78bfa;border-radius:999px;background:rgba(124,58,237,.05);color:#6d28d9!important;font-weight:800;font-size:13px;line-height:1;text-decoration:none;transition:background .2s,border-color .2s,transform .15s}
.nav-survey:hover{background:#f3e8ff;border-color:#7c3aed;color:#5b21b6!important;transform:translateY(-1px)}
.survey-dot{width:8px;height:8px;border-radius:50%;background:#c026d3;flex:0 0 auto;animation:pulse-dot 1.8s ease-out infinite}
@keyframes pulse-dot{0%{box-shadow:0 0 0 0 rgba(192,38,211,.45)}70%{box-shadow:0 0 0 7px rgba(192,38,211,0)}100%{box-shadow:0 0 0 0 rgba(192,38,211,0)}}
@media(max-width:900px){.nav-survey{width:100%;justify-content:center;padding:11px 15px!important}}


/* ================================================================
   ABOUT PAGE - ENHANCED STYLES
   ================================================================ */

/* Hero Stats */
.about-hero-stats{display:flex;gap:32px;margin:32px 0}
.stat-item{display:flex;flex-direction:column}
.stat-item strong{font-size:28px;font-weight:800;color:#211653}
.stat-item span{font-size:12px;color:#68738b;margin-top:4px}

/* Solutions Section */
.about-solutions{margin-bottom:80px}
.solutions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.solution-card{padding:28px;border:1px solid #e7e5f0;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(30,27,75,.035);transition:transform .2s,box-shadow .2s}
.solution-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(30,27,75,.08)}
.solution-icon{font-size:32px;margin-bottom:16px}
.solution-card h3{margin:0 0 10px;color:#211653;font-size:18px}
.solution-card p{margin:0;color:#68738b;font-size:13px;line-height:1.7}

/* Features Section */
.about-features{margin-bottom:80px}
.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.feature-card{display:flex;gap:16px;padding:24px;border:1px solid #e7e5f0;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(30,27,75,.035)}
.feature-number{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#ede9fe;color:#6d28d9;font-size:14px;font-weight:800}
.feature-card h3{margin:0 0 8px;color:#211653;font-size:16px}
.feature-card p{margin:0;color:#68738b;font-size:13px;line-height:1.7}

/* CTA Secondary */
.about-cta-secondary{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.3)}
.about-cta-secondary:hover{background:rgba(255,255,255,.3)}
.cta-buttons{display:flex;gap:12px;flex-wrap:wrap}

/* Responsive About Page */
@media(max-width:900px){
  .about-hero-pro{grid-template-columns:1fr;gap:40px}
  .about-hero-pro h1{font-size:40px}
  .about-hero-stats{justify-content:center}
  .solutions-grid{grid-template-columns:repeat(2,1fr)}
  .features-grid{grid-template-columns:1fr}
  .about-story,.about-profile{grid-template-columns:1fr;gap:30px}
  .about-profile-image img{height:200px}
  .about-resources{flex-direction:column;text-align:center}
  .cta-buttons{justify-content:center}
}
@media(max-width:600px){
  .about-page{padding:40px 0}
  .about-hero-pro h1{font-size:32px}
  .about-hero-stats{flex-direction:column;gap:16px;text-align:center}
  .solutions-grid{grid-template-columns:1fr}
  .about-resources{padding:32px 24px}
  .about-resources h2{font-size:26px}
  .cta-buttons{flex-direction:column}
  .about-cta{justify-content:center}
}


/* Homepage slider management (school admin) */
.slider-upload-grid{display:grid;grid-template-columns:1.3fr 2fr 1fr auto;gap:14px;align-items:end;margin-bottom:18px}
.slider-upload-box{display:flex;flex-direction:column;gap:6px;padding:16px;border:2px dashed #c7b9ea;border-radius:12px;background:#faf8ff;transition:border-color .2s,background .2s}
.slider-upload-box:hover{border-color:#7e22ce;background:#f5f3ff}
.slider-upload-label{font-size:12px;font-weight:700;color:#5b21b6;text-transform:uppercase;letter-spacing:.04em}
.slider-upload-box input[type=file]{font-size:13px}
.slider-upload-box small{color:#8a93a8;font-size:11px}
.slider-checkbox-field{flex-direction:row !important;align-items:center;gap:8px;padding-bottom:6px}
.slider-checkbox-field input[type=checkbox]{width:auto}
.slider-checkbox-field span{font-size:13px;color:#374151}
.slider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.slider-card{overflow:hidden;border:1px solid #e4e8ef;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(32,39,68,.05);transition:box-shadow .2s,transform .2s,opacity .2s}
.slider-card:hover{box-shadow:0 14px 30px rgba(32,39,68,.1);transform:translateY(-2px)}
.slider-card-hidden{opacity:.55}
.slider-card-image{position:relative;aspect-ratio:16/9;background-size:cover;background-position:center;background-color:#ede9f7}
.slider-badge{position:absolute;top:10px;left:10px;padding:4px 10px;border-radius:20px;background:rgba(32,39,68,.78);color:#fff;font-size:11px;font-weight:700;letter-spacing:.03em}
.slider-card-body{padding:14px 16px 16px}
.slider-edit-form{display:grid;gap:10px}
.slider-title-input{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #d9deea;border-radius:8px;font:inherit;font-size:14px}
.slider-title-input:focus{border-color:#7e22ce;outline:none;box-shadow:0 0 0 3px rgba(126,34,206,.12)}
.slider-edit-row{display:flex;gap:10px;align-items:end}
.slider-weight-field{display:flex;flex-direction:column;gap:3px;flex:1;font-size:11px;font-weight:700;color:#68738b;text-transform:uppercase;letter-spacing:.04em}
.slider-weight-field input{padding:9px 12px;border:1px solid #d9deea;border-radius:8px;font:inherit;font-size:14px}
.slider-save-btn{padding:9px 16px !important;border-radius:8px !important;background:#5b21b6 !important;color:#fff !important;font-weight:700}
.slider-save-btn:hover{background:#4c1d95 !important}
.slider-card-actions{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #f0f2f7}
.slider-toggle-btn{flex:1;border:1px solid #d9deea !important;background:#f7f8fc !important;color:#374151 !important;font-weight:600}
.slider-toggle-btn:hover{background:#ede9fe !important;border-color:#c7b9ea !important}
.slider-delete-btn{flex:1;border:1px solid #f3c4c9 !important;background:#fff5f5 !important;color:#b91c1c !important;font-weight:600}
.slider-delete-btn:hover{background:#fde8e8 !important}
@media(max-width:900px){.slider-upload-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.slider-upload-grid{grid-template-columns:1fr}.slider-grid{grid-template-columns:1fr}.slider-card-actions{flex-direction:column}}


/* Notification bell in topbar */
.notification-bell{position:relative}
.bell-btn{position:relative;display:grid;place-items:center;width:40px;height:40px;border:none;border-radius:10px;background:#f5f3ff;color:#5b21b6;cursor:pointer;transition:background .2s,color .2s}
.bell-btn:hover{background:#ede9fe;color:#4c1d95}
.bell-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef6a59;color:#fff;font-size:10px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 2px 6px rgba(239,106,89,.4)}
.bell-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:340px;max-height:420px;overflow-y:auto;border:1px solid #e4e8ef;border-radius:14px;background:#fff;box-shadow:0 18px 50px rgba(32,39,68,.14);z-index:100;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s}
.notification-bell.open .bell-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.bell-dropdown-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #f0f2f7}
.bell-dropdown-head span{color:#211653;font-size:14px;font-weight:800}
.bell-dropdown-head a{color:#7e22ce;font-size:11px;font-weight:700;text-decoration:none}
.bell-dropdown-head a:hover{text-decoration:underline}
.bell-dropdown-list{display:grid}
.bell-item{display:flex;align-items:flex-start;gap:12px;padding:12px 18px;border-bottom:1px solid #f5f3ff;text-decoration:none;transition:background .15s}
.bell-item:hover{background:#faf8ff}
.bell-item.unread{background:#f5f0ff}
.bell-item.unread:hover{background:#ede9fe}
.bell-item-dot{flex:0 0 auto;width:8px;height:8px;margin-top:5px;border-radius:50%;background:#7e22ce}
.bell-item.read .bell-item-dot{background:#d1d5db}
.bell-item-body{min-width:0}
.bell-item-title{color:#211653;font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bell-item-time{color:#8a93a8;font-size:11px;margin-top:2px}
.bell-empty{padding:24px 18px;text-align:center;color:#8a93a8;font-size:13px}
.bell-dropdown-foot{padding:12px 18px;border-top:1px solid #f0f2f7;text-align:center}
.bell-dropdown-foot a{color:#5b21b6;font-size:12px;font-weight:800;text-decoration:none}
.bell-dropdown-foot a:hover{text-decoration:underline}
@media(max-width:600px){.bell-dropdown{position:fixed;top:56px;right:8px;left:8px;width:auto;max-height:calc(100vh - 80px)}}


/* ===== Tablet — prevent feature card and product tour overlap ===== */
@media (max-width:1024px){
  .home-landing-page .features-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .home-landing-page .feature-card::after{
    width:60px;
    height:60px;
    right:-16px;
    bottom:-16px;
    filter:blur(24px);
    opacity:.45
  }
  .home-landing-page .feature-card:hover::after{opacity:.75}
  .home-landing-page .feature-card:hover{transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(76,29,149,.09)!important}
  .home-landing-page .feature-icon{width:42px;height:42px}
  .home-landing-page .feature-card h3{font-size:14px}
  .home-landing-page .feature-card p{font-size:11.5px}
  .home-landing-page .product-showcase{grid-template-columns:1fr;gap:20px}
  .home-landing-page .product-showcase-left{order:1}
  .home-landing-page .product-showcase-item{margin-bottom:0;padding:16px}
  .home-landing-page .product-showcase-number{width:36px;height:36px;font-size:12px}
  .home-landing-page .product-showcase-item h3{font-size:14px}
  .home-landing-page .product-showcase-item p{font-size:11.5px}
  .home-landing-page .device-feature-card{padding:11px 12px}
  .home-landing-page .device-feature-card .device-feature-icon{width:38px;height:38px}
  .home-landing-page .device-feature-card h3{font-size:12.5px}
  .home-landing-page .device-feature-card p{font-size:10.5px}
}
/* ===== Mobile — stack all, no overlap ===== */
@media (max-width:640px){
  .home-landing-page .features-grid{grid-template-columns:1fr;gap:12px}
  .home-landing-page .feature-card{padding:18px 16px;box-shadow:0 4px 10px rgba(49,31,104,.04)}
  .home-landing-page .feature-card::after{display:none}
  .home-landing-page .feature-card:hover{transform:translateY(-1px)!important;box-shadow:0 6px 14px rgba(76,29,149,.07)!important}
  .home-landing-page .feature-icon{width:38px;height:38px}
  .home-landing-page .feature-card h3{font-size:13.5px}
  .home-landing-page .feature-card p{font-size:11px;line-height:1.5}
  .home-landing-page .feature-card .jargon-tip{display:inline;font-size:10px;border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
  .home-landing-page .product-showcase{grid-template-columns:1fr;gap:16px;padding:0}
  .home-landing-page .product-showcase-left{order:1}
  .home-landing-page .product-showcase-item{margin-bottom:0;padding:14px 14px 12px;box-shadow:0 4px 10px rgba(49,31,104,.04)}
  .home-landing-page .product-showcase-item:hover{box-shadow:0 6px 14px rgba(76,29,149,.07)!important}
  .home-landing-page .product-showcase-number{width:32px;height:32px;font-size:11px}
  .home-landing-page .product-showcase-item h3{font-size:13px}
  .home-landing-page .product-showcase-item p{font-size:11px;line-height:1.45}
  .home-landing-page .product-showcase-item .jargon-tip{font-size:10px;border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
  .home-landing-page .device-feature-card{padding:10px 12px}
  .home-landing-page .device-feature-card .device-feature-icon{width:36px;height:36px}
  .home-landing-page .device-feature-card h3{font-size:12.5px}
  .home-landing-page .device-feature-card p{font-size:10.5px}
  .home-landing-page .device-feature-card .dev-jargon{font-size:9.5px;border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
  .home-landing-page .dashboard-mock{min-height:260px;border-radius:14px}
  .home-landing-page .kpi-card strong{font-size:13px}
  .home-landing-page .kpi-card small{font-size:9px}
  .home-landing-page .dashboard-greeting{font-size:13px}
  .home-landing-page .landing-section-header::after{display:none}
  .home-landing-page .nav{z-index:998;transform:translateX(100%);visibility:hidden}
  .home-landing-page .nav.open{visibility:visible;transform:translateX(0)}
}
/* ===== Jargon hover tooltips (plain-English explanations) ===== */
.hover-tip{position:relative;display:inline-block;cursor:help;color:inherit;border-bottom:1px dashed #c4b5fd}
.hover-tip .tip{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,6px);width:max-content;max-width:250px;padding:10px 12px;border-radius:10px;background:#1e1b4b;color:#f5f3ff;font-size:12px;line-height:1.5;font-weight:500;text-align:left;box-shadow:0 14px 34px rgba(30,27,75,.3);opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:60;pointer-events:none}
.hover-tip .tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#1e1b4b}
.hover-tip:hover .tip,.hover-tip:focus-visible .tip{opacity:1;visibility:visible;transform:translate(-50%,0)}
.tour-tags .hover-tip{border-bottom:none;cursor:help}
.extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:860px;margin:0 auto}
@media(max-width:720px){.extra-grid{grid-template-columns:1fr}}
.extra-grid.single{grid-template-columns:1fr;max-width:640px}

/* ===== Partner schools slider (marquee, non-clickable) ===== */
.partners-marquee{position:relative;overflow:hidden;padding:4px 0 10px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.partners-track{display:flex;gap:14px;width:max-content;animation:partnersMarquee 45s linear infinite}
.partners-marquee:hover .partners-track{animation-play-state:paused}
.partner-slide{display:flex;align-items:center;gap:12px;flex:0 0 auto;width:260px;padding:12px 14px;border:1px solid #eee9f9;border-radius:14px;background:#fff;box-shadow:0 6px 16px rgba(49,31,104,.05);cursor:default;transition:transform .2s ease,box-shadow .2s ease}
.partner-slide:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(49,31,104,.1)}
.partner-slide .slide-logo{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:#f3f0ff;color:#6d28d9;font-size:20px;font-weight:800;overflow:hidden}
.partner-slide .slide-logo img{width:100%;height:100%;object-fit:contain}
.partner-slide .slide-copy{min-width:0}
.partner-slide h3{margin:0;color:#1e1b4b;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.partner-slide p{margin:3px 0 0;color:#768097;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.partners-count-row{display:flex;justify-content:center;margin-top:14px}
@keyframes partnersMarquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 7px))}}
@media(max-width:650px){.partner-slide{width:225px}}
@media(prefers-reduced-motion:reduce){.partners-track{animation:none}}


/* ===== Touch devices — show tooltip inline ===== */
@media (hover:none){
  .hover-tip .tip{display:block;visibility:visible;opacity:1;position:static;width:auto;margin:0;background:none;color:inherit;box-shadow:none;border:none;font-size:11px;line-height:1.4;padding:0;text-decoration:underline;text-decoration-style:dashed;text-underline-offset:2px}
  .hover-tip .tip::after{display:none}
  .hover-tip .tip-short{border-bottom:1px dotted #c4b5fd}
  .home-landing-page .feature-card .jargon-tip{border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
  .home-landing-page .product-showcase-item .jargon-tip{border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
  .home-landing-page .device-feature-card .dev-jargon{border-bottom:1px dotted #c4b5fd;text-underline-offset:1px}
}

/* ===== Header (site-wide).
   The desktop header paint lives in desktop-navigation.css - the last
   stylesheet loaded - so home, support, about, vision, marketplace and books
   all show the same branded purple -> magenta gradient. Mobile and tablet
   (<=900px) get the identical gradient from the base .site-header rule above.
   Do not re-declare page-specific header colours here: that is exactly what
   made the header change colour between pages. ===== */
