/* AI readiness check (ai-readiness.html) */
.rc { max-width: 760px; margin: 0 auto; }
.rc-card {
  position: relative; overflow: hidden; padding: 36px; border-radius: 22px; background: #fff;
  border: 1px solid #e6e9ef; box-shadow: 0 24px 60px -36px rgba(12, 26, 53, .45);
}
.rc-noscript { padding: 24px; border-radius: 16px; background: #fff1ea; color: #10214a; }
.rc:not(.is-ready) .rc-quiz { display: none; }

.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rc-count { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #5c6779; }
.rc-time { font-size: 13px; color: #5c6779; }
.rc-progress { height: 6px; border-radius: 6px; background: #eef1f6; overflow: hidden; margin-bottom: 28px; }
.rc-progress i { display: block; height: 100%; background: linear-gradient(90deg, #f06a2e, #ff9a66); transform-origin: left; transform: scaleX(0); transition: transform .35s ease; }

.rc-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rc-q-title { display: block; width: 100%; margin: 0 0 20px; padding: 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--navy, #153292); outline: none; }
.rc-options { display: grid; gap: 10px; }
.rc-option {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  border: 1.5px solid #dfe3ea; background: #fff; cursor: pointer; font-size: 16px; line-height: 1.4; color: #10214a;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.rc-option:hover { border-color: #f6b08d; background: #fffaf7; }
.rc-option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #f06a2e; }
.rc-option:has(input:checked) { border-color: #f06a2e; background: #fff4ee; box-shadow: 0 8px 22px -14px rgba(240, 106, 46, .7); }
.rc-option:has(input:focus-visible) { outline: 2px solid #153292; outline-offset: 2px; }

.rc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.rc-nav .rc-next { margin-left: auto; }
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 100px; border: 0; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.rc-btn--primary { background: #f06a2e; color: #fff; }
.rc-btn--primary:hover { transform: translateY(-2px); color: #fff; }
.rc-btn--primary:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.rc-btn--ghost { background: transparent; color: #153292; padding: 0 14px; }
.rc-btn--ghost:hover { background: #eef1f6; }
.rc-btn--wa { background: #25d366; color: #0b2a17; }
.rc-btn--wa:hover { transform: translateY(-2px); color: #0b2a17; }
.rc-btn svg { width: 18px; height: 18px; }

.rc-result { outline: none; }
.rc-result-head {
  margin: -36px -36px 28px; padding: 32px 36px; color: #e9edf7;
  background: radial-gradient(60% 70% at 100% 0%, rgba(240, 106, 46, .35), transparent 70%), linear-gradient(160deg, #10214a, #0c1a35);
}
.rc-kicker { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #ffb38f; }
.rc-band { margin: 10px 0 14px; font-size: 34px; line-height: 1.1; font-weight: 800; color: #fff; }
.rc-score { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(233, 237, 247, .8); }
.rc-score b { color: #fff; font-size: 18px; }
.rc-meter { flex: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.rc-meter i { display: block; height: 100%; background: linear-gradient(90deg, #f06a2e, #ffb38f); transform-origin: left; transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1) .1s; }
.rc-band-text { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: #3d4757; }
.rc-sub { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--navy, #153292); }
.rc-focus ul { margin: 0 0 24px; padding-left: 20px; color: #3d4757; line-height: 1.6; }
.rc-focus li + li { margin-top: 8px; }
.rc-rec { padding: 20px 22px; border-radius: 16px; background: #f5f7fa; border: 1px solid #e6e9ef; margin-bottom: 16px; }
.rc-rec-name { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #10214a; }
.rc-rec-why { margin: 0 0 10px; color: #3d4757; line-height: 1.6; }
.rc-rec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #c2410c; text-decoration: none; }
.rc-rec-link:hover { text-decoration: underline; }
.rc-rec-link svg { flex: none; width: 16px; height: 16px; }
.rc-host { margin: 0 0 24px; padding: 14px 18px; border-left: 3px solid #6ea8ff; background: #f2f6ff; border-radius: 0 12px 12px 0; color: #3d4757; line-height: 1.6; }
.rc-host a { color: #153292; font-weight: 600; }
.rc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rc-privacy { margin: 18px 0 0; font-size: 13px; color: #6b7585; }

.rc-why { max-width: 760px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rc-why div { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid #e6e9ef; }
.rc-why b { display: block; margin-bottom: 4px; color: var(--navy, #153292); }
.rc-why span { font-size: 14px; color: #5c6779; line-height: 1.5; }

@media (max-width: 767px) {
  .rc-card { padding: 22px 18px; border-radius: 18px; }
  .rc-result-head { margin: -22px -18px 22px; padding: 24px 18px; }
  .rc-q-title { font-size: 20px; }
  .rc-option { padding: 14px; font-size: 15px; }
  .rc-band { font-size: 28px; }
  .rc-why { grid-template-columns: minmax(0, 1fr); }
  .rc-actions .rc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-progress i, .rc-meter i, .rc-btn { transition: none; }
}
