:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: rgba(24, 27, 32, 0.76);
  --panel-border: rgba(255, 255, 255, 0.085);
  --text: #f5f1e8;
  --muted: #979ca5;
  --red: #ef5b5b;
  --blue: #5ba8ef;
  --gold: #e6ba62;
  --green: #5fc78b;
  --grid: rgba(255, 255, 255, 0.075);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 30% -20%, rgba(239, 91, 91, 0.08), transparent 38rem),
    var(--bg);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one { width: 24rem; height: 24rem; background: var(--blue); top: 35%; right: -14rem; }
.ambient-two { width: 20rem; height: 20rem; background: var(--red); bottom: 0; left: -14rem; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--panel-border);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--panel-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.topbar-link {
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.topbar-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.topbar-link.active,
.topbar-link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.09); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.hero { max-width: 850px; padding: 70px 0 65px; }
.hero h1 { font-size: clamp(48px, 7vw, 88px); }
.page-intro { max-width: 850px; padding: 70px 0 46px; }
.page-intro h1 { font-size: clamp(48px, 7vw, 78px); line-height: .95; }
.page-intro .lede { margin-top: 23px; }

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 8.3vw, 104px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.058em;
}

h1 em { color: var(--red); font-weight: 400; }

.lede {
  max-width: 610px;
  margin: 31px 0 0;
  color: #b7bbc2;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 46px;
  color: #656a73;
  font-size: 11px;
}

@media (max-width: 540px) {
  .shell { width: min(100% - 24px, 1180px); }
  .topbar { height: 72px; }
  .brand { gap: 0; }
  .brand > span:last-child { display: none; }
  .topbar-actions { gap: 1px; padding: 3px; }
  .topbar-link { padding: 7px 6px; font-size: 10px; }
  .hero { padding: 50px 3px 48px; }
  .page-intro { padding: 50px 3px 34px; }
  footer { flex-direction: column; }
}

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