:root {
  --purple: #6d3aa8;
  --purple-dark: #4d247d;
  --purple-soft: #f3edf9;
  --green: #6f9f71;
  --green-dark: #426b47;
  --ink: #26222b;
  --muted: #6c6572;
  --line: #ded7e5;
  --white: #ffffff;
  --bg: #fbfafc;
  --danger: #9f2f2f;
  --success: #2f7041;
  --shadow: 0 14px 40px rgba(61, 36, 86, 0.11);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}
.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 76px 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(111,159,113,.18), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(109,58,168,.17), transparent 34%),
    linear-gradient(180deg, #fff, #f7f2fb);
}

.hero__content {
  width: min(900px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  color: var(--purple-dark);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--purple-dark);
}

h3 {
  color: var(--purple-dark);
}

.hero__lead {
  max-width: 720px;
  margin: 24px auto;
  font-size: 1.16rem;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 30px auto;
}

.facts div {
  padding: 18px;
  border: 1px solid rgba(109, 58, 168, 0.16);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}

.facts strong,
.facts span {
  display: block;
}

.facts span {
  color: var(--muted);
}

.section {
  padding: 82px 24px;
}

.section--muted {
  background: var(--purple-soft);
}

.section__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(900px, 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.form-section,
.consent-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
}

.consent-box {
  margin-top: 26px;
  padding: 24px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-row input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 10px 24px rgba(77, 36, 125, .24);
}

.button--secondary {
  color: var(--purple-dark);
  background: var(--purple-soft);
  border: 1px solid rgba(109,58,168,.25);
}

.button--full {
  width: 100%;
  margin-top: 18px;
}

.consent-box .button {
  margin-top: 18px;
}

.survey-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.progress {
  width: min(240px, 100%);
  color: var(--muted);
  font-size: .9rem;
}

.progress__bar {
  height: 9px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ded5e8;
}

.progress__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transition: width .25s ease;
}

.form-section {
  margin: 0 0 22px;
  padding: 28px;
}

.form-section legend {
  padding: 0 8px;
  color: var(--purple-dark);
  font-size: 1.3rem;
  font-weight: 800;
}

.section-help {
  margin-top: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: block;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid #cfc5d9;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(109,58,168,.15);
  border-color: var(--purple);
}

textarea {
  resize: vertical;
}

.likert-head,
.likert-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(5, 54px);
  align-items: center;
  gap: 8px;
}

.likert-head {
  padding: 8px 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.likert-row {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.likert-row p {
  margin: 0;
  padding-right: 12px;
}

.likert-options {
  display: contents;
}

.likert-options label {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.likert-options input {
  position: absolute;
  opacity: 0;
}

.likert-options span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cfc5d9;
  border-radius: 50%;
  background: var(--white);
  transition: .18s ease;
}

.likert-options input:checked + span {
  color: var(--white);
  border-color: var(--purple);
  background: var(--purple);
}

.likert-options input:focus-visible + span {
  outline: 3px solid rgba(109,58,168,.22);
}

.question-block {
  margin-bottom: 22px;
}

.question-title {
  font-weight: 800;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checks-grid .check-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfbfd;
  font-weight: 600;
}

.form-message {
  display: none;
  padding: 14px;
  border-radius: 12px;
}

.form-message.is-error {
  display: block;
  color: var(--danger);
  background: #fff1f1;
  border: 1px solid #f0bcbc;
}

.form-message.is-success {
  display: block;
  color: var(--success);
  background: #effaf2;
  border: 1px solid #b9dfc2;
}

.thank-you {
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 2.3rem;
  font-weight: 900;
}

footer {
  padding: 38px 24px;
  color: #eee7f4;
  background: var(--purple-dark);
  text-align: center;
}

footer p {
  margin: 5px auto;
}

.footer-note {
  max-width: 740px;
  font-size: .86rem;
  opacity: .82;
}

.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .facts,
  .info-grid,
  .form-grid,
  .checks-grid {
    grid-template-columns: 1fr;
  }

  .survey-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .progress {
    width: 100%;
  }

  .likert-head {
    display: none;
  }

  .likert-row {
    display: block;
  }

  .likert-row p {
    margin-bottom: 12px;
  }

  .likert-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .likert-options span {
    width: 100%;
    border-radius: 10px;
  }

  .section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-section {
    padding: 22px 16px;
  }
}


.contact-box {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(109, 58, 168, 0.25);
  border-radius: 16px;
  background: var(--purple-soft);
}

.contact-box .question-title {
  margin-top: 0;
  color: var(--purple-dark);
}

.contact-consent {
  margin-top: 18px;
}

.inline-error {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--danger);
  font-weight: 700;
}
