* {
  box-sizing: border-box;
}

:root {
  font-family: Inter, Arial, sans-serif;
  color: #111;
  background: #f6f6f4;
}

body {
  margin: 0;
  min-height: 100vh;
}

.app {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 24px 22px 60px;
}

/* HEADER */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand {
  font-size: 11px;
}

.progress {
  height: 3px;
  background: #ddd;
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  width: 10%;
  background: #111;
  transition: width .25s ease;
}

/* PERGUNTA */

.question-view {
  padding: 14vh 0 0;
  min-height: 70vh;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 18px;
  color: #666;
}

h1 {
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 34px;
  max-width: 680px;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 9px;
  cursor: pointer;
  font-size: 16px;
  transition: .15s;
}

.option:hover {
  border-color: #111;
}

.option.selected {
  border-color: #111;
  background: #111;
  color: #fff;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* BOTÕES */

.actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
}

button {
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

button.secondary {
  background: transparent;
  color: #111;
  border: 1px solid #ccc;
}

.status {
  min-height: 20px;
  color: #666;
  font-size: 13px;
  margin-top: 16px;
}

/* RESULTADO */

.result {
  padding: 15vh 0;
}

.result h1 {
  margin-bottom: 18px;
}

.result p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 620px;
}

.score {
  margin: 30px 0;
  padding: 24px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: max-content;
}

.score span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.score strong {
  font-size: 38px;
}

.score small {
  font-size: 14px;
}

.hidden {
  display: none;
}

/* MOBILE */

@media (max-width: 600px) {

  .app {
    padding: 18px 16px 40px;
  }

  .question-view {
    padding-top: 9vh;
  }

  h1 {
    font-size: 34px;
    margin-bottom: 26px;
  }

  .option {
    padding: 16px;
  }

  .actions button {
    flex: 1;
  }

}