* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #0b1437;
  background: #ffffff;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.logo {
  width: 260px;
  height: 110px;
  object-fit: contain;
  object-position: left center;
}

.back {
  color: #0d2f9f;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 10px 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #5738f2;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: #4f5c83;
  font-size: 19px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.steps article {
  padding: 18px;
  border: 1px solid #e2e6ef;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 28px rgba(29, 39, 76, 0.05);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: white;
  background: #5738f2;
  font-weight: 800;
}

.steps h2 {
  margin: 0;
  font-size: 18px;
}

.steps p {
  margin: 10px 0 0;
  color: #4f5c83;
  line-height: 1.45;
  font-size: 15px;
}

.start-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #e2e6ef;
  border-radius: 14px;
  background: #f8f9ff;
}

.start-panel h2 {
  margin: 0;
  font-size: 24px;
}

.start-panel p {
  margin: 8px 0 0;
  color: #4f5c83;
}

button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: white;
  background: linear-gradient(135deg, #6b4dff 0%, #4026e8 100%);
  box-shadow: 0 12px 26px rgba(73, 47, 232, 0.16);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    width: 220px;
    height: 90px;
  }

  h1 {
    font-size: 34px;
  }

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


.open-answer-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.open-answer {
  width: min(820px, 100%);
  min-height: 64px;
  padding: 14px 16px;
  display: block;
  border: 1px solid #d6deec;
  border-radius: 12px;
  outline: none;
  background: #eef4ff;
  color: #07133a;
  font: inherit;
  font-size: 18px;
  line-height: 1.45;
  resize: vertical;
}

.open-answer:focus {
  border-color: #9db5ea;
  box-shadow: 0 0 0 4px rgba(6, 63, 186, 0.1);
}

.open-label {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #4f5d7a;
  font-size: 17px;
  font-weight: 800;
}

.question-points {
  color: #4f5d7a;
  font-size: 0.9em;
  font-weight: 700;
}

.hint {
  margin-top: 12px;
  color: #4f5d7a;
  font-size: 17px;
  font-weight: 800;
}
