:root {
	--brand: #1E3A5F;       /* deep study-blue */
	--brand-dark: #142B47;
	--brand-light: #EAF0F7;
	--gold: #C9973E;        /* warm library-lamp gold accent */
	--gold-light: #FBF2E2;
	--ink: #16232E;
	--muted: #5C6B78;
	--border: #E4E9EE;
	--bg-soft: #F6F8FB;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
	color: var(--ink);
	background: #ffffff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.serif { font-family: 'Lora', serif; }

.container {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 20px;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}
.navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 14px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.02em;
}
.brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--brand), var(--brand-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
	font-size: 18px;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14.5px;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #B3822F; }
.btn-outline { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
button.btn { font-family: inherit; }

/* Hero */
.hero {
	padding-block: 84px 60px;
	background: radial-gradient(1100px 420px at 50% -10%, var(--brand-light), transparent);
}
.hero-inner { text-align: center; max-width: 780px; margin-inline: auto; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gold-light);
	color: #8C6425;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
}
.hero h1 {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.12;
	margin: 0 0 20px;
}
.hero h1 span { color: var(--brand); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
	font-size: 17.5px;
	color: var(--muted);
	max-width: 620px;
	margin: 0 auto 34px;
}
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Stat strip */
.stat-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 64px;
}
.stat-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 20px 16px;
	text-align: center;
}
.stat-card i { font-size: 24px; color: var(--gold); }
.stat-card div.label { font-size: 13.5px; font-weight: 600; margin-top: 10px; color: var(--ink); }

/* Section heading */
.section { padding-block: 76px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow { background: transparent; padding: 0; color: var(--gold); }
.section-head h2 {
	font-size: clamp(26px, 3.5vw, 34px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 10px 0 12px;
}
.section-head p { color: var(--muted); font-size: 16px; }

/* Feature grid */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.feature-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 26px 22px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22,35,46,.08); }
.feature-icon {
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--brand-light);
	color: var(--brand);
	display: flex; align-items: center; justify-content: center;
	font-size: 21px;
	margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* How it works */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step-num {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--gold);
	font-weight: 800;
	font-size: 16px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Two-audience split */
.split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.split-card {
	border-radius: 20px;
	padding: 34px 30px;
	border: 1px solid var(--border);
}
.split-card.owner { background: var(--ink); color: #fff; border-color: var(--ink); }
.split-card.student { background: #fff; }
.split-card .tag {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	margin-bottom: 14px;
}
.split-card.owner .tag { color: var(--gold); }
.split-card.student .tag { color: var(--brand); }
.split-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.split-card ul { list-style: none; margin: 0; padding: 0; }
.split-card li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14.5px; padding: 8px 0;
}
.split-card.owner li { color: #C7D2DC; }
.split-card.student li { color: var(--muted); }
.split-card li i { color: var(--gold); margin-top: 3px; }
.split-card.owner li i { color: var(--gold); }
.split-card.student li i { color: var(--brand); }

/* Trust badges */
.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.trust-card { text-align: center; padding: 10px; }
.trust-icon {
	width: 56px; height: 56px;
	border-radius: 16px;
	background: var(--gold-light);
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	margin: 0 auto 16px;
}
.trust-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; }
.trust-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Contact / Demo form */
.contact-wrap {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 40px;
	align-items: start;
}
.contact-info h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 10px 0 14px; }
.contact-info p { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }
.contact-point { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-point .ico {
	width: 42px; height: 42px; border-radius: 12px;
	background: var(--brand-light); color: var(--brand);
	display: flex; align-items: center; justify-content: center; font-size: 19px;
	flex-shrink: 0;
}
.contact-point h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 3px; }
.contact-point p { font-size: 13.5px; color: var(--muted); margin: 0; }

.contact-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 20px 40px rgba(22,35,46,.06);
}
.contact-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.contact-card .sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14.5px;
	font-family: inherit;
	background: var(--bg-soft);
}
.form-row input:focus, .form-row textarea:focus {
	outline: none;
	border-color: var(--brand);
	background: #fff;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-error { color: #C0392B; font-size: 12.5px; margin-top: 5px; }
.form-success {
	background: #E7F6EE; color: #1E7A44;
	border: 1px solid #BFE6CE;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 20px;
	display: flex; align-items: center; gap: 10px;
}
.form-success.form-error-banner {
	background: #FDECEA; color: #B02A24; border-color: #F5C2BE;
}

/* CTA banner */
.cta-banner {
	background: linear-gradient(135deg, var(--brand), var(--brand-dark));
	border-radius: 24px;
	padding: 50px 40px;
	text-align: center;
	color: #fff;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 0 0 12px; letter-spacing: -.02em; }
.cta-banner p { color: #C7D2DC; margin: 0 0 26px; font-size: 15.5px; }
.cta-banner .btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.cta-banner .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.cta-banner .btn-gold:hover { background: #B3822F; }

/* Footer */
footer { border-top: 1px solid var(--border); padding-block: 34px; }
.footer-inner {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 12px;
}
.footer-inner .brand { font-size: 16px; }
footer .muted { color: var(--muted); font-size: 13.5px; }

@media (max-width: 900px) {
	.nav-links { display: none; }
	.stat-strip { grid-template-columns: repeat(2, 1fr); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.trust-grid { grid-template-columns: repeat(2, 1fr); }
	.split-grid { grid-template-columns: 1fr; }
	.contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.stat-strip { grid-template-columns: 1fr 1fr; }
	.feature-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.hero { padding-block: 56px 40px; }
	.contact-card { padding: 24px; }
}
