/* Professor AI house style (light only). Tokens from the Bid Engine. */
:root {
  --accent: #4f46e5; --accent-hover: #6366f1; --accent-faint: #eef2ff;
  --ink: #0f172a; --bg: #f8fafc; --surface: #ffffff; --border: #e2e8f0; --border-light: #f1f5f9;
  --text: #334155; --text-muted: #64748b;
  --ok-bg: #d1fae5; --ok-tx: #065f46; --bad-bg: #ffe4e6; --bad-tx: #9f1239;
  --radius-card: 12px; --radius-control: 8px; --shadow-card: 0 1px 2px rgba(0,0,0,.05);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
a { color: var(--accent); } a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-inline: 20px; }
.appbar { background: #0f172a radial-gradient(1200px 360px at 85% -40%, rgba(99,102,241,0.28), transparent 60%); color: #fff; padding-block: 0 56px; }
.appbar.slim { padding-block: 0; }
.bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.brand small { display: block; font-weight: 400; color: #94a3b8; font-size: 13px; }
.mark { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; font-weight: 700; }
.hero { padding-block: 40px 0; max-width: 1100px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.lead { margin: 0 0 28px; font-size: 19px; color: #cbd5e1; max-width: 62ch; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius-control); padding: 13px 22px; font: 600 16px var(--font); text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-control); padding: 9px 14px; text-decoration: none; font-size: 15px; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
main { display: flex; flex-direction: column; gap: 48px; padding-block: 48px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 24px; }
.card h2 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; }
.levels h2 { margin: 0 0 16px; font-size: 26px; color: var(--ink); }
.levels ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; max-width: 70ch; }
.small { font-size: 14px; color: var(--text-muted); margin: 16px 0 0; }
.form-card { max-width: 680px; }
.form-card h2 { font-size: 24px; }
form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.row { display: flex; flex-direction: column; gap: 6px; }
.row.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.row.two > div { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 600; color: var(--ink); font-size: 15px; }
.opt { font-weight: 400; color: var(--text-muted); }
input[type=email], input[type=text], select { font: 16px var(--font); color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-control); padding: 11px 12px; min-height: 46px; width: 100%; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check label { font-weight: 400; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; min-height: 1.6em; }
.msg.ok { background: var(--ok-bg); color: var(--ok-tx); padding: 10px 14px; border-radius: var(--radius-control); }
.msg.bad { background: var(--bad-bg); color: var(--bad-tx); padding: 10px 14px; border-radius: var(--radius-control); }
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 24px 40px; color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--border); }
.doc { max-width: 760px; padding-block: 40px 64px; }
.doc h1 { color: var(--ink); font-size: 32px; margin: 0 0 8px; }
.doc h2 { color: var(--ink); font-size: 20px; margin: 28px 0 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--border-light); padding: 8px; vertical-align: top; }
.doc th { color: var(--ink); border-bottom-color: var(--border); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
