/* ──────────────────────────────────────────────
   Find Your Routine quiz (BLUEPRINT §6)
   ────────────────────────────────────────────── */

/* Shared utilities (template loads without home.css) */
.sej { background: var(--sej-parchment); color: var(--sej-ink); }
.sej-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.sej-eyebrow {
  font-family: var(--sej-font-body); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 700; color: var(--sej-gold-600); margin: 0 0 .6rem;
}
.sej-card__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--sej-gold-600); }

.sej-quiz-page { padding: clamp(40px,6vw,80px) 0 clamp(56px,8vw,96px); }

.sej-quiz__intro { text-align: center; margin-bottom: clamp(28px,4vw,44px); }
.sej-quiz__intro h1 {
  font-family: var(--sej-font-display); font-weight: 600;
  font-size: clamp(2rem,4.4vw,3.2rem); line-height: 1.06; color: var(--sej-green); margin: 0 0 .8rem;
}
.sej-quiz__lede { color: #5b5343; line-height: 1.6; font-size: 1.06rem; max-width: 34em; margin: 0 auto; }

/* Card */
.sej-quiz__card {
  background: var(--sej-cream); border: 1px solid var(--sej-line); border-radius: 22px;
  padding: clamp(28px,4vw,44px); box-shadow: var(--sej-shadow);
}

/* Progress */
.sej-quiz__bar { height: 6px; border-radius: 999px; background: var(--sej-sage-200); overflow: hidden; }
.sej-quiz__bar span { display: block; height: 100%; background: var(--sej-gold); border-radius: 999px; transition: width .4s var(--sej-ease); }
.sej-quiz__count { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--sej-sage); margin: 10px 0 0; text-transform: uppercase; }

.sej-quiz__q { font-family: var(--sej-font-display); font-size: clamp(1.5rem,3vw,2rem); color: var(--sej-green); margin: 18px 0 22px; line-height: 1.18; }

/* Options */
.sej-quiz__opts { display: grid; gap: 12px; }
.sej-quiz__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  text-align: left; width: 100%; cursor: pointer;
  font-family: var(--sej-font-body); font-weight: 600; font-size: 1.02rem; color: var(--sej-ink);
  background: var(--sej-parchment); border: 1.5px solid var(--sej-line); border-radius: 12px;
  padding: 16px 20px; transition: all .2s var(--sej-ease);
}
.sej-quiz__opt span { color: var(--sej-gold-600); font-weight: 800; transition: transform .2s var(--sej-ease); }
.sej-quiz__opt:hover {
  border-color: var(--sej-gold); background: #fff; transform: translateY(-2px);
  box-shadow: var(--sej-shadow);
}
.sej-quiz__opt:hover span { transform: translateX(4px); }

.sej-quiz__back {
  margin-top: 18px; background: none; border: 0; cursor: pointer;
  font-family: var(--sej-font-body); font-weight: 700; font-size: .9rem; color: var(--sej-sage);
}
.sej-quiz__back:hover { color: var(--sej-green); }

/* Result */
.sej-quiz__result { text-align: center; }
.sej-quiz__check {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--sej-green); color: var(--sej-gold); font-size: 1.6rem; font-weight: 800; margin-bottom: 14px;
}
.sej-quiz__tip { color: #5b5343; line-height: 1.6; max-width: 32em; margin: 0 auto 24px; }

.sej-quiz__reco {
  display: flex; gap: 20px; align-items: center; text-align: left;
  background: var(--sej-parchment); border: 1px solid var(--sej-line); border-radius: 16px;
  padding: 16px; text-decoration: none; color: var(--sej-ink); max-width: 460px; margin: 0 auto 18px;
  transition: transform .3s var(--sej-ease), box-shadow .3s var(--sej-ease);
}
.sej-quiz__reco:hover { transform: translateY(-3px); box-shadow: var(--sej-shadow-lg); }
.sej-quiz__reco-media { flex: none; width: 104px; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg,#fbf8f1,#eadfca); }
.sej-quiz__reco-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sej-quiz__reco-body { display: flex; flex-direction: column; gap: 5px; }
.sej-quiz__reco-title { font-family: var(--sej-font-display); font-size: 1.25rem; color: var(--sej-green); line-height: 1.15; }
.sej-quiz__reco-price { font-weight: 800; }
.sej-quiz__reco-price .amount { color: var(--sej-green-700); }
.sej-quiz__reco-body .sej-btn { margin-top: 6px; align-self: flex-start; padding: .5rem 1rem; font-size: .85rem; }

.sej-quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.sej-quiz__restart {
  display: inline-block; margin-top: 22px; background: none; border: 0; cursor: pointer;
  font-family: var(--sej-font-body); font-weight: 700; font-size: .88rem; color: var(--sej-sage);
}
.sej-quiz__restart:hover { color: var(--sej-green); }

@media (max-width: 520px) {
  .sej-quiz__reco { flex-direction: column; text-align: center; }
  .sej-quiz__reco-body { align-items: center; }
  .sej-quiz__reco-body .sej-btn { align-self: center; }
  .sej-quiz__actions .sej-btn { width: 100%; }
}
