/* ISMLMS platform homepage */
:root { --accent: #1f4e79; --ink: #131c27; --ink-2: #4a5563; --line: #e4e7ec; --soft: #f5f7f9; --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
body.home-page { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
.home-page a { color: var(--accent); }
.h-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 650; font-size: 15px; padding: 10px 18px; border-radius: 10px; border: 2px solid var(--accent); cursor: pointer; font-family: inherit; }
.h-btn:hover { filter: brightness(1.08); }
.h-btn-lg { padding: 14px 24px; font-size: 16px; }
.h-btn-ghost { background: transparent; color: var(--accent) !important; }

/* Nav */
.h-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.h-nav .h-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; position: relative; }
.h-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink) !important; text-decoration: none; }
.h-brand img { height: 38px; width: auto; }
.h-brand .app-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.h-nav nav { display: flex; align-items: center; gap: 24px; }
.h-nav nav a:not(.h-btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.h-nav nav a:not(.h-btn):hover { color: var(--accent); }
.h-burger { display: none; cursor: pointer; color: var(--ink); }

/* Hero */
.h-hero { padding: 80px 0 72px; background:
	radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
	linear-gradient(180deg, #fbfcfd, #fff); }
.h-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.h-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
.h-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 800; }
.h-lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0; }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; }

/* Mock report card */
.h-mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(19,28,39,.25), 0 2px 6px rgba(19,28,39,.05); overflow: hidden; transform: rotate(.6deg); }
.h-mock-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.h-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dce2; }
.h-mock-head em { margin-left: auto; font-size: 12px; color: #8a94a1; font-style: normal; }
.h-mock-body { padding: 18px; }
.h-mock-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.h-pill { font-size: 12px; font-weight: 700; color: #17652f; background: #e3f5e8; padding: 3px 10px; border-radius: 999px; }
.h-mock table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.h-mock th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #8a94a1; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.h-mock td { padding: 9px 6px; border-bottom: 1px solid #f0f2f5; }
.h-mock td:nth-child(n+2), .h-mock th:nth-child(n+2) { text-align: right; }
.h-mock-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.h-mock-foot b { color: var(--ink); }

/* Stats */
.h-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.h-stats .h-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-stats div div, .h-stats .h-wrap > div { padding: 26px 12px; text-align: center; display: flex; flex-direction: column; }
.h-stats strong { font-size: 32px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.h-stats span { color: var(--ink-2); font-size: 14px; }

/* Sections */
.h-section { padding: 88px 0; }
.h-alt { background: var(--soft); }
.h-section h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 12px; max-width: 760px; }
.h-sub { color: var(--ink-2); font-size: 18px; max-width: 720px; margin: 0 0 40px; }
.h-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-features article { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.h-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.h-features h3 { margin: 14px 0 6px; font-size: 18px; }
.h-features p { margin: 0; color: var(--ink-2); font-size: 15px; }

.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.h-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; }
.h-steps li span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.h-steps strong { display: block; margin: 12px 0 4px; font-size: 16px; }
.h-steps p { margin: 0; font-size: 14px; color: var(--ink-2); }

.h-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.h-roles > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.h-roles h3 { margin: 0 0 6px; font-size: 18px; }
.h-roles p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 320px; }

.h-schools { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.h-schools a { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); }
.h-schools a:hover { border-color: var(--accent); }
.h-schools img, .h-initial { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; flex: none; }
.h-initial { background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.h-schools strong { display: block; }
.h-schools em { display: block; font-size: 13px; color: var(--ink-2); }

.h-contact { background: var(--ink); color: #dfe4ea; }
.h-contact h2 { color: #fff; }
.h-contact .h-sub { color: #b8c1cc; }
.h-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.h-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.h-contact-list b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8e99a7; }
.h-contact-list a, .h-contact-list span { color: #fff; text-decoration: none; font-size: 18px; }
.h-form { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; }
.h-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.h-form input, .h-form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #c9d0d8; border-radius: 10px; }
.h-form .h-btn { width: 100%; }
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h-hp { position: absolute; left: -9999px; }
.h-ok { background: #e3f5e8; color: #17652f; padding: 10px 12px; border-radius: 10px; margin: 0 0 14px; font-weight: 600; }
.h-foot { padding: 24px 0; font-size: 14px; color: #8e99a7; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.h-foot .h-wrap { display: flex; justify-content: space-between; gap: 12px; }
.h-foot a { color: #c8d0da; }

@media (max-width: 980px) {
	.h-hero-grid, .h-contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.h-mock { transform: none; }
	.h-features, .h-roles { grid-template-columns: 1fr 1fr; }
	.h-steps { grid-template-columns: 1fr 1fr; }
	.h-stats .h-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	body.home-page { font-size: 16px; }
	.h-burger { display: inline-flex; }
	.h-nav nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
	.h-nav nav a:not(.h-btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.h-nav nav .h-btn { margin-top: 12px; }
	#h-menu:checked ~ nav { display: flex; }
	.h-hero { padding: 48px 0; }
	.h-section { padding: 60px 0; }
	.h-features, .h-roles, .h-steps, .h-two { grid-template-columns: 1fr; }
	.h-roles > div { padding-right: 0; }
	.h-cta .h-btn { flex: 1 1 100%; }
	.h-mock table { font-size: 13px; }
	.h-form { padding: 20px; }
	.h-foot .h-wrap { flex-direction: column; }
}
