:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e4e4e7;
  --border-hover: #d4d4d8;
  --text: #0a0a0a;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --accent: #10b981;
  --accent-dark: #047857;
  --warm: #f59e0b;
  --warm-bg: #fffbeb;
  --danger: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 4%);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 6%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Inter",
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease-out;
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--border-hover);
}
.btn--lg {
  padding: 14px 22px;
  font-size: 15px;
}

input,
textarea,
select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(16 185 129 / 16%);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field {
  margin-bottom: 16px;
}

.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-secondary);
  transition: color 150ms ease-out;
}
.nav-links a:hover {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  padding: 80px 0 64px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 720px;
}
.hero p.lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.section {
  padding: 48px 0;
}
.section h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 800px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 150ms ease-out;
}
.card:hover {
  border-color: var(--border-hover);
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--warm-bg);
  color: var(--warm);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
