/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #121018; background: #FFFFFF; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; height: auto; }
a { color: #4429D4; }
a:hover { color: #2E1AA0; }

/* ── Typography ──────────────────────────── */
h1, h2, h3 { font-family: 'Gabarito', sans-serif; }

h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
}

h2.h2-small {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
}

h3.h3-small {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.3;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ── Layout ──────────────────────────────── */
.wrap { max-width: 1040px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }
.section { padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.section-tight { padding: clamp(24px, 3vw, 32px) 24px clamp(40px, 5vw, 64px); }

/* ── Colors ───────────────────────────────── */
.bg-dark { background: #15121F; color: #FFFFFF; }
.bg-dark h2, .bg-dark h3 { color: #FFFFFF; }
.bg-dark p { color: #C4C0D6; }
.bg-lilac { background: #F4F2FF; }
.text-muted { color: #4A4857; }
.text-light { color: #6E6B80; }

/* ── Components ───────────────────────────── */
.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.chip-lime { background: #D9FF57; color: #121018; }
.chip-violet { background: #5B3DF5; color: #FFFFFF; }

.btn {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  display: inline-block;
}
.btn-primary { background: #5B3DF5; color: #FFFFFF; }
.btn-outline { border: 1.5px solid #D5CFF0; color: #121018; }

.card {
  border: 1px solid #E6E3F2;
  border-radius: 22px;
  padding: clamp(24px, 3vw, 32px);
  background: #FFFFFF;
}

.breadcrumb {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6E6B80;
}
.breadcrumb a {
  color: #6E6B80;
  display: inline-block;
  padding: 14px 0;
}
.breadcrumb .sep { color: #B5B1C6; }

.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: #4A4857;
}

.reading-time {
  color: #6E6B80;
  font-size: 14px;
  font-weight: 500;
}

/* ── Grids ────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ── FAQ ──────────────────────────────────── */
.faq-item {
  border-top: 1px solid #E6E3F2;
  padding: clamp(24px, 3vw, 32px) 0;
}
.faq-item:last-child { border-bottom: 1px solid #E6E3F2; }
.faq-item h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; margin: 0 0 10px; }
.faq-item p { color: #4A4857; }

/* ── Bubble Nav ───────────────────────────── */
.bubble-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.bubble-menu {
  width: 248px;
  background: #FFFFFF;
  border: 1px solid #E6E3F2;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(18, 16, 24, 0.18);
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.bubble-menu a {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #121018;
}
.bubble-menu a:hover { background: #F4F2FF; color: #121018; }
.bubble-menu a[aria-current="page"],
.bubble-menu a[aria-current="page"]:hover { background: #5B3DF5; color: #FFFFFF; }
.bubble-btn {
  border: none;
  background: #5B3DF5;
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 0 22px;
  height: 56px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(31, 18, 96, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bubble-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(31, 18, 96, .34); }
.bubble-btn:focus-visible { outline: 3px solid #D9FF57; outline-offset: 3px; }

/* ── Footer ───────────────────────────────── */
footer {
  background: #15121F;
  color: #A5A1B8;
  padding: clamp(40px, 5vw, 64px) 24px;
}
footer a { color: #D7D3E8; text-decoration: none; display: inline-block; padding: 10px 0; }

/* ── Hero Image ───────────────────────────── */
.hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 24px;
  background: #F4F2FF;
  margin: 28px 0 0;
}

/* ── Number Badges ────────────────────────── */
.num-badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #5B3DF5;
  color: #FFFFFF;
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
