:root {
  --bg: #f7f5ef;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #e7e4dc;
  --accent: #22304a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body { line-height: 1.6; }

.wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 100px 0 72px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

h1, h2, h3 { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.03;
  font-weight: 500;
}

.lead {
  max-width: 670px;
  margin: 0;
  font-size: 19px;
  color: var(--muted);
}

.section { padding: 68px 0; }

.section h2 {
  margin-bottom: 28px;
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

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

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
}

.links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

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

.about p {
  max-width: 720px;
  font-size: 18px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 720px) {
  .hero { padding: 72px 0 52px; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
