:root {
  color-scheme: light dark;
  --bg: #f4f3ef;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #161713;
  --muted: #676961;
  --line: rgba(22, 23, 19, 0.12);
  --accent: #496e52;
  --accent-soft: rgba(73, 110, 82, 0.11);
  --shadow: 0 24px 70px rgba(22, 23, 19, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(137, 165, 119, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 14%, rgba(173, 142, 99, 0.13), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

.site-header {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 18px; font-weight: 680; letter-spacing: 0.18em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; }
.lang { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; }

.hero {
  width: min(1080px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0 92px;
}

.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(52px, 8vw, 94px); line-height: 0.98; letter-spacing: -0.055em; }
.hero-copy { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: clamp(20px, 2.3vw, 27px); line-height: 1.42; }

.glow-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 22%, rgba(255,255,255,0.92), transparent 10%),
    radial-gradient(circle at 52% 48%, #d9e4bb, transparent 29%),
    linear-gradient(145deg, #2e4938 0%, #6e8968 45%, #d5bb8f 100%);
  box-shadow: var(--shadow);
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  filter: blur(38px);
}

.feature-grid { width: min(1080px, calc(100% - 40px)); margin: 0 auto 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); backdrop-filter: blur(18px); }
.feature h2 { margin: 0 0 10px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.document {
  width: min(780px, calc(100% - 40px));
  margin: 72px auto 110px;
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.document h1 { margin: 0 0 10px; font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.document h2 { margin: 44px 0 12px; font-size: 24px; line-height: 1.3; letter-spacing: -0.015em; }
.document h3 { margin: 30px 0 8px; font-size: 19px; line-height: 1.35; }
.document p { margin: 0 0 16px; }
.document ul { margin: 0 0 20px; padding-left: 1.35em; }
.document .updated { margin-bottom: 34px; color: var(--muted); font-size: 14px; }
.document .intro { font-size: 19px; color: var(--muted); }

.site-footer { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .nav a:not(.lang) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 70px 0; }
  .glow-card { aspect-ratio: 16 / 9; border-radius: 28px; }
  .feature-grid { grid-template-columns: 1fr; margin-bottom: 72px; }
  .document { margin-top: 40px; border-radius: 24px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11130f;
    --surface: rgba(27, 30, 24, 0.82);
    --text: #f1f1ec;
    --muted: #b1b4a9;
    --line: rgba(241, 241, 236, 0.12);
    --accent: #a8c9a2;
    --accent-soft: rgba(168, 201, 162, 0.1);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }
}
