/* SmedHub School Plus — public pages (Home + Contact)
   Scoped under .smedhub-site so it never fights the active theme.
   Palette: blue #1A22C9, deep #141AA0, green #6CE03F, ink #11131C, mist #F5F7FA. */

.smedhub-site {
	--sb: #1a22c9;
	--sb-deep: #0a1a4f;
	--sg: #6ce03f;
	--ink: #11131c;
	--muted: #5b6273;
	--line: #e7eaf2;
	--mist: #f5f7fa;
	--white: #fff;
	color: var(--ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
.smedhub-site *, .smedhub-site *::before, .smedhub-site *::after { box-sizing: border-box; }
.smedhub-site h1, .smedhub-site h2, .smedhub-site h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.smedhub-site p { margin: 0; }
.smedhub-site a { color: inherit; text-decoration: none; }
.smedhub-shell { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* Buttons */
.smedhub-site .sb-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	cursor: pointer; border: 2px solid transparent;
}
.smedhub-site .sb-btn-primary { background: var(--sg); color: var(--ink); box-shadow: 0 8px 24px rgba(63, 165, 53, .30); }
.smedhub-site .sb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(63, 165, 53, .42); }
.smedhub-site .sb-btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.smedhub-site .sb-btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.smedhub-site .sb-btn-blue { background: var(--sb); color: var(--white); box-shadow: 0 8px 24px rgba(26, 57, 201, .25); }
.smedhub-site .sb-btn-blue:hover { background: var(--sb-deep); transform: translateY(-2px); }

/* Hero */
.smedhub-site .sb-hero {
	position: relative; overflow: hidden; color: var(--white);
	background: radial-gradient(1200px 500px at 80% -10%, #2630e6 0%, transparent 60%), linear-gradient(160deg, #1a22c9 0%, #141aa0 100%);
	border-radius: 28px; margin-top: 8px;
}
.smedhub-site .sb-hero::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 22px 22px; pointer-events: none;
}
.smedhub-site .sb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0; }
.smedhub-site .sb-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: #c9ceff;
	background: rgba(255, 255, 255, .1); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.smedhub-site .sb-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sg); }
.smedhub-site .sb-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.smedhub-site .sb-hero h1 .hl { color: var(--sg); }
.smedhub-site .sb-hero .sb-lead { margin: 20px 0 30px; font-size: 19px; color: #d9dcff; max-width: 30em; }
.smedhub-site .sb-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.smedhub-site .sb-brandmark { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font-weight: 700; font-size: 18px; }
.smedhub-site .sb-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--white); color: var(--sb); font-family: "Sora", sans-serif; font-weight: 800; }

/* Hero signature: a floating merit-list preview */
.smedhub-site .sb-preview {
	background: var(--white); color: var(--ink); border-radius: 18px; padding: 0; overflow: hidden;
	box-shadow: 0 30px 60px rgba(7, 10, 60, .45); transform: rotate(1.5deg);
}
.smedhub-site .sb-preview-top { background: var(--sg); height: 8px; }
.smedhub-site .sb-preview-body { padding: 20px 22px; }
.smedhub-site .sb-preview-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.smedhub-site .sb-preview-h strong { font-family: "Sora", sans-serif; font-size: 15px; }
.smedhub-site .sb-preview-h span { font-size: 12px; color: var(--muted); }
.smedhub-site .sb-row { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.smedhub-site .sb-row .pos { width: 26px; height: 26px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--sb); }
.smedhub-site .sb-row .grade { font-weight: 700; color: var(--sb); }
.smedhub-site .sb-row.top .pos { background: var(--sb); color: var(--white); }
.smedhub-site .sb-chip-float {
	position: absolute; right: 8%; bottom: 36px; z-index: 2; background: var(--white); color: var(--ink);
	border-radius: 14px; padding: 12px 16px; box-shadow: 0 16px 36px rgba(7, 10, 60, .3); display: flex; gap: 10px; align-items: center;
}
.smedhub-site .sb-chip-float .num { font-family: "Sora", sans-serif; font-weight: 800; font-size: 22px; color: var(--sb); }
.smedhub-site .sb-chip-float small { color: var(--muted); display: block; font-size: 12px; }

/* Trust strip */
.smedhub-site .sb-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; padding: 26px 0 0; color: var(--muted); font-size: 14px; }
.smedhub-site .sb-trust b { color: var(--ink); }

/* Sections */
.smedhub-site .sb-section { padding: 72px 0; }
.smedhub-site .sb-section-head { text-align: center; max-width: 40em; margin: 0 auto 46px; }
.smedhub-site .sb-section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; }
.smedhub-site .sb-section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.smedhub-site .sb-kicker { color: var(--sb); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* Feature grid */
.smedhub-site .sb-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.smedhub-site .sb-feature { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.smedhub-site .sb-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 19, 28, .08); border-color: transparent; }
.smedhub-site .sb-feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(26, 34, 201, .08); color: var(--sb); margin-bottom: 16px; }
.smedhub-site .sb-feature .ic svg { width: 24px; height: 24px; }
.smedhub-site .sb-feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.smedhub-site .sb-feature p { color: var(--muted); font-size: 15px; }

/* "Any school" band */
.smedhub-site .sb-any { background: var(--mist); border-radius: 28px; }
.smedhub-site .sb-any-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 56px; }
.smedhub-site .sb-any h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.smedhub-site .sb-any p { color: var(--muted); margin-bottom: 22px; }
.smedhub-site .sb-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.smedhub-site .sb-tag { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.smedhub-site .sb-checks { list-style: none; margin: 0; padding: 0; }
.smedhub-site .sb-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 16px; }
.smedhub-site .sb-checks .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sg); display: grid; place-items: center; }
.smedhub-site .sb-checks .tick svg { width: 14px; height: 14px; color: var(--ink); }

/* CTA band */
.smedhub-site .sb-cta { background: linear-gradient(160deg, #1a22c9, #141aa0); color: var(--white); border-radius: 28px; text-align: center; padding: 64px 24px; }
.smedhub-site .sb-cta h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; }
.smedhub-site .sb-cta p { color: #d9dcff; margin: 16px 0 28px; font-size: 18px; }

/* Footer */
.smedhub-site .sb-foot { padding: 44px 0; border-top: 1px solid var(--line); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 15px; }
.smedhub-site .sb-foot a:hover { color: var(--sb); }
.smedhub-site .sb-foot-contact { display: flex; flex-wrap: wrap; gap: 22px; }

/* Contact page */
.smedhub-site .sb-contact-head { text-align: center; padding: 56px 0 12px; }
.smedhub-site .sb-contact-head h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; }
.smedhub-site .sb-contact-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.smedhub-site .sb-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; padding: 30px 0 72px; align-items: start; }
.smedhub-site .sb-contact-cards { display: grid; gap: 16px; }
.smedhub-site .sb-cc { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: box-shadow .15s ease; }
.smedhub-site .sb-cc:hover { box-shadow: 0 14px 32px rgba(17, 19, 28, .08); }
.smedhub-site .sb-cc .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(26, 34, 201, .08); color: var(--sb); display: grid; place-items: center; }
.smedhub-site .sb-cc .ic svg { width: 24px; height: 24px; }
.smedhub-site .sb-cc small { color: var(--muted); display: block; font-size: 13px; }
.smedhub-site .sb-cc strong { font-size: 17px; }
.smedhub-site .sb-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.smedhub-site .sb-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.smedhub-site .sb-field { margin-bottom: 16px; }
.smedhub-site .sb-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.smedhub-site .sb-field input, .smedhub-site .sb-field textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; font-size: 16px; font-family: inherit; background: var(--mist);
}
.smedhub-site .sb-field input:focus, .smedhub-site .sb-field textarea:focus { outline: none; border-color: var(--sb); background: var(--white); box-shadow: 0 0 0 3px rgba(26, 34, 201, .12); }
.smedhub-site .sb-hp { position: absolute; left: -5000px; }
.smedhub-site .sb-ok { background: #e7f8e0; color: #2f7d12; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }

/* Responsive */
@media (max-width: 880px) {
	.smedhub-site .sb-hero-grid, .smedhub-site .sb-any-grid, .smedhub-site .sb-contact-grid { grid-template-columns: 1fr; }
	.smedhub-site .sb-features { grid-template-columns: 1fr; }
	.smedhub-site .sb-any-grid { padding: 36px; }
	.smedhub-site .sb-preview { transform: none; }
	.smedhub-site .sb-chip-float { display: none; }
}
@media (min-width: 881px) and (max-width: 1040px) {
	.smedhub-site .sb-features { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Auth (sign-up / log-in) ---- */
.smedhub-site .sb-auth-wrap { min-height: 80vh; display: grid; place-items: center; padding: 40px 16px;
	background: radial-gradient(1000px 500px at 50% -10%, #16277a 0%, #0a1a4f 55%, #07123a 100%); }
.smedhub-site .sb-auth-brand { text-align: center; margin-bottom: 22px; color: #fff; }
.smedhub-site .sb-auth-brand .sb-logo { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--sb); font-weight: 800; font-size: 22px; }
.smedhub-site .sb-word { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px; margin-left: 10px; vertical-align: middle; }
.smedhub-site .sb-word .smed { color: #fff; }
.smedhub-site .sb-word .hub { color: var(--sg); }
.smedhub-site .sb-auth-tagline { margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.smedhub-site .sb-auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.smedhub-site .sb-auth-tabs { display: flex; gap: 6px; background: var(--bg, #f1f4f9); padding: 5px; border-radius: 12px; margin-bottom: 18px; }
.smedhub-site .sb-auth-tab { flex: 1; padding: 10px; border: 0; background: transparent; border-radius: 9px; font-weight: 600; cursor: pointer; color: #475067; font-size: 14px; }
.smedhub-site .sb-auth-tab.is-active { background: var(--sb); color: #fff; box-shadow: 0 6px 16px rgba(26,57,201,.3); }
.smedhub-site .sb-auth-form label { display: block; font-size: 13px; color: #475067; margin-bottom: 12px; font-weight: 500; }
.smedhub-site .sb-auth-form input { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid #dfe4ee; border-radius: 10px; font-size: 15px; box-sizing: border-box; }
.smedhub-site .sb-auth-form input:focus { outline: none; border-color: var(--sb); box-shadow: 0 0 0 3px rgba(26,57,201,.12); }
.smedhub-site .sb-btn-block { width: 100%; margin-top: 6px; padding: 13px; font-size: 15px; }
.smedhub-site .sb-auth-fine { color: #8893a7; font-size: 12px; text-align: center; margin: 12px 0 0; }
.smedhub-site .sb-auth-error { background: #fdeaea; color: #c0392b; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.smedhub-site .sb-auth-ok { background: #e7f6e3; color: #2f7d12; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }

/* resend verification */
.smedhub-site .sb-auth-resend { border-top: 1px solid #eef1f6; margin-top: 6px; }
.smedhub-site .sb-resend-row { display: flex; gap: 8px; align-items: center; }
.smedhub-site .sb-resend-row input { flex: 1; }
.smedhub-site .sb-btn-ghost { background: transparent; border: 1px solid var(--sb); color: var(--sb); white-space: nowrap; }
.smedhub-site .sb-btn-ghost:hover { background: var(--sb); color: #fff; }

/* ---- Landing: vision + why choose us ---- */
.smedhub-site .sb-vision { padding: 30px 0 10px; }
.smedhub-site .sb-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.smedhub-site .sb-vision-art svg { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px rgba(10,26,79,.18); display: block; }
.smedhub-site .sb-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.smedhub-site .sb-why-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 20px; transition: transform .15s ease, box-shadow .15s ease; }
.smedhub-site .sb-why-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,26,79,.10); }
.smedhub-site .sb-why-card .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(140deg, #1A22C9, #0A1A4F); color: #fff; }
.smedhub-site .sb-why-card .ic svg { width: 20px; height: 20px; }
.smedhub-site .sb-why-card h3 { margin: 0 0 5px; font-size: 16px; }
.smedhub-site .sb-why-card p { margin: 0; color: #5a6478; font-size: 14px; line-height: 1.5; }
@media (max-width: 920px) {
	.smedhub-site .sb-vision-grid { grid-template-columns: 1fr; }
	.smedhub-site .sb-why { grid-template-columns: 1fr; }
}

/* =====================================================================
   SmedHub landing v2 (.sbx) — stunning sign-up / sign-in page
   ===================================================================== */
.smedhub-site.sbx { --b:#1A22C9; --g:#6CE03F; --navy:#0A1A4F; --ink:#0e1430; --mut:#5a6480; --line:#e9ecf5; color:var(--ink); font-family:'Inter',system-ui,sans-serif; line-height:1.55; }
.sbx *{ box-sizing:border-box; }
.sbx h1,.sbx h2,.sbx h3{ font-family:'Sora','Inter',sans-serif; letter-spacing:-.02em; line-height:1.1; margin:0 0 .4em; }
.sbx .sbx-shell{ max-width:1160px; margin:0 auto; padding:0 22px; }
.sbx a{ text-decoration:none; }

/* buttons */
.sbx .sbx-btn{ display:inline-block; border-radius:12px; padding:11px 18px; font-weight:600; font-size:15px; transition:transform .12s ease, box-shadow .2s ease, background .2s ease; border:1px solid transparent; cursor:pointer; }
.sbx .sbx-btn:active{ transform:translateY(1px); }
.sbx .sbx-btn-solid{ background:linear-gradient(135deg,var(--b),#3a32e0); color:#fff; box-shadow:0 10px 24px rgba(26,34,201,.32); }
.sbx .sbx-btn-solid:hover{ box-shadow:0 14px 30px rgba(26,34,201,.42); }
.sbx .sbx-btn-line{ background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.sbx .sbx-btn-line:hover{ background:rgba(255,255,255,.12); }
.sbx .sbx-btn-ghost{ background:transparent; color:var(--b); }
.sbx .sbx-btn-lg{ padding:14px 24px; font-size:16px; }

/* nav */
.sbx .sbx-nav{ position:sticky; top:0; z-index:50; backdrop-filter:saturate(160%) blur(10px); background:rgba(255,255,255,.82); border-bottom:1px solid var(--line); }
.sbx .sbx-nav-in{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.sbx .sbx-brand{ display:flex; align-items:center; gap:10px; font-family:'Sora'; font-weight:800; font-size:18px; color:var(--navy); }
.sbx .sbx-brand-sub{ color:var(--b); }
.sbx .sbx-logo{ width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,var(--b),var(--navy)); color:#fff; display:grid; place-items:center; font-weight:800; }
.sbx .sbx-nav-links{ display:flex; gap:26px; }
.sbx .sbx-nav-links a{ color:var(--mut); font-weight:500; }
.sbx .sbx-nav-links a:hover{ color:var(--b); }
.sbx .sbx-nav-cta{ display:flex; gap:10px; align-items:center; }

/* hero */
.sbx .sbx-hero{ position:relative; overflow:hidden; background:radial-gradient(1100px 480px at 85% -10%, #16277a 0%, #0a1a4f 60%, #081340 100%); color:#fff; padding:74px 0 92px; }
.sbx .sbx-blob{ position:absolute; border-radius:50%; filter:blur(46px); opacity:.5; }
.sbx .sbx-blob-1{ width:340px;height:340px; background:#1A22C9; top:-80px; left:-60px; animation:sbxFloat 9s ease-in-out infinite; }
.sbx .sbx-blob-2{ width:300px;height:300px; background:#6CE03F; bottom:-120px; right:6%; opacity:.32; animation:sbxFloat 11s ease-in-out infinite reverse; }
@keyframes sbxFloat{ 0%,100%{ transform:translateY(0)} 50%{ transform:translateY(22px)} }
.sbx .sbx-hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:46px; align-items:center; }
.sbx .sbx-eyebrow{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); padding:7px 14px; border-radius:999px; font-size:13px; font-weight:600; }
.sbx .sbx-dot{ width:8px;height:8px;border-radius:50%; background:var(--g); box-shadow:0 0 0 4px rgba(108,224,63,.25); }
.sbx .sbx-hero h1{ font-size:50px; margin:18px 0 14px; font-weight:800; }
.sbx .sbx-grad{ background:linear-gradient(100deg,#9bff6e,#6CE03F 40%,#bfe0ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sbx .sbx-lead{ font-size:18px; color:rgba(255,255,255,.86); max-width:540px; }
.sbx .sbx-hero-btns{ display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 14px; }
.sbx .sbx-hero-meta{ display:flex; gap:18px; flex-wrap:wrap; color:rgba(255,255,255,.8); font-size:13px; font-weight:500; }

/* hero art */
.sbx .sbx-hero-art{ position:relative; }
.sbx .sbx-glass{ background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); border-radius:20px; padding:16px; backdrop-filter:blur(8px); box-shadow:0 30px 70px rgba(3,9,40,.5); }
.sbx .sbx-glass-bar{ display:flex; gap:6px; margin-bottom:12px; }
.sbx .sbx-glass-bar span{ width:10px;height:10px;border-radius:50%; background:rgba(255,255,255,.4); }
.sbx .sbx-glass-row{ display:grid; grid-template-columns:26px 1fr auto 34px; gap:10px; align-items:center; padding:9px 10px; border-radius:10px; font-size:14px; color:#fff; }
.sbx .sbx-glass-h{ grid-template-columns:1fr auto; background:rgba(255,255,255,.1); font-weight:700; }
.sbx .sbx-glass-h em{ font-style:normal; color:rgba(255,255,255,.7); font-weight:500; font-size:12px; }
.sbx .sbx-glass-row .p{ background:rgba(255,255,255,.16); border-radius:7px; text-align:center; font-weight:700; font-size:12px; padding:3px 0; }
.sbx .sbx-glass-row .s{ color:#bfe0ff; font-weight:700; }
.sbx .sbx-glass-row .g{ background:var(--g); color:#06310f; border-radius:7px; text-align:center; font-weight:800; font-size:12px; padding:3px 0; }
.sbx .sbx-glass-row.sbx-top{ background:rgba(108,224,63,.16); }
.sbx .sbx-glass-bars{ display:flex; gap:8px; align-items:flex-end; height:70px; margin-top:14px; padding-top:10px; border-top:1px solid rgba(255,255,255,.14); }
.sbx .sbx-glass-bars i{ flex:1; background:linear-gradient(180deg,#9bff6e,#6CE03F); border-radius:5px 5px 0 0; display:block; }
.sbx .sbx-chip{ position:absolute; background:#fff; color:var(--navy); border-radius:14px; padding:10px 14px; box-shadow:0 16px 40px rgba(3,9,40,.3); display:flex; flex-direction:column; line-height:1.15; }
.sbx .sbx-chip strong{ font-size:18px; } .sbx .sbx-chip small{ color:var(--mut); font-size:11px; }
.sbx .sbx-chip-1{ left:-22px; bottom:34px; } .sbx .sbx-chip-2{ right:-14px; top:24px; }
.sbx .sbx-chip-2 strong{ color:#1c7a30; }

/* stats */
.sbx .sbx-stats{ padding:46px 0 30px; }
.sbx .sbx-stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.sbx .sbx-stat{ text-align:center; background:linear-gradient(180deg,#fff,#f7f8fe); border:1px solid var(--line); border-radius:18px; padding:26px 14px; box-shadow:0 10px 30px rgba(10,26,79,.05); }
.sbx .sbx-stat-num{ font-family:'Sora'; font-weight:800; font-size:40px; color:var(--b); }
.sbx .sbx-stat-label{ color:var(--mut); font-weight:600; font-size:14px; margin-top:4px; }
.sbx .sbx-stats-foot{ text-align:center; color:var(--mut); margin-top:18px; }

/* vision / mission */
.sbx .sbx-vm{ padding:40px 0; }
.sbx .sbx-vm-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.sbx .sbx-vm-card{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px; box-shadow:0 16px 44px rgba(10,26,79,.06); }
.sbx .sbx-vm-ic{ width:52px;height:52px; border-radius:14px; display:grid; place-items:center; color:#fff; margin-bottom:14px; }
.sbx .sbx-vm-ic svg{ width:26px;height:26px; }
.sbx .sbx-ic-blue{ background:linear-gradient(135deg,var(--b),var(--navy)); }
.sbx .sbx-ic-green{ background:linear-gradient(135deg,#57c52f,#3f9e1f); }
.sbx .sbx-vm-card h2{ font-size:24px; }
.sbx .sbx-vm-card p{ color:var(--mut); margin:0; font-size:16px; }

/* why */
.sbx .sbx-why{ padding:44px 0; }
.sbx .sbx-head{ text-align:center; max-width:640px; margin:0 auto 30px; }
.sbx .sbx-kicker{ color:var(--b); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.sbx .sbx-head h2{ font-size:34px; margin:8px 0; }
.sbx .sbx-head p{ color:var(--mut); margin:0; }
.sbx .sbx-why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sbx .sbx-why-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px; transition:transform .18s ease, box-shadow .18s ease; }
.sbx .sbx-why-card:hover{ transform:translateY(-5px); box-shadow:0 22px 50px rgba(10,26,79,.12); }
.sbx .sbx-why-ic{ width:46px;height:46px;border-radius:12px; background:linear-gradient(135deg,var(--b),var(--navy)); color:#fff; display:grid; place-items:center; margin-bottom:14px; }
.sbx .sbx-why-ic svg{ width:22px;height:22px; }
.sbx .sbx-why-card h3{ font-size:18px; margin:0 0 6px; }
.sbx .sbx-why-card p{ color:var(--mut); margin:0; font-size:14.5px; }

/* CTA */
.sbx .sbx-cta{ padding:36px 0 64px; }
.sbx .sbx-cta-in{ position:relative; overflow:hidden; text-align:center; color:#fff; border-radius:26px; padding:54px 24px; background:radial-gradient(800px 300px at 20% 0%, #2a32e0 0%, #1A22C9 45%, #0a1a4f 100%); box-shadow:0 30px 70px rgba(26,34,201,.3); }
.sbx .sbx-cta-in h2{ font-size:32px; }
.sbx .sbx-cta-in p{ color:rgba(255,255,255,.85); margin:0 0 22px; }
.sbx .sbx-cta-in .sbx-hero-btns{ justify-content:center; }

/* footer */
.sbx .sbx-foot{ background:var(--navy); color:#cdd5ea; padding:40px 0 0; }
.sbx .sbx-foot-in{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-bottom:26px; }
.sbx .sbx-brand-light{ color:#fff; } .sbx .sbx-brand-light .sbx-brand-sub{ color:var(--g); }
.sbx .sbx-foot-tag{ color:#9aa6c8; margin:10px 0 0; }
.sbx .sbx-foot-contact{ display:flex; flex-direction:column; gap:6px; }
.sbx .sbx-foot-contact a{ color:#cdd5ea; } .sbx .sbx-foot-contact a:hover{ color:#fff; }
.sbx .sbx-foot-bar{ border-top:1px solid rgba(255,255,255,.1); text-align:center; padding:16px; font-size:13px; color:#8b97bd; }

/* reveal */
.sbx .sbx-reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.sbx .sbx-reveal.in{ opacity:1; transform:none; }

/* responsive */
@media (max-width:920px){
	.sbx .sbx-hero-grid{ grid-template-columns:1fr; gap:40px; }
	.sbx .sbx-hero h1{ font-size:38px; }
	.sbx .sbx-vm-grid{ grid-template-columns:1fr; }
	.sbx .sbx-why-grid{ grid-template-columns:1fr 1fr; }
	.sbx .sbx-stats-grid{ grid-template-columns:1fr 1fr; }
	.sbx .sbx-nav-links{ display:none; }
}
@media (max-width:560px){
	.sbx .sbx-hero{ padding:54px 0 70px; }
	.sbx .sbx-hero h1{ font-size:31px; }
	.sbx .sbx-lead{ font-size:16px; }
	.sbx .sbx-why-grid{ grid-template-columns:1fr; }
	.sbx .sbx-stat-num{ font-size:32px; }
	.sbx .sbx-chip-1{ left:6px; } .sbx .sbx-chip-2{ right:6px; }
	.sbx .sbx-btn-lg{ width:100%; text-align:center; }
}

/* =====================================================================
   v1.13.1 — landing contrast fixes (theme-proof white headings on dark)
   ===================================================================== */
.smedhub-site.sbx .sbx-hero h1 { color: #fff !important; -webkit-text-fill-color: #fff; }
.smedhub-site.sbx .sbx-hero h1 .sbx-grad { color: transparent !important; -webkit-text-fill-color: transparent; }
.smedhub-site.sbx .sbx-hero .sbx-lead { color: rgba(255,255,255,.88) !important; }
.smedhub-site.sbx .sbx-hero .sbx-eyebrow,
.smedhub-site.sbx .sbx-hero .sbx-hero-meta { color: #fff !important; }
.smedhub-site.sbx .sbx-cta-in h2 { color: #fff !important; }
.smedhub-site.sbx .sbx-cta-in p { color: rgba(255,255,255,.9) !important; }
.smedhub-site.sbx .sbx-foot .sbx-brand-light,
.smedhub-site.sbx .sbx-foot h2, .smedhub-site.sbx .sbx-foot h3 { color: #fff !important; }
/* Buttons on dark keep their intended colors regardless of theme link styles */
.smedhub-site.sbx .sbx-btn-solid { color: #fff !important; }
.smedhub-site.sbx .sbx-btn-line { color: #fff !important; }

/* =====================================================================
   v1.13.2 — password show/hide + landing mobile polish
   ===================================================================== */
.smedhub-site .sb-pass { position: relative; display: block; }
.smedhub-site .sb-pass > input { width: 100%; padding-right: 62px; }
.smedhub-site .sb-pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #1A22C9; font-weight: 700; font-size: 12px; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.smedhub-site .sb-pass-toggle:hover { background: rgba(26,34,201,.10); }

.smedhub-site.sbx { overflow-x: hidden; }
@media (max-width: 760px) {
	.sbx .sbx-chip { display: none; }              /* avoid floating chips overlapping content */
	.sbx .sbx-hero-art { margin-top: 4px; }
	.sbx .sbx-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
	.sbx .sbx-shell { padding: 0 16px; }
	.sbx .sbx-nav-in { height: 58px; }
	.sbx .sbx-brand { font-size: 16px; gap: 8px; }
	.sbx .sbx-brand-sub { display: none; }          /* keep just "SmedHub" on tiny screens */
	.sbx .sbx-nav-cta .sbx-btn-ghost { display: none; }
	.sbx .sbx-hero { padding: 44px 0 54px; }
	.sbx .sbx-hero h1 { font-size: 29px; line-height: 1.15; }
	.sbx .sbx-eyebrow { font-size: 12px; padding: 6px 12px; }
	.sbx .sbx-lead { font-size: 15.5px; }
	.sbx .sbx-hero-meta { gap: 10px 16px; }
	.sbx .sbx-glass { padding: 12px; }
	.sbx .sbx-glass-row { grid-template-columns: 22px 1fr auto 30px; gap: 8px; font-size: 13px; padding: 8px; }
	.sbx .sbx-glass-bars { height: 56px; }
	.sbx .sbx-stats { padding: 30px 0 18px; }
	.sbx .sbx-head h2 { font-size: 25px; }
	.sbx .sbx-cta-in { padding: 38px 16px; }
	.sbx .sbx-cta-in h2 { font-size: 23px; }
	.sbx .sbx-foot-in { flex-direction: column; gap: 14px; }
}
@media (max-width: 380px) {
	.sbx .sbx-hero h1 { font-size: 25px; }
	.sbx .sbx-stats-grid { grid-template-columns: 1fr; }
	.sbx .sbx-hero-btns .sbx-btn-lg { width: 100%; text-align: center; }
}

/* =====================================================================
   Parent / learner portal (.sbp)
   ===================================================================== */
.smedhub-site.sbp { --b:#1A22C9; --g:#6CE03F; --navy:#0A1A4F; --ink:#0e1430; --mut:#5a6480; --line:#e9ecf5; font-family:'Inter',system-ui,sans-serif; color:var(--ink); padding:24px 14px; }
.sbp .sbp-card { max-width:640px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 20px 60px rgba(10,26,79,.10); padding:26px; }
.sbp .sbp-brand { display:flex; align-items:center; gap:10px; font-family:'Sora','Inter',sans-serif; font-weight:800; color:var(--navy); }
.sbp .sbp-logo { width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,var(--b),var(--navy)); color:#fff; display:grid; place-items:center; }
.sbp .sbp-word .g { color:var(--g); }
.sbp .sbp-title { font-family:'Sora','Inter',sans-serif; font-size:22px; margin:14px 0 4px; }
.sbp .sbp-sub { color:var(--mut); margin:0 0 16px; }
.sbp .sbp-form { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; margin-bottom:8px; }
.sbp .sbp-form label { display:flex; flex-direction:column; gap:5px; font-size:13px; font-weight:600; color:var(--mut); flex:1 1 200px; }
.sbp .sbp-form input, .sbp .sbp-form select { width:100%; padding:11px 12px; border:1px solid #d7dcea; border-radius:10px; font-size:16px; background:#fff; }
.sbp .sbp-btn { background:linear-gradient(135deg,var(--b),#3a32e0); color:#fff; border:0; border-radius:10px; padding:12px 20px; font-weight:700; font-size:15px; cursor:pointer; flex:0 0 auto; }
.sbp .sbp-empty { background:#fff5f5; color:#c0392b; padding:12px 14px; border-radius:10px; margin-top:14px; }
.sbp .sbp-result { margin-top:20px; border-top:1px solid var(--line); padding-top:18px; }
.sbp .sbp-name { font-family:'Sora','Inter',sans-serif; font-size:20px; margin:0; color:var(--navy); }
.sbp .sbp-meta { color:var(--mut); margin:2px 0 10px; }
.sbp .sbp-examname { font-weight:700; margin:0 0 8px; }
.sbp .sbp-table { width:100%; border-collapse:collapse; margin:8px 0; }
.sbp .sbp-table th, .sbp .sbp-table td { text-align:left; padding:9px 10px; border-bottom:1px solid var(--line); font-size:14px; }
.sbp .sbp-table th { background:var(--navy); color:#fff; }
.sbp .sbp-table th:first-child { border-radius:8px 0 0 0; } .sbp .sbp-table th:last-child { border-radius:0 8px 0 0; }
.sbp .sbp-summary { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.sbp .sbp-summary span { flex:1 1 110px; background:#f5f7ff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; font-size:12px; color:var(--mut); font-weight:600; }
.sbp .sbp-summary strong { font-size:18px; color:var(--navy); font-family:'Sora','Inter',sans-serif; }
.sbp .sbp-trend { display:inline-block; padding:5px 12px; border-radius:8px; font-weight:700; font-size:13px; }
.sbp .sbp-trend.up { background:var(--smed-green-soft,#eafbe3); color:#1c7a30; }
.sbp .sbp-trend.down { background:#fdecec; color:#c0392b; }
.sbp .sbp-class { margin-top:18px; }
.sbp .sbp-class h4 { font-family:'Sora','Inter',sans-serif; margin:0 0 6px; color:var(--navy); }
@media (max-width:480px){ .sbp .sbp-card{ padding:18px; } .sbp .sbp-btn{ width:100%; } }

/* ---- auth role chooser ---- */
.smedhub-site .sb-role-q { font-weight: 600; color: #475569; margin: 4px 0 8px; text-align: left; }
.smedhub-site .sb-roles { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.smedhub-site .sb-role { flex: 1 1 auto; border: 1px solid #d7dcea; background: #fff; color: #0a1a4f; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 13px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.smedhub-site .sb-role:hover { border-color: #1A22C9; }
.smedhub-site .sb-role.is-active { background: #1A22C9; color: #fff; border-color: #1A22C9; }

/* brand "by SmedHub" sub-label */
.smedhub-site .sbx-brand-by { font-size: 11px; font-weight: 600; color: #6CE03F; opacity: .9; margin-left: 2px; }
.smedhub-site .sbx-brand .sbx-brand-sub { color: #6CE03F; }

/* =====================================================================
   Landing v3 — colour rebalance (more blue/navy, less white) + polish
   Appended last so it authoritatively overrides earlier .sbx rules.
   ===================================================================== */
.smedhub-site.sbx { background: linear-gradient(180deg,#ffffff 0%, #eef2ff 46%, #ffffff 100%); }

/* Nav: subtle blue tint instead of plain white */
.smedhub-site.sbx .sbx-nav { background: rgba(245,247,255,.86); border-bottom: 1px solid #e3e7f7; }

/* Hero: a touch deeper, leave room for the overlapping stats panel */
.smedhub-site.sbx .sbx-hero { padding: 78px 0 116px; background: radial-gradient(1100px 520px at 85% -10%, #2230b8 0%, #131f6e 55%, #0a1640 100%); }

/* Stats: floating blue panel that overlaps the hero (adds strong blue) */
.smedhub-site.sbx .sbx-stats { background: transparent; padding: 0 0 40px; position: relative; z-index: 3; }
.smedhub-site.sbx .sbx-stats-grid { margin-top: -58px; background: linear-gradient(135deg,#1A22C9 0%, #0e1f8f 60%, #0a1a4f 100%); border-radius: 22px; padding: 28px 22px; box-shadow: 0 28px 64px rgba(10,26,79,.30); }
.smedhub-site.sbx .sbx-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.smedhub-site.sbx .sbx-stat-num { color: #fff; }
.smedhub-site.sbx .sbx-stat-label { color: rgba(255,255,255,.85); }
.smedhub-site.sbx .sbx-stats-foot { color: #5a6480; margin-top: 18px; }

/* Vision & Mission: deep-blue band with glass cards */
.smedhub-site.sbx .sbx-vm { background: radial-gradient(900px 420px at 80% 0%, #18299c 0%, #0a1a4f 70%); }
.smedhub-site.sbx .sbx-vm-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); box-shadow: none; }
.smedhub-site.sbx .sbx-vm-card h2 { color: #fff !important; }
.smedhub-site.sbx .sbx-vm-card p { color: rgba(255,255,255,.86); }

/* Why choose us: soft blue tint section, crisp white cards with blue ring */
.smedhub-site.sbx .sbx-why { background: linear-gradient(180deg,#eef2ff,#e7ecff); }
.smedhub-site.sbx .sbx-why-card { background: #fff; border: 1px solid #e1e6f7; box-shadow: 0 10px 26px rgba(10,26,79,.06); }
.smedhub-site.sbx .sbx-kicker { color: #1A22C9; }

/* CTA: richer gradient + glow */
.smedhub-site.sbx .sbx-cta { background: #0a1a4f; padding: 56px 0 70px; }
.smedhub-site.sbx .sbx-cta-in { background: radial-gradient(820px 320px at 18% 0%, #2a32e0 0%, #1A22C9 46%, #0a1a4f 100%); box-shadow: 0 30px 80px rgba(26,34,201,.40); }

/* Footer keeps deep navy */
.smedhub-site.sbx .sbx-foot { background: #081232; }

/* Section spacing rhythm */
.smedhub-site.sbx .sbx-vm, .smedhub-site.sbx .sbx-why { padding: 56px 0; }

/* Responsive tuning for the overlap + bands */
@media (max-width: 600px) {
	.smedhub-site.sbx .sbx-hero { padding: 56px 0 96px; }
	.smedhub-site.sbx .sbx-stats-grid { margin-top: -44px; padding: 20px 14px; border-radius: 18px; }
	.smedhub-site.sbx .sbx-vm, .smedhub-site.sbx .sbx-why { padding: 40px 0; }
}

/* ===== School Plus brand lockup (matches the logo: Schoolplus + SmedHub below) ===== */
.smedhub-site .sp-logo { display: inline-flex; flex-direction: column; line-height: 1; font-family: 'Sora','Inter',system-ui,sans-serif; }
.smedhub-site .sp-logo-main { font-weight: 800; font-style: italic; font-size: 1.3em; letter-spacing: -.02em; white-space: nowrap; }
.smedhub-site .sp-logo-main b { color: #1A22C9; font-weight: 800; }
.smedhub-site .sp-logo-main i { color: #57c52f; font-weight: 800; font-style: italic; }
.smedhub-site .sp-logo-sub { align-self: center; margin-top: 3px; font-weight: 700; font-size: .6em; letter-spacing: .22em; display: inline-flex; align-items: center; gap: 7px; text-transform: none; }
.smedhub-site .sp-logo-sub::before, .smedhub-site .sp-logo-sub::after { content: ''; width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,#1A22C9,#6CE03F); display: inline-block; }
.smedhub-site .sp-logo-sub b { color: #1A22C9; font-weight: 800; }
.smedhub-site .sp-logo-sub i { color: #57c52f; font-weight: 800; font-style: normal; }
/* light variant for dark backgrounds (navy topbar, footer, hero) */
.smedhub-site .sp-logo.is-light .smedhub-site .sp-logo-main b, .smedhub-site .sp-logo.is-light .smedhub-site .sp-logo-sub b { color: #6aa6ff; }
.smedhub-site .sp-logo.is-light .smedhub-site .sp-logo-main i, .smedhub-site .sp-logo.is-light .smedhub-site .sp-logo-sub i { color: #7ee84a; }
