:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-muted: #eef1f4;
  --text: #16202a;
  --text-soft: #5d6875;
  --line: #d9dfe6;
  --accent: #0f1720;
  --accent-soft: #2f3f50;
  --brand-yellow: #ffd400;
  --shadow: 0 24px 60px rgba(16, 24, 40, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --container: 1180px;
  --logo-width-desktop: 148px;
  --logo-width-mobile: 116px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15, 23, 32, 0.04), transparent 18%),
    linear-gradient(180deg, #fafbfc 0%, #f2f4f7 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 40px 0 64px; }
.page-shell { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(250, 251, 252, 0.86);
  border-bottom: 1px solid rgba(217, 223, 230, 0.75);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand-logo, .footer-logo {
  width: var(--logo-width-desktop);
  height: auto;
}
.header-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  color: var(--text-soft);
  font-size: 14px;
}
.header-contacts a:hover { color: var(--text); }

.hero-grid, .lead-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}
.hero-grid { position: relative; }
.hero-copy h1,
.section-heading h2,
.lead-copy h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero-copy h1 { font-size: clamp(36px, 6vw, 64px); max-width: 12ch; }
.hero-lead, .section-heading p, .adv-card p, .lead-copy, .footer-note {
  color: var(--text-soft);
}
.hero-lead {
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.65;
  margin: 20px 0 0;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.06);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(16, 24, 40, 0.12); }
.button-primary {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #111a23, #334355);
  overflow: hidden;
  box-shadow: 0 0 0 rgba(47, 63, 80, 0);
  animation: buttonGlowPulse 2.8s ease-in-out infinite;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 42%;
  transform: skewX(-20deg) translateX(-140%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.18),
    rgba(255,255,255,0)
  );
  animation: buttonShineSweep 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes buttonGlowPulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(17, 26, 35, 0.16);
  }
  50% {
    box-shadow: 0 16px 34px rgba(51, 67, 85, 0.28);
  }
}

@keyframes buttonShineSweep {
  0%, 18% {
    transform: skewX(-20deg) translateX(-150%);
  }
  42%, 100% {
    transform: skewX(-20deg) translateX(360%);
  }
}
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #111a23, #334355);
}
.button-secondary {
  position: relative;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,247,250,0.96));
  border-color: #ffd400;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
  overflow: hidden;
  animation: buttonSecondaryGlow 3.4s ease-in-out infinite;
}

.button-secondary::before {
  content: "";
  position: absolute;
  inset: -18% auto -18% -32%;
  width: 38%;
  transform: skewX(-18deg) translateX(-150%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.7),
    rgba(255,255,255,0)
  );
  animation: buttonSecondaryShine 4.2s ease-in-out infinite;
  pointer-events: none;
}

.button-secondary {
  position: relative;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,247,250,0.96));
  border-color: #ffd400;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
  overflow: hidden;
  animation: buttonSecondaryGlow 3.4s ease-in-out infinite;
}

.button-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.45),
    inset 0 0 0 2px rgba(255, 212, 0, 0.9);
  pointer-events: none;
}

@keyframes buttonSecondaryGlow {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
    border-color: #c8d1db;
  }
  50% {
    box-shadow: 0 16px 34px rgba(98, 114, 135, 0.16);
    border-color: #b5c1cd;
  }
}

@keyframes buttonSecondaryShine {
  0%, 22% {
    transform: skewX(-18deg) translateX(-160%);
  }
  48%, 100% {
    transform: skewX(-18deg) translateX(380%);
  }
}
.button-full { width: 100%; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  min-height: 100%;
  padding: 16px 16px 16px 44px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(217, 223, 230, 0.9);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  font-size: 14px;
  font-weight: 600;
  overflow: visible;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111a23, #7d8ca0);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.75);
  z-index: 2;
  animation: pointPulseCore 2.2s ease-in-out infinite;
}

.hero-points li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(125, 140, 160, 0.24);
  z-index: 1;
  transform-origin: center;
  animation: pointPulseRing 2.2s ease-out infinite;
}

@keyframes pointPulseCore {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes pointPulseRing {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(2.15);
  }
  100% {
    opacity: 0;
    transform: scale(2.15);
  }
}

.honest-badge-floating {
  position: absolute;
  top: 10px;
  right: 0;
  z-index: 4;
  width: min(543px, calc(100% - 32px));
  max-width: calc(100% - 16px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #111 0%, #232323 100%);
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
}
.honest-badge-floating::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  background: var(--brand-yellow);
  border-radius: 22px 0 0 22px;
}
.honest-badge-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 370px;
  margin-left: 4px;
}
.honest-badge-copy small {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: #111;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.honest-badge-copy strong {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.1;
}
.honest-badge-copy span {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.45;
}
.honest-badge-code {
  position: relative;
  z-index: 1;
  margin-left: auto;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.08);
  display: grid;
  place-items: center;
}
.honest-badge-code svg { width: 100%; height: 100%; display: block; }

.hero-visual {
  position: relative;
  min-height: 620px;
  margin-top: -76px;
}
.hero-card {
  position: absolute;
  background: linear-gradient(180deg, #fff, #edf1f4);
  border: 1px solid rgba(217, 223, 230, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-card-main {
  inset: 143px 0 0 72px;
  padding: 24px;
}
.hero-card-float {
  left: 0;
  bottom: 10px;
  width: 240px;
  height: 280px;
  padding: 10px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading h2, .lead-copy h2 { font-size: clamp(30px, 5vw, 50px); }
.section-heading p { font-size: 18px; line-height: 1.6; margin-top: 14px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adv-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.05);
}
.adv-card--accent {
  background: linear-gradient(180deg, #1a1a1a, #252525);
  color: #fff;
  border-color: #2b2b2b;
}
.adv-card--accent p { color: rgba(255,255,255,0.78); }
.adv-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-muted);
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 16px;
}
.adv-card--accent .adv-card__icon {
  background: var(--brand-yellow);
  color: #111;
}
.adv-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}
.adv-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.adv-bottom {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}
.adv-bottom-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 560px;
}
.adv-bottom-copy .section-kicker {
  margin-bottom: 0;
  width: fit-content;
}
.adv-bottom-copy h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
.adv-bottom-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 52ch;
  font-weight: 400;
}
.adv-video {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #edf1f4);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.06);
  padding: 10px;
}
.adv-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #e9edf1;
  border-radius: 16px;
}

.lead-copy h2 { margin-bottom: 18px; }
.lead-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.lead-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
}
.lead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111a23, #627287);
}
.contact-card, .form-wrap {
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.04);
}
.contact-card {
  padding: 22px 24px;
  max-width: 420px;
}
.contact-card h3,
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 18px;
}
.contact-card p,
.footer-list li,
.footer-note {
  margin: 0 0 10px;
  line-height: 1.55;
}
.contact-card a:hover,
.footer-list a:hover { color: var(--accent-soft); }

.form-wrap { padding: 24px; }
.lead-form {
  display: grid;
  gap: 16px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-soft);
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #90a0b2;
  box-shadow: 0 0 0 4px rgba(98, 114, 135, 0.12);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--text-soft);
}
.consent-row input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}
.consent-row a { color: var(--accent-soft); text-decoration: underline; }
.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--accent-soft);
}
.form-status.is-success { color: #21623b; }
.form-status.is-error { color: #b42318; }

.site-footer {
  padding: 24px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.04);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-bottom,
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { max-width: none; }
  .honest-badge-floating {
    position: static;
    width: 100%;
    max-width: none;
    margin: 8px 0 18px;
  }
  .hero-visual { min-height: 520px; margin-top: 0; }
  .hero-card-main { inset: 24px 0 0 60px; }
}

@media (max-width: 720px) {
  .section { padding: 28px 0 48px; }
  .container { width: min(var(--container), calc(100% - 24px)); }
  .header-row { align-items: flex-start; flex-direction: column; }
  .brand-logo, .footer-logo { width: var(--logo-width-mobile); }
  .header-contacts { justify-content: flex-start; }
  .cta-row,
  .hero-points,
  .cards-grid { grid-template-columns: 1fr; }
  .cta-row { display: grid; }
  .button { width: 100%; }
  .hero-card-main { inset: 18px 0 0 22px; }
  .hero-card-float { width: 180px; height: 212px; }
  .hero-visual { min-height: 430px; }
  .honest-badge-floating {
    width: 100%;
    max-width: 100%;
    padding: 14px 14px 14px 16px;
    gap: 10px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    overflow: hidden;
    box-shadow: inset 8px 0 0 var(--brand-yellow), var(--shadow);
  }
  .honest-badge-floating::before {
    display: none;
  }
  .honest-badge-copy {
    margin-left: 0;
    max-width: 100%;
  }
  .honest-badge-copy small { font-size: 10px; }
  .honest-badge-copy strong { font-size: 18px; }
  .honest-badge-copy span { font-size: 11px; line-height: 1.4; }
  .honest-badge-code {
    margin-left: 0;
    align-self: start;
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 4px;
  }
  .lead-list li,
  .section-heading p,
  .hero-lead { font-size: 16px; }
  .adv-card,
  .contact-card,
  .form-wrap,
  .footer-grid { padding: 18px; }
}
