:root {
  --mf-bg: #0b1220;
  --mf-bg-soft: #111d30;
  --mf-panel: rgba(21, 36, 57, 0.78);
  --mf-panel-hover: rgba(29, 49, 76, 0.94);
  --mf-blue: #38bdf8;
  --mf-blue-strong: #168bd0;
  --mf-text: #e7eef8;
  --mf-muted: #a8b8cc;
  --mf-border: rgba(148, 190, 225, 0.16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body,
input,
select,
textarea {
  color: var(--mf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

body {
  background: var(--mf-bg);
}

p {
  color: var(--mf-muted);
  line-height: 1.8;
}

a {
  color: var(--mf-blue);
}

a:hover {
  color: #8bdcff !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #f5f9ff;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

/* Navigation */
body.landing #header {
  position: fixed;
  top: 0;
  left: 0;
  height: auto;
  min-height: 4.5rem;
  padding: 0.45rem 1.5rem;
  background: rgba(8, 16, 29, 0.76);
  border-bottom: 1px solid rgba(148, 190, 225, 0.12);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
}

#header nav {
  display: flex;
  align-items: center;
}

#header nav ul li {
  margin-left: 0.35rem;
}

#header nav ul li a {
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  color: #dce8f6;

