:root {
  color-scheme: dark;
  --bg: #091016;
  --panel: rgba(19, 28, 35, 0.82);
  --panel-strong: #121b22;
  --surface: rgba(255, 255, 255, 0.055);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f2f7fb;
  --text-muted: #9fb1bf;
  --primary: #37d6ef;
  --accent: #f5b84b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --container: min(920px, calc(100vw - 40px));
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

[data-theme='light'] {
  color-scheme: light;
  --bg: #f3f6f8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --surface: rgba(10, 22, 30, 0.045);
  --stroke: rgba(10, 22, 30, 0.14);
  --text: #111d26;
  --text-muted: #546877;
  --primary: #006f89;
  --accent: #a46500;
  --shadow: 0 24px 70px rgba(24, 52, 74, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(860px 520px at 12% 6%, rgba(55, 214, 239, 0.14), transparent 62%),
    radial-gradient(760px 520px at 86% 2%, rgba(245, 184, 75, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-title);
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(12px + env(safe-area-inset-top)) 0 14px;
}

.nav-shell {
  width: var(--container);
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.kicker {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
