:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-strong: #f0eadf;
  --text: #1f2523;
  --muted: #5d6863;
  --line: #ded6c9;
  --accent: #263b35;
  --shadow: 0 18px 45px rgba(31, 37, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ebe4d8 0, transparent 34rem), var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.2rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 2rem));
}

.hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.first-section {
  border-top: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 750;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 5.8rem);
  max-width: 900px;
}

.narrow h1 {
  font-size: clamp(2.35rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf8;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--accent);
}

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

.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  box-shadow: var(--shadow);
}

.card p, .panel p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 3rem auto 0;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin: 0.4rem 0;
}

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

  nav {
    justify-content: flex-start;
  }

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