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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff8df;
}

button,
select,
input {
  font: inherit;
}

main {
  overflow: hidden;
}

.product-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 44px;
  padding: 64px max(24px, calc((100vw - 1180px) / 2));
  background: #0f5364;
  color: #fff8df;
}

.product-hero::before,
.product-hero::after {
  content: "";
  position: absolute;
  left: -4vw;
  right: -4vw;
  pointer-events: none;
  transform: rotate(-2.4deg);
  transform-origin: left center;
}

.product-hero::before {
  top: 0;
  height: 86px;
  background: #25c76b;
}

.product-hero::after {
  top: 70px;
  height: 72px;
  background: #efdb52;
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
  font-weight: 950;
}

h2 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 950;
}

.lede {
  margin: 24px 0 0;
  font-size: 26px;
  line-height: 1.28;
  font-weight: 900;
}

.sublede,
.privacy-note,
.progress-copy,
.mode-showcase-card p,
.steps-grid p,
.privacy-band p {
  font-size: 17px;
  line-height: 1.68;
}

.sublede {
  margin: 16px 0 0;
}

.privacy-note {
  margin: 18px 0 0;
  color: rgba(255, 248, 223, 0.82);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #102832;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
}

.primary-action {
  background: #ff704f;
  color: #ffffff;
  box-shadow: 0 6px 0 #102832;
}

.secondary-action {
  background: #fff8df;
  color: #142932;
  box-shadow: 0 4px 0 #102832;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.hero-stage {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}

.wordy-mascot {
  width: 118px;
  height: 118px;
  object-fit: contain;
  align-self: start;
  filter: drop-shadow(0 10px 0 rgba(16, 40, 50, 0.24));
}

.gameplay-preview {
  border: 4px solid #f7ad35;
  border-radius: 8px;
  background: #164f60;
  padding: 18px;
  box-shadow: 0 14px 0 rgba(16, 40, 50, 0.34);
}

.preview-hud {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff8df;
  font-size: 14px;
  font-weight: 900;
}

.preview-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #245d6a;
}

.preview-board span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff0ad;
  color: #142932;
  font-size: 31px;
  font-weight: 950;
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.35), 0 4px 0 rgba(16, 40, 50, 0.22);
}

.preview-board span:nth-child(3),
.preview-board span:nth-child(8),
.preview-board span:nth-child(13),
.preview-board span:nth-child(18) {
  background: #ffcf5a;
  outline: 3px solid #ff704f;
}

.wordy-bubble {
  margin: 16px 0 0;
  border: 2px solid #102832;
  border-radius: 8px;
  background: #fff8df;
  color: #142932;
  padding: 12px 14px;
  font-weight: 850;
}

.progress-band,
.survey-band,
.privacy-band,
.steps-band,
.mode-showcase-band {
  padding: 56px max(24px, calc((100vw - 1180px) / 2));
}

.steps-band {
  background: #fff8df;
}

.mode-showcase-band {
  background: #f9e88e;
}

.progress-band {
  background: #142932;
  color: #fff8df;
}

.survey-band {
  background: #ffffff;
}

.privacy-band {
  background: #d9f6e7;
}

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

.section-inner.compact {
  max-width: 960px;
}

.steps-grid,
.mode-showcase-grid,
.progress-grid {
  display: grid;
  gap: 14px;
}

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

.mode-showcase-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps-grid article,
.mode-showcase-card,
.progress-card {
  border: 2px solid #102832;
  border-radius: 8px;
  background: #fff8df;
  color: #142932;
  padding: 16px;
  box-shadow: 0 5px 0 #102832;
}

.steps-grid strong,
.mode-showcase-card span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  background: #ff704f;
  color: #ffffff;
  font-weight: 950;
}

.steps-grid h3,
.mode-showcase-card h3,
.progress-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.steps-grid p,
.mode-showcase-card p,
.progress-card p,
.progress-copy {
  margin: 0;
}

.mode-showcase-card:nth-child(2n) span {
  background: #20a97a;
}

.mode-showcase-card:nth-child(3n) span {
  background: #356eca;
}

.progress-copy {
  margin-bottom: 24px;
}

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

.progress-card {
  min-height: 176px;
}

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

.progress-stat {
  min-height: 58px;
  border: 1px solid #102832;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
}

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

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

.latest-feedback {
  margin: 4px 0 10px;
  color: #0f5364;
  font-weight: 900;
}

.progress-card .secondary-action {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  box-shadow: 0 3px 0 #102832;
}

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

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

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

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

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: 900;
}

select {
  width: min(100%, 420px);
  min-height: 44px;
  border: 2px solid #102832;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 10px;
}

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

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

.advanced-export p {
  margin: 0;
}

@media (max-width: 980px) {
  .product-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 88px;
  }

  .hero-stage {
    max-width: 640px;
  }

  .mode-showcase-grid,
  .progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 22px;
  }

  .product-hero {
    padding: 72px 18px 40px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .wordy-mascot {
    width: 92px;
    height: 92px;
  }

  .preview-board {
    gap: 7px;
    padding: 8px;
  }

  .preview-board span {
    font-size: 22px;
  }

  .progress-band,
  .survey-band,
  .privacy-band,
  .steps-band,
  .mode-showcase-band {
    padding: 42px 18px;
  }

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