:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --text: #161a17;
  --muted: #616962;
  --line: #dfe4de;
  --accent: #235b3a;
  --accent-soft: #e9f0eb;
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-thickness: 2px; }

.site-header,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

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

.brand {
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover { color: var(--text); }

main {
  width: min(calc(100% - 40px), var(--max));
  margin: 42px auto 90px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.content {
  max-width: 720px;
  padding-top: 46px;
}

.content h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
}

.content h2 {
  margin-top: 42px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.content p, .content li { color: #333a34; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  margin-top: 34px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-radius: 10px;
  color: #294032;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-notice {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 760px;
  margin: auto;
  padding: 15px 16px;
  background: #161a17;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  z-index: 10;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e6ebe7;
}

.cookie-notice a { color: #fff; }

.cookie-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: #fff;
  color: #161a17;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.cookie-button:hover { background: #eef2ee; }

.small { color: var(--muted); font-size: .9rem; }

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

  .site-header { padding-top: 22px; }

  main { margin-top: 16px; }

  .hero { padding-top: 38px; }

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

  .cookie-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-button { width: 100%; }
}