/* ============================================================
   河马英语评测 · 全站样式
   ============================================================ */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --sky: #0ea5e9;
  --amber: #f59e0b;
  --green: #10b981;
  --red: #e11d48;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #f4f6fb;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 8px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
.hidden { display: none !important; }

/* ---------- 品牌头 ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 38px; height: 38px; }
.brand .name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.brand .name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 55%, #7c3aed 100%);
  padding: 24px;
}
.login-card {
  background: var(--card); border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,.28);
  padding: 40px 44px; width: 400px; max-width: 100%;
}
.login-card .brand { margin-bottom: 26px; }
.login-card h1 { font-size: 21px; margin-bottom: 4px; }
.login-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #334155; }
.field input, .field select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; outline: none; transition: border-color .15s; background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; padding: 11px 20px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .1s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid #fecdd3; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.form-msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.form-msg.error { color: var(--red); }
.login-foot { margin-top: 18px; text-align: center; color: #94a3b8; font-size: 12px; }

/* ---------- 管理台 ---------- */
.topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 12px 28px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar .right { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.container { max-width: 1120px; margin: 0 auto; padding: 26px 24px 60px; }
.tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs button {
  border: none; background: #fff; border: 1.5px solid var(--border); color: var(--muted);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.stat-card .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.stat-card .lbl { font-size: 13px; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 22px; }
.card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
table.grid th { text-align: left; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 9px 10px; border-bottom: 2px solid var(--border); white-space: nowrap; }
table.grid td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.grid tr:hover td { background: #f8fafc; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input { padding: 9px 13px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; outline: none; min-width: 200px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }

/* ---------- 考试界面 ---------- */
body.exam { background: #f0f2f8; overflow: hidden; }
.exam-top {
  height: 58px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 26px;
}
.exam-progress { display: flex; align-items: center; gap: 12px; flex: 1; margin: 0 26px; }
.exam-progress .bar { flex: 1; height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.exam-progress .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--sky)); border-radius: 99px; transition: width .4s; }
.exam-progress .num { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.timer-wrap { height: 5px; background: #e8edf5; position: relative; }
.timer-wrap > i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.timer-wrap.warn > i { background: var(--red); }
.timer-num { position: absolute; right: 14px; top: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.exam-body { display: flex; height: calc(100vh - 63px); }
.passage-col {
  width: 46%; background: #fff; margin: 18px; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 34px; overflow-y: auto;
  font-size: 16.5px; line-height: 1.9; color: #24324a; white-space: pre-wrap;
}
.question-col { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 18px 0; min-width: 0; }
.question-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 32px; flex: 1; display: flex; flex-direction: column; overflow-y: auto;
}
.question-text { font-size: 18px; font-weight: 650; line-height: 1.7; margin-bottom: 22px; color: #172033; }
.choices { display: flex; flex-direction: column; gap: 11px; }
.choice {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px;
  border: 2px solid var(--border); border-radius: 12px; cursor: pointer;
  font-size: 16px; transition: border-color .12s, background .12s; background: #fff;
}
.choice:hover { border-color: #a5b4fc; background: #f5f6ff; }
.choice.selected { border-color: var(--primary); background: #eef0ff; }
.choice .key {
  width: 30px; height: 30px; border-radius: 50%; background: #eef2f7; color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.choice.selected .key { background: var(--primary); color: #fff; }
.exam-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.btn-next {
  background: linear-gradient(135deg, var(--primary), #6d28d9); color: #fff;
  padding: 12px 44px; border-radius: 11px; font-size: 16px; font-weight: 800; border: none; cursor: pointer;
  font-family: inherit; opacity: .45; pointer-events: none; transition: opacity .15s;
}
.btn-next.ready { opacity: 1; pointer-events: auto; }
.practice-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #fef3c7; color: #92400e;
  font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.exam-center { display: flex; align-items: center; justify-content: center; flex-direction: column; height: calc(100vh - 63px); gap: 14px; }

/* 说明/确认弹层 */
.overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: #fff; border-radius: 18px; padding: 32px 36px; width: 560px; max-width: 100%;
  max-height: 88vh; overflow-y: auto;
}
.modal h2 { font-size: 19px; margin-bottom: 16px; }
.modal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; font-size: 14.5px; color: #334155; }
.modal ol li b { color: var(--ink); }

/* ---------- 报告页 ---------- */
.report { max-width: 900px; margin: 26px auto 60px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 40px 46px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--ink); padding-bottom: 18px; margin-bottom: 6px; }
.report-head h2 { font-size: 22px; }
.report-head .meta { font-size: 13px; color: var(--muted); line-height: 1.8; text-align: right; }
.rpt-sec { margin-top: 28px; }
.rpt-sec > h4 { font-size: 15px; font-weight: 800; color: #334155; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.rpt-sec > h4::before { content: ""; width: 4px; height: 16px; background: var(--primary); border-radius: 2px; }
.score-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 860px) { .score-grid { grid-template-columns: repeat(3, 1fr); } }
.score-cell { border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 14px; text-align: center; }
.score-cell .v { font-size: 24px; font-weight: 800; color: var(--primary); }
.score-cell .k { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.score-cell .n { font-size: 11.5px; color: var(--muted); }
.scale-bar { position: relative; height: 54px; border-radius: 10px; display: flex; overflow: hidden; margin: 8px 0 26px; }
.scale-seg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.92); text-align: center; line-height: 1.3; }
.scale-marker { position: absolute; top: -9px; width: 3px; background: var(--ink); border-radius: 2px; height: 72px; }
.scale-marker::after { content: attr(data-label); position: absolute; top: 76px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 800; white-space: nowrap; }
.scale-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 30px; }
.domain-row { display: grid; grid-template-columns: 260px 1fr 46px; gap: 12px; align-items: center; margin-bottom: 9px; font-size: 13.5px; }
.domain-row .nm { text-align: right; color: #334155; }
.domain-row .nm small { color: var(--muted); display: block; font-size: 11px; }
.domain-row .track { height: 14px; background: #eef1f6; border-radius: 99px; overflow: hidden; }
.domain-row .track > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--primary)); }
.domain-row .pv { font-weight: 800; color: var(--primary); }
.domain-group { font-size: 13px; font-weight: 800; color: var(--muted); margin: 14px 0 8px; letter-spacing: 1px; }
.interp-box { background: #f8f9ff; border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 14px; color: #334155; }
.interp-box p { margin-bottom: 8px; }
.fidelity-list { list-style: none; font-size: 13.5px; }
.fidelity-list li { padding: 7px 12px; border-radius: 8px; margin-bottom: 7px; background: #f1f5f9; color: #475569; }
.fidelity-list li.warn { background: #fef2f2; color: #b91c1c; }
.fidelity-list li.info { background: #eff6ff; color: #1d4ed8; }
.rpt-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.growth-chart { width: 100%; overflow-x: auto; }
.report-print-head { display: none; }

@media print {
  body { background: #fff; }
  .topbar, .rpt-actions, .no-print { display: none !important; }
  .report { box-shadow: none; margin: 0; max-width: 100%; padding: 10px 0; border-radius: 0; }
  .report-print-head { display: flex; justify-content: space-between; border-bottom: 2px solid #333; padding-bottom: 8px; margin-bottom: 20px; }
}

/* ---------- 通用提示 ---------- */
.empty { color: var(--muted); text-align: center; padding: 36px 0; font-size: 14px; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #1e293b; color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 14px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* ============================================================
   ӪÏúÊ×ҳ£¨Landing£©
   ============================================================ */
body.landing { background: #fff; }
.lnav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: background .25s, box-shadow .25s; }
.lnav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(15,23,42,.08); }
.lnav-inner { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.lnav .brand .name, .lnav .brand .name small { color: #fff; }
.lnav.scrolled .brand .name, .lnav.scrolled .brand .name small { color: var(--ink); color: #1e293b; }
.lnav.scrolled .brand .name small { color: var(--muted); }
.lnav-links { display: flex; align-items: center; gap: 26px; }
.lnav-links > a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; }
.lnav.scrolled .lnav-links > a { color: #334155; }
.lnav-links > a:hover { opacity: .75; }
.btn-cta { background: #fff; color: #4f46e5; border: none; border-radius: 999px; padding: 9px 22px; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; transition: transform .12s, box-shadow .2s; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79,70,229,.35); }
.lnav.scrolled .btn-cta { background: var(--primary); color: #fff; }

.hero { background: linear-gradient(128deg, #26175e 0%, #312e81 30%, #4f46e5 68%, #7c3aed 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 82% 18%, rgba(255,255,255,.14), transparent 60%), radial-gradient(600px 380px at 8% 88%, rgba(14,165,233,.18), transparent 60%); }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 132px 24px 72px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #e0e7ff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.hero-copy h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.22; font-weight: 900; letter-spacing: .5px; }
.grad-text { background: linear-gradient(90deg, #fbbf24, #f59e0b, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: rgba(224,231,255,.88); font-size: 16px; line-height: 1.9; margin: 20px 0 30px; max-width: 520px; }
.hero-sub strong { color: #fde68a; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-hero { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006; border: none; border-radius: 13px; padding: 15px 34px; font-size: 17px; font-weight: 900; cursor: pointer; font-family: inherit; box-shadow: 0 12px 32px rgba(245,158,11,.42); transition: transform .14s, box-shadow .2s; }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,158,11,.55); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 13px; padding: 14px 28px; font-size: 15px; font-weight: 700; transition: background .15s; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-note { margin-top: 16px; color: rgba(224,231,255,.65); font-size: 13.5px; }
.hero-note a { color: #fde68a; font-weight: 700; }
.hero-art { position: relative; }
.hero-art img { width: 100%; display: block; border-radius: 22px; box-shadow: 0 30px 80px rgba(9, 4, 40, .5); }

.stats-band { background: #fff; border-bottom: 1px solid var(--border); }
.stats-band, .stats-band .stat-item { display: flex; }
.stats-band { justify-content: center; flex-wrap: wrap; }
.stat-item { flex-direction: column; align-items: center; padding: 26px 44px; gap: 2px; border-right: 1px dashed var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item b { font-size: 30px; font-weight: 900; color: var(--primary); }
.stat-item span { font-size: 13px; color: var(--muted); font-weight: 600; }

.section { padding: 84px 24px; max-width: 1160px; margin: 0 auto; }
.section-alt { background: #f7f8fd; max-width: none; }
.section-alt > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--primary); background: #eef0ff; border-radius: 999px; padding: 6px 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.35; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 30px 26px; transition: transform .18s, box-shadow .25s, border-color .2s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(49,46,129,.12); border-color: #c7d2fe; }
.f-icon { font-size: 34px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 800; }
.feature-card p { font-size: 14px; color: #475569; line-height: 1.85; }

.steps { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.step { background: #fff; border-radius: 20px; padding: 30px 28px; width: 300px; box-shadow: 0 6px 24px rgba(15,23,42,.06); position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #64748b; line-height: 1.85; }
.step-arrow { align-self: center; font-size: 26px; color: #a5b4fc; font-weight: 900; }

.sample-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.mock-report { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 30px 32px; box-shadow: 0 20px 60px rgba(15,23,42,.1); }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #1e293b; padding-bottom: 14px; margin-bottom: 20px; }
.mock-title { font-size: 20px; font-weight: 900; }
.mock-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.mock-badge { background: #4caf7d; color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 6px 14px; }
.mock-bands { position: relative; display: flex; height: 36px; border-radius: 9px; overflow: visible; margin: 6px 0 30px; }
.mock-bands > div { height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10.5px; font-weight: 700; text-align: center; line-height: 1.25; }
.mock-bands > div:first-child { border-radius: 9px 0 0 9px; }
.mock-bands > div:last-child { border-radius: 0 9px 9px 0; }
.mock-marker { position: absolute; top: -7px; width: 3px; height: 50px; background: #1e293b; border-radius: 2px; }
.mock-marker span { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 900; white-space: nowrap; background: #1e293b; color: #fff; border-radius: 6px; padding: 2px 8px; }
.mock-scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 22px; }
.mock-scores > div { text-align: center; border: 1.5px solid var(--border); border-radius: 11px; padding: 10px 6px; }
.mock-scores b { display: block; font-size: 19px; color: var(--primary); font-weight: 900; }
.mock-scores span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.md-row { display: grid; grid-template-columns: 150px 1fr 30px; gap: 10px; align-items: center; font-size: 12px; margin-bottom: 8px; color: #475569; }
.md-track { height: 11px; background: #eef1f6; border-radius: 99px; overflow: hidden; }
.md-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--primary)); border-radius: 99px; }
.md-row b { color: var(--primary); text-align: right; }
.sample-notes { display: flex; flex-direction: column; gap: 16px; }
.sn-item { background: #f8f9ff; border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; padding: 16px 18px; font-size: 14px; color: #334155; line-height: 1.8; }
.sn-item b { color: var(--primary-dark); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 15px; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--primary); font-weight: 900; }
.faq-list details[open] summary::after { content: "?"; }
.faq-list details p { padding: 0 22px 18px; font-size: 14px; color: #475569; line-height: 1.9; }

.cta-band { background: linear-gradient(128deg, #312e81, #4f46e5 55%, #7c3aed); padding: 84px 24px; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 12px; }
.cta-inner p { color: rgba(224,231,255,.85); font-size: 15.5px; margin-bottom: 30px; }

.lfooter { background: #10152b; padding: 30px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-links { display: flex; align-items: center; gap: 18px; color: #64748b; font-size: 12.5px; }
.admin-link { color: #475569; font-size: 12px; opacity: .55; }
.admin-link:hover { opacity: 1; color: #94a3b8; }

.auth-modal { width: 460px; padding: 28px 32px 24px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; border: none; background: #f1f5f9; color: #64748b; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer; }
.auth-tabs { display: flex; background: #eef1f6; border-radius: 11px; padding: 5px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 8px; font-size: 14.5px; font-weight: 800; color: var(--muted); cursor: pointer; font-family: inherit; }
.auth-tabs button.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.auth-agree { text-align: center; color: #94a3b8; font-size: 12px; margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-art { max-width: 560px; }
  .sample-wrap { grid-template-columns: 1fr; }
  .lnav-links > a { display: none; }
  .mock-scores { grid-template-columns: repeat(3, 1fr); }
  .stat-item { padding: 20px 26px; }
}
