/* Plus Jakarta Sans (SIL OFL), self-hosted. Variable font: one file covers 400–800. */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Brand palette from the EA Study Planner landing page. The page is a fixed
   brand design, so it does not switch to a dark theme. */
:root {
	--navy-900: #0b2237;
	--navy-950: #0a2033;
	--navy-800: #10314f;
	--navy-600: #1b5187;
	--blue: #184878;
	--blue-hover: #123a61;
	--orange: #fc6a00;
	--orange-hover: #e85f00;
	--orange-soft: #ff8a3d;
	--ink: #16283a;
	--body: #4a5c6e;
	--label: #5a6c7c;
	--muted: #6b7c8c;
	--faint: #8595a5;
	--placeholder: #9aa8b6;
	--line: #dce4ec;
	--line-soft: #e7edf3;
	--chip: #f2f6fa;
	/* Side padding that keeps content within 1100px on wide screens while the
	   section backgrounds run edge to edge. */
	--gutter: max(40px, calc((100% - 1100px) / 2));
	--error: #c0392b;
	--success-bg: #e7f6ee;
	--success: #12885a;
	--focus: 0 0 0 3px rgba(252, 106, 0, 0.15);
	color-scheme: light;
}

* { box-sizing: border-box; }

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

a { color: var(--blue); }
a:hover { color: var(--orange); }

/* ── Layout ────────────────────────────────────────────────────────────── */
/* Full-bleed page: the hero grows so the footer sits at the bottom of short screens. */
.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px var(--gutter);
	border-bottom: 1px solid var(--line-soft);
}
.logo { height: 34px; width: auto; display: block; }
.topbar-contact { display: flex; align-items: center; gap: 16px; }
.topbar-phone { font-size: 13.5px; font-weight: 600; color: var(--body); text-decoration: none; }
.btn-outline {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--blue);
	text-decoration: none;
	padding: 9px 16px;
	border: 1.5px solid #d4dee8;
	border-radius: 9px;
	white-space: nowrap;
}
.btn-outline:hover { color: var(--blue); border-color: var(--blue); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
	background: radial-gradient(120% 130% at 12% 0%, var(--navy-600) 0%, var(--navy-800) 46%, var(--navy-900) 100%);
	padding: 56px var(--gutter);
	flex: 1;
	display: flex;
	align-items: center;
}
.hero-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1.06fr 0.94fr;
	gap: 46px;
	align-items: center;
}

.tagline {
	margin: 0 0 40px;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}
.tagline-hl { color: var(--orange-soft); }
.eyebrow {
	margin: 0 0 12px;
	font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: 0.12em;
	color: var(--orange-soft);
}
h1 {
	margin: 0 0 12px;
	font-size: 37px;
	line-height: 1.07;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
.pitch-lead {
	margin: 0 0 22px;
	max-width: 520px;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
}
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefits li {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.45;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}
.tick {
	flex: none;
	width: 23px;
	height: 23px;
	border-radius: 6px;
	background: var(--orange);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 800;
}

/* ── Form card ─────────────────────────────────────────────────────────── */
.card {
	background: #fff;
	border-radius: 16px;
	padding: 26px;
	box-shadow: 0 34px 74px rgba(0, 0, 0, 0.45);
}
.card-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--ink); }
.card-sub { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 13px; min-width: 0; }

label {
	display: block;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--label);
}

input {
	width: 100%;
	padding: 12px 13px;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	outline: none;
}
input::placeholder { color: var(--placeholder); }
input:focus { border-color: var(--orange); box-shadow: var(--focus); }
input[aria-invalid="true"] { border-color: var(--error); }

.phone { display: flex; }
.phone-prefix {
	padding: 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--body);
	background: var(--chip);
	border: 1.5px solid var(--line);
	border-right: 0;
	border-radius: 10px 0 0 10px;
	white-space: nowrap;
}
.phone input { flex: 1; min-width: 0; border-radius: 0 10px 10px 0; }

.field-hint { margin: 5px 0 0; font-size: 11.5px; color: var(--faint); }
.field-error, .form-status { margin: 5px 0 0; font-size: 12.5px; font-weight: 600; color: var(--error); }
.form-status { margin: 0 0 4px; }
.field-error:empty, .form-status:empty { display: none; }

.turnstile { margin: 4px 0 12px; min-height: 65px; }

.btn-primary {
	width: 100%;
	margin-top: 8px;
	padding: 14px;
	font: inherit;
	font-size: 15.5px;
	font-weight: 800;
	color: #fff;
	background: var(--orange);
	border: 0;
	border-radius: 11px;
	box-shadow: 0 8px 20px rgba(252, 106, 0, 0.3);
	cursor: pointer;
}
.btn-primary:hover:not(:disabled) { background: var(--orange-hover); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(252, 106, 0, 0.35); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.fineprint { margin: 11px 0 0; font-size: 11.5px; line-height: 1.45; text-align: center; color: var(--faint); }

/* ── Success card ──────────────────────────────────────────────────────── */
.success { padding: 30px 26px; text-align: center; animation: pop-in 0.35s ease both; }
.success[hidden], #trial-form[hidden], .btn-secondary[hidden] { display: none; }
.success-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 26px;
	font-weight: 800;
	color: var(--success);
	background: var(--success-bg);
}
.success-title { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--ink); }
.success-title:focus { outline: none; }
.success-text { margin: 0 0 8px; font-size: 13.5px; line-height: 1.5; color: var(--body); overflow-wrap: anywhere; }
.success-text:empty { display: none; }
.btn-secondary {
	display: block;
	width: 100%;
	margin-top: 18px;
	padding: 14px;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	background: var(--blue);
	border-radius: 11px;
	box-shadow: 0 8px 20px rgba(24, 72, 120, 0.28);
}
.btn-secondary:hover { color: #fff; background: var(--blue-hover); }
.btn-secondary + .btn-secondary {
	margin-top: 10px;
	color: var(--blue);
	background: #fff;
	border: 1.5px solid #d4dee8;
	box-shadow: none;
}
.btn-secondary + .btn-secondary:hover { color: var(--blue); border-color: var(--blue); }
.success-help { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); }

@keyframes pop-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.success { animation: none; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px var(--gutter);
	border-top: 1px solid var(--line-soft);
	font-size: 12px;
	color: var(--faint);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.pitch-lead { max-width: none; }
}

@media (max-width: 640px) {
	.topbar { padding: 14px 16px; }
	.logo { height: 28px; }
	.topbar-phone { display: none; }
	.btn-outline { padding: 8px 12px; font-size: 13px; }
	.hero { padding: 32px 16px; }
	h1 { font-size: 30px; }
	.card { padding: 22px 18px; }
	.footer { padding: 14px 16px; justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
	.row { grid-template-columns: 1fr; gap: 0; }
}
