/* ---------- Brand colours and basics ---------- */
:root {
  --navy: #0B1220; --deep: #070C17; --card: #0F1A30; --border: #1F3A66; --muted: #9DB1CC;
  --blue: #39C6F4; --royal: #0B57F0; --sky: #0A8BFF; --mist: #EEF4FC; --ink: #0B1220; --text2: #4F627F; --line: #D3E0F2;
  --display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; background: var(--deep); }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink);
  background: #fff; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); }

/* ---------- Layout ---------- */
section { padding: clamp(80px, 10vw, 130px) 22px; position: relative; }
.wrap { max-width: 1120px; margin: 0 auto; position: relative; }
.narrow { max-width: 780px; margin: 0 auto; position: relative; }
.light { background: var(--mist); }
.dark { background: var(--navy); color: #fff; overflow: clip; }
.dark::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(30,107,255,.38), transparent); }
.dark::after { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(57,198,244,.16), transparent); }
.royal { background: linear-gradient(135deg, #0A3BC4 0%, #0B57F0 45%, #1AA3F5 100%); color: #fff; overflow: clip; }
.royal::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; margin-left: -350px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.head { text-align: center; margin-bottom: 60px; }
h2 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.head p { font-size: clamp(18px, 2.2vw, 21px); color: var(--text2); max-width: 640px; margin: 16px auto 0; line-height: 1.45; }
.dark .head p { color: var(--muted); }
.royal .head p { color: rgba(255,255,255,.88); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 980px; font-size: 17px; font-weight: 600; line-height: 1.2;
  font-family: inherit; transition: transform .25s, box-shadow .25s, filter .25s; }
.btn:hover { text-decoration: none; }
.btn-main { background: linear-gradient(135deg, #0B57F0, #0A8BFF); color: #fff; border: 0; box-shadow: 0 12px 30px -12px rgba(10,120,255,.8); }
.btn-main:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 36px -12px rgba(10,120,255,.9); }
.btn-main:active { transform: scale(.98); }
.btn-link { color: #7DD3FC; font-size: 18px; font-weight: 500; }
.btn-link:hover { text-decoration: underline; }

/* ---------- Skip link: lets keyboard users jump past the menu ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px;
  background: var(--royal); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
