:root {
  color-scheme: light dark;
  --bg: #f6f0e7;
  --text: #171613;
  --muted: #6f675e;
  --line: rgba(23, 22, 19, 0.14);
  --panel: rgba(255, 255, 255, 0.48);
  --accent: #1f1d19;
  --accent-text: #fffaf2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

h1 {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.42rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}

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

.topnav {
  display: flex;
  gap: 20px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 0.94rem;
}

.topnav a {
  text-decoration: none;
}

article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article h1 {
  margin-bottom: 32px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h2 {
  margin: 30px 0 8px;
  font-size: 1.06rem;
  letter-spacing: 0;
}

p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.72;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --text: #f7efe4;
    --muted: #b9aca0;
    --line: rgba(247, 239, 228, 0.16);
    --panel: rgba(255, 255, 255, 0.05);
    --accent: #f7efe4;
    --accent-text: #151412;
  }
}
