:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111318;
  --panel-soft: #181b21;
  --text: #f3f1ec;
  --muted: #b7b0a6;
  --line: #2d3038;
  --accent: #d9b86f;
  --accent-strong: #f0d28b;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #101116 0%, var(--bg) 34rem);
}

a {
  color: inherit;
  text-decoration-color: rgba(217, 184, 111, 0.45);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--accent-strong);
}

.site-header,
.site-footer,
main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  max-width: 760px;
  padding: 6.5rem 0 5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

p {
  color: var(--muted);
}

.lede {
  max-width: 620px;
  margin-bottom: 1.75rem;
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.35rem;
  background: var(--accent);
  color: #11100d;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus {
  color: #11100d;
  background: var(--accent-strong);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}

article,
.notice,
.page-section {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(17, 19, 24, 0.72);
}

article {
  padding: 1.25rem;
}

article p:last-child,
.notice p:last-child,
.page-section p:last-child,
.site-footer p {
  margin-bottom: 0;
}

.notice {
  max-width: 820px;
  padding: 1.5rem;
  margin-bottom: 5rem;
}

.page {
  padding: 4rem 0 5rem;
}

.page-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.page-header p {
  font-size: 1.1rem;
}

.page-section {
  max-width: 820px;
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.page-section ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.page-section li + li {
  margin-top: 0.45rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

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

  .hero {
    padding: 4.5rem 0 3.5rem;
  }

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

  .page {
    padding-top: 3rem;
  }
}
