﻿:root {
  --bg: #f3efe4;
  --bg-hero: linear-gradient(180deg, #e4f0d4 0%, #f3efe4 100%);
  --paper: #fffdf8;
  --text: #1b2414;
  --muted: #5d6752;
  --line: #d8dec8;
  --green: #3d8c32;
  --green-dark: #2c6a24;
  --green-soft: #e8f4dc;
  --shadow: 0 10px 28px rgba(40, 60, 24, 0.08);
  --radius: 16px;
  --max: 920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 239, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: 36px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name small { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-name strong { font-size: 18px; }
.header-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.header-nav a { text-decoration: none; color: var(--muted); }
.header-nav a:hover, .header-nav a.is-active { color: var(--text); }
.header-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: 10px; background: var(--green); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 14px;
}
.header-cta:hover { background: var(--green-dark); }

.hero { background: var(--bg-hero); padding: 48px 0 28px; }
.hero-kicker { margin: 0 0 8px; color: var(--green-dark); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.hero-sub { margin: 0 0 16px; font-size: 20px; color: var(--muted); }
.hero-lead { max-width: 62ch; margin: 0 0 18px; font-size: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 12px;
  text-decoration: none; font-weight: 800;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: #24301d; color: #fff; }
.btn-dark:hover { background: #1a2415; }
.btn-ghost { background: var(--green-soft); color: var(--green-dark); }
.btn-ghost:hover { background: #d7ebc4; }
.all-os { display: inline-block; font-size: 14px; }

.section { padding: 36px 0; }
.section h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -0.03em; }
.intro { display: grid; gap: 12px; margin: 0 0 28px; max-width: 72ch; color: #3a4332; }
.intro p { margin: 0; }
.guide { margin: 0 0 32px; max-width: 72ch; }
.guide h3 { margin: 0 0 10px; font-size: 20px; }
.guide ul { margin: 0 0 16px; padding-left: 18px; color: #3a4332; }
.guide li { margin: 0 0 6px; }

.cards { display: grid; gap: 16px; }
.card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px;
  padding: 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card > * { min-width: 0; overflow-wrap: anywhere; }
.card img { width: 48px; height: 48px; grid-row: 1 / span 6; }
.card h3 { margin: 0; font-size: 20px; grid-column: 2; overflow-wrap: normal; }
.card-sub { margin: 0; color: var(--muted); font-size: 14px; grid-column: 2; }
.card-meta { margin: 0; font-size: 13px; color: #6d7663; grid-column: 2; }
.card p, .card-note, .card .btn { grid-column: 2; }
.card p { margin: 0; }
.card-note { margin: 0; font-size: 13px; color: var(--muted); }
.card .btn { width: fit-content; min-height: 40px; margin-top: 6px; overflow-wrap: normal; }

.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.edition { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.edition h3 { margin: 0 0 8px; }
.edition p { margin: 0 0 10px; color: #3a4332; }

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 4px; color: #3a4332; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.footer-files { display: grid; gap: 6px; margin: 12px 0 20px; }
.footer-files a { text-decoration: none; }
.disclaimer { max-width: 72ch; margin: 0; }

@media (max-width: 720px) {
  .header-nav { display: none; }
  .site-header-inner { gap: 10px; }
  .header-cta { flex-shrink: 0; font-size: 13px; padding: 0 12px; white-space: nowrap; }
  .hero { padding: 28px 0 20px; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn { width: 100%; }
  .card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 16px;
  }
  .card img { grid-row: 1; }
  .card h3 { align-self: center; }
  .card-sub,
  .card-meta,
  .card p,
  .card-note,
  .card .btn {
    grid-column: 1 / -1;
  }
  .card .btn { width: 100%; }
  .editions { grid-template-columns: 1fr; }
}
