:root {
  --navy: #0f2540;
  --navy-2: #1b3a5f;
  --accent: #f5821f;
  --ink: #1f2933;
  --muted: #5b6b7b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--navy-2); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
}
.brand .name { font-weight: 700; color: var(--navy); font-size: 19px; letter-spacing: -.2px; }
.nav a { margin-left: 26px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 7px; text-decoration: none; font-weight: 600;
  border: 0; cursor: pointer; font-size: 15px;
}
.btn:hover { filter: brightness(.95); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(245,130,31,.10), transparent),
    var(--navy);
  color: #eaf1fb; padding: 88px 0 96px;
}
.hero h1 { font-size: 46px; line-height: 1.08; margin: 0 0 18px; letter-spacing: -1px; }
.hero p { font-size: 19px; color: #b9cbe4; max-width: 620px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.track {
  margin-top: 40px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 18px; display: flex; gap: 12px; max-width: 560px; flex-wrap: wrap;
}
.track input {
  flex: 1 1 260px; border: 0; border-radius: 7px; padding: 12px 14px; font-size: 15px;
}
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 { font-size: 32px; letter-spacing: -.5px; margin: 0 0 8px; color: var(--navy); }
.section .sub { color: var(--muted); margin: 0 0 40px; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat .n { font-size: 40px; font-weight: 800; color: var(--accent); }
.stat .l { color: var(--muted); font-size: 15px; }
.site-footer { background: var(--navy); color: #9fb4d1; padding: 40px 0; font-size: 14px; }
.site-footer a { color: #cdddf1; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* Auth / login decoys */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); padding: 40px 16px; }
.auth-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: 0 10px 30px rgba(15,37,64,.08); }
.auth-card .brand { justify-content: center; margin-bottom: 22px; }
.auth-card h1 { font-size: 20px; text-align: center; margin: 0 0 22px; color: var(--navy); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 15px; }
.auth-card .btn { width: 100%; }
.error { background: #fdecea; border: 1px solid #f5c6cb; color: #a12622; padding: 10px 12px; border-radius: 7px; font-size: 14px; margin-bottom: 18px; }
.muted-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 16px; }
@media (max-width: 820px) {
  .grid, .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 520px) {
  .grid, .stats { grid-template-columns: 1fr; }
  .nav a:not(:last-child) { display: none; }
}
