:root {
  --bg: #F4F8FB;
  --ink: #18232C;
  --muted: rgba(24, 35, 44, 0.75);
  --line: rgba(24, 35, 44, 0.12);

  --cobalt: #315EEA;
  --cyan: #27B6D6;
  --lime: #B8D94A;
  --violet: #7659C9;
  --footer: #111B27;

  --radius: 16px;
  --shadow: 0 10px 28px rgba(17, 27, 39, 0.14);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top/bottom required warning */
.risk-banner {
  background: #0E1721;
  color: rgba(244, 248, 251, 0.92);
  border-bottom: 1px solid rgba(244, 248, 251, 0.08);
}

.risk-banner--bottom {
  border-top: 1px solid rgba(244, 248, 251, 0.08);
  border-bottom: none;
}

.risk-banner__inner {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(184, 217, 74, 0.18);
  border: 1px solid rgba(184, 217, 74, 0.45);
  color: #F4F8FB;
  flex: 0 0 auto;
}

.risk-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 251, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  display: block;
}

.burger {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 10px;
  width: 46px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.burger__line {
  height: 2px;
  width: 100%;
  background: rgba(24, 35, 44, 0.75);
  border-radius: 999px;
}

@media (min-width: 1024px) {
  .burger { display: none; }
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  padding: 10px 0 16px;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mobile-menu__link {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(24, 35, 44, 0.10);
  background: rgba(244, 248, 251, 0.7);
}

/* Digital grid background */
.grid-surface {
  background:
    linear-gradient(to right, rgba(24, 35, 44, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24, 35, 44, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

main {
  display: block;
}

.hero {
  padding: 44px 0 22px;
}

.hero__panel {
  border: 1px solid rgba(24, 35, 44, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(24, 35, 44, 0.14);
  background: rgba(244, 248, 251, 0.7);
  font-size: 13px;
}

/* Cards */
.cards {
  padding: 18px 0 44px;
}

.cards__head {
  display: none;
  grid-template-columns: 0.7fr 1fr 0.3fr;
  gap: 12px;
  color: rgba(24, 35, 44, 0.66);
  font-size: 32px;
  padding: 0 10px 10px;
}

@media (min-width: 920px) {
  .cards__head {
    display: grid;
  }
}

.card {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(24, 35, 44, 0.10);
  background: #FFFFFF;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 14px;
}

.card__rail {
  height: 6px;
}

.card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
}

@media (min-width: 920px) {
  .card__body {
    grid-template-columns: 0.7fr 1fr 0.3fr;
    align-items: center;
  }
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-block__bg {
  width: 8rem;
  height: 8rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-block__bg img {
  max-width: 7rem;
  max-height: 7rem;
  object-fit: contain;
  display: block;
}

.logo-block__meta {
  display: grid;
  gap: 6px;
}

.meta-kicker {
  font-size: 12px;
  color: rgba(24, 35, 44, 0.64);
}

.meta-title {
  font-size: 16px;
  font-weight: 700;
}

.anj {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(24, 35, 44, 0.70);
}

.anj code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(24, 35, 44, 0.06);
  border: 1px solid rgba(24, 35, 44, 0.10);
}

.card__desc p {
  margin: 0;
  color: rgba(24, 35, 44, 0.82);
  line-height: 1.55;
}

.bullets {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 5px;
  background: rgba(39, 182, 214, 0.95);
  flex: 0 0 auto;
}

.card__score {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

@media (min-width: 920px) {
  .card__score {
    justify-items: end;
    text-align: right;
  }
}

@media (max-width: 919px) {
  .logo-block__meta {
    text-align: center;
  }

  .anj {
    justify-content: center;
  }

  .card__desc p {
    text-align: center;
  }

  .bullets li {
    justify-content: center;
  }
}

.score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(49, 94, 234, 0.08);
  border: 1px solid rgba(49, 94, 234, 0.18);
}

.score__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.score__label {
  font-size: 12px;
  color: rgba(24, 35, 44, 0.70);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cobalt);
  color: #FFFFFF;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.08);
}

.cta:focus-visible,
.burger:focus-visible,
.btn:focus-visible,
.mobile-menu__link:focus-visible {
  outline: 3px solid rgba(39, 182, 214, 0.55);
  outline-offset: 3px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(244, 248, 251, 0.90);
  padding: 34px 0 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-links__link {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(244, 248, 251, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.footer-copy {
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.footer-resources-title {
  margin: 22px 0 12px;
  font-size: 18px;
}

.footer-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-resources__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(244, 248, 251, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.footer-resources__item img {
  height: 40px;
  width: auto;
  display: block;
}

button.footer-resources__item {
  appearance: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: auto;
}

.footer-line {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 248, 251, 0.10);
  color: rgba(244, 248, 251, 0.88);
}

.footer-line p { margin: 0; }

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 27, 39, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.overlay[hidden] {
  display: none !important;
}

.overlay__panel {
  width: 100%;
  max-width: 720px;
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 18px;
  border: 1px solid rgba(24, 35, 44, 0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  padding: 18px;
}

.overlay__panel h2 {
  margin: 0;
  font-size: 18px;
}

.overlay__panel p {
  margin: 10px 0 0;
  color: rgba(24, 35, 44, 0.78);
  line-height: 1.55;
}

.overlay__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.btn {
  appearance: none;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(24, 35, 44, 0.14);
  background: rgba(244, 248, 251, 0.85);
  font-weight: 700;
}

.btn--primary {
  background: var(--cobalt);
  border-color: rgba(0,0,0,0.08);
  color: #FFFFFF;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Internal page */
.internal {
  padding: 38px 0 44px;
}

.internal__panel {
  border-radius: var(--radius);
  border: 1px solid rgba(24, 35, 44, 0.10);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: 18px;
}

.internal__panel h1 {
  margin: 0;
  font-size: 24px;
}

.internal__panel p {
  margin: 12px 0 0;
  color: rgba(24, 35, 44, 0.80);
  line-height: 1.6;
}

.internal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Contact form */
.contact-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  font-size: 13px;
  color: rgba(24, 35, 44, 0.72);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(24, 35, 44, 0.16);
  background: rgba(244, 248, 251, 0.86);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}


.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 35, 44, 0.16);
  background: rgba(244, 248, 251, 0.90);
  font-weight: 700;
}

/* Turnstile overlay */
.turnstile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(244, 248, 251, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.turnstile-overlay__panel {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 35, 44, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.15);
  padding: 24px;
  text-align: center;
}

.turnstile-overlay__panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.turnstile-overlay__panel p {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(24, 35, 44, 0.72);
  line-height: 1.5;
}

#turnstile-widget {
  display: inline-flex;
  justify-content: center;
}
