:root {
  --blue: #2368ee;
  --blue-2: #0f5bff;
  --blue-soft: #eaf2ff;
  --ink: #111722;
  --muted: #5e6c84;
  --line: #d9e3f2;
  --card: #ffffff;
  --canvas: #f6f9ff;
  --danger: #ef4242;
  --orange: #f59e0b;
  --green: #16b36b;
  font-family: Inter, Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  background: #f6faff url("images/page-background.png") center top / cover fixed no-repeat;
  background-attachment: fixed;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 66px;
  padding: 10px clamp(18px, 4.5vw, 64px);
  background: rgba(248, 251, 255, .82);
  border-bottom: 1px solid rgba(217, 227, 242, .78);
  backdrop-filter: blur(18px);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-brand img {
  display: block;
  width: clamp(166px, 12vw, 210px);
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 28px);
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(35, 104, 238, .18);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mock-section {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: clamp(34px, 4vw, 58px) clamp(22px, 4.5vw, 64px);
  overflow: hidden;
  background: transparent;
}

.mock-section + .mock-section {
  border-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 20px;
  padding: 0 16px;
  color: var(--blue);
  background: rgba(226, 237, 255, .78);
  border: 1px solid #c9dcff;
  border-radius: 999px;
  font-size: clamp(14px, .95vw, 16px);
  font-weight: 900;
}

h1, h2 {
  max-width: 860px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4.3vw, 64px);
  line-height: 1.15;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.16;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.5;
}

.lead.narrow {
  max-width: 880px;
  font-size: clamp(17px, 1.25vw, 21px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 11px;
  border: 2px solid transparent;
  font: inherit;
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 18px 36px rgba(35, 104, 238, .24);
}

.btn-secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, .72);
  border-color: var(--blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, .9fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.hero-screen {
  padding-top: clamp(42px, 5vw, 66px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.proof-image,
.crm-card,
.lead-form,
.audit-list,
.audit-steps article,
.mini-benefits article {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(41, 78, 126, .12);
}

.hero-image,
.proof-image {
  margin: 0;
  overflow: hidden;
}

.hero-image {
  align-self: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  filter: none;
}

.hero-image img {
  border: 0;
  border-radius: 0;
  clip-path: none;
  filter: drop-shadow(0 28px 44px rgba(30, 53, 92, .18));
}

.proof-image {
  width: min(1430px, 92vw);
  margin: 18px 0 0;
  background: #fff;
  border: 1px solid rgba(195, 212, 236, .82);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(41, 78, 126, .12);
}

.hero-image img,
.proof-image img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-insight {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1430px, 92vw);
  margin-top: 14px;
  padding: 11px 16px;
  color: var(--blue);
  background: rgba(232, 241, 255, .72);
  border: 1px solid rgba(164, 195, 240, .82);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(41, 78, 126, .08);
}

.proof-insight span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.proof-insight p {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.audit-list p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 0;
  color: #2d3748;
  font-size: 19px;
  line-height: 1.25;
}

.check-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: auto;
}

.problem-grid,
.offer-grid,
.form-grid {
  display: grid;
  align-items: start;
  gap: clamp(34px, 5vw, 64px);
}

.problem-grid {
  grid-template-columns: minmax(0, .98fr) minmax(460px, .76fr);
}

.crm-card {
  padding: 28px 34px;
  border-radius: 22px;
}

.crm-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.crm-card div {
  display: grid;
  grid-template-columns: 1fr 154px;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.crm-card div:first-of-type { border-top: 0; }

.crm-card b {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 14px;
  font-size: 18px;
}

.crm-card .ok { color: #10a65f; background: #dbf7e9; }
.crm-card .bad { color: #ef3333; background: #fde1e1; }
.crm-card .warn { color: #f08a00; background: #fcecd6; }

.loss-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.loss-cards article {
  min-height: 188px;
  padding: 22px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(41, 78, 126, .09);
}

.loss-cards h3 {
  margin-top: 24px;
  font-size: 22px;
}

.loss-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.alert {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--danger);
  background: #fde4e4;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 950;
}

.proof-screen .lead {
  margin-bottom: 20px;
}

.offer-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, .98fr) minmax(480px, .78fr);
}

.offer-grid > div:first-child {
  display: flex;
  flex-direction: column;
}

.offer-lead {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(17px, 1.25vw, 21px);
}

.audit-list {
  display: grid;
  align-content: center;
  flex: 1;
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
}

.audit-list p {
  margin: 0;
  padding: 8px 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.audit-steps {
  display: grid;
  gap: 16px;
}

.audit-steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 20px 24px;
  border-radius: 18px;
}

.audit-steps article > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-radius: 50%;
  font-size: 25px;
  font-weight: 500;
}

.audit-steps h3 {
  margin-bottom: 6px;
  font-size: 23px;
}

.audit-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.wide-btn {
  width: 100%;
}

.form-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, .88fr) minmax(570px, 1.02fr);
}

.form-intro h2 {
  font-size: clamp(34px, 3.6vw, 50px);
}

.form-intro {
  display: flex;
  flex-direction: column;
}

.mini-benefits {
  display: grid;
  gap: 10px;
  flex: 1;
  min-height: 0;
  width: min(100%, 760px);
  margin-top: 22px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.mini-benefits article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: center;
  min-height: 0;
  padding: 22px 24px;
  border-radius: 18px;
}

.mini-benefits .check-icon {
  width: 76px;
  height: 76px;
}

.mini-benefits b {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.mini-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 30px 34px 20px;
  border-radius: 24px;
}

.lead-form h2,
.lead-form > p {
  grid-column: 1 / -1;
}

.lead-form h2 {
  margin: 0 0 6px;
  font-size: 27px;
  line-height: 1.1;
}

.lead-form > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid #cfdbea;
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
}

input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

textarea {
  min-height: 66px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(35, 104, 238, .16);
  border-color: var(--blue);
}

select {
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5Z' fill='%235e6c84'/%3E%3C/svg%3E") calc(100% - 18px) 50% / 14px 9px no-repeat,
    rgba(255, 255, 255, .88);
  padding-right: 38px;
}

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

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.submit-row .btn {
  min-height: 48px;
  min-width: 220px;
  font-size: 16px;
}

.submit-row span {
  color: var(--muted);
  font-size: 15px;
}

.form-status {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

button:disabled {
  opacity: .68;
  cursor: wait;
}

@media (max-width: 1180px) {
  .hero-grid,
  .problem-grid,
  .offer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 1181px) and (max-height: 900px) {
  .mock-section {
    padding-top: clamp(26px, 3.4vw, 46px);
    padding-bottom: clamp(28px, 3.4vw, 48px);
  }

  .pill {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(40px, 4vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 3.3vw, 46px);
  }

  .lead {
    font-size: clamp(17px, 1.25vw, 21px);
  }

  .lead-form {
    gap: 8px 16px;
    padding: 24px 30px;
  }

  input,
  select,
  textarea {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  textarea {
    min-height: 54px;
  }

  .mini-benefits article {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .mini-benefits .check-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 760px) {
  .mock-section {
    min-height: auto;
    padding: 44px 18px 56px;
  }

  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .header-brand img { width: 210px; }

  .header-cta {
    width: 100%;
  }

  nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  nav a {
    white-space: nowrap;
    font-size: 14px;
  }

  .pill {
    min-height: 38px;
    margin-bottom: 24px;
    padding: 0 16px;
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 20px;
  }

  .actions,
  .submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 58px;
    font-size: 18px;
  }

  .loss-cards,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .crm-card {
    padding: 28px 20px;
  }

  .crm-card div {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .proof-image {
    width: 100%;
  }

  .proof-insight {
    width: 100%;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
  }

  .proof-insight span {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    margin-top: 1px;
    font-size: 14px;
  }

  .proof-insight p {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.28;
  }

  .audit-list {
    padding: 24px;
  }

  .audit-list p {
    font-size: 20px;
  }

  .audit-steps article {
    grid-template-columns: 56px 1fr;
    padding: 22px;
  }

  .audit-steps article > span {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .lead-form {
    padding: 28px 20px;
    border-radius: 24px;
  }
}
