:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --surface-soft: #eef3eb;
  --text: #1e293b;
  --muted: #52606d;
  --line: #dbe4d4;
  --primary: #166534;
  --primary-dark: #14532d;
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(22, 101, 52, 0.12), transparent 30%),
    linear-gradient(180deg, #f9fbf7 0%, var(--bg) 100%);
  line-height: 1.7;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
}

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

.hero {
  padding: 48px 0 24px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 22px 60px rgba(20, 83, 45, 0.08);
}

.hero-copy {
  max-width: 760px;
}

.hero-media {
  display: grid;
  gap: 16px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.18rem;
}

.intro,
.card p,
.promo-box p,
.faq-item p,
.site-footer p,
.docs-page p,
.docs-page li {
  color: var(--muted);
}

.actions,
.topnav,
.link-grid {
  display: flex;
  flex-wrap: wrap;
}

.actions {
  gap: 12px;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--button-text);
}

.button:hover,
.button:focus {
  text-decoration: none;
  background: var(--surface-soft);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--primary-dark);
}

.summary-list {
  padding-left: 20px;
  margin: 0;
}

.summary-list li {
  margin-bottom: 8px;
}

.hero-banner,
.hero-screen,
.shot-card img,
.doc-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.section {
  padding: 28px 0;
}

.section-muted {
  background: #f0f5ee;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.single-column {
  max-width: 980px;
}

.card-grid,
.support-grid,
.faq-list,
.gallery-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.card-grid,
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.promo-box,
.faq-item,
.text-link-card,
.shot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.promo-box {
  margin-top: 18px;
}

.link-grid {
  gap: 14px;
  margin-top: 18px;
}

.text-link-card {
  display: block;
  min-width: 220px;
  font-weight: 700;
}

.shot-card {
  margin: 0;
}

.shot-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.docs-page {
  padding: 56px 0 72px;
}

.back-link {
  font-weight: 700;
}

.docs-page h2 {
  margin-top: 36px;
}

.docs-page ol,
.docs-page ul {
  padding-left: 22px;
}

.doc-image {
  margin-top: 18px;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-simple {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.footer-simple p + p {
  margin-top: 8px;
}

.footer-simple a {
  margin-right: 14px;
}

@media (max-width: 760px) {
  .card-grid,
  .support-grid,
  .gallery-grid,
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: block;
  }

  .topnav {
    margin-top: 12px;
  }

  h1 {
    max-width: none;
  }

  .hero-shell {
    padding: 20px;
  }
}
