/* Minimal, readable defaults */
:root {
  --bg: #0f1220;
  --panel: #161a2f;
  --text: #e6e9f5;
  --muted: #a2a8c3;
  --accent: #6ea8fe;
  --accent-strong: #3d8bfd;
  --ring: rgba(110, 168, 254, 0.35);
  --surface: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: var(--text);
  background: #000;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: #fff;
  color: #000;
  padding: .5rem .75rem;
  border-radius: 8px;
}
.skip-link:focus { top: .5rem; }

.container {
  max-width: 820px;
  padding: 1rem;
  margin: 0 auto 2rem;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: .6rem 1rem;
  font-weight: 600;
  color: #0c1220;
  background: var(--accent);
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

button:hover { background: var(--accent-strong); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.muted { color: var(--muted); }

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

code {
  padding: .1rem .35rem;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

/* Sticky nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
}

.nav__inner {
  max-width: 1100px;
  margin: .75rem auto 0;
  padding: .5rem .75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, padding .3s ease;
}

.nav--scrolled .nav__inner {
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
  padding: .4rem .6rem;
}

.nav__brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .4px;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.nav__primary { position: relative; }
.nav__toggle {
  display: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .45rem .55rem;
}
.nav__sr { position: absolute; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height:1px; width:1px; overflow:hidden; }

.nav__menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0 .5rem;
}
.nav__menu a {
  color: var(--text);
  text-decoration: none;
  padding: .55rem .7rem;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.nav__menu a:hover, .nav__menu a:focus-visible { background: rgba(255,255,255,.08); outline: none; }

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 600;
  color: #0c1220;
  background: var(--accent);
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}
.btn:hover { background: var(--accent-strong); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.18); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--pill { border-radius: 999px; padding: .6rem 1rem; }

.nav__cta { justify-self: end; }

/* Mobile nav */
@media (max-width: 720px) {
  .nav__toggle { display: inline-grid; place-items: center; }
  .nav__menu {
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: .5rem;
    display: grid;
    gap: .25rem;
    min-width: 200px;
    transform-origin: top right;
    transform: scale(.98) translateY(-6px);
    opacity: 0; visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s linear;
  }
  .nav__menu[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
}

/* Hero */
.hero {
  position: relative;
  margin: 1rem;
  border-radius: 28px;
  overflow: clip;
  border: 1px solid rgba(255,255,255,.08);
  background: #0f1424;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(500px 300px at 90% 30%, rgba(110,168,254,.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  filter: saturate(110%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  padding: clamp(2rem, 4vw + 1rem, 4rem) clamp(1rem, 2vw + 1rem, 2rem);
}
.eyebrow { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin: 0 0 .5rem; }
.hero__title { font-size: clamp(2rem, 3vw + 1.5rem, 4rem); line-height: 1.05; margin: 0 0 1rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__aside { align-self: center; color: #dfe5ff; max-width: 42ch; justify-self: end; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { justify-self: start; }
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Embedded page */
.embed { margin: 0; }
.embed--full { padding: 0; }
.embed__frame { width: 100vw; height: 100vh; height: 100svh; height: 100dvh; border: 0; display: block; background: #000; }
