@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --navy: #0a2540;
  --deep: #0f3d68;
  --aqua: #1597c0;
  --aqua-soft: #e3f4fa;
  --lane: #e2463a;
  --ink: #13233a;
  --muted: #56677d;
  --line: #dbe4ee;
  --bg: #f5f8fb;
  --card: #ffffff;
  --ok: #1b7a43;
  --ok-soft: #e1f3e8;
  --warn: #9a6200;
  --warn-soft: #fdf1d8;
  --bad: #b3261e;
  --bad-soft: #fbe6e4;
  --radius: 14px;
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: .01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: #fff; position: relative; }
.site-head::after { /* lane rope */
  content: ''; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--lane) 0 18px, #fff 18px 30px, var(--aqua) 30px 48px, #fff 48px 60px);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #d6e6f5; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; font-size: .97rem; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: #fff; color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 600; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a { border-radius: 8px; }
}

.announce { background: var(--warn-soft); color: #5a3a00; border-bottom: 1px solid #f0d9a6; font-weight: 600; }
.announce .wrap { padding-top: 10px; padding-bottom: 10px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%); color: #fff; padding: 48px 0 64px; position: relative; overflow: hidden; }
.hero::before { /* water lines */
  content: ''; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 46px, #8fd6ee 46px 48px);
}
.hero .wrap { position: relative; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #8fd6ee; font-size: 1rem; margin-bottom: 10px; }
.hero h1 { margin-bottom: 12px; max-width: 14ch; }
.hero .lede { font-size: 1.2rem; max-width: 46ch; color: #e1edf7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 14px; font-weight: 600; background: rgba(255,255,255,.06); }
.countdown { display: inline-flex; align-items: baseline; gap: 8px; background: var(--lane); color: #fff; border-radius: 999px; padding: 7px 16px; font-family: var(--head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.countdown b { font-size: 1.6rem; }
.page-hero { background: var(--navy); color: #fff; padding: 34px 0 38px; }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin: 0 0 6px; }
.page-hero p { color: #d6e6f5; max-width: 60ch; margin: 0; font-size: 1.1rem; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--aqua); color: #fff; line-height: 1.2; }
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.lane { background: var(--lane); }
.btn.ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn.light { background: #fff; color: var(--navy); }
.btn.quiet { background: #eef3f8; color: var(--ink); border: 1px solid var(--line); }
.btn.sm { padding: 7px 12px; font-size: .9rem; border-radius: 8px; }
.btn.danger { background: var(--bad-soft); color: var(--bad); border: 1px solid #f2c5c1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

label { display: block; font-weight: 600; font-size: .95rem; margin: 14px 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(21,151,192,.18); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: var(--ok-soft); color: var(--ok); }
.form-msg.err { background: var(--bad-soft); color: var(--bad); }

/* ---------- layout blocks ---------- */
section.block { padding: 44px 0; }
section.block + section.block { padding-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: -40px; position: relative; }
.lane-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 24px rgba(10,37,64,.08); border-top: 5px solid var(--aqua); transition: transform .15s; }
.lane-card:hover { transform: translateY(-3px); }
.lane-card:nth-child(2) { border-top-color: var(--lane); }
.lane-card:nth-child(3) { border-top-color: #f2b632; }
.lane-card:nth-child(4) { border-top-color: var(--deep); }
.lane-no { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-size: .9rem; }
.lane-card h3 { margin: 0; font-size: 1.6rem; text-transform: uppercase; }
.lane-card p { margin: 0; color: var(--muted); }
.lane-card .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--deep); }
.stat-line { font-weight: 700; color: var(--ok); }

.callout { border-left: 5px solid var(--lane); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout.info { border-left-color: var(--aqua); }
.callout strong { display: block; font-family: var(--head); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 4px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.steps li strong { display: block; }

.role-list { list-style: none; margin: 0; padding: 0; }
.role-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.role-list li:last-child { border-bottom: 0; }
.role-list .desc { color: var(--muted); font-size: .92rem; }
.spots { text-align: right; white-space: nowrap; font-size: .9rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--aqua-soft); color: var(--deep); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.school-list { list-style: none; padding: 0; margin: 8px 0 0; columns: 3 220px; column-gap: 28px; }
.school-list li { break-inside: avoid; padding: 4px 0; }
.pill.sm { font-size: .72rem; padding: 1px 7px; vertical-align: middle; }
.pill.grey { background: #edf1f5; color: var(--muted); }

.sched { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sched ul { list-style: none; padding: 0; margin: 0; }
.sched li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sched li:last-child { border-bottom: 0; }
.day-tag { font-family: var(--head); font-weight: 800; text-transform: uppercase; color: var(--lane); letter-spacing: .08em; }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tier .amt { font-family: var(--head); font-weight: 800; font-size: 2rem; color: var(--navy); }
.tier h3 { text-transform: uppercase; color: var(--lane); margin-bottom: 2px; }

.sponsor-wall { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.sponsor { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; min-width: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 700; text-align: center; }
.sponsor img { max-height: 64px; max-width: 180px; object-fit: contain; }
.sponsor .tier-name { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

.code-box { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; letter-spacing: .08em; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; display: inline-block; margin: 8px 0 12px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
td input, td select { padding: 7px 8px; font-size: .95rem; min-width: 90px; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; white-space: pre-line; }
.pre { white-space: pre-line; }

.social { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #b9cde0; padding: 30px 0 40px; margin-top: 40px; font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 50; box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }

/* fixes from browser review */
.hero a.chip { color: #fff; text-decoration: none; }
.hero a.chip:hover { background: rgba(255,255,255,.14); }
.sched .card + .card, .grid2 .card + .card, .cols .card + .card { margin-top: 0; }
.card h3 { margin-top: 1.1em; }
.card h2 + h3, .card .lane-no + h2 { margin-top: 0; }
