:root {
  color-scheme: light dark;
  --background: #101010;
  --surface: #181818;
  --surface-strong: #222222;
  --text: #f7f3ef;
  --muted: #b8afa8;
  --line: #313131;
  --accent: #ff4500;
  --accent-soft: #ffeadf;
  --accent-text: #351000;
  --max: 1120px;
  --gutter: 32px;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.88);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 72px;
}

.hero {
  display: grid;
  gap: 24px;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 800px;
  font-size: 72px;
}

h2 {
  margin-top: 44px;
  font-size: 30px;
}

h3 {
  margin-top: 26px;
  font-size: 20px;
}

p {
  margin: 14px 0 0;
  color: var(--muted);
}

.lead {
  max-width: 660px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.content {
  max-width: 760px;
}

.content ul,
.content ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.content li + li {
  margin-top: 8px;
}

.notice {
  margin-top: 28px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 18px 20px;
}

.notice p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (prefers-color-scheme: light) {
  :root {
    --background: #fffaf7;
    --surface: #ffffff;
    --surface-strong: #f5eee9;
    --text: #191514;
    --muted: #625852;
    --line: #eaded7;
    --accent-soft: #ffeadf;
  }

  .site-header {
    background: rgba(255, 250, 247, 0.9);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 24px;
  }

  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 40px;
  }

  h1 {
    font-size: 42px;
  }

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