:root {
  --bg: #14110e;
  --bg-mid: #1a1612;
  --surface: #1f1a16;
  --text: #e8ecf1;
  --muted: #9a9088;
  --accent: #f0a052;
  --accent-dim: #d4823a;
  --border: #3a3028;
  --radius: 12px;
  --max: 42rem;
  --wide: 56rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

/* Atmosphere: warm radial wash + subtle grain-like gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(240, 160, 82, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(61, 90, 82, 0.22), transparent 50%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg) 45%, #0f0d0b 100%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffb86a;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: #ffb86a;
  color: var(--bg) !important;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  padding: 2rem 0 4rem;
}

.hero-brand {
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.hero .lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent);
  color: var(--bg);
}

.btn:hover {
  background: #ffb86a;
  color: var(--bg);
}

.page-header {
  max-width: var(--max);
  padding: 2.5rem 0 1.5rem;
}

.page-header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-header .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.content {
  max-width: var(--max);
}

.content h2 {
  margin: 2.25rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.content p,
.content li {
  color: var(--muted);
}

.content p {
  margin: 0 0 1rem;
}

.content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.stub-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent-dim);
  background: rgba(31, 26, 22, 0.65);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.85rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}
