:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-alt: #eef5ef;
  --ink: #14231a;
  --muted: #516357;
  --brand: #14643f;
  --brand-strong: #0d4d30;
  --accent: #c8922f;
  --accent-soft: #fff4d8;
  --line: #d7e2da;
  --danger: #8d2f2f;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(20, 35, 26, 0.10);
  font-family: Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.85;
}

img { max-width: 100%; }

a {
  color: var(--brand-strong);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  background: var(--brand-strong);
  color: #fff;
  left: 12px;
  padding: 8px 12px;
  position: absolute;
  top: -48px;
  z-index: 100;
}

.skip-link:focus { top: 12px; }

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 12px 20px;
}

.brand-link,
.footer-logo {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 10px;
  font-weight: 800;
}

.brand-link img,
.footer-logo img {
  border-radius: 8px;
  height: 44px;
  width: 44px;
}

.nav-links,
.nav-actions,
.store-row,
.social-row,
.actions-row,
.meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links { justify-content: center; }

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  padding: 6px 4px;
}

.menu-button { display: none; }

.button,
button.button {
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover { background: var(--brand-strong); }

.button.secondary {
  background: #fff;
  color: var(--brand-strong);
}

.button.disabled,
.store-badge.disabled {
  border-color: #9aa9a0;
  color: #627067;
  cursor: not-allowed;
  opacity: 0.82;
}

.hero {
  background:
    linear-gradient(120deg, rgba(13, 77, 48, 0.95), rgba(20, 100, 63, 0.78)),
    url("../img/og-image.png") center/360px no-repeat;
  color: #fff;
}

.hero-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 58px 20px;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  min-height: 70vh;
}

.page-title {
  background: var(--brand-strong);
  color: #fff;
}

.page-title .hero-inner {
  display: block;
  min-height: auto;
  padding-bottom: 48px;
  padding-top: 48px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  margin: 0 0 8px;
}

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

h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.45rem); }
h3 { font-size: 1.2rem; }

.lead {
  color: inherit;
  font-size: 1.18rem;
  max-width: 760px;
}

.hero-panel,
.info-panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.hero-panel,
.info-panel {
  box-shadow: var(--shadow);
  padding: 24px;
}

.card { padding: 22px; }

.section { border-bottom: 1px solid var(--line); }
.section.alt { background: var(--surface-alt); }
.legal-content { background: var(--surface); }

.grid,
.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list { padding-inline-start: 22px; }

.legal-content p,
.legal-content li,
.card p {
  color: var(--muted);
}

.notice {
  background: var(--accent-soft);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
}

.store-badge {
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  min-width: 156px;
  padding: 10px 14px;
}

.qr {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: auto;
  max-width: 150px;
}

.site-footer {
  background: #111f17;
  color: #e3ece6;
}

.site-footer a { color: #fff; }

.footer-inner {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr;
}

.footer-logo { color: #fff; }

.small {
  color: #bed0c5;
  font-size: 0.92rem;
}

.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .nav {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-button { display: inline-flex; }

  .nav-links {
    align-items: stretch;
    display: none;
    flex-direction: column;
  }

  .nav-links.open { display: flex; }

  .hero-inner,
  .grid,
  .faq-grid,
  .two-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner { min-height: auto; }
}
