:root {
  --ink: #16241f;
  --ink-soft: #3d5148;
  --paper: #f7f9f6;
  --mist: #e9f0e8;
  --line: #d6e0d3;
  --white: #ffffff;
  --accent: #3f7d4a;
  --accent-2: #b98a2e;
  --shadow: 0 22px 60px rgba(10, 30, 20, 0.16);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { font-weight: 800; text-decoration: none; color: var(--ink); font-size: 1.02rem; }
.primary-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.primary-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.primary-nav a:hover { background: var(--mist); }

.hero {
  padding: clamp(50px, 8vw, 90px) 20px;
  background: linear-gradient(180deg, var(--mist), var(--paper));
}
.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
}
.hero-inner h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; margin: 0 0 14px; }
.hero-inner .eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; margin: 0 0 10px; }
.hero-inner p.lede { font-size: 1.1rem; color: var(--ink-soft); }
.hero-cover { text-align: center; }
.hero-cover img { max-width: 260px; margin: 0 auto; box-shadow: var(--shadow); border-radius: 4px; }

.content-section { padding: clamp(40px, 7vw, 76px) 0; }
.section-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.content-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.check-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.author-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

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

.lang-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lang-links a {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.lang-links a.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.contact-form { display: grid; gap: 16px; max-width: 560px; margin-top: 20px; }
.contact-form .form-row { display: grid; gap: 6px; }
.contact-form label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--ink-soft); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button { justify-self: start; border: none; cursor: pointer; }
.contact-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.form-status { margin: 0; font-weight: 700; min-height: 1.2em; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #b3261e; }

.site-footer { padding: 30px 0; background: var(--ink); color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: var(--white); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { order: -1; }
}
