@import url("fonts.css");

:root {
  --bg: #F4F5F2;
  --card: #FFFFFF;
  --ink: #1C2B26;
  --text: #4A5A53;
  --muted: #6B7A73;
  --line: #C7CFCA;
  --accent: #2D6A57;
  --accent-dark: #22533F;
  --soft: #E5ECE8;
  --serif: "Literata", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 16px; color: var(--text); }

.nav {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 30px 0; font-size: 16px;
}
.nav .name { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.nav .links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav .links a { color: #57665F; text-decoration: none; }
.nav .links a:hover, .nav .links a[aria-current] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid var(--accent);
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none;
  color: var(--accent); background: transparent; transition: background .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--soft); color: var(--accent-dark); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section .kicker { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 10px; letter-spacing: .02em; }
.narrow { max-width: 720px; }

.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

footer {
  border-top: 1px solid var(--line); padding: 32px 0 40px;
  font-size: 15px; color: var(--muted);
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); margin-left: 20px; }
footer a:first-child { margin-left: 0; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .section { padding: 60px 0; }
  .nav { padding: 20px 0; flex-wrap: wrap; row-gap: 8px; }
  .nav .name { white-space: nowrap; }
  .nav .links { gap: 16px; font-size: 15px; }
}
