:root {
  --blue-900: #1d4f91;
  --blue-700: #2f6dc2;
  --blue-500: #3d7bd4;
  --blue-100: #eff5ff;
  --text-main: #1f2a37;
  --text-muted: #667085;
  --border-soft: #e4e9f3;
  --shadow-card: 0 14px 28px rgba(24, 55, 106, 0.12);
  --shadow-pill: 0 8px 18px rgba(24, 55, 106, 0.12);
  --radius-card: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 100% - 48px);
  margin: 0 auto;
}

.site-header {
  padding: 22px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--blue-900);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--blue-700);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 999px;
  border: 2px solid var(--blue-900);
  background: #ffffff;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--blue-900);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(29, 79, 145, 0.2);
}

.btn-solid {
  background: var(--blue-900);
  color: #ffffff;
}

.btn-solid:hover {
  background: #18427a;
}

.hero {
  padding: 80px 0 36px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-900);
}

.hero-subtitle {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--blue-700);
}

.hero-cta {
  margin-top: 18px;
}

.hero-description {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--text-muted);
}

.section {
  padding: 26px 0 40px;
}

.section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-900);
}

.audience-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.audience-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-main);
}

.audience-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 22px 22px 20px;
  border: 1px solid #edf1f8;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.step-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-900);
}

.step-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.step-card--cta {
  justify-content: space-between;
}

.form-page {
  padding-bottom: 60px;
}

.form-hero {
  padding: 40px 0 24px;
  text-align: center;
}

.form-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--blue-900);
}

.form-hero p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-shell {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #eef2f8;
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-block {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 24px 24px;
  margin: 0;
}

.form-block legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-900);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.field:first-of-type {
  margin-top: 0;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.field-label-with-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 14px;
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"] {
  border-radius: 10px;
  border: 1px solid #d6dde8;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  background-color: #ffffff;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 220px;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 2px rgba(61, 123, 212, 0.18);
}

textarea::placeholder,
input::placeholder {
  color: #98a2b3;
}

.options {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
}

.options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e4e9f3;
  background: #f9fbff;
  font-size: 12.5px;
  cursor: pointer;
}

.options input[type="radio"],
.options input[type="checkbox"] {
  accent-color: var(--blue-700);
}

.option-with-input {
  gap: 8px;
}

.option-with-input .option-text {
  border: none;
  padding: 4px 8px;
  background: transparent;
  font-size: 12px;
  min-width: 90px;
}

.option-with-input .option-text:focus {
  outline: none;
}

input[type="range"] {
  width: 100%;
  margin-top: 6px;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.form-hint {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

.form-status {
  min-height: 18px;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  color: #14532d;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.form-status--error {
  color: #b42318;
  background: #fef2f2;
  border-color: #fecaca;
}

@media (max-width: 960px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    padding: 60px 0 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.site-footer {
  padding: 28px 0 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--blue-700);
  font-weight: 600;
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .header-left {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-name {
    display: none;
  }

  .nav-links {
    margin-left: auto;
  }

  .header-actions {
    align-self: flex-start;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .options {
    flex-direction: column;
    align-items: stretch;
  }

  .options label {
    width: 100%;
    justify-content: flex-start;
  }

  .option-with-input {
    flex-wrap: wrap;
  }

  .option-with-input .option-text {
    flex: 1 1 100%;
    min-width: 0;
  }

}
