:root {
  --bg: #ffffff;
  --text: #3a3a44;
  --heading: #111114;
  --muted: #6b6b78;
  --line: #e8e8ef;
  --line-soft: #f0f0f5;
  --surface: #f7f7fa;
  --surface-alt: #f7f4fd;
  --accent: #5b34d9;
  --accent-2: #8b5cf6;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 900px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topline {
  height: 4px;
  background: linear-gradient(90deg, var(--surface-alt) 0%, #efeafb 50%, var(--surface-alt) 100%);
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- article typography ---------- */

.page { padding: 52px 0 80px; }

h1 {
  margin: 0 0 34px;
  color: var(--heading);
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h2 {
  margin: 54px 0 22px;
  color: var(--heading);
  font-size: clamp(24px, 3.1vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}

h3 {
  margin: 38px 0 16px;
  color: var(--heading);
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

p { margin: 0 0 22px; }

strong { color: var(--heading); font-weight: 700; }

hr {
  height: 0;
  margin: 46px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

ol, ul { margin: 0 0 22px; padding-left: 24px; }
li { margin-bottom: 10px; }
li::marker { color: var(--muted); font-weight: 700; }

/* ---------- hero ---------- */

.hero { position: relative; margin: 0 0 34px; }

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3172 / 1344;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero__cta {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  box-shadow: 0 14px 34px rgba(91, 52, 217, .42);
  animation: cta-pulse 2.2s ease-in-out infinite;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hero__cta:hover {
  text-decoration: none;
  transform: translateX(-50%) translateY(-3px) scale(1.04);
  box-shadow: 0 20px 46px rgba(91, 52, 217, .55);
  animation-play-state: paused;
}

.hero__cta svg { width: 18px; height: 18px; fill: currentColor; }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(91, 52, 217, .38); }
  50% { box-shadow: 0 14px 40px rgba(91, 52, 217, .7); }
}

/* ---------- tables ---------- */

.table-wrap {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

thead th {
  background: var(--surface);
  color: var(--heading);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

th, td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

tbody th {
  text-align: left;
  color: var(--heading);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:hover td,
tbody tr:hover th { background: #fbfbfd; }

/* ---------- faq ---------- */

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item:last-child { border-bottom: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: background .25s var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--surface); }

.faq__q::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}

.faq__item[open] .faq__q { background: var(--surface); }
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__a { padding: 4px 22px 20px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 28px 0;
  color: var(--muted);
  font-size: 15px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--heading);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .page { padding: 34px 0 56px; }
  .container { padding: 0 18px; }
  h2 { margin-top: 42px; }
  hr { margin: 36px 0; }
  th, td { padding: 12px 14px; }
  .hero__cta { padding: 12px 28px; font-size: 16px; bottom: 6%; }
}
