/* Лендинг forest-map.ru: «топокарта» — светлая бумага, горизонтали, зелёный с иконки. */
@font-face { font-family: "Geologica"; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/geologica-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/geologica-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Golos Text"; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

:root {
  --paper: #eef1ea; --paper-2: #f8faf5; --ink: #1d2a1f; --soft: #46544a; --muted: #5d6b60;
  --line: #c3ccbf; --green: #2f6a3a; --green-dark: #24542d; --track: #d2622a;
  --f-head: "Geologica", "Golos Text", system-ui, sans-serif;
  --f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--f-text); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-head); margin: 0; text-wrap: balance; }
p { margin: 0; }
.label { font: 400 .76rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--green); }

/* Шапка и первый экран — на фоне горизонталей */
.top { position: relative; overflow: hidden; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--green); opacity: .15; pointer-events: none; }
.top .wrap { position: relative; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--f-head); color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.links a { color: var(--soft); text-decoration: none; }
.links a:hover { color: var(--green); }

.hero { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-block: clamp(28px, 6vw, 64px) clamp(28px, 4vw, 44px); }
.coords { font: 400 .8rem var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.hero h1 { font-weight: 800; font-size: clamp(2.1rem, 6.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { max-width: 52ch; font-size: 1.12rem; color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.btn { display: inline-block; padding: 15px 28px; border-radius: 999px; background: var(--green); color: #f4f7f1; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--green-dark); }
.ver { font-size: .9rem; color: var(--muted); }
.shot { margin: 0 0 clamp(36px, 6vw, 72px); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper-2); box-shadow: 0 28px 60px -36px rgba(29, 42, 31, .6); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Секции */
section { padding-block: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); }
.head h2 { font-weight: 800; font-size: clamp(1.6rem, 3.8vw, 2.4rem); line-height: 1.12; letter-spacing: -.01em; }
.head p { max-width: 60ch; color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px 32px; }
.grid h3 { font-weight: 600; font-size: 1.1rem; margin: 8px 0 6px; }
.grid p { color: var(--soft); font-size: .97rem; }

.modes { display: flex; flex-wrap: wrap; gap: 16px; }
.mode { flex: 1 1 300px; min-width: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; }
.mode h3 { font-weight: 600; font-size: 1.08rem; margin-bottom: 6px; }
.mode p { color: var(--soft); font-size: .97rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #f4f7f1; font: 600 .9rem var(--f-mono); margin-bottom: 12px; }
.steps h3 { font-weight: 600; font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--soft); font-size: .97rem; }

.get { background: var(--ink); color: #eef1ea; border-top: 0; }
.get .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.get h2 { font-weight: 800; font-size: clamp(1.6rem, 3.8vw, 2.4rem); line-height: 1.12; }
.get p { color: #b9c6b6; margin-top: 8px; max-width: 48ch; }
.get .btn { background: #eef1ea; color: var(--ink); }
.get .btn:hover { background: #fff; }
.get .ver { color: #b9c6b6; }

footer { padding-block: 36px 48px; font-size: .92rem; color: var(--soft); }
footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
footer h2 { font: 400 .76rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
