:root {
  --blue: #0170b9;
  --blue-dark: #005a94;
  --navy: #0a1f3d;
  --navy-2: #0e2a52;
  --ink: #3a3a3a;
  --body: #4b4f58;
  --muted: #69727d;
  --line: #e5e7eb;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(10, 31, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--blue); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); }
.nav .btn { padding: 10px 22px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-dark) 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.hero .lede { max-width: 760px; margin: 0 auto 30px; font-size: 18px; color: #d7e3f2; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats { margin-top: -40px; padding-bottom: 8px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 28px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat .label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 13px; margin-bottom: 8px; }

/* ---------- Invitation / split ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split .copy ul { list-style: none; padding: 0; margin: 20px 0 0; }
.split .copy li { padding: 8px 0 8px 28px; position: relative; }
.split .copy li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ---------- Card grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 2px 8px rgba(10,31,61,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 60px; height: 60px; margin-bottom: 18px; object-fit: contain; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: center; justify-content: center; }
.logo-strip img { height: 46px; width: auto; object-fit: contain; opacity: .85; filter: grayscale(100%); }
.logo-strip img:hover { opacity: 1; filter: none; }

/* ---------- Sponsors ---------- */
.sponsor-tier { margin-bottom: 40px; }
.sponsor-tier h3 { text-align: center; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.sponsor-tier .tier { display: flex; flex-wrap: wrap; gap: 24px 44px; align-items: center; justify-content: center; }
.sponsor-tier img { max-height: 54px; width: auto; object-fit: contain; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { color: #d7e3f2; max-width: 640px; margin: 0 auto 26px; font-size: 18px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 40px; max-width: 780px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: #fbfcfe; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 96px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 0 0 20px; }
legend { font-weight: 700; color: var(--blue); padding: 0 8px; font-size: 15px; }

/* ---------- Login ---------- */
.login-card { max-width: 420px; padding: 40px; }
.login-card .brand-center { display: flex; justify-content: center; margin-bottom: 10px; }
.lost { text-align: center; margin-top: 16px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d8; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 6px; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b9c6d8; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 14px; color: #7f8ea6; }

@media (max-width: 860px) {
  .stats-grid, .cards, .split, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}