:root {
  color-scheme: dark;
  --bg: #080706;
  --panel: #14110d;
  --ink: #f4e6bf;
  --muted: #c6ad76;
  --line: rgba(209, 169, 88, 0.28);
  --green: #1f604e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, rgba(31, 96, 78, 0.22), transparent 36%),
    linear-gradient(180deg, #0d0b09, var(--bg));
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.docs-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.docs-hero {
  min-height: 460px;
  padding: 28px 0 72px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.top-nav div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav .brand {
  color: var(--ink);
  font-size: 1.55rem;
}

.hero-copy {
  max-width: 780px;
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  font-weight: 500;
}

h2 {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 600;
}

p {
  color: #d7c7a2;
  font-size: 1.08rem;
  line-height: 1.62;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

article,
.docs-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 96, 78, 0.16), transparent 160px), var(--panel);
  padding: 26px;
}

.docs-panel {
  margin-bottom: 18px;
}

code {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  padding: 2px 6px;
}

@media (max-width: 760px) {
  .docs-shell {
    width: min(100% - 24px, 1120px);
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }
}
