:root {
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --blue-soft: #eef4ff;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: color-mix(in srgb, var(--blue) 18%, transparent);
  --radius: 28px;
  --accent: #2563eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.10), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(251,191,36,.12), transparent 25%),
    linear-gradient(180deg, #fffdf8 0%, #f3f7ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.home-page { position: relative; min-height: 100vh; padding-bottom: 80px; }
.home-page::before,
.home-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  pointer-events: none;
  z-index: 0;
}
.home-page::before { width: 520px; height: 520px; right: -160px; top: 140px; }
.home-page::after { width: 420px; height: 420px; left: -180px; bottom: 120px; }

.container { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.home-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: 0 0 auto; }
.brand-logo { display: block; width: min(960px, 72vw); height: 222px; object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 18px rgba(15, 45, 110, 0.08)); }

.nav { display: flex; align-items: center; gap: 12px; }
.nav-link {
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}
.nav-link:hover { background: color-mix(in srgb, var(--blue) 10%, transparent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}
.btn-primary { color: #ffffff; background: var(--blue); box-shadow: 0 14px 34px color-mix(in srgb, var(--blue) 30%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px color-mix(in srgb, var(--blue) 36%, transparent); }
.btn-secondary { color: var(--blue); background: var(--white); border-color: var(--border); box-shadow: 0 8px 24px rgba(25, 70, 160, 0.08); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(25, 70, 160, 0.12); }

.hero { position: relative; max-width: none; padding: 72px 0 88px; }
.hero-content { max-width: min(920px, calc(100% - 300px)); }
.hero-mascot {
  position: absolute;
  top: 104px;
  right: 0;
  width: min(260px, 23vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(25, 70, 160, 0.18));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  color: var(--blue);
  font-weight: 850;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(25, 70, 160, 0.08);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero-title { margin: 26px 0 20px; font-size: 64px; line-height: 1.02; letter-spacing: -0.04em; font-weight: 920; color: var(--text); }
.hero-title span { color: var(--blue); }
.hero-description { max-width: 680px; margin: 0 0 32px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }

.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 820px; align-items: start; }
.fact {
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 76%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(25, 70, 160, 0.08);
  transition: .2s ease;
  overflow: hidden;
}
.fact:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(25, 70, 160, 0.12); }
.fact[open] { background: var(--white); box-shadow: 0 14px 36px rgba(25, 70, 160, 0.14); }
.fact summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 900;
  color: var(--blue-dark);
  user-select: none;
}
.fact summary::-webkit-details-marker { display: none; }
.fact-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 16px;
  flex: 0 0 auto;
}
.fact-arrow { margin-left: auto; color: var(--blue); font-size: 16px; transition: .2s ease; }
.fact[open] .fact-arrow { transform: rotate(180deg); }
.fact p { margin: 0; padding: 0 16px 16px 56px; font-size: 13px; line-height: 1.45; color: var(--muted); }

.section { padding: 54px 0; }
.section-header { max-width: 760px; margin-bottom: 28px; }
.section-title { margin: 0 0 12px; font-size: 42px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 920; color: var(--text); }
.section-text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.tasks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.task-card { display: flex; gap: 16px; align-items: flex-start; min-height: 138px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: 0 12px 34px rgba(25, 70, 160, 0.08); }
.task-number { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--blue); color: #ffffff; font-weight: 900; font-size: 18px; }
.task-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--text); }
.task-card p { margin: 0; font-size: 15px; line-height: 1.48; color: var(--muted); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--blue-soft) 65%, #ffffff) 100%); border: 1px solid var(--border); box-shadow: 0 12px 34px rgba(25, 70, 160, 0.08); }
.step-index { display: inline-flex; margin-bottom: 20px; font-size: 14px; font-weight: 900; color: var(--blue); }
.step-card h3 { margin: 0 0 10px; font-size: 22px; color: var(--blue-dark); }
.step-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.scheme-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.scheme-links { display:flex; flex-wrap:wrap; gap:8px; margin: 0 0 34px; }
.scheme-links a { text-decoration:none; color: var(--blue-dark); background: var(--white); border:1px solid var(--border); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 800; }
.scheme-links a.current { color: #ffffff; background: var(--blue); }

@media (max-width: 1100px) {
  .hero-facts, .tasks-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 54px; }
  .hero-content { max-width: min(760px, calc(100% - 230px)); }
  .hero-mascot { top: 120px; width: 210px; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .home-header { align-items: flex-start; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { padding: 46px 0 58px; }
  .hero-content { max-width: none; }
  .hero-mascot { position: static; display: block; width: min(220px, 62vw); margin: -6px auto 22px; }
  .hero-title { font-size: 40px; }
  .hero-description { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-facts, .tasks-grid, .how-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
}
@media (max-width: 520px) {
  .home-header { flex-direction: column; }
  .nav { width: 100%; justify-content: flex-start; }
  .brand-logo { width: min(900px, 88vw); height: auto; }
}
