:root {
  color-scheme: light;
  --green: #1877f2;
  --green-dark: #0b5ecf;
  --green-soft: #e8f1ff;
  --ink: #1d2430;
  --muted: #667085;
  --line: #dfe7ef;
  --page: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(39, 62, 88, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(24, 119, 242, 0.1), transparent 380px),
    var(--page);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  gap: 42px;
  align-items: center;
  min-height: 650px;
  padding: 8px 0 54px;
}

.eyebrow,
.step-label {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.primary-button {
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 28px rgba(24, 119, 242, 0.24);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease;
}

.reward-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 34px;
}

.reward-preview img,
.preview-cash {
  width: 100%;
  aspect-ratio: 1;
  border: 5px solid var(--white);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(39, 62, 88, 0.12);
}

.reward-preview img {
  object-fit: cover;
}

.preview-cash {
  display: grid;
  place-items: center;
  color: #14213d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(135deg, #f4d35e, #f7a072);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 950;
}

.prizes-panel,
.survey-panel,
.steps-section {
  border: 1px solid rgba(223, 231, 239, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.prizes-panel,
.steps-section {
  padding: 28px;
}

.section-head {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-copy {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.section-head h2,
.survey-panel h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.prize-card {
  min-height: 210px;
  display: grid;
  grid-template-rows: 150px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
}

.prize-card:hover {
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 18px 36px rgba(39, 62, 88, 0.12);
  transform: translateY(-2px);
}

.featured-prize {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(230px, 0.95fr);
  grid-template-rows: auto;
  min-height: 260px;
}

.prize-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef2f6;
}

.prize-card > div:not(.cash-visual) {
  padding: 18px;
}

.prize-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.1;
}

.prize-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.prize-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.cash-prize {
  background: linear-gradient(135deg, #14213d, #355070);
  color: var(--white);
}

.cash-prize p {
  color: rgba(255, 255, 255, 0.72);
}

.cash-visual {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: #14213d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(135deg, #f4d35e, #f7a072);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 950;
}

.survey-panel {
  padding: 26px;
}

.panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.progress-count {
  flex: 0 0 auto;
  min-width: 62px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #4d5b6b;
  background: #edf3f8;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef5;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #00a6ff);
  transition: width 240ms ease;
}

.question-area {
  padding-top: 24px;
}

.question-text {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.answers {
  display: grid;
  gap: 11px;
}

.answer-button,
.primary-button {
  width: 100%;
}

.answer-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(39, 62, 88, 0.04);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.answer-button::after {
  flex: 0 0 auto;
  content: ">";
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
}

.answer-button:hover {
  border-color: rgba(24, 119, 242, 0.66);
  box-shadow: 0 14px 24px rgba(39, 62, 88, 0.09);
  transform: translateY(-1px);
}

.primary-button:hover {
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(24, 119, 242, 0.3);
  transform: translateY(-1px);
}

.primary-button:active,
.answer-button:active {
  transform: translateY(1px);
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.result-list li {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.result-list li::before {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  content: "\2713";
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.steps-section {
  margin-top: 28px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.steps-grid h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 18px;
  }
}

@media (max-width: 680px) {
  main {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-text {
    font-size: 16px;
  }

  .reward-preview {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 24px;
  }

  .reward-preview img,
  .preview-cash {
    border-width: 3px;
    border-radius: 12px;
  }

  .section-head {
    display: block;
  }

  .prizes-panel,
  .survey-panel,
  .steps-section {
    padding: 20px;
    border-radius: 18px;
  }

  .prize-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .featured-prize {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .prize-card {
    grid-template-rows: 170px auto;
  }

  .steps-grid article {
    padding: 18px;
  }
}
