:root {
  color-scheme: light;
  --bg: #f4f6f2;
  --surface: #ffffff;
  --surface-soft: #eef3ee;
  --ink: #17201d;
  --muted: #61706a;
  --line: #dce4df;
  --green: #257457;
  --green-dark: #174d3a;
  --blue: #315c84;
  --amber: #c77d28;
  --rose: #9b4b55;
  --shadow: 0 24px 80px rgba(30, 45, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 48px rgba(28, 38, 34, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: #a9aaac;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 29, 0.08);
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand__company {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand__service {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--green-dark);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 24px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 32px rgba(37, 116, 87, 0.2);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 124px 20px 64px;
  background: #1d2924;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 28, 24, 0.86) 0%, rgba(16, 28, 24, 0.68) 36%, rgba(16, 28, 24, 0.18) 76%),
    linear-gradient(0deg, rgba(16, 28, 24, 0.7) 0%, rgba(16, 28, 24, 0) 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #cce9d6;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.46;
}

.hero__pilot {
  display: grid;
  gap: 4px;
  max-width: 540px;
  margin: 18px 0 0;
  border-left: 4px solid #cce9d6;
  padding: 2px 0 2px 14px;
  color: #fff;
}

.hero__pilot strong {
  font-size: 20px;
  line-height: 1.25;
}

.hero__pilot span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.hero__link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero__link:hover {
  color: #fff;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 112px 20px;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__heading--wide {
  width: min(100%, 1180px);
  max-width: none;
  margin: 0 auto 34px;
  padding: 0 20px;
}

.section__heading h2,
.quiz-band h2,
.lead-section h2,
.kit h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section__heading p:not(.eyebrow),
.quiz-band p,
.lead-section p,
.kit p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature,
.step,
.benefit-list article,
.kit__box,
.quiz-card,
.lead-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(35, 49, 43, 0.06);
}

.feature {
  min-height: 270px;
  padding: 26px;
}

.feature__icon,
.step span {
  display: inline-grid;
  min-width: 46px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.feature h3,
.step h3,
.benefit-list h3,
.scenario h3 {
  margin: 24px 0 10px;
  font-size: 24px;
  line-height: 1.13;
}

.feature p,
.step p,
.benefit-list p,
.scenario p,
.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.scenarios {
  padding: 110px 0;
  background: #ffffff;
}

.scenario-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 16px;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.scenario {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  scroll-snap-align: start;
}

.scenario::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.94;
}

.scenario > * {
  position: relative;
  z-index: 1;
}

.scenario--morning::before {
  background: linear-gradient(145deg, #2f7454, #7ca777);
}

.scenario--attention::before {
  background: linear-gradient(145deg, #894955, #d18a43);
}

.scenario--home::before {
  background: linear-gradient(145deg, #285d86, #6e9abd);
}

.scenario--summary::before {
  background: linear-gradient(145deg, #26372f, #6b806f);
}

.scenario p {
  color: rgba(255, 255, 255, 0.82);
}

.scenario__status {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.scenario__phone,
.summary-card {
  display: grid;
  gap: 8px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.scenario__phone strong,
.summary-card strong {
  font-size: 22px;
}

.scenario__phone small,
.summary-card small {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
}

.scenario__call {
  align-self: flex-start;
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #55303a;
  font-weight: 900;
  text-decoration: none;
}

.scenario__timeline {
  display: grid;
  gap: 12px;
}

.scenario__timeline span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.scenario__timeline span:nth-child(2) {
  width: 72%;
}

.scenario__timeline span:nth-child(3) {
  width: 52%;
}

.steps,
.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  min-height: 230px;
  padding: 26px;
}

.quiz-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 36px;
  align-items: center;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: #e7efe8;
}

.quiz-card {
  min-height: 390px;
  padding: 22px;
}

.quiz-card__progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d6e1da;
}

.quiz-card__progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
  padding-top: 24px;
}

.quiz-step.is-active {
  display: grid;
  gap: 12px;
}

.quiz-step h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.16;
}

.quiz-step button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.quiz-step button:hover {
  border-color: #a9c4b6;
  background: #f5faf7;
}

.quiz-step--final p {
  margin: 0 0 8px;
  color: var(--muted);
}

.kit {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: 34px;
  align-items: center;
}

.kit__box {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at 74% 24%, rgba(49, 92, 132, 0.2), transparent 34%),
    linear-gradient(145deg, #ffffff, #eef4f0);
}

.device {
  position: absolute;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.device--hub {
  right: 80px;
  top: 60px;
  width: 150px;
  height: 150px;
}

.device--plug {
  right: 180px;
  top: 210px;
  width: 96px;
  height: 118px;
  border-radius: 18px;
}

.device--sensor {
  right: 48px;
  top: 250px;
  width: 124px;
  height: 74px;
  border-radius: 40px;
}

.kit__box ul {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.kit__box li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.benefits {
  padding-top: 40px;
}

.benefit-list article {
  min-height: 210px;
  padding: 26px;
}

.faq {
  padding-top: 40px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 0 22px;
}

.faq summary {
  min-height: 72px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--green);
  font-size: 28px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  padding: 0 0 22px;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.62fr);
  gap: 36px;
  align-items: start;
  width: min(100%, 1180px);
  margin: 0 auto 96px;
  padding: 56px 20px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form__label {
  margin: 0 0 -4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.lead-form .is-hidden {
  display: none;
}

.lead-form__message-fields {
  display: grid;
  gap: 14px;
}

.contact-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.contact-switch label {
  position: relative;
  min-width: 0;
}

.contact-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-switch span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.contact-switch input:checked + span {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 8px 24px rgba(35, 49, 43, 0.08);
}

.contact-switch--channels {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lead-form__group {
  display: grid;
  gap: 10px;
}

.lead-form__group.is-hidden {
  display: none;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.lead-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.lead-form__trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--green);
}

.checkbox a {
  color: var(--green-dark);
}

.lead-form__status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 34px 20px 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer span {
  color: var(--ink);
  font-weight: 900;
}

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

.footer__brand img {
  display: block;
  width: 102px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-doc {
  max-width: 860px;
  padding-top: 72px;
}

.legal-doc__back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.legal-doc h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-doc__subtitle {
  margin: 12px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.legal-doc h2 {
  margin: 38px 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 900;
}

.legal-doc ul {
  padding-left: 22px;
}

.test-page .button {
  white-space: normal;
}

.test-process {
  padding-top: 40px;
}

.test-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.test-process__grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(35, 49, 43, 0.06);
}

.test-process__grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.test-process__grid h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  line-height: 1.14;
}

.test-process__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.test-hero {
  min-height: 720px;
}

.test-hero .hero__image {
  object-position: 68% center;
}

.test-hero__content h1 {
  max-width: 760px;
}

.test-hero__note {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
}

.test-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.test-kit-preview,
.test-phone-card,
.test-check-grid p,
.test-kit-list article,
.test-price__grid article,
.test-limits__grid article,
.test-privacy blockquote {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(35, 49, 43, 0.06);
}

.test-kit-preview {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  background: #fff;
}

.test-kit-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #f8faf8;
}

.test-kit-preview > span {
  border-top: 1px solid var(--line);
  padding: 14px 18px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.concept-caption {
  display: block;
  padding: 0 18px 16px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.test-phone-stack {
  display: grid;
  gap: 16px;
}

.test-phone-card {
  display: grid;
  min-height: 220px;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.test-phone-card span,
.test-price__grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.test-phone-card h3,
.test-kit-list h3,
.test-price__grid strong,
.test-limits h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.14;
}

.test-phone-card p,
.test-kit-list p,
.test-price__grid p,
.test-privacy p,
.test-limits li {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.test-phone-card--ok {
  border-color: rgba(37, 116, 87, 0.2);
}

.test-phone-card--warn {
  border-color: rgba(199, 125, 40, 0.24);
}

.test-fit {
  padding-top: 28px;
}

.test-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.test-check-grid p {
  position: relative;
  min-height: 116px;
  margin: 0;
  padding: 24px 24px 24px 54px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.test-check-grid p::before {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.test-check-grid p:nth-child(1) {
  border-color: rgba(37, 116, 87, 0.2);
}

.test-check-grid p:nth-child(1)::before {
  background: var(--green);
}

.test-check-grid p:nth-child(2) {
  border-color: rgba(49, 92, 132, 0.2);
}

.test-check-grid p:nth-child(2)::before {
  background: var(--blue);
}

.test-check-grid p:nth-child(3) {
  border-color: rgba(199, 125, 40, 0.24);
}

.test-check-grid p:nth-child(3)::before {
  background: var(--amber);
}

.test-check-grid p:nth-child(4) {
  border-color: rgba(155, 75, 85, 0.22);
}

.test-check-grid p:nth-child(4)::before {
  background: var(--rose);
}

.test-check-grid p:nth-child(5) {
  border-color: rgba(55, 116, 109, 0.22);
}

.test-check-grid p:nth-child(5)::before {
  background: #37746d;
}

.test-check-grid p:nth-child(6) {
  border-color: rgba(95, 91, 162, 0.2);
}

.test-check-grid p:nth-child(6)::before {
  background: #5f5ba2;
}

.test-scenarios {
  background: #fff;
}

.test-scenario-track {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
}

.test-kit {
  align-items: start;
  grid-template-columns: 1fr;
  gap: 28px;
}

.test-kit .kit__content {
  max-width: 760px;
}

.test-kit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.test-kit-list article {
  min-height: 164px;
  padding: 22px;
}

.test-kit-list h3 {
  margin-bottom: 10px;
}

.test-proof {
  padding-top: 48px;
}

.test-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.test-proof__item,
.test-reliability__grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(35, 49, 43, 0.06);
}

.test-proof__item {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  margin: 0;
}

.test-proof__item--wide {
  grid-column: 1 / -1;
}

.test-proof__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.test-proof__item:not(.test-proof__item--wide) img {
  max-height: 520px;
  object-fit: contain;
}

.test-proof__item figcaption {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.test-proof__item .concept-caption {
  padding: 0;
}

.test-reliability {
  padding-top: 52px;
}

.test-reliability__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.test-reliability__grid article {
  min-height: 210px;
  padding: 26px;
}

.test-reliability__grid h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.test-reliability__grid p,
.lead-pilot p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.lead-pilot {
  max-width: 680px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(35, 49, 43, 0.06);
}

.lead-pilot strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.lead-pilot p {
  max-width: none;
}

.lead-pilot ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.42;
}

.test-privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.64fr);
  gap: 34px;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 52px;
}

.test-privacy h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.test-privacy__copy p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 18px;
}

.test-privacy blockquote {
  position: relative;
  margin: 0;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: #eef3ee;
  box-shadow: 0 18px 48px rgba(35, 49, 43, 0.1);
}

.test-privacy blockquote::before {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  content: "Сообщение близкому";
}

.test-privacy blockquote::after {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: #8b9992;
  font-size: 12px;
  font-weight: 800;
  content: "09:20";
}

.test-privacy blockquote p {
  position: relative;
  color: var(--ink);
  border-radius: 18px 18px 18px 6px;
  margin: 0;
  padding: 18px 18px 28px;
  background: #fff;
  font-size: 20px;
  line-height: 1.45;
  box-shadow: 0 10px 26px rgba(35, 49, 43, 0.08);
}

.test-privacy blockquote p::before {
  position: absolute;
  left: -7px;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.test-price__grid,
.test-limits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.test-price__grid article {
  display: grid;
  gap: 12px;
  min-height: 210px;
  align-content: start;
  padding: 26px;
}

.test-price__grid strong {
  color: var(--green-dark);
  font-size: 34px;
}

.test-price__note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.test-limits {
  padding-top: 40px;
}

.test-limits__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.test-limits__grid article {
  padding: 28px;
}

.test-limits ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 58px;
  }

  .feature-grid,
  .steps,
  .benefit-list,
  .quiz-band,
  .kit,
  .lead-section,
  .test-product__grid,
  .test-privacy,
  .test-reliability__grid {
    grid-template-columns: 1fr;
  }

  .test-check-grid,
  .test-price__grid,
  .test-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-band {
    padding: 82px 20px;
  }
}

@media (max-width: 767px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    border-radius: 12px;
  }

  .brand__text {
    display: none;
  }

  .button--small {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 720px;
    padding: 104px 16px 38px;
  }

  .hero__image {
    object-position: 66% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(16, 28, 24, 0.18) 0%, rgba(16, 28, 24, 0.84) 55%, rgba(16, 28, 24, 0.94) 100%),
      linear-gradient(90deg, rgba(16, 28, 24, 0.5), rgba(16, 28, 24, 0.08));
  }

  .hero h1 {
    font-size: 40px;
  }

  .test-hero {
    min-height: 780px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    margin-top: 28px;
  }

  .section {
    padding: 74px 16px;
  }

  .section__heading h2,
  .quiz-band h2,
  .lead-section h2,
  .kit h2,
  .test-privacy h2 {
    font-size: 34px;
  }

  .section__heading p:not(.eyebrow),
  .quiz-band p,
  .lead-section p,
  .kit p {
    font-size: 16px;
  }

  .feature,
  .step,
  .benefit-list article {
    min-height: auto;
    padding: 22px;
  }

  .scenarios {
    padding: 74px 0;
  }

  .section__heading--wide {
    padding: 0 16px;
  }

  .scenario-track {
    width: 100%;
    padding: 0 16px 8px;
  }

  .scenario {
    min-width: min(320px, calc(100vw - 32px));
    min-height: 500px;
  }

  .test-kit-preview {
    min-height: 380px;
  }

  .test-check-grid,
  .test-kit-list,
  .test-proof__grid,
  .test-price__grid,
  .test-limits__grid,
  .test-process__grid {
    grid-template-columns: 1fr;
  }

  .test-reliability__grid article {
    min-height: auto;
  }

  .test-process__grid article {
    min-height: auto;
  }

  .test-check-grid p {
    min-height: auto;
  }

  .test-privacy blockquote p {
    font-size: 18px;
  }

  .quiz-band {
    padding: 74px 16px;
  }

  .quiz-card {
    min-height: 360px;
  }

  .kit__box {
    min-height: 360px;
  }

  .device--hub {
    right: 46px;
    top: 52px;
  }

  .device--plug {
    right: 146px;
    top: 196px;
  }

  .device--sensor {
    right: 24px;
    top: 232px;
  }

  .lead-section {
    margin-bottom: 54px;
    padding: 44px 16px;
  }

  .lead-form {
    padding: 18px;
  }

  .contact-switch--channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    display: grid;
    padding: 28px 16px 38px;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .button--small {
    padding: 0 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1;
  }

  .section__heading h2,
  .quiz-band h2,
  .lead-section h2,
  .kit h2,
  .test-privacy h2 {
    font-size: 30px;
  }

  .test-phone-card,
  .test-kit-list article,
  .test-limits__grid article,
  .lead-form {
    padding: 20px;
  }
}
