:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --text: #1f2937;
  --muted: #6b7280;
  --bg-soft: #f3f6fc;
  --border: #e5e7eb;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero { background: var(--bg-soft); padding: 56px 0; }
.hero h1 { font-size: 38px; line-height: 1.2; margin-bottom: 16px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--accent-dark); }

/* Sections */
main section, main article { padding: 40px 0; }
h2 { font-size: 28px; margin-bottom: 18px; }
h3 { font-size: 21px; margin: 24px 0 10px; }
p { margin-bottom: 14px; }
ul.checklist, main article ul, main article ol { margin: 0 0 16px 24px; }
ul.checklist li, main article li { margin-bottom: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 10px; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.card h3 { margin-top: 0; }
.card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.card a:hover { text-decoration: underline; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
th, td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
th { background: var(--bg-soft); }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs a { color: var(--muted); }

/* FAQ */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; margin-bottom: 0; }

/* CTA block */
.cta-block {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 20px 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 14px;
  color: var(--muted);
  margin-top: 40px;
}
footer nav ul { gap: 16px; margin-bottom: 10px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  body { font-size: 16px; }
}
