:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f3;
  color: #171a1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
select,
input {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 72px clamp(24px, 8vw, 112px);
  background: #f7f7f3;
}

.letter-scene {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  grid-auto-rows: minmax(58px, 1fr);
  gap: clamp(10px, 2vw, 28px);
  opacity: 0.28;
  transform: rotate(-8deg) scale(1.08);
  pointer-events: none;
}

.letter-scene span {
  display: grid;
  place-items: center;
  border: 2px solid #171a1f;
  background: #ffcf5a;
  color: #171a1f;
  font-size: clamp(32px, 8vw, 96px);
  font-weight: 900;
  aspect-ratio: 1;
}

.letter-scene span:nth-child(3n) {
  background: #58c7b0;
}

.letter-scene span:nth-child(4n) {
  background: #ff7d6e;
}

.hero-copy {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  max-width: 760px;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  margin: 28px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.22;
  font-weight: 800;
}

.sublede {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #171a1f;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.primary-action {
  background: #171a1f;
  color: #ffffff;
}

.secondary-action {
  background: #ffffff;
  color: #171a1f;
}

.progress-band,
.survey-band,
.privacy-band {
  padding: 56px clamp(24px, 8vw, 112px);
}

.progress-band {
  background: #171a1f;
  color: #ffffff;
}

.survey-band {
  background: #ffffff;
}

.privacy-band {
  background: #dff4ec;
}

.section-inner {
  max-width: 920px;
}

.progress-copy {
  margin: 0 0 24px;
  line-height: 1.7;
}

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

.progress-card {
  display: grid;
  gap: 10px;
  min-height: 156px;
  border: 2px solid #ffffff;
  padding: 16px;
  background: #ffffff;
  color: #171a1f;
}

.progress-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.progress-card p {
  margin: 0;
  line-height: 1.45;
}

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

.progress-stat {
  border: 1px solid #171a1f;
  padding: 8px;
  min-height: 62px;
}

.progress-stat span {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.progress-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.progress-card .secondary-action {
  width: fit-content;
}

form {
  display: grid;
  gap: 22px;
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 4px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  align-items: center;
  font-weight: 650;
}

label:has(input[type="radio"]),
label:has(input[type="checkbox"]) {
  grid-template-columns: 20px 1fr;
}

.checkbox-group {
  display: grid;
  gap: 10px;
}

.checkbox-group p {
  margin: 0;
  font-weight: 800;
}

select {
  width: min(100%, 360px);
  min-height: 44px;
  border: 2px solid #171a1f;
  background: #ffffff;
  padding: 0 10px;
}

.form-status {
  min-height: 28px;
  font-weight: 800;
}

.advanced-export {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid rgba(23, 26, 31, 0.28);
}

.advanced-export p {
  margin: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: 82vh;
    padding-block: 56px;
  }

  .letter-scene {
    inset: 10px;
    gap: 8px;
  }

  .progress-grid,
  .progress-stats {
    grid-template-columns: 1fr;
  }
}
