/* Free reading check — page-specific styles. Brand: navy #080E1A, gold #F5A623,
   parchment #FDF6E3 for the reading screen (same as the app). */

.rc { padding: 120px 16px 80px; min-height: 80vh; }
.rc [hidden] { display: none !important; }
.rc-screen { max-width: 720px; margin: 0 auto; position: relative; }

/* ---------- shared ---------- */
.rc-kicker {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #F5A623; margin-bottom: 12px;
}
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px;
  padding: 16px 32px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.rc-btn:active { transform: scale(0.97); }
.rc-btn--gold { background: #F5A623; color: #0B1426; box-shadow: 0 6px 24px rgba(245, 166, 35, 0.35); }
.rc-btn--gold:hover { background: #FFB840; }
.rc-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.rc-btn--ghost:hover { border-color: #F5A623; color: #F5A623; }
.rc-btn--small { font-size: 15px; padding: 12px 24px; }
.rc-fox { display: block; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)); }

/* ---------- 1. start ---------- */
.rc-start { text-align: center; }
.rc-start::before {
  content: ''; position: absolute; left: 50%; top: -40px; width: 520px; height: 520px;
  transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18) 0%, transparent 65%);
}
.rc-fox--hero { height: 300px; width: auto; margin: 0 auto 16px; animation: rc-bob 3.2s ease-in-out infinite; }
@keyframes rc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.rc-title {
  font-family: 'Outfit', sans-serif; font-weight: 800; color: #fff;
  font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin-bottom: 16px; text-wrap: balance;
}
.rc-title span { color: #F5A623; }
.rc-sub { font-family: 'Inter', sans-serif; font-size: 18px; color: #B4B4C6; line-height: 1.6; max-width: 520px; margin: 0 auto 36px; }
.rc-label { font-family: 'Outfit', sans-serif; font-weight: 600; color: #fff; font-size: 16px; margin-bottom: 14px; }
.rc-years { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 620px; margin: 0 auto 20px; }
.rc-year {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px; color: #fff;
  background: #121C33; border: 2px solid #2A3A5E; border-radius: 18px; padding: 22px 8px;
  cursor: pointer; transition: all 0.2s ease;
}
.rc-year:hover { border-color: #F5A623; color: #F5A623; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(245, 166, 35, 0.18); }
.rc-note { font-family: 'Inter', sans-serif; font-size: 14px; color: #7A7A8C; }

/* ---------- 2. reading ---------- */
.rc-paper {
  background: #FDF6E3; color: #2B2118; border-radius: 24px; padding: 28px 36px 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.rc-paper__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.rc-pill {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8A6A3A; background: #F2E6C8; padding: 6px 12px; border-radius: 999px;
}
.rc-size { display: flex; gap: 8px; }
.rc-size__btn {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; color: #5A4630;
  background: #F2E6C8; border: none; border-radius: 999px; width: 40px; height: 40px; cursor: pointer;
}
.rc-paper__type { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #A08A68; margin-bottom: 6px; }
.rc-paper__title { font-family: 'Lora', serif; font-weight: 600; font-size: 28px; color: #2B2118; margin-bottom: 20px; }
.rc-paper__text p { font-family: 'Lora', serif; font-size: var(--rc-font, 20px); line-height: 1.75; color: #2B2118; margin-bottom: 18px; }
.rc-done { display: flex; width: 100%; margin-top: 12px; }

/* ---------- 3. questions ---------- */
.rc-quiz__card { background: #121C33; border: 1px solid #2A3A5E; border-radius: 24px; padding: 28px; animation: rc-in 0.35s ease; }
@keyframes rc-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.rc-quiz__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rc-progress { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #F5A623; }
.rc-fox--mini { width: 56px; height: auto; }
.rc-quiz__q { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 24px; color: #fff; line-height: 1.3; margin-bottom: 22px; }
.rc-options { display: grid; gap: 12px; }
.rc-option {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  font-family: 'Inter', sans-serif; font-size: 17px; color: #fff; background: #0B1426;
  border: 2px solid #2A3A5E; border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: all 0.15s ease;
}
.rc-option b {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: #1E2A4A;
  display: grid; place-items: center; font-family: 'Outfit', sans-serif; color: #F5A623;
}
.rc-option:hover { border-color: #F5A623; }
.rc-option--picked { border-color: #F5A623; background: rgba(245, 166, 35, 0.12); }

/* ---------- 4. result ---------- */
.rc-result { animation: rc-pop 0.5s ease; }
@keyframes rc-pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rc-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.rc-result__head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.rc-fox--result { height: 150px; width: auto; flex: none; }
.rc-result__title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(26px, 4.5vw, 36px); color: #fff; line-height: 1.15; text-wrap: balance; }
.rc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.rc-stat { background: #121C33; border: 1px solid #2A3A5E; border-radius: 20px; padding: 22px; text-align: center; }
.rc-stat__num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 44px; color: #F5A623; line-height: 1.1; }
.rc-stat__num small { display: block; font-size: 13px; font-weight: 600; color: #7A7A8C; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.rc-stat__label { font-family: 'Inter', sans-serif; font-size: 14px; color: #B4B4C6; margin-top: 6px; }
.rc-stars { letter-spacing: 4px; }
.rc-stars .off { color: #2A3A5E; }

.rc-meter { background: #121C33; border: 1px solid #2A3A5E; border-radius: 20px; padding: 46px 22px 18px; margin-bottom: 22px; }
.rc-meter__bar { position: relative; display: flex; height: 16px; border-radius: 999px; overflow: visible; }
.rc-meter__zone { height: 100%; }
.rc-meter__zone--low { background: #3B4A6B; border-radius: 999px 0 0 999px; }
.rc-meter__zone--mid { background: linear-gradient(90deg, #E0951C, #F5A623); }
.rc-meter__zone--high { background: #6FCF97; border-radius: 0 999px 999px 0; }
.rc-meter__pin {
  position: absolute; top: -8px; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%;
  background: #fff; border: 4px solid #0B1426; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: left 1.1s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.rc-meter__pin span {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px; color: #0B1426; background: #fff;
  padding: 4px 10px; border-radius: 999px;
}
.rc-meter__legend { position: relative; display: flex; justify-content: space-between; margin-top: 16px; font-family: 'Inter', sans-serif; font-size: 13px; color: #7A7A8C; }
.rc-meter__legend span:nth-child(2) { position: absolute; top: 0; transform: translateX(-50%); color: #F5A623; font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
  .rc-meter__legend { flex-wrap: wrap; }
  .rc-meter__legend span:nth-child(2) { position: static; transform: none; order: 3; width: 100%; text-align: center; margin-top: 6px; }
}
/* screenshot/preview mode: no entrance animations */
.rc-still .rc-result, .rc-still .rc-meter__pin { animation: none !important; transition: none !important; }

.rc-message { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); margin-bottom: 26px; }
.rc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.rc-answers { background: #0E1628; border-radius: 20px; padding: 22px 24px; margin-bottom: 26px; }
.rc-answers h3 { font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; font-size: 17px; margin-bottom: 12px; }
.rc-answers ol { list-style: decimal; padding-left: 22px; }
.rc-answers li { font-family: 'Inter', sans-serif; font-size: 15px; color: #B4B4C6; line-height: 1.6; margin-bottom: 10px; }
.rc-answers li strong { color: #fff; font-weight: 600; }
.rc-answers .ok { color: #6FCF97; }
.rc-answers .miss { color: #F5A623; }

.rc-cta { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, #1E2A4A, #121C33); border: 1px solid #2A3A5E; border-radius: 20px; padding: 24px; margin-bottom: 22px; }
.rc-cta img { border-radius: 14px; flex: none; }
.rc-cta__title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 6px; }
.rc-cta__body { font-family: 'Inter', sans-serif; font-size: 15px; color: #B4B4C6; line-height: 1.6; margin-bottom: 14px; }
.rc-fine { font-family: 'Inter', sans-serif; font-size: 13px; color: #7A7A8C; line-height: 1.6; }
.rc-fine a { color: #F5A623; }

/* ---------- phone ---------- */
@media (max-width: 600px) {
  .rc { padding-top: 96px; }
  .rc-years { display: flex; flex-wrap: wrap; justify-content: center; }
  .rc-year { flex: 0 0 calc(33.333% - 8px); }
  .rc-paper { padding: 22px 20px 26px; border-radius: 20px; }
  .rc-paper__title { font-size: 24px; }
  .rc-result__head { gap: 12px; }
  .rc-fox--result { height: 104px; }
  .rc-stat__num { font-size: 34px; }
  .rc-actions .rc-btn { flex: 1 1 100%; }
  .rc-cta { flex-direction: column; }
}

/* ---------- info / SEO section ---------- */
.rc-info { max-width: 720px; margin: 80px auto 0; padding-top: 48px; border-top: 1px solid #1E2A4A; }
.rc-info h2 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 26px; color: #fff; margin: 40px 0 14px; }
.rc-info h2:first-child { margin-top: 0; }
.rc-info h3 { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 18px; color: #F5A623; margin: 24px 0 8px; }
.rc-info p, .rc-info li { font-family: 'Inter', sans-serif; font-size: 17px; color: #B4B4C6; line-height: 1.75; margin-bottom: 14px; }
.rc-info strong { color: #fff; font-weight: 600; }
.rc-info ol { list-style: decimal; padding-left: 22px; }
.rc-info a { color: #F5A623; text-decoration: none; }
.rc-info__table { overflow-x: auto; margin: 8px 0 10px; }
.rc-info table { width: 100%; border-collapse: collapse; }
.rc-info th { text-align: left; padding: 12px; font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: #1E2A4A; }
.rc-info td { padding: 12px; font-family: 'Inter', sans-serif; font-size: 16px; color: #B4B4C6; border-bottom: 1px solid #1E2A4A; }
.rc-info td:last-child { color: #F5A623; font-weight: 600; }
.rc-info__src { font-size: 13px !important; color: #7A7A8C !important; }
