@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Merriweather:wght@400;700&display=swap");

:root {
  --bg: #f5f7fb;
  --bg-soft: #eef3fb;
  --panel: #ffffff;
  --panel-alt: #f9fbff;
  --line: #d9e2ee;
  --text: #1f2a3d;
  --muted: #5d6c82;
  --brand: #2f5fb2;
  --brand-soft: #eaf0fc;
  --success-soft: #e9f7ef;
  --shadow: 0 10px 28px rgba(22, 46, 86, 0.08);
  --radius: 16px;
  --max: 1120px;
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-title: "Merriweather", Georgia, Cambria, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), #ffffff);
  color: var(--text);
  font-family: var(--font-ui);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b7fcd, #87a5e0);
  box-shadow: 0 8px 16px rgba(47, 95, 178, 0.22);
}

.brand-text strong {
  display: block;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  background: var(--panel-alt);
  border-color: var(--line);
}

.nav-link.active {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #cddaf3;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  opacity: 0.9;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-title);
  font-weight: 700;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.01em;
  font-family: var(--font-title);
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-family: var(--font-title);
  font-weight: 700;
}

p {
  margin: 0;
  color: #2f3d53;
  line-height: 1.7;
}

.lead {
  font-size: 18px;
  color: #2b3a4f;
  max-width: 70ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  color: var(--text);
}

.btn:hover {
  background: var(--panel-alt);
}

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

.btn.primary:hover {
  background: #254e95;
  border-color: #254e95;
}

.hero {
  padding: 54px 0 28px;
  background:
    radial-gradient(760px 360px at 15% 0%, rgba(91, 127, 205, 0.13), transparent 60%),
    radial-gradient(700px 340px at 86% 5%, rgba(90, 161, 110, 0.11), transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
}

.hero-note {
  margin-top: 10px;
  border: 1px solid #cfdcf2;
  background: #f2f7ff;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 13px;
  color: #314766;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
}

.bullets li {
  margin: 6px 0;
  color: #2f3d53;
}

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

.section {
  padding: 48px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(850px 420px at 12% 34%, rgba(91, 127, 205, 0.09), transparent 58%),
    radial-gradient(760px 400px at 85% 70%, rgba(90, 161, 110, 0.08), transparent 60%),
    var(--bg-soft);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.tile {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.trust {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid #cfe2d4;
  background: var(--success-soft);
  color: #2f5f3b;
}

.trust-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.trust-text {
  color: #42536b;
  line-height: 1.55;
  font-size: 13px;
}

.page-hero {
  padding: 44px 0 16px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 420px at 12% 10%, rgba(91, 127, 205, 0.10), transparent 60%),
    radial-gradient(780px 380px at 85% 8%, rgba(90, 161, 110, 0.08), transparent 62%),
    #f8fbff;
}

.books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.book {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 14px;
}

.book-cover {
  width: 110px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f2f5fb;
}

.book-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.book-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.book-where {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.book-where h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #39537b;
  font-family: var(--font-ui);
  font-weight: 700;
}

.book-where ul {
  margin: 0;
  padding-left: 18px;
}

.book-where li {
  margin: 4px 0;
  color: #43546c;
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timeline-item {
  border: 1px solid var(--line);
  border-left: 4px solid #8aa7dd;
  background: var(--panel);
  border-radius: 12px;
  padding: 12px 14px;
}

.timeline-year {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5e6f86;
  font-weight: 700;
}

.timeline-text {
  margin-top: 4px;
  color: #2c3d54;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #cfd9ea;
  background: #f5f8ff;
  color: #385784;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: #f7f9fd;
}

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

.footer-brand {
  font-weight: 800;
}

.footer-title {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #33445f;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #55657c;
  font-size: 13px;
}

@media (max-width: 920px) {
  h1 {
    font-size: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .books,
  .trust {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    right: 20px;
    top: 62px;
    width: min(360px, calc(100% - 40px));
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }
}
