/* ─── Reset + base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --soil-dark:  #1A1208;
  --soil-mid:   #2A1E0A;
  --bronze:     #A07828;
  --amber:      #C8932A;
  --white:      #FFFFFF;
  --text:       #E6D9C0;
  --text-muted: #A89070;
  --state:      #5B8A6B;
  --border:     #3A2A18;
}

html { scroll-behavior: smooth; }

body {
  background: var(--soil-dark);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: rgba(200, 147, 42, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
a:hover { text-decoration-color: var(--amber); }

::selection { background: var(--amber); color: var(--soil-dark); }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 680px; }

/* ─── Site header ─────────────────────────────────────────────────────────── */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 24px; font-size: 14px; }
.site-nav a {
  color: var(--text-muted);
  text-decoration-color: rgba(168, 144, 112, 0.55);
}
.site-nav a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.site-nav__lang,
.site-nav__lang:link,
.site-nav__lang:visited,
.site-nav__lang:hover,
.site-nav__lang:focus,
.site-nav__lang:active {
  margin-left: 8px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  outline: none;
  text-decoration: none;
}
.site-nav__lang:hover,
.site-nav__lang:focus,
.site-nav__lang:active {
  border-color: var(--amber);
  color: var(--amber);
}
.site-nav__lang--active,
.site-nav__lang--active:hover,
.site-nav__lang--active:focus,
.site-nav__lang--active:active {
  border-color: var(--amber);
  background: rgba(200, 147, 42, 0.12);
  color: var(--amber);
  cursor: default;
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--amber);
}
.hero__tagline {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--soil-mid);
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
}
.hero__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--state);
  box-shadow: 0 0 8px var(--state);
}

/* ─── Section ─────────────────────────────────────────────────────────────── */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.section__title {
  font-size: 28px;
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 700;
}
.section__sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

/* ─── Feature grid ────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature {
  padding: 24px;
  background: var(--soil-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.feature__title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── Screenshots row ─────────────────────────────────────────────────────── */
.screenshots {
  padding: 24px 0 64px;
}
.screenshots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.screenshot {
  margin: 0;
  text-align: center;
}
.screenshot img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: block;
  background: var(--soil-mid);
}
.screenshot figcaption {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  padding: 0 8px;
}
@media (max-width: 720px) {
  .screenshots__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 320px;
  }
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.faq h3:first-child { margin-top: 0; }
.faq p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── About copy ──────────────────────────────────────────────────────────── */
.prose { color: var(--text); font-size: 16px; }
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__links {
  display: flex;
  gap: 24px;
}
.site-footer__links a {
  color: var(--text-muted);
  text-decoration-color: rgba(168, 144, 112, 0.55);
}
.site-footer__links a:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* ─── Pricing teaser (homepage) ───────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.pricing-card {
  position: relative;
  padding: 28px 24px;
  background: var(--soil-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(200, 147, 42, 0.25), 0 12px 28px rgba(0, 0, 0, 0.35);
}
.pricing-card__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 10px;
  background: var(--amber);
  color: var(--soil-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-card__name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pricing-card__price {
  color: var(--amber);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.pricing-card__period {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}
.pricing-card__equiv {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
  font-style: italic;
}
.pricing-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 14px;
}
.pricing__note {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ─── Legal pages (privacy + terms) ───────────────────────────────────────── */
.legal {
  padding: 64px 0 32px;
}
.legal__updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  font-style: italic;
}
.legal h1 {
  font-size: 36px;
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 700;
}
.legal h2 {
  font-size: 22px;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
.legal h3 {
  font-size: 17px;
  color: var(--bronze);
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 600;
}
.legal p {
  margin-bottom: 14px;
  color: var(--text);
}
.legal ul, .legal ol {
  margin: 0 0 18px 24px;
  color: var(--text);
}
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--white); font-weight: 600; }
.legal code {
  background: var(--soil-mid);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  font-size: 14px;
}
.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.legal th {
  background: var(--soil-mid);
  color: var(--amber);
  font-weight: 700;
}
.legal td { color: var(--text); }

/* ─── Mobile tweaks ───────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .hero__title { font-size: 40px; }
  .hero__tagline { font-size: 17px; }
  .section { padding: 48px 0; }
  .section__title { font-size: 22px; }
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 19px; }
  .site-header { padding: 20px 0; }
  .brand { font-size: 18px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
