/* ToSkool (تو سكول) — Product marketing page · light, teal, rounded, airy */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&display=swap");
:root {
  --brand: #4fb3b5; --brand-600: #3a9a9c; --brand-700: #2b7f82; --brand-soft: #e6f4f5;
  --powder: #cfe6ea; --powder-2: #bcd7de; --slate: #4a5560; --ink: #2b3440;
  --yellow: #f4b740; --blue: #6aa7d8; --coral: #f08a7e; --violet: #8b7fd6; --green: #5bbf8f;
  --accent: #f4b740; --text: #2b3440; --text-2: #5c6773; --muted: #98a3ad; --border: #e3ecee; --bg: #f4f8f9;
  --g-brand: linear-gradient(135deg, #76c4c8 0%, #4fb3b5 50%, #3a9a9c 100%);
  --font-latin: "Nunito", "Cairo", system-ui, sans-serif;
  --shadow-soft: 0 10px 30px rgba(43,52,64,.06);
}
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--text); overflow-x: hidden; }
svg.lucide { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }
section { scroll-margin-top: 84px; }
.container { max-width: 1240px; }
h1, h2, h3, h4 { color: var(--ink); }
.btn { border-radius: 999px; padding: 12px 24px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(79,179,181,.32); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-outline { background: #fff; border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-soft { background: var(--brand-soft); color: var(--brand-700); }
.btn-soft:hover { background: var(--powder); color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand-700); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.sec { padding: 96px 0; position: relative; }
.bg-soft { background: linear-gradient(180deg, #f4f8f9, #fff); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--text-2); font-size: 17px; margin: 0; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.hidden { display: none !important; }

/* Wordmark */
.tk-logo { display: inline-flex; align-items: baseline; direction: ltr; font-family: var(--font-latin); font-weight: 900; font-size: 30px; letter-spacing: -.5px; line-height: 1; color: #5f6670; user-select: none; }
.tk-logo .to { color: #5bbcbf; }
.tk-logo .oo { display: inline-flex; gap: .04em; margin: 0 .03em; align-items: flex-end; height: .74em; }
.tk-logo .oo i { position: relative; display: inline-block; width: .5em; height: .56em; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: #5f6670; }
.tk-logo .oo i:first-child::before { content: ""; position: absolute; left: 50%; top: -.2em; width: .5em; height: .26em; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M12 6 3 1.2Q.6 6 3 10.8Z M12 6l9-4.8q2.4 4.8 0 9.6Z' fill='%235bbcbf'/%3E%3Ccircle cx='12' cy='6' r='2.4' fill='%233a9a9c'/%3E%3C/svg%3E") center/contain no-repeat; }
.tk-logo .oo i:last-child::before { content: ""; position: absolute; inset: -.06em .02em auto; height: .2em; border-radius: .3em .3em 0 0; border-top: .07em solid #5bbcbf; }
.tk-logo.sm { font-size: 18px; }
.tk-logo.xs { font-size: 14px; }
.tk-logo.light { color: #fff; }
.tk-logo.light .oo i { background: #fff; }
.tk-logo.light .to { color: #a7e3e5; }

/* Header */
.nav-bar { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: .25s; }
.nav-bar .container { display: flex; align-items: center; gap: 20px; height: 78px; }
.nav-bar.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(43,52,64,.06); }
.logo-tk { display: flex; align-items: center; gap: 10px; }
.logo-tk small { font-size: 12px; color: var(--muted); font-weight: 600; }
.menu { display: flex; gap: 2px; margin-inline-start: 12px; }
.menu a { color: var(--slate); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.menu a:hover { color: var(--ink); background: var(--brand-soft); }
.nav-cta { margin-right: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; color: var(--ink); background: var(--brand-soft); border: 0; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; place-items: center; }

/* Hero */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; background: linear-gradient(180deg, #f2f8f9 0%, #fff 100%); }
.hero .circle { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #d7ecef, #c3dfe5 70%); left: 6%; top: -180px; opacity: .8; }
.hero .dots { position: absolute; left: 3%; top: 120px; width: 150px; height: 110px; background-image: radial-gradient(#9fc4cc 2px, transparent 2px); background-size: 16px 16px; opacity: .7; }
.hero .cloud { position: absolute; right: 8%; top: 110px; width: 130px; height: 50px; background: #fff; border-radius: 40px; box-shadow: 34px -20px 0 -4px #fff, 0 20px 40px rgba(43,52,64,.06); opacity: .95; }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.3vw, 54px); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.hero h1 span { color: var(--brand-700); background: linear-gradient(90deg, #3a9a9c, #4fb3b5, #6aa7d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--text-2); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--text-2); font-size: 14px; flex-wrap: wrap; }
.trust .faces { display: flex; }
.trust .faces span { width: 36px; height: 36px; border-radius: 12px; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; box-shadow: 0 4px 10px rgba(43,52,64,.12); }

/* Device mockups */
.devices { position: relative; padding-bottom: 30px; }
.laptop { position: relative; }
.laptop .screen { background: #1f2630; border-radius: 22px 22px 6px 6px; padding: 12px; box-shadow: 0 40px 80px rgba(43,52,64,.18); }
.laptop .base { height: 16px; margin: 0 -6%; background: linear-gradient(180deg, #d9e1e5, #b9c4ca); border-radius: 0 0 18px 18px; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #a7b3ba; border-radius: 0 0 6px 6px; }
.dash { background: #f4f8f9; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 132px; min-height: 340px; font-size: 10px; color: var(--ink); }
.dash-side { order: 2; background: #fff; border-left: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.dash-side .tk-logo { font-size: 16px; margin: 0 auto 10px; }
.dash-side span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 9px; color: var(--slate); font-weight: 600; }
.dash-side span svg { width: 12px; height: 12px; }
.dash-side span.on { background: var(--powder); color: var(--ink); }
.dash-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; }
.dash-top b { font-size: 14px; }
.dash-top small { display: block; color: var(--muted); font-size: 9px; }
.dash-top .ic { display: flex; gap: 8px; align-items: center; color: var(--slate); }
.dash-top .ic svg { width: 13px; height: 13px; }
.dash-top .ic i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), transparent 46%), #8b7fd6; display: inline-block; }
.dash-sw { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--powder-2); border-radius: 999px; padding: 3px 8px 3px 4px; font-weight: 700; font-size: 9px; }
.dash-sw em { width: 16px; height: 16px; border-radius: 5px; background: #4fb3b5; color: #fff; font-style: normal; display: grid; place-items: center; font-size: 7px; }
.d-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.d-kpis div { background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(43,52,64,.04); }
.d-kpis small { display: block; color: var(--text-2); font-size: 9px; font-weight: 700; }
.d-kpis b { font-size: 16px; }
.d-kpis i { width: 26px; height: 26px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-700); }
.d-kpis i svg { width: 13px; height: 13px; }
.d-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.d-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 2px 8px rgba(43,52,64,.04); }
.d-card > b { display: block; font-size: 10px; margin-bottom: 6px; }
.d-card svg.chart { width: 100%; height: 96px; }
.d-task { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid #edf3f4; }
.d-task:last-child { border: 0; }
.d-task i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; }
.d-task i svg { width: 10px; height: 10px; }
.d-task small { display: block; font-size: 8px; color: var(--muted); }
.d-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.d-quick span { background: #fff; border-radius: 12px; padding: 8px 4px; text-align: center; font-weight: 700; font-size: 9px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 2px 8px rgba(43,52,64,.04); }
.d-quick span svg { width: 14px; height: 14px; color: var(--brand-700); }

.phone { width: 230px; height: 470px; border-radius: 40px; background: #1f2630; padding: 10px; box-shadow: 0 40px 80px rgba(43,52,64,.25); position: relative; flex-shrink: 0; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 20px; background: #000; z-index: 3; }
.phone .scr { height: 100%; border-radius: 31px; overflow: hidden; background: #f4f8f9; display: flex; flex-direction: column; font-size: 10.5px; color: var(--ink); }
.devices .phone { position: absolute; left: -24px; bottom: -6px; width: 190px; height: 390px; border-radius: 34px; padding: 8px; }
.devices .phone .scr { border-radius: 27px; }
.ph-top { padding: 40px 14px 10px; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.ph-top svg { width: 15px; height: 15px; color: var(--slate); }
.ph-top .tk-logo { font-size: 15px; }
.ph-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ph-hello { text-align: center; }
.ph-hello .av { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 6px; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 46%), #f08a7e; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 6px 14px rgba(240,138,126,.35); }
.ph-hello b { display: block; font-size: 13px; }
.ph-hello small { color: var(--muted); font-size: 9px; }
.ph-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border-radius: 14px; padding: 8px; }
.ph-tiles span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; padding: 4px 0; }
.ph-tiles span i { width: 26px; height: 26px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; }
.ph-tiles span i svg { width: 13px; height: 13px; }
.ph-prog { background: #fff; border-radius: 14px; padding: 10px; }
.ph-prog small { color: var(--text-2); font-weight: 700; font-size: 9px; }
.ph-prog b { display: block; font-size: 17px; margin: 2px 0 6px; }
.ph-prog .bar { height: 6px; border-radius: 6px; background: #e9f1f3; overflow: hidden; }
.ph-prog .bar span { display: block; height: 100%; background: var(--g-brand); border-radius: inherit; }
.ph-row { background: #fff; border-radius: 12px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; }
.ph-row i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-700); flex-shrink: 0; }
.ph-row i svg { width: 13px; height: 13px; }
.ph-row b { display: block; font-size: 10px; }
.ph-row small { color: var(--muted); font-size: 8.5px; }
.ph-row .tail { margin-right: auto; font-weight: 800; font-size: 10px; color: var(--brand-700); }
.ph-tab { display: flex; justify-content: space-around; padding: 9px 6px 14px; background: #fff; border-top: 1px solid var(--border); }
.ph-tab svg { width: 16px; height: 16px; color: #a9b4bb; }
.ph-tab svg.on { color: var(--brand); }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px rgba(43,52,64,.12); font-size: 12px; animation: floaty 5s ease-in-out infinite; }
.float-card b { display: block; font-size: 13px; }
.float-card small { color: var(--muted); }
.float-card .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; }
.fc-1 { right: -14px; top: 22px; }
.fc-2 { right: 18%; bottom: -14px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Stats */
.stats { margin-top: -30px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-soft); overflow: hidden; }
.stats-grid div { padding: 26px 18px; text-align: center; border-right: 1px solid var(--border); }
.stats-grid div:first-child { border-right: 0; }
.stats-grid b { display: block; font-size: 34px; font-weight: 800; color: var(--brand-700); line-height: 1.2; }
.stats-grid span { color: var(--text-2); font-size: 14px; font-weight: 600; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 24px 20px; transition: .2s; box-shadow: 0 2px 10px rgba(43,52,64,.03); }
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(43,52,64,.08); border-color: var(--powder-2); }
.feature .ic { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 16px; background: color-mix(in srgb, var(--c, #4fb3b5) 14%, #fff); color: var(--c, #2b7f82); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-2); margin: 0; }

/* Multi-membership highlight */
.multi-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.multi-box h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 800; margin-bottom: 12px; }
.multi-box > div > p { color: var(--text-2); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.check-list li svg { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.sw-demo { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 30px 70px rgba(43,52,64,.10); overflow: hidden; position: relative; }
.sw-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: #fbfdfd; }
.sw-pill { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--powder-2); border-radius: 999px; padding: 4px 12px 4px 6px; background: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 0 0 4px var(--brand-soft); transition: .3s; }
.sw-pill em { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; transition: .3s; }
.sw-pill small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.sw-role { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.sw-tabs { display: flex; gap: 6px; }
.sw-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.sw-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sw-stage { position: relative; min-height: 330px; }
.sw-view { position: absolute; inset: 0; padding: 18px; opacity: 0; transform: translateY(10px); transition: .45s ease; pointer-events: none; display: flex; flex-direction: column; gap: 12px; }
.sw-view.on { opacity: 1; transform: none; pointer-events: auto; }
.sw-view h4 { margin: 0; font-size: 16px; }
.sw-view .sub { color: var(--muted); font-size: 12px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-kpis div { background: #f4f8f9; border-radius: 14px; padding: 10px 12px; }
.mini-kpis small { display: block; color: var(--text-2); font-size: 11px; font-weight: 700; }
.mini-kpis b { font-size: 20px; }
.mini-list { display: grid; gap: 8px; }
.mini-list div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); font-size: 13px; }
.mini-list i { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mini-list i svg { width: 16px; height: 16px; }
.mini-list b { display: block; font-size: 13px; }
.mini-list small { color: var(--muted); font-size: 11px; }
.mini-list .tail { margin-right: auto; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; }
.sw-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); display: grid; place-items: center; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 2; font-weight: 800; color: var(--ink); }
.sw-overlay.on { opacity: 1; }
.sw-overlay small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; margin-top: 4px; }
.sw-overlay em { width: 54px; height: 54px; border-radius: 18px; margin: 0 auto 10px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; position: relative; }
.sw-overlay em::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Unified parent view */
.parent-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kids-mock { background: #fff; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(43,52,64,.10); padding: 20px; display: grid; gap: 12px; }
.kids-mock .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kids-mock .toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--brand-700); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; }
.kids-mock .toggle i { width: 30px; height: 17px; border-radius: 999px; background: var(--brand); position: relative; }
.kids-mock .toggle i::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff; left: 2px; top: 2px; }
.kid-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--border); }
.kid-row .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), transparent 46%), var(--c); }
.kid-row b { display: block; font-size: 14px; }
.kid-row small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kid-row .sch { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--slate); }
.kid-row .sch em { width: 18px; height: 18px; border-radius: 6px; display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 8px; }
.kid-row .nums { display: flex; gap: 10px; text-align: center; }
.kid-row .nums div { min-width: 46px; }
.kid-row .nums b { font-size: 15px; color: var(--brand-700); }
.kid-row .nums span { display: block; font-size: 10px; color: var(--muted); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.role { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.role:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(43,52,64,.08); border-color: var(--c); }
.role .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.role h4 { font-size: 16px; font-weight: 800; margin: 0; }
.role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; flex: 1; }
.role li { font-size: 13px; color: var(--text-2); display: flex; gap: 7px; align-items: flex-start; }
.role li svg { width: 15px; height: 15px; color: var(--c); margin-top: 3px; }
.role .btn { padding: 9px 14px; font-size: 13px; justify-content: center; }

/* Apps */
.apps-grid { display: flex; justify-content: center; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.app-col { text-align: center; }
.app-col h4 { margin: 18px 0 2px; font-size: 16px; font-weight: 800; }
.app-col p { margin: 0; color: var(--text-2); font-size: 13px; }
.app-col.mid .phone { transform: translateY(-24px); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.store { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1; }
.store b { font-size: 15px; }

/* Portal promo */
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.portal-shot { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(43,52,64,.12); }
.ps-hero { padding: 18px 22px 30px; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.6), transparent 60%), linear-gradient(135deg, #dff0f2, #cfe6ea); }
.ps-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 12px; }
.ps-nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(43,52,64,.15); }
.ps-nav u { text-decoration: none; margin-right: auto; background: var(--brand); color: #fff; font-weight: 800; font-size: 11px; padding: 5px 12px; border-radius: 999px; }
.ps-hero h4 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.ps-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12px; color: var(--muted); box-shadow: 0 6px 18px rgba(43,52,64,.08); }
.ps-search svg { width: 15px; height: 15px; }
.ps-schools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 18px 22px 22px; }
.ps-schools span { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-2); }
.ps-schools em { width: 44px; height: 44px; border-radius: 14px; margin: 0 auto 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 13px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price { background: #fff; border: 1.5px solid var(--border); border-radius: 26px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.price.hot { border-color: var(--brand); box-shadow: 0 24px 50px rgba(79,179,181,.18); }
.price .tag { position: absolute; top: -13px; right: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.price h4 { font-size: 18px; font-weight: 800; margin: 0; }
.price .amount { font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1; }
.price .amount small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price p { color: var(--text-2); font-size: 14px; margin: 0; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; }
.price li { display: flex; gap: 8px; font-size: 14px; color: var(--text-2); }
.price li svg { width: 17px; height: 17px; color: var(--brand); margin-top: 3px; }

/* CTA + contact */
.cta { border-radius: 32px; padding: 60px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(60% 120% at 0% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #3a9a9c, #4fb3b5 55%, #6aa7d8); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 26px; }
.cta .btn-white { background: #fff; color: var(--brand-700); font-weight: 800; }
.cta .btn-white:hover { background: #f1f9f9; }
.cta .btn-ghost-w { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cta .btn-ghost-w:hover { background: rgba(255,255,255,.22); color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; margin-top: 24px; }
.contact-info div { display: flex; gap: 12px; align-items: center; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 28px; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { font-size: 13px; font-weight: 700; color: var(--text-2); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 14px; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

footer.site-foot { background: #f4f8f9; color: var(--text-2); border-top: 1px solid var(--border); padding: 52px 0 28px; margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.foot-grid h5 { color: var(--ink); font-size: 15px; margin: 0 0 14px; }
.foot-grid a { display: block; color: var(--text-2); padding: 4px 0; font-size: 14px; }
.foot-grid a:hover { color: var(--brand-700); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; font-size: 13px; flex-wrap: wrap; }
.foot-bottom a { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom img { width: 20px; height: 20px; }
.ver { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-latin); font-weight: 800; font-size: 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; color: var(--brand-700); }

.toast-l { position: fixed; bottom: 24px; left: 24px; right: auto; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.2); display: flex; gap: 10px; align-items: center; z-index: 100; animation: fadeUp .25s ease; max-width: calc(100vw - 32px); }
.toast-l svg { color: #8fd6d8; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* Responsive */
@media (max-width: 1180px) {
  .menu a { padding: 8px 9px; font-size: 13px; }
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .menu { display: none; position: absolute; top: 78px; inset-inline: 16px; flex-direction: column; background: #fff; padding: 12px; border-radius: 20px; margin: 0; box-shadow: 0 20px 40px rgba(43,52,64,.14); border: 1px solid var(--border); }
  .menu.open { display: flex; }
  .menu a { font-size: 15px; padding: 10px 14px; }
  .nav-burger { display: grid; }
  .nav-cta .btn-outline { display: none; }
  .nav-bar { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
  .hero { padding: 116px 0 80px; }
  .hero .container, .multi-box, .parent-box, .portal, .contact { grid-template-columns: minmax(0, 1fr); }
  .devices { margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid div:nth-child(3) { border-right: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .dash { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash-side { display: none; }
  .d-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-row { grid-template-columns: minmax(0, 1fr); }
  .d-row .d-card:last-child { display: none; }
  .d-quick { display: none; }
  .devices .phone { display: none; }
  .float-card { display: none; }
  .stats-grid b { font-size: 26px; }
  .stats-grid div { padding: 20px 10px; }
  .cta { padding: 40px 20px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
  .logo-tk small { display: none; }
  .apps-grid .app-col:not(.mid) { display: none; }
  .app-col.mid .phone { transform: none; }
  .sw-bar { flex-direction: column; align-items: stretch; }
  .mini-kpis b { font-size: 16px; }
  .kid-row { grid-template-columns: auto minmax(0, 1fr); }
  .kid-row .nums { grid-column: 1 / -1; justify-content: space-around; }
  .ps-schools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .circle { width: 420px; height: 420px; left: -120px; }
  .price .amount { font-size: 30px; }
  .laptop .base { margin: 0 -2%; }
  .sw-stage { min-height: 390px; }
}

/* ToSkool logo image (wide wordmark) */
.brand-logo { display: block; width: auto; height: 34px; max-width: 100%; object-fit: contain; flex-shrink: 0; }
.brand-logo.nav { height: 38px; }
.brand-logo.mock { height: 20px; margin: 0 auto 10px; }
.brand-logo.ph { height: 18px; }
.brand-logo.foot { height: 44px; }
@media (max-width: 560px) { .brand-logo.nav { height: 32px; } }
