:root {
  --brand: #0b7a38;
  --brand-strong: #0a5e2e;
  --brand-soft: #eaf7ef;
  --accent: #f87000;
  --page: #f7f8f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5f6b63;
  --line: rgba(11, 122, 56, 0.12);
  --hero: #062016;
  --hero-2: #0b7a38;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(6, 32, 22, 0.18);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--brand-strong); }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 247, 0.88);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 750;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(11, 122, 56, 0.28);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy small {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--brand-strong); background: var(--brand-soft); }

.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(248, 112, 0, 0.22), transparent 28%),
    linear-gradient(160deg, var(--hero) 0%, #0a4d2a 58%, var(--hero-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 36px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 650;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary {
  background: #fff;
  color: var(--brand-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.is-disabled {
  cursor: default;
  opacity: 0.92;
}
.doc .btn-primary,
.cta-row .btn-primary { color: var(--brand-strong); }
.cta-row .btn-ghost { color: var(--brand-strong); border-color: var(--line); }

.hero-visual { display: flex; justify-content: flex-end; }
.phone {
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
  width: min(100%, 320px);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: #fafafa;
}
.phone-landscape {
  width: 100%;
  border-radius: 22px;
  padding: 8px;
}
.phone-landscape img {
  border-radius: 14px;
  background: #000;
}
.hero-shot { display: block; }

.section { padding: 64px 0; }
.section.compact { padding-top: 0; }
.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.section .intro { color: var(--muted); margin: 0 0 28px; }

.grid-3, .grid-4, .shots {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.shots {
  grid-template-columns: minmax(180px, 280px) 1fr;
  grid-template-rows: auto auto;
  align-items: center;
}
.shot-portrait { grid-row: 1 / span 2; }
.shot-portrait .phone { width: 100%; }

.card, .step, .doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 24, 20, 0.04);
}
.card h3, .step h3, .doc-card h2 { margin: 0 0 8px; font-size: 18px; }
.card p, .step p, .doc-card p { margin: 0; color: var(--muted); }
.icon-pill {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 14px;
}

.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.shots figure { margin: 0; }
.shots figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.doc { padding: 48px 0 72px; }
.doc-wrap { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.doc header h1 { margin: 0 0 10px; font-size: 34px; letter-spacing: -0.03em; }
.doc header .intro { color: var(--muted); margin: 0 0 28px; }
.doc-card + .doc-card { margin-top: 14px; }
.help-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.help-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ol {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand-strong); }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-4, .shots { grid-template-columns: 1fr; }
  .shots { grid-template-rows: none; }
  .shot-portrait { grid-row: auto; }
  .shot-portrait .phone { width: min(100%, 280px); margin: 0 auto; }
  .hero-visual { justify-content: center; }
  .hero-grid { padding-top: 36px; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .topbar-inner { min-height: 60px; }
}
