:root {
  --page-bg: linear-gradient(180deg, #eff7f7 0%, #fbfcf8 54%, #f2f7fb 100%);
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-border: rgba(16, 77, 106, 0.12);
  --text-strong: #4D4D4D;
  --text-main: #2b4654;
  --text-soft: #00A99D;
  --accent: #0e8f8d;
  --accent-strong: #00A99D;
  --highlight: #f3b64f;
  --error: #b53a3a;
  --shadow-lg: 0 24px 60px rgba(17, 59, 82, 0.12);
  --shadow-md: 0 12px 32px rgba(17, 59, 82, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-main);
}

body::before {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(14, 143, 141, 0.13), transparent 32%),
    radial-gradient(circle at top right, rgba(243, 182, 79, 0.18), transparent 24%),
    radial-gradient(circle at bottom center, rgba(13, 111, 130, 0.12), transparent 28%);
  content: "";
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero,
.panel {
  backdrop-filter: blur(14px);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero {
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: 36px;
}

.eyebrow,
.section-heading__eyebrow,
.success-card__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.panel h2,
.success-card h2 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.08;
}

.hero h1 {
  
  font-size: clamp(2.3rem, 5vw, 4.35rem);
}

.hero__lead,
.success-card p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}


.support-copy {
  color: var(--text-strong);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero__lead {
  max-width: 56ch;
  margin: 18px 0 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 59, 82, 0.08);
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 280px;
  border-radius: calc(var(--radius-xl) - 4px);
  background: linear-gradient(135deg, #F6C635 0%, #F1C865 18%, #EBC990 40%, #DFCBB2 68%, #cae8e3 95%);
  overflow: hidden;
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.hero__visual::before {
  inset: 16% auto auto -10%;
  width: 220px;
  height: 220px;
  background: rgba(243, 182, 79, 0.16);
}

.hero__visual::after {
  inset: auto -4% -12% auto;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__card {
  position: absolute;
  width: min(260px, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  color: #4D4D4D;
  box-shadow: var(--shadow-md);
}

.hero__card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero__card strong {
  display: block;
  line-height: 1.45;
  font-size: 1.05rem;
}

.hero__card--primary { inset: 22px auto auto 22px; }
.hero__card--secondary { inset: auto 22px 22px auto; }

.panel { margin-top: 24px; padding: 28px; }
.panel--intro { padding-top: 18px; padding-bottom: 18px; }
.support-copy, .form-footer__note, .submit-status { margin: 0; }

.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

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

.field, .question-block { margin: 0 0 26px; }

.field label,
.question-block legend {
  display: block;
  margin-bottom: 10px;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.question-block { padding: 0; border: 0; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(17, 59, 82, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(14, 143, 141, 0.64);
  box-shadow: 0 0 0 4px rgba(14, 143, 141, 0.14);
  outline: none;
}

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

.rating-grid,
.choice-grid {
  display: grid;
  gap: 12px;
}

.rating-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rating-card,
.choice-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 12px;
  border: 1px solid rgba(17, 59, 82, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rating-card:hover,
.choice-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 143, 141, 0.38);
  box-shadow: var(--shadow-md);
}

.rating-card input,
.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-card { flex-direction: column; }
.rating-card--utility { min-height: 78px; }

.rating-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 59, 82, 0.08);
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 800;
}

.rating-card__label {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.rating-card:has(input:checked),
.choice-pill:has(input:checked) {
  border-color: rgba(14, 143, 141, 0.72);
  background: linear-gradient(180deg, rgba(217, 243, 239, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 30px rgba(14, 143, 141, 0.16);
}

.rating-card:has(input:checked) .rating-card__number {
  background: var(--accent);
  color: white;
}

.choice-pill span {
  color: var(--text-strong);
  font-weight: 800;
}

.utility-scale__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.field__error {
  min-height: 1.1rem;
  margin: 8px 0 0;
  color: var(--error);
  font-size: 0.92rem;
  font-weight: 600;
}

.field--invalid input,
.field--invalid textarea,
.question-block--invalid .rating-card,
.question-block--invalid .choice-pill {
  border-color: rgba(181, 58, 58, 0.46);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.submit-status {
  flex: 1 1 220px;
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 700;
}

.submit-button,
.secondary-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.submit-button {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 18px 34px rgba(13, 111, 130, 0.24);
  cursor: pointer;
}

.submit-button:hover:not(:disabled),
.secondary-button:hover,
.primary-link:hover {
  transform: translateY(-2px);
}

.submit-button:disabled { opacity: 0.68; cursor: wait; }
.panel--success { text-align: center; }
.success-card { width: min(620px, 100%); margin: 0 auto; }

.success-card__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.secondary-button {
  background: rgba(17, 59, 82, 0.08);
  color: var(--text-strong);
}

.primary-link {
  background: linear-gradient(135deg, var(--highlight), #f4cf77);
  color: var(--text-strong);
}

.primary-link:visited {
  color: var(--text-strong);
}


@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { min-height: 240px; }
  .field-grid,
  .rating-grid,
  .choice-grid { grid-template-columns: 1fr; }
  .rating-card,
  .choice-pill { min-height: 72px; }
  .form-footer { align-items: stretch; }
  .submit-button { width: 100%; margin-left: 0; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 20px, 100%); padding-top: 16px; padding-bottom: 32px; }
  .hero,
  .panel { border-radius: 24px; padding: 22px; }
  .hero h1 { max-width: 100%; font-size: 2.4rem; }
  .hero__visual { min-height: 200px; }
  .hero__card { width: calc(100% - 28px); padding: 16px; }
  .hero__card--primary { inset: 14px auto auto 14px; }
  .hero__card--secondary { inset: auto 14px 14px auto; }
}
