:root {
  --bg: #fafaf9;
  --bg-alt: #f1f0ee;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #0f766e;
  --accent-hover: #0d9488;
  --border: #e7e5e4;
  --shadow: 0 1px 2px rgb(28 25 23 / 6%), 0 8px 24px rgb(28 25 23 / 6%);
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --shell-max: 1120px;
  --narrow-max: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
  z-index: 100;
  border-radius: 6px;
}

.shell {
  width: min(100% - 2rem, var(--shell-max));
  margin-inline: auto;
}

.shell.narrow {
  width: min(100% - 2rem, var(--narrow-max));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 250 249 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.hero {
  padding-block: clamp(3.5rem, 10vw, 6rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.hero-inner {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.button-primary:hover {
  background: var(--accent-hover);
}

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

.button-ghost:hover {
  border-color: var(--text-muted);
  background: #fff;
}

.section {
  padding-block: clamp(3rem, 8vw, 4.5rem);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0;
  color: var(--text-muted);
}

.section-alt {
  background: var(--bg-alt);
}

.cards {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
}

.contact {
  border-top: 1px solid var(--border);
}

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
