:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --ink: #17211b;
  --muted: #58645c;
  --line: #dfe5dc;
  --panel: #ffffff;
  --accent: #0d7a5f;
  --accent-dark: #095842;
  --warm: #f0b35a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, 0.92);
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.footer a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  min-height: 62vh;
  align-items: center;
  padding: clamp(56px, 10vw, 112px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(10, 20, 16, 0.82), rgba(10, 20, 16, 0.52), rgba(10, 20, 16, 0.2)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.hero .eyebrow {
  color: var(--warm);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

.section {
  padding: 72px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section h2,
.legal-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  padding: 56px clamp(20px, 5vw, 64px) 72px;
}

.legal-content {
  max-width: 860px;
}

.legal-content > p:first-of-type {
  color: var(--muted);
}

.legal-content h2 {
  margin: 36px 0 8px;
  font-size: 1.35rem;
}

.legal-content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

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

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

  .hero {
    min-height: auto;
  }

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