:root {
  --blue: #1769ff;
  --blue-dark: #0c4fd8;
  --navy: #061433;
  --muted: #5d6880;
  --line: #d9e3f4;
  --soft: #f4f8ff;
  --sky: #eaf5ff;
  --white: #ffffff;
  --success: #0a9f6a;
  --error: #b42318;
  --shadow: 0 24px 70px rgba(17, 57, 115, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: #fbfdff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

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

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

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px min(48px, 5vw);
  border-bottom: 1px solid rgba(217, 227, 244, 0.72);
  background: rgba(251, 253, 255, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 164px;
  max-height: 74px;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  width: 148px;
  max-height: 84px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #25314c;
  font-weight: 700;
  font-size: 15px;
}

.top-nav a:hover {
  color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  padding: 0 24px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  border: 1px solid var(--blue);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 28px rgba(23, 105, 255, 0.24);
}

.secondary-button {
  border: 1px solid #b9cdf2;
  color: var(--navy);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
  min-height: 690px;
  padding: 66px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-lede,
.problem-copy p,
.lead-preview p,
.contact-layout > div p,
.sound-band p {
  color: #25314c;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.trust-strip li {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(149, 181, 232, 0.82);
  border-radius: 18px;
  color: #25314c;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 16px 34px rgba(17, 57, 115, 0.08);
  font-weight: 800;
  text-align: right;
}

.trust-strip li:nth-child(odd) {
  transform: translateY(8px);
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(23, 105, 255, 0.22);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2476ff, #0c4fd8);
  box-shadow: 0 14px 24px rgba(23, 105, 255, 0.22);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip strong {
  display: block;
  min-width: 0;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

.trust-strip small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 205, 242, 0.82);
  border-radius: 28px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.call-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(5, 30, 71, 0.16);
  backdrop-filter: blur(16px);
}

.call-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #24304c;
  font-size: 14px;
  font-weight: 900;
}

.call-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(10, 159, 106, 0.12);
}

.call-bubble {
  max-width: 82%;
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  font-weight: 800;
}

.question {
  margin-left: auto;
  background: #eef4ff;
}

.answer {
  color: var(--white);
  background: var(--blue);
}

.sound-band,
.contact-band {
  padding: 72px 0;
  background: linear-gradient(180deg, #edf7ff, #f9fcff);
}

.two-column,
.lead-preview,
.contact-layout,
.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.audio-mock {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 580px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(17, 57, 115, 0.11);
}

.play-button {
  display: grid;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  cursor: pointer;
}

.play-button span {
  width: 0;
  height: 0;
  margin-right: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 16px solid var(--white);
}

.play-button.is-playing span {
  width: 18px;
  height: 20px;
  margin-right: 0;
  border-top: 0;
  border-bottom: 0;
  border-right: 6px solid var(--white);
  border-left: 6px solid var(--white);
}

.waveform {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.waveform i {
  display: block;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #8fb8f5;
}

.waveform i:nth-child(2n) {
  height: 34px;
}

.waveform i:nth-child(3n) {
  height: 16px;
}

.waveform.is-playing i {
  animation: pulse 0.8s ease-in-out infinite alternate;
}

.waveform.is-playing i:nth-child(2n) {
  animation-delay: 0.14s;
}

.waveform.is-playing i:nth-child(3n) {
  animation-delay: 0.26s;
}

@keyframes pulse {
  from {
    transform: scaleY(0.7);
  }
  to {
    transform: scaleY(1.2);
  }
}

.time-label {
  color: #30405f;
  font-weight: 800;
}

.audio-mock audio {
  display: none;
}

.transcript-box,
.telegram-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(17, 57, 115, 0.1);
}

.transcript-box {
  padding: 28px;
}

.transcript-box p {
  margin-bottom: 10px;
  color: #25314c;
}

.problem {
  padding: 78px 0;
}

.problem-photo {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(6, 20, 51, 0.08), rgba(23, 105, 255, 0.18)),
    url("assets/hero-homepilot.png") center / cover;
  box-shadow: var(--shadow);
}

.missed-card {
  position: absolute;
  right: 24px;
  min-width: 190px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  color: #25314c;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(5, 30, 71, 0.12);
  font-weight: 900;
}

.missed-card::before {
  content: "×";
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: #ef4444;
}

.missed-card.one {
  top: 42px;
}

.missed-card.two {
  top: 112px;
  right: 44px;
}

.missed-card.three {
  top: 182px;
}

.how-section {
  padding: 70px 0;
  text-align: center;
}

.center {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.steps article {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(17, 57, 115, 0.08);
}

.steps span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.lead-preview {
  padding: 74px 0;
}

.telegram-card {
  padding: 24px;
}

.telegram-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.telegram-head span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #24a1de;
}

.telegram-card p {
  margin-bottom: 5px;
  font-size: 18px;
}

.telegram-card ul {
  margin: 18px 0 0;
  padding-right: 20px;
  color: #25314c;
}

.contact-band {
  padding-bottom: 84px;
}

.fine-print,
.form-note {
  color: var(--muted);
  font-size: 15px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #25314c;
  font-weight: 900;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-label em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #cbd8ee;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: #f7fbff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.field-label em.required {
  border-color: rgba(23, 105, 255, 0.28);
  color: var(--blue-dark);
  background: #eef5ff;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8ee;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--navy);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(23, 105, 255, 0.16);
  border-color: var(--blue);
}

.honeypot {
  position: absolute;
  right: -9999px;
  opacity: 0;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-note.success {
  color: var(--success);
}

.form-note.error {
  color: var(--error);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px min(48px, 5vw);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  max-width: 720px;
}

.footer-links details {
  max-width: 330px;
  color: var(--muted);
}

.footer-links summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.footer-links p {
  margin: 10px 0 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .two-column,
  .lead-preview,
  .contact-layout,
  .problem {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual img {
    min-height: 420px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

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

  .problem-photo {
    min-height: 300px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding: 14px 12px;
  }

  .brand-logo {
    width: 132px;
    max-height: 62px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-strip li {
    display: flex;
    justify-items: stretch;
    min-height: auto;
    padding: 14px;
    font-size: 13px;
    line-height: 1.25;
    text-align: right;
    transform: none;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .feature-icon svg {
    width: 23px;
    height: 23px;
  }

  .trust-strip strong {
    font-size: 14px;
  }

  .trust-strip small {
    display: block;
    font-size: 11px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-lede,
  .problem-copy p,
  .lead-preview p,
  .contact-layout > div p,
  .sound-band p {
    font-size: 18px;
  }

  .audio-mock {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .waveform {
    min-width: calc(100% - 90px);
  }

  .time-label {
    width: 100%;
    text-align: center;
  }
}
