/* Landing pages (/code, /students, /gamers, /compete). Owner: brooktype-b8.
   Same tokens as the app: Navy, Sky, Ice, Lexend, flat surfaces, pill buttons. */
:root { color-scheme: light dark; --navy: #0B162B; --sky: #1765C4; --sky-light: #3AA0FF; --ice: #EAF4FF; --slate: #334155; --gray: #94A3B8; --page: #F6FAFF; --surface: #fff; }
@media (prefers-color-scheme: dark) {
  :root { --page: #0B162B; --surface: #0F1D38; --ice: #13254A; --navy: #FFFFFF; --slate: #c3cfdd; --sky: #3AA0FF; }
  footer { color: #94A3B8; }
  nav a { box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.45); }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Lexend", "Segoe UI", system-ui, sans-serif; color: var(--navy); background: linear-gradient(180deg, var(--ice) 0, var(--page) 420px); line-height: 1.55; }
.top, main, footer { width: min(60rem, calc(100% - 2rem)); margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 1.2rem 0; }
.logo img { display: block; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 0.4rem; }
nav a { padding: 0.4rem 0.9rem; border-radius: 99px; font-size: 0.9rem; color: var(--slate); text-decoration: none; box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35); }
nav a:hover, nav a[aria-current="page"] { color: var(--sky); box-shadow: 0 0 0 1px var(--sky); }
.hero { padding: 4rem 0 2.5rem; }
h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.lead { max-width: 40rem; margin: 0 0 1.8rem; font-size: 1.15rem; color: var(--slate); }
.cta { display: inline-block; padding: 0.8rem 1.6rem; border-radius: 99px; font-weight: 700; color: #fff; text-decoration: none; background: #1765C4; }
.skip { position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem; background: #1765C4; color: #fff; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; z-index: 10; }
.cta:hover { filter: brightness(1.06); }
.cta:focus-visible, nav a:focus-visible, .logo:focus-visible { outline: 2px solid var(--sky-light); outline-offset: 3px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.points li { padding: 1.3rem; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3); }
.points h2 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 600; }
.points p { margin: 0; color: var(--slate); font-size: 0.95rem; }
.closing { margin: 3rem 0; padding: 2rem; border-radius: 28px; background: var(--ice); text-align: center; }
.closing p { margin: 0 0 1.2rem; font-size: 1.1rem; }
footer { padding: 1rem 0 3rem; color: #64748B; font-size: 0.85rem; text-align: center; }
