:root {
  --bg: #fff;
  --fg: #000;
  --muted: #333;
  --accent: #fce900;
  --accent-alt: #f8e600;
  --radius: 20px;
  --radius-btn: 30px;
  --max: 1140px;
  --font: "Montserrat", system-ui, sans-serif;
  --font-btn: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  /* 065: no text outline */
  -webkit-text-stroke: 0;
  -webkit-text-stroke-width: 0;
}

svg text {
  stroke: none;
  stroke-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

a:hover,
a:focus,
a:focus-visible,
button:hover,
button:focus,
button:focus-visible,
.btn:hover,
.btn:focus,
.btn:focus-visible,
.lang-switch:hover,
.lang-switch:focus,
.lang-switch:focus-visible,
input:hover,
input:focus,
input:focus-visible,
select:hover,
select:focus,
select:focus-visible {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  --site-header-bar-h: 3.75rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--site-header-bar-h);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-actions--desktop {
  display: none;
}

.header-actions--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-btn);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--fg);
  border: 2px solid var(--fg);
  border-radius: var(--radius-btn);
}

.lang-switch:hover {
  opacity: 0.75;
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 2.25rem;
  height: auto;
  flex-shrink: 0;
}

.brand__text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__text span {
  display: none;
  font-size: 0.75rem;
  font-weight: 400;
}

.nav--desktop {
  display: none;
  gap: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  opacity: 0.7;
}

.nav-toggle {
  position: relative;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 2px solid var(--fg);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.site-header--nav-open .nav-toggle__bars {
  background: transparent;
}

.site-header--nav-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header--nav-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  /* Below the header bar — do not dim logo / burger */
  position: fixed;
  top: var(--site-header-bar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.35);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 35;
  display: none;
  padding: 1rem 1rem 1.35rem;
  background: #fff;
  border-bottom: 2px solid var(--fg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.site-header--nav-open .nav-panel {
  display: block;
}

.nav--drawer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav--drawer a {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.35rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

html.nav-lock {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-btn);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--fg);
  border-radius: var(--radius-btn);
  padding: 0.7rem 1.35rem;
  min-height: 2.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--fg);
  color: #fff;
}

.btn--accent {
  background: var(--accent);
  color: var(--fg);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 1.75rem 0 0.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero__copy {
  order: -1;
}

.hero__media img {
  width: 100%;
  border-radius: 12px;
  filter: brightness(1.08);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 6.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero p {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
}

.hero .btn {
  width: 100%;
}

/* Benefits */
.benefits {
  margin: 2rem 0;
  padding: 1.75rem 1.1rem 2rem;
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.benefits h2 {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
}

.benefits > .lead {
  max-width: 42rem;
  margin: 0 0 2rem;
  font-weight: 500;
}

.cards {
  display: grid;
  gap: 0.75rem;
}

.card {
  padding: 1.15rem 0.85rem;
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  min-width: 0;
}

.card--accent {
  background: var(--accent-alt);
}

.card__icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 auto 0.85rem;
  fill: var(--fg);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (min-width: 360px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats .stat:last-child {
    grid-column: 1 / -1;
  }
}

/* Sections */
.section {
  padding: 2.25rem 0;
}

.section--split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section h2,
.section h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.25;
}

.section p {
  margin: 0;
  max-width: 36rem;
  font-weight: 500;
}

.metrics {
  margin: 0 0 1.5rem;
  padding: 1.75rem 1.1rem 2rem;
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.metrics__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.metrics__ctr {
  margin: 0 0 1.5rem;
  max-width: none;
  font-weight: 500;
}

.stats {
  display: grid;
  gap: 1rem;
}

.stat {
  margin: 0;
  padding: 1.35rem 0.85rem;
  text-align: center;
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  background: #fff;
  min-width: 0;
}

.stat--accent {
  background: var(--accent-alt);
}

.stat__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

.stat__value {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.targeting {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.targeting__intro h2 {
  margin: 0 0 0.85rem;
}

.targeting__intro .lead {
  margin: 0;
  max-width: 28rem;
  font-weight: 500;
}

.targeting__cards {
  gap: 0.35rem;
}

.targeting__cards .card {
  background: #fff;
}

.targeting__cards .card--accent {
  background: var(--accent-alt);
}

.lead-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lead-panel {
  padding: 1.5rem 1.1rem 2rem;
  border: 2px solid var(--fg);
  border-radius: var(--radius);
}

.lead-panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead-panel .note {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.lead-panel > p {
  max-width: none;
  font-size: 0.9rem;
}

.lead-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lead-form__ok {
  margin: 1rem 0 0;
  color: var(--ok, #1a7f37);
  font-weight: 600;
}

.lead-form__error {
  margin: 1rem 0 0;
  color: var(--danger, #b42318);
  font-weight: 600;
}

.lead-form select,
.lead-form input:not([type="checkbox"]):not([type="hidden"]) {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border: 2px solid var(--fg);
  border-radius: 40px;
  background: #fff;
  color: #525252;
}

.lead-form__row {
  display: grid;
  gap: 0.75rem;
}

.lead-form .btn {
  width: 100%;
}

.lead-form__captcha {
  display: block;
  margin-top: 0.25rem;
}

.lead-block__media img {
  width: 100%;
  border-radius: 12px;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  border-top: 2px solid var(--fg);
}

.site-footer .wrap {
  display: grid;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
}

/* Legal pages (policy, agreement) */
.legal {
  padding: 2.5rem 0 3rem;
}

.legal__inner {
  max-width: 48rem;
}

.legal h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
}

.legal__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal__section {
  margin-bottom: 2rem;
}

.legal__section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.legal__section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.legal__section p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.legal__section ol,
.legal__section ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal__section li {
  margin-bottom: 0.55rem;
}

.legal__section a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-links a[aria-current="page"] {
  text-decoration: underline;
}

@media (min-width: 720px) {
  .site-header {
    --site-header-bar-h: 4.25rem;
  }

  .site-header__bar {
    min-height: var(--site-header-bar-h);
  }

  .brand__text span {
    display: block;
  }

  .brand img {
    width: 2.4rem;
  }

  .nav-toggle,
  .nav-backdrop,
  .nav-panel {
    display: none !important;
  }

  .nav--desktop {
    display: flex;
  }

  .header-actions--desktop {
    display: flex;
  }

  .hero {
    padding: 2.5rem 0 1rem;
  }

  .hero__copy {
    order: 0;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
  }

  .hero .btn {
    width: auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .metrics {
    margin: 0 0 2.5rem;
    padding: 3rem 1.5rem;
  }

  .benefits {
    margin: 3rem 0;
    padding: 3rem 1.5rem;
  }

  .lead-panel {
    padding: 2rem 1.25rem 2.5rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card {
    padding: 1.5rem 1rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .section--split {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats .stat:last-child {
    grid-column: auto;
  }

  .stat {
    padding: 2rem 1rem;
  }

  .targeting {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .targeting__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-block {
    grid-template-columns: 1.05fr 1fr;
  }

  .lead-form__row {
    grid-template-columns: 1.4fr auto;
  }

  .lead-form .btn {
    width: auto;
    white-space: nowrap;
  }

  .site-footer .wrap {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .cards:not(.targeting__cards) {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits {
    padding: 4rem 2rem;
  }

  .metrics {
    padding: 4rem 2rem;
  }

  .lead-panel {
    padding: 3em 2em 4em;
  }
}
