/* =========================
   Color system
========================= */

:root {
  --bg-main: #f5f7fb;
  --bg-card: #ffffff;
  --bg-soft-blue: #f1f4ff;
  --bg-soft-mint: #eefaf6;
  --bg-soft-violet: #f4f1ff;

  --text-main: #1f2937;
  --text-muted: #667085;

  --primary: #3b5bfd;
  --primary-soft: #e8ecff;

  --secondary: #6b7cff;
  --secondary-soft: #f0f2ff;

  --border-soft: #e4e7ec;

  --radius: 14px;
}

/* =========================
   Base
========================= */

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 17px;
}

/* =========================
   Layout
========================= */

.page {
  min-height: 100vh;
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================
   Header
========================= */

.site-header {
  background: linear-gradient(
    to bottom,
    #ffffff,
    var(--bg-soft-blue)
  );
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* =========================
   Breadcrumbs
========================= */

.breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin: 18px 0;
}

.breadcrumbs a {
  color: var(--secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* =========================
   Main card
========================= */

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 34px 38px;
  margin-bottom: 36px;
  box-shadow:
    0 18px 36px rgba(59,91,253,0.08),
    0 6px 14px rgba(0,0,0,0.04);
}

/* =========================
   Typography
========================= */

h1 {
  font-size: 2.6rem;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.7rem;
  margin: 2.6rem 0 1.1rem;
  letter-spacing: -0.01em;
}

p {
  margin: 1.1rem 0;
}

ul {
  margin: 1.2rem 0 1.2rem 1.2rem;
}

li {
  margin: 0.45rem 0;
}

/* =========================
   Accent sections
========================= */

.card section:nth-of-type(odd) {
  background: var(--bg-soft-blue);
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom:10px;
}

.card section:nth-of-type(even) {
  background: var(--bg-soft-violet);
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom:10px;
}

/* =========================
   FAQ
========================= */

.faq-box {
  background: var(--bg-soft-mint);
  border-radius: var(--radius);
}

/* =========================
   Hub (lists)
========================= */

.hub-description {
  margin: 14px 0 26px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hub-list {
  margin-top: 36px;
}

.hub-list h2 {
  font-size: 30px;
  margin: 56px 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
}

.hub-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.hub-list a {
  display: block;
  padding: 16px 18px;
  background: linear-gradient(
    to bottom right,
    var(--bg-card),
    var(--secondary-soft)
  );
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  font-weight: 500;
  color: var(--text-main);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.hub-list a:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(59,91,253,0.18);
}

.hub-list a::after {
  content: "→";
  float: right;
  opacity: .4;
}

/* =========================
   Ads
========================= */

.ad-slot {
  margin: 36px 0;
  padding: 18px;
  background: var(--bg-soft-blue);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================
   Footer
========================= */

.site-footer {
  margin-top: 60px;
  padding: 24px 0 44px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* =========================
   Mobile
========================= */

@media (max-width: 640px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .card {
    padding: 26px 22px;
  }

  .hub-list ul {
    grid-template-columns: 1fr;
  }
}
