:root {
  --bg: #090A0C;
  --elev: #111318;
  --sec: #191C22;
  --copper: #B87333;
  --copper2: #D59255;
  --copper3: #E8B37A;
  --text: #F4F4F5;
  --muted: #A1A7B0;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 10%, rgba(184, 115, 51, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(213, 146, 85, 0.08), transparent 50%),
    linear-gradient(180deg, #090A0C 0%, #111318 55%, #090A0C 100%);
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { filter: hue-rotate(0deg) brightness(1); }
  to { filter: hue-rotate(8deg) brightness(1.05); }
}

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 6vw;
}
.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.top nav { margin-left: auto; display: flex; gap: 20px; }
.top a { color: var(--muted); text-decoration: none; }
.top a:hover { color: var(--copper3); }

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vh 6vw 12vh;
  max-width: 1100px;
}
.hero-brand {
  width: min(420px, 90vw);
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 0.9s ease forwards;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 0 16px;
  opacity: 0;
  animation: rise 0.9s ease 0.15s forwards;
}
.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42ch;
  margin: 0 0 28px;
  opacity: 0;
  animation: rise 0.9s ease 0.3s forwards;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: rise 0.9s ease 0.45s forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid #2a2e36;
  color: var(--text);
  text-decoration: none;
  background: var(--elev);
}
.btn.primary {
  border-color: var(--copper);
  color: var(--copper3);
}

.panel {
  padding: 10vh 6vw;
  border-top: 1px solid #1e222a;
  max-width: 1100px;
}
.panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  color: var(--copper2);
  margin: 0 0 12px;
}
.panel p { color: var(--muted); max-width: 58ch; line-height: 1.55; }
.panel code {
  font-size: 0.92em;
  color: var(--copper3);
}
.panel strong { color: var(--text); font-weight: 500; }
pre {
  background: var(--elev);
  border: 1px solid #2a2e36;
  padding: 16px;
  overflow: auto;
  color: var(--copper3);
}

footer {
  padding: 32px 6vw 48px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid #1e222a;
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 8vh; }
}
