/* style.css */
:root {
  --bg: #071a33;
  --bg2: #06142a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: rgba(238, 244, 255, 0.78);
  --accent: #2b8cff;
  --accent2: rgba(43, 140, 255, 0.18);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  --container: 1100px;
  --radius: 18px;
  --radius2: 22px;

  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 720px at 20% -10%, rgba(43, 140, 255, 0.22), transparent 60%),
    radial-gradient(1000px 680px at 90% 0%, rgba(43, 140, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

img { max-width: 100%; display: block; }

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 14px; }

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 4.2vw, 4.2rem); }
h2 { font-size: clamp(1.35rem, 2.1vw, 1.95rem); }
h3 { font-size: 1.12rem; }

ul, ol { margin: 0; padding-left: 1.1rem; }
li { margin: 0.38rem 0; }

section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #ffffff;
  color: #000000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 26, 51, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
}

.brand-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  border: 1px solid rgba(0,0,0,0.08);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.35;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--muted);
  font-size: 1.02rem;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

/* Focus styling (FIXED) */
.site-nav a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(43, 140, 255, 0.55);
  outline-offset: 2px;
}

select option {
  background: #eef4ff;
  color: #071a33;
}

/* Hero */
.hero { padding: 86px 0 74px; }
.hero-inner { max-width: 980px; }

.hero-eyebrow {
  margin: 0 0 18px;
  color: rgba(238,244,255,0.70);
  letter-spacing: 0.20em;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-title { margin: 0 0 16px; font-weight: 850; }

.hero-subtitle {
  margin: 0 0 30px;
  font-size: 1.55rem;
  color: rgba(238,244,255,0.92);
  max-width: 60ch;
}

.hero-lead {
  margin: 0 0 30px;
  font-size: 1.18rem;
  color: rgba(238,244,255,0.86);
  max-width: 78ch;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 750;
  font-size: 1.05rem;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(43,140,255,0.65) 100%);
  color: #031227;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* Sections */
.section { padding: 42px 0; }

.section-alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-head { margin-bottom: 14px; }
.prose { max-width: 78ch; }

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.bullets { padding-left: 1.15rem; }
.numbered { padding-left: 1.25rem; }
.numbered li { margin: 0.48rem 0; }

/* Engagement grid and form */
.engage-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

.form .field { margin-bottom: 12px; }

label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  outline: none;
}

input::placeholder,
textarea::placeholder { color: rgba(238,244,255,0.5); }

textarea { resize: vertical; }

.form-note { margin-top: 10px; font-size: 0.92rem; }

/* Dropdown options visibility (FIXED) */
select {
  background-color: rgba(7, 26, 51, 0.95);
  color: var(--text);
}
select option,
select optgroup {
  background-color: #071a33;
  color: #eef4ff;
}

/* Footer */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.14);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.footer-name { font-weight: 800; display: block; }
.footer-meta { color: var(--muted); font-size: 0.92rem; }

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  text-decoration: none;
}

.footer-legal { color: var(--muted); font-size: 0.92rem; text-align: right; }

/* Responsive */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
}

@media (max-width: 760px) {
  .brand { min-width: 0; }
  .brand-tagline { display: none; }
  .hero { padding: 54px 0 50px; }
  .hero-subtitle { font-size: 1.25rem; }
}
