/* ---------------------------------------------------------------
   Theme variables — change the site's look here, nothing else.
   --------------------------------------------------------------- */
:root {
  --bg: #faf9f7;
  --text: #1c1b1a;
  --muted: #6b6862;
  --accent: #b3542c;
  --accent-contrast: #ffffff;
  --border: #e4e1db;
  --max-width: 640px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --text: #ece9e4;
    --muted: #9a968e;
    --accent: #e07b4a;
    --accent-contrast: #171614;
    --border: #2c2a27;
  }
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.site-nav a {
  color: var(--muted);
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

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

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.25rem 5rem;
}

.hero-kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-name {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.hero-tagline {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
}

.button:hover {
  text-decoration: none;
  opacity: 0.88;
}

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.section p {
  color: var(--muted);
  max-width: 55ch;
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
