:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --text: #d9dde2;
  --muted: #8a939d;
  --accent: #8fd3c8;
  --accent-dim: #3c6b66;
  --line: #222a31;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}
/* fog layers */
body::before, body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background:
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(143,211,200,.10), transparent 70%),
    radial-gradient(ellipse 50% 35% at 75% 70%, rgba(110,140,170,.10), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate;
}
body::after {
  background: radial-gradient(ellipse 70% 30% at 50% 100%, rgba(200,220,230,.07), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(-3%, 0); }
  to   { transform: translate(3%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}
header, main, footer { position: relative; z-index: 1; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px;
}
.logo {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .12em;
  color: var(--text);
  text-decoration: none;
}
nav { display: flex; gap: 22px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
nav a:hover, nav a[aria-current] { color: var(--accent); }

main {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.hero { text-align: center; padding-top: 8vh; }
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1, h2 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.15;
  margin: 0 0 20px;
}
h1 { font-size: clamp(44px, 10vw, 88px); text-shadow: 0 0 40px rgba(143,211,200,.25); }
h2 { font-size: clamp(30px, 6vw, 44px); }
p { margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto 32px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-dim);
  margin: 36px auto;
  max-width: 320px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

.button {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 14px;
  transition: background .2s, border-color .2s;
}
.button:hover { background: rgba(143,211,200,.08); border-color: var(--accent); }

.card {
  background: rgba(18,22,27,.75);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.card a { color: var(--accent); font-size: 20px; text-decoration: none; word-break: break-all; }
.card a:hover { text-decoration: underline; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 24px 20px;
  border-top: 1px solid var(--line);
}
