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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: linear-gradient(160deg, #ede9fe, #f5f3ff);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #555;
}

h1, h2, h3, .site-logo {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

a { color: #6d28d9; text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: #999; }
.small { font-size: 14px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

.disclaimer-bar {
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  color: #4c1d95;
}

.cookie-banner {
  display: none;
  padding: 14px 0;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 14px; }

header {
  padding: 16px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(109,40,217,0.08);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-logo { font-size: 1.4rem; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: #1a1a1a; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #6d28d9; text-decoration: none; }

.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(109,40,217,0.18), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(167,139,250,0.22), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { max-width: 760px; position: relative; z-index: 1; }
.hero p { font-size: 1.05rem; }
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13px;
  color: #6d28d9;
  font-weight: 600;
}
.hero-badges span {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(109,40,217,0.2);
  border-radius: 999px;
  padding: 6px 14px;
}

.btn {
  display: inline-block;
  background: #6d28d9;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { width: 100%; padding: 12px; margin-top: 8px; }
.btn-outline {
  background: transparent;
  color: #6d28d9;
  border: 1px solid #6d28d9;
}

.section { padding: 72px 0; }
.section h2 { text-align: center; }
.section-sub {
  color: #777;
  margin-bottom: 36px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-alt {
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(109,40,217,0.08);
  border-bottom: 1px solid rgba(109,40,217,0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 10px 28px rgba(109,40,217,0.12);
  border-color: rgba(109,40,217,0.2);
  transform: translateY(-2px);
}
.card .meta { font-size: 13px; color: #888; margin-top: auto; padding-top: 8px; }
.badge-licensed {
  display: inline-block;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #6d28d9;
}

.info-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 26px;
  text-align: left;
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.info-card h3 { margin-bottom: 8px; }

.rule-block {
  background: #fff;
  border-left: 3px solid #6d28d9;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.rule-block h3 { margin-bottom: 6px; font-size: 1.05rem; }
.rule-block p { margin-bottom: 0; }

.responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.help-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.help-links a {
  background: #fff;
  border: 1px solid rgba(109,40,217,0.25);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.help-links a:hover {
  background: #6d28d9;
  color: #fff;
  text-decoration: none;
}

.rg {
  padding: 36px 0;
  text-align: center;
  background: #6b7280;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.rg-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.rg-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  max-width: 520px;
  margin: 0 auto 14px;
}
.rg-help {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.rg-help strong { color: #fff; }
.rg-help a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.rg-logos {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  background: rgba(0,0,0,0.3);
  padding: 14px 22px;
  border-radius: 8px;
  max-width: 100%;
}
.rg-logos a {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.rg-logos a:hover { opacity: 1; text-decoration: none; }
.rg-logos img {
  height: 28px;
  width: auto;
  display: block;
}

.faq {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq[open] { border-color: rgba(109,40,217,0.3); }
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: #1a1a1a;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #6d28d9;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq[open] summary::after {
  content: "−";
}
.faq p {
  margin-top: 12px;
  margin-bottom: 0;
  color: #555;
}

.form-card { max-width: 560px; margin: 0 auto; padding: 32px; }
.form-card label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
input:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 2px rgba(109,40,217,0.125);
}

.success-msg {
  display: none;
  margin-top: 14px;
  padding: 10px;
  background: #ede9fe;
  color: #4c1d95;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.success-msg.show { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #6d28d9;
  cursor: pointer;
}
.consent a { color: #6d28d9; }

footer {
  padding: 32px 0;
  text-align: center;
  color: #999;
}
footer p { margin-bottom: 8px; }
.footer-links a { color: #6d28d9; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.6);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legal-content { padding: 40px 0 72px; }
.legal-content h2 { margin-top: 28px; }
.legal-content ul { margin: 0 0 14px 22px; }
.legal-content li { margin-bottom: 6px; }

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  body { font-size: 16px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 48px 0; }
  .nav { gap: 10px; }
  .nav-links { gap: 12px; font-size: 13px; width: 100%; justify-content: center; }
  .form-card { padding: 24px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .hero-badges { font-size: 12px; gap: 8px; }
  .hero-badges span { padding: 5px 10px; }
  html { scroll-padding-top: 130px; }
}
