:root {
  color-scheme: light;
  --background: #f5f5f0;
  --surface: #e3ebe0;
  --ink: #1f3030;
  --muted: #637371;
  --accent: #316357;
  --line: rgba(31, 48, 48, 0.14);
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--accent); }

.shell {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

main { min-height: calc(100vh - 190px); }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding: clamp(64px, 10vw, 120px) 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

h2 { margin-top: 0; font-size: clamp(1.75rem, 4vw, 2.8rem); }
h3 { margin-top: 2.2rem; font-size: 1.25rem; }

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.icon {
  width: min(100%, 300px);
  border-radius: 26%;
  box-shadow: 0 30px 80px rgba(31, 48, 48, 0.18);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 80px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.card strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.document {
  width: min(100%, 760px);
  padding: 64px 0 100px;
}

.document h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
.document h2 { margin-top: 3.2rem; font-size: 1.65rem; }
.document p, .document li { color: #3f4f4d; }
.document hr { margin: 56px 0; border: 0; border-top: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 0.9rem; }

.contact {
  margin: 36px 0;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
}

.contact p { margin: 4px 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer div:last-child { display: flex; gap: 18px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1040px); }
  header { align-items: flex-start; }
  nav { flex-direction: column; gap: 5px; text-align: right; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero figure { margin: 0; order: -1; }
  .icon { width: 145px; border-radius: 32px; }
  .cards { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
