/* ========== Base ========== */
:root{
  --bg: #0b0c10;
  --bg2:#0f1118;
  --card:#121521;
  --text:#e9ecf1;
  --muted:#a7afc0;
  --line: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;

  --max: 1120px;
  --pad: 24px;
  --header-h: 72px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1000px 600px at 20% -10%, rgba(110,231,255,.18), transparent 60%),
              radial-gradient(1000px 600px at 90% 10%, rgba(167,139,250,.16), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
img{ max-width: 100%; height: auto; display:block; border-radius: var(--radius); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip{
  position:absolute;
  left:-999px; top:auto;
  width:1px; height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 16px;
  top: 16px;
  width:auto; height:auto;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 1000;
}

/* ========== Header / Nav ========== */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(10,11,16,.55);
  backdrop-filter: blur(10px);
}
.header__inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
}
.brand__mark{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110,231,255,.9), rgba(167,139,250,.9));
  color: #0b0c10;
}
.brand__text{ letter-spacing: .4px; }

.nav{
  display:flex;
  gap: 14px;
  align-items:center;
}
.nav__link{
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  border: 1px solid transparent;
}
.nav__link:hover{
  text-decoration:none;
  color: var(--text);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.nav__link.is-active{
  color: var(--text);
  background: rgba(110,231,255,.10);
  border-color: rgba(110,231,255,.25);
}

.nav__toggle{
  display:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
}
.nav__toggle:hover{ background: rgba(255,255,255,.04); cursor:pointer; }
.nav__toggle-bar{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero{
  padding: 48px 0 20px;
}
.hero__grid{
  display:grid;
  gap: 28px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}
.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 12px 0;
}
h1{
  margin: 0 0 12px 0;
  line-height: 1.1;
  font-size: clamp(32px, 3.2vw, 48px);
}
.lead{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mini{
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero__media{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.caption{
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: .9rem;
}

/* ========== Sections ========== */
.section{
  padding: 56px 0;
}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head{
  margin-bottom: 18px;
}
.section__head h2{
  margin: 0 0 8px 0;
  font-size: clamp(24px, 2.3vw, 34px);
}
.section__head p{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

/* Keep anchors from hiding behind sticky header */
section{ scroll-margin-top: calc(var(--header-h) + 18px); }

/* ========== Grid / Cards ========== */
.grid{
  display:grid;
  gap: 16px;
}
.grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 8px 0;
}
.card p{ margin: 0; color: var(--muted); }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.muted{ color: var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* ========== Media grid ========== */
.media-grid{
  margin-top: 16px;
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.media{
  margin: 0;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.media--wide{
  margin-top: 16px;
}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 700;
  text-decoration:none;
}
.btn:hover{ text-decoration:none; }
.btn--primary{
  background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(167,139,250,.95));
  color: #0b0c10;
  border-color: transparent;
}
.btn--ghost{
  background: rgba(255,255,255,.03);
  color: var(--text);
}

/* ========== Team Cards ========== */
.person{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.person img{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
}
.person__avatar{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110,231,255,.35), rgba(167,139,250,.35));
  border: 1px solid rgba(255,255,255,.12);
}

/* ========== Stats ========== */
.stats{
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat__num{
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.stat__label{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

/* ========== Callout + Footer ========== */
.callout{
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(110,231,255,.18);
  border-radius: var(--radius);
}
.callout h3{ margin: 0 0 6px 0; }
.callout p{ margin: 0; color: var(--muted); }
.callout__links{ margin-top: 12px; display:flex; gap: 12px; flex-wrap: wrap; }

.footer{
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  gap: 16px;
  align-items:center;
}

/* ========== Responsive ========== */
@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav__toggle{ display:block; }
  .nav{
    position: absolute;
    right: var(--pad);
    top: calc(var(--header-h) - 10px);
    margin-top: 10px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    background: rgba(10,11,16,.92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display:none;
  }
  .nav.is-open{ display:flex; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
