:root {
  --bg: #fff;
  --ink: #111315;
  --muted: #5e6670;
  --line: #dde2e8;
  --soft: #f5f7f8;
  --green: #0f6b4f;
  --green-dark: #0a4d38;
  --dark: #101214;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

.site-header {
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand,
.mail-link {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
}

.mail-link {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.screen {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  min-height: calc(100dvh - 58px);
  padding: clamp(22px, 4vw, 56px);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

.copy > p {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.55;
}

.score-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--soft);
}

.score-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.score-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.score-card ul {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pricing-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tool {
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
  background: var(--dark);
}

h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.tool > p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

input {
  height: 43px;
}

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

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.button:hover {
  background: var(--green-dark);
}

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

.form-result {
  min-height: 20px;
  margin: 0;
  color: #b8f3d6;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    height: 48px;
    padding: 0 12px;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .mail-link {
    min-height: 30px;
    padding: 0 9px;
    font-size: 12px;
  }

  .screen {
    display: flex;
    min-height: calc(100dvh - 48px);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 12px;
  }

  h1 {
    margin-bottom: 8px;
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.08;
  }

  .copy > p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.48;
  }

  .score-card {
    display: none;
  }

  .pricing-row {
    gap: 6px;
    margin-top: 0;
  }

  .pricing-row span {
    padding: 7px 8px;
    font-size: 12px;
  }

  .tool {
    width: 100%;
    padding: 14px;
  }

  h2 {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .tool > p {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .lead-form {
    gap: 8px;
  }

  .lead-form label {
    gap: 5px;
    font-size: 12px;
  }

  input {
    height: 38px;
  }

  input,
  textarea {
    padding: 9px 10px;
    font-size: 13px;
  }

  textarea {
    min-height: 58px;
  }

  .button {
    min-height: 38px;
  }
}

@media (max-height: 760px) and (max-width: 860px) {
  .screen {
    justify-content: flex-start;
  }

  h1 {
    font-size: 28px;
  }

  .copy > p {
    display: none;
  }

  .pricing-row {
    display: none;
  }
}
