@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(../fonts/PlusJakartaSans-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #0b4f6c;
  --primary-light: #1e7e9c;
  --accent: #f39c12;
  --text-dark: #1e293b;
  --text-soft: #475569;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --shadow-sm: 0 4px 10px rgba(0,0,0,0.03);
  --radius-md: 12px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 16px -6px rgba(11,79,108,0.2);
}
.btn--primary:hover { background: #0a3f58; transform: translateY(-2px); }

.btn--secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
}
.btn--secondary:hover { background: #f1f5f9; }

.header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}
.header__notice {
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 40px;
}

.hero--split {
  padding: 48px 0 64px;
  background: linear-gradient(145deg, #ffffff 0%, #f6fcff 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-soft);
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0 16px;
}
.hero__features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero__features i { color: var(--primary); }
.hero__image img {
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: auto;
}

.article-content {
  padding: 40px 0 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.article-meta__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-meta__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.article-title {
  max-width: 900px;
}
.article-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
.article-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-soft);
}
.article-highlight__card {
  background: var(--bg-light);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 6px solid var(--primary);
}
.article-highlight__card i {
  font-size: 2.5rem;
  color: var(--primary);
}
.article-highlight__card small { color: #64748b; }

.quiz-block {
  padding: 48px 0 64px;
  background: #fff;
}
.quiz-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.quiz-block__image img {
  border-radius: 32px;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-sm);
}
.quiz-card {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 20px 35px -8px rgba(0,0,0,0.07);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
}
.quiz-progress-label {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-soft);
  text-align: center;
}
.progressbar {
  display: flex;
  counter-reset: step;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.progressbar li {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.9rem;
  color: #94a3b8;
}
.progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: block;
  margin: 0 auto 10px;
  background: #e2e8f0;
  border-radius: 50%;
  color: #475569;
  font-weight: 600;
}
.progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  top: 15px;
  left: -50%;
  z-index: -1;
}
.progressbar li:first-child:after { content: none; }
.progressbar li.is-active:before {
  background: var(--primary);
  color: white;
}
.progressbar li.is-active:after {
  background: var(--primary);
}
.progressbar--5 li { flex: 1; }

.form-group { margin-bottom: 28px; }
.form-label {
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
  font-size: 1.3rem;
}
.form-label span {
  display: inline-block;
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
.radio-group {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: 60px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}
.radio-card input { accent-color: var(--primary); width: 20px; height: 20px; }
.radio-card:has(input:checked) { border-color: var(--primary); background: #e6f2f8; }

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: 40px;
  font-size: 1rem;
  margin-bottom: 16px;
}
select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23475569" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}
.form-hint { font-size: 0.9rem; color: var(--text-soft); }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0;
  cursor: pointer;
}
.checkbox-label input { display: none; }
.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-label input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-label input:checked + .checkmark:after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.privacy-note { color: #64748b; }

.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}
.quiz-lock {
  margin-top: 28px;
  text-align: center;
  color: var(--text-soft);
}

.features-icons {
  padding: 48px 0 64px;
  background: var(--bg-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-item img {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 24px;
}

.footer {
  background: #0b2a3c;
  color: #e0f2fe;
  padding: 48px 0 0;
  margin-top: auto;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__left .logo span {
  color: white;
}
.footer__disclaimer {
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.9rem;
  max-width: 600px;
}
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links a {
  color: #e0f2fe;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__contacts p {
  margin-bottom: 8px;
  opacity: 0.85;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer__bottom .container {
  display: flex;
  justify-content: center;
}

.legal-page {
  padding: 60px 0;
}
.legal-page .container {
  max-width: 800px;
}
.legal-page h1 {
  margin-bottom: 40px;
}
.legal-page p {
  margin-bottom: 20px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .quiz-block__grid { grid-template-columns: 1fr; }
  .quiz-card { padding: 24px 18px; }
  .radio-group { grid-template-columns: 1fr; }
}
#cookPopup {
  display: none;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: fixed;
  bottom: 15px;
  left: 50%;
  width: 900px;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 2px 3px 10px rgb(0 0 0 / .4);
  z-index: 9999
}
#cookPopup p {
  margin: 0;
  text-align: center
}
@media(min-width:576px) {
  #cookPopup.show {
    display: flex;
    align-items: center
  }
}
@media(max-width:575px) {
  #cookPopup.show {
    display: block;
    text-align: left
  }
  .cookPopup_btn {
    margin: 10px 0 0 0
  }
}
.cookPopup_title {
  font-size: 16px;
  font-weight: 700
}
.cookPopup_desc {
  font-size: 16px
}
.show {
  display: flex !important
}