/* The free Tilt check (/rfp-check.html, D-1037). Built on site.css's tokens
   only, so both themes come from its dark blocks (D-574) and nothing here
   needs a dark copy. Mobile first: one column, 44px controls, nothing wider
   than the screen. A rating is a word, never a percentage (D-1018). */

.rc-head { padding-bottom: var(--h-space-7); }
.rc-grid { display: grid; gap: var(--h-space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .rc-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--h-space-8); align-items: start; } }
.rc-kicker {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border: 1px solid var(--h-line); border-radius: var(--radius-pill); background: var(--h-surface);
  color: var(--h-ink-2); font-size: 13px; font-weight: 600;
}
.rc-intro h1 { margin-top: 18px; max-width: 18ch; }
.rc-gets { list-style: none; margin: var(--h-space-5) 0 0; padding: 0; display: grid; gap: var(--h-space-3); max-width: 58ch; }
.rc-gets li { position: relative; padding-left: 24px; font-size: var(--h-text-lg); line-height: 1.5; color: var(--h-ink-2); }
.rc-gets li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--h-brand); }
.rc-gets b { color: var(--h-ink); font-weight: 600; }

/* The tool: one drop zone, on a white card. */
.rc-tool { border: 1px solid var(--h-line); border-radius: var(--radius-win); background: var(--h-surface); padding: var(--h-space-4); box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .rc-tool { padding: var(--h-space-5); } }
.rc-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rc-zone {
  display: grid; justify-items: center; gap: var(--h-space-2); text-align: center;
  min-height: 200px; align-content: center; padding: var(--h-space-5);
  border: 1.5px solid var(--h-line); border-radius: var(--radius-control); background: var(--h-well);
  color: var(--h-ink-2); cursor: pointer;
  transition: border-color var(--dur-ctl) ease, background var(--dur-ctl) ease;
}
.rc-zone svg { width: 32px; height: 32px; color: var(--h-brand); }
.rc-zone-t { font-size: var(--h-text-lg); font-weight: 600; color: var(--h-ink); }
.rc-zone-t u { text-decoration-color: var(--h-brand); text-underline-offset: 3px; }
.rc-zone-d { font-size: var(--h-text-md); color: var(--h-muted); }
.rc-file:focus-visible + .rc-zone { outline: 2px solid var(--h-brand); outline-offset: 3px; }
.rc-zone[data-over="1"], .rc-zone:hover { border-color: var(--h-brand); background: var(--h-tint); }
.rc-zone[aria-disabled="true"] { cursor: progress; opacity: 1; }
.rc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-fine { margin-top: var(--h-space-3); font-size: var(--h-text-base); line-height: 1.5; color: var(--h-muted); }
.rc-fine a { color: var(--h-brand); text-underline-offset: 3px; }

/* While it reads: one line that says which step, never a fake percent. */
.rc-status { margin-top: var(--h-space-4); display: flex; gap: var(--h-space-3); align-items: flex-start; font-size: var(--h-text-md); line-height: 1.5; color: var(--h-ink-2); }
.rc-status[data-tone="error"] { color: var(--h-error); font-weight: 600; }
.rc-dot { flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: var(--h-brand); animation: rc-pulse 1.2s ease-in-out infinite; }
@keyframes rc-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .rc-dot { animation: none; } }

/* The result. */
.rc-result { padding: 0 0 var(--h-space-8); }
.rc-card { border: 1px solid var(--h-line); border-radius: var(--radius-win); background: var(--h-surface); padding: var(--h-space-5) var(--h-space-4); }
@media (min-width: 640px) { .rc-card { padding: var(--h-space-6); } }
.rc-top { display: grid; gap: var(--h-space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rc-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--h-space-7); } }
.rc-eyebrow { font-size: 13px; font-weight: 600; color: var(--h-muted); }
.rc-word { margin-top: 6px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--h-ink); }
.rc-word[data-rating="strong"] { color: var(--h-error); }
.rc-line { margin-top: var(--h-space-3); font-size: var(--h-text-lg); line-height: 1.5; color: var(--h-ink-2); max-width: 52ch; }
.rc-meta { margin-top: var(--h-space-3); display: flex; flex-wrap: wrap; gap: var(--h-space-2); }
.rc-tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border: 1px solid var(--h-line); border-radius: var(--radius-tag); background: var(--h-well);
  color: var(--h-ink-2); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.rc-tag[data-tone="strong"] { border-color: var(--h-error); color: var(--h-error); background: var(--h-surface); }
.rc-who { border-left: 2px solid var(--h-line); padding-left: var(--h-space-4); }
.rc-who-name { margin-top: 6px; font-size: var(--h-text-xl); font-weight: 600; color: var(--h-ink); overflow-wrap: anywhere; }
.rc-who p { margin-top: var(--h-space-2); font-size: var(--h-text-md); line-height: 1.5; color: var(--h-muted); }
.rc-note { margin-top: var(--h-space-5); padding-top: var(--h-space-4); border-top: 1px solid var(--h-line-soft); font-size: var(--h-text-base); line-height: 1.5; color: var(--h-muted); }

.rc-h3 { margin-top: var(--h-space-7); font-size: var(--h-text-2xl); line-height: 1.25; color: var(--h-ink); }
.rc-flags { list-style: none; margin: var(--h-space-4) 0 0; padding: 0; display: grid; gap: var(--h-space-3); }
.rc-flag { border: 1px solid var(--h-line); border-radius: var(--radius-control); background: var(--h-surface); }
.rc-flag summary {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--h-space-3); align-items: center;
  min-height: 56px; padding: var(--h-space-3) var(--h-space-4); cursor: pointer;
}
.rc-flag summary::-webkit-details-marker { display: none; }
.rc-flag summary:focus-visible { outline: 2px solid var(--h-brand); outline-offset: -2px; border-radius: var(--radius-control); }
.rc-flag-t { font-size: var(--h-text-lg); font-weight: 600; color: var(--h-ink); }
.rc-flag-w { display: block; margin-top: 2px; font-size: var(--h-text-base); color: var(--h-muted); font-weight: 400; }
.rc-flag-body { padding: 0 var(--h-space-4) var(--h-space-4); display: grid; gap: var(--h-space-3); }
.rc-quote { margin: 0; padding: var(--h-space-3) var(--h-space-4); border-left: 2px solid var(--h-brand); background: var(--h-well); border-radius: 0 var(--radius-tag) var(--radius-tag) 0; font-size: var(--h-text-md); line-height: 1.55; color: var(--h-ink); overflow-wrap: anywhere; }
.rc-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--h-muted); }
.rc-dl { display: grid; gap: var(--h-space-2); margin: 0; }
.rc-dl dt { font-size: 13px; font-weight: 600; color: var(--h-muted); }
.rc-dl dd { margin: 0 0 var(--h-space-2); font-size: var(--h-text-md); line-height: 1.55; color: var(--h-ink-2); }

.rc-qs { margin: var(--h-space-4) 0 0; padding-left: 1.3em; display: grid; gap: var(--h-space-2); }
.rc-qs li { font-size: var(--h-text-md); line-height: 1.55; color: var(--h-ink-2); }
.rc-row { margin-top: var(--h-space-4); display: flex; flex-wrap: wrap; gap: var(--h-space-3); }
.rc-row .btn { min-height: 44px; }

/* Email this result to yourself (D-1045): the sign-in's field, one act beside it. */
.rc-mail { margin-top: var(--h-space-7); border-top: 1px solid var(--h-line-soft); padding-top: var(--h-space-6); }
.rc-mail-label { display: block; font-size: var(--h-text-md); font-weight: 600; color: var(--h-ink); }
.rc-mail-row { margin-top: var(--h-space-3); display: flex; flex-wrap: wrap; gap: var(--h-space-2); }
.rc-mail-row input {
  flex: 1 1 16rem; min-width: 0; height: 48px; padding: 0 14px;
  border: 1.5px solid var(--h-line); border-radius: 12px; background: var(--h-surface);
  font: inherit; font-size: 16px; color: var(--h-ink);
}
.rc-mail-row input[aria-invalid="true"] { border-color: var(--h-error); }
.rc-mail-row .btn { flex: 0 0 auto; }
.rc-mail .rc-fine[data-tone="error"] { color: var(--h-error); font-weight: 600; }

/* The follow-up with Scribe. */
.rc-chat { margin-top: var(--h-space-7); border-top: 1px solid var(--h-line-soft); padding-top: var(--h-space-6); }
.rc-chat-log { margin-top: var(--h-space-4); display: grid; gap: var(--h-space-3); }
.rc-msg { max-width: 64ch; font-size: var(--h-text-md); line-height: 1.6; color: var(--h-ink-2); overflow-wrap: anywhere; }
.rc-msg[data-who="me"] { justify-self: end; padding: var(--h-space-2) var(--h-space-4); border-radius: var(--radius-control); background: var(--h-tint); color: var(--h-ink); }
.rc-msg p + p { margin-top: var(--h-space-2); }
.rc-chat-form { margin-top: var(--h-space-4); display: flex; gap: var(--h-space-2); align-items: stretch; }
.rc-chat-form label { flex: 1; min-width: 0; }
.rc-chat-form textarea {
  width: 100%; min-height: 48px; max-height: 160px; resize: vertical; padding: 12px 14px;
  border: 1.5px solid var(--h-line); border-radius: 12px; background: var(--h-surface);
  font: inherit; font-size: 16px; color: var(--h-ink);
}
.rc-chat-form .btn { flex: none; height: auto; min-height: 48px; }
.rc-starters { margin-top: var(--h-space-3); display: flex; flex-wrap: wrap; gap: var(--h-space-2); }
.rc-starter {
  min-height: 44px; padding: 0 var(--h-space-4); border: 1px solid var(--h-line); border-radius: var(--radius-control);
  background: var(--h-surface); color: var(--h-ink-2); font: inherit; font-size: var(--h-text-base); cursor: pointer; text-align: left;
}
@media (hover: hover) and (pointer: fine) { .rc-starter:hover { border-color: var(--h-brand); color: var(--h-ink); } }

.rc-next { margin-top: var(--h-space-6); padding: var(--h-space-5); border-radius: var(--radius-control); background: var(--h-well); display: grid; gap: var(--h-space-3); }
@media (min-width: 900px) { .rc-next { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.rc-next p { font-size: var(--h-text-md); line-height: 1.55; color: var(--h-ink-2); max-width: 62ch; }
.rc-next b { color: var(--h-ink); }

/* The sections under the tool. */
.rc-sec { padding: var(--h-space-7) 0; border-top: 1px solid var(--h-line-soft); }
@media (min-width: 900px) { .rc-sec { padding: var(--h-space-8) 0; } }
.rc-last { padding-bottom: var(--h-space-9); }
.rc-split { display: grid; gap: var(--h-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .rc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--h-space-8); } }
.rc-h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--h-ink); }
.rc-p { margin-top: var(--h-space-3); font-size: var(--h-text-lg); line-height: 1.6; color: var(--h-muted); max-width: 46ch; }
.rc-kinds { margin: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--h-line); }
@media (min-width: 640px) { .rc-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--h-space-6); } }
.rc-kinds > div { padding: var(--h-space-4) 0; border-bottom: 1px solid var(--h-line); }
.rc-kinds dt { font-size: var(--h-text-lg); font-weight: 600; color: var(--h-ink); }
.rc-kinds dd { margin: 4px 0 0; font-size: var(--h-text-md); line-height: 1.55; color: var(--h-muted); }
.rc-policy { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--h-space-4); counter-reset: rc; }
.rc-policy li { position: relative; padding-left: 40px; counter-increment: rc; font-size: var(--h-text-lg); line-height: 1.6; color: var(--h-ink-2); }
.rc-policy li::before {
  content: counter(rc); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--h-line); color: var(--h-ink-2); font-size: 13px; font-weight: 600;
}
.rc-ctas { display: flex; flex-wrap: wrap; gap: var(--h-space-3); align-content: start; }

/* The feature block any page can carry (<!-- site:rfp-check -->), built
   by tools/build-site.mjs's RFP_FEATURE. A real result row, labeled an
   example; one filled act. */
.rcf { padding: var(--h-space-8) 0; }
.rcf-in { display: grid; gap: var(--h-space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .rcf-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--h-space-8); } }
.rcf-kicker { font-size: 13px; font-weight: 600; color: var(--h-brand); }
.rcf-h { margin-top: var(--h-space-2); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--h-ink); max-width: 22ch; }
.rcf-p { margin: var(--h-space-3) 0 var(--h-space-5); font-size: var(--h-text-lg); line-height: 1.6; color: var(--h-muted); max-width: 52ch; }
.rcf-ex { border: 1px solid var(--h-line); border-radius: var(--radius-win); background: var(--h-surface); padding: var(--h-space-5); box-shadow: var(--shadow-soft); display: grid; gap: var(--h-space-3); }
.rcf-ex-label { font-size: 12px; font-weight: 600; color: var(--h-muted); }
.rcf-ex-word { font-size: var(--h-text-3xl); line-height: 1.1; letter-spacing: -0.02em; color: var(--h-ink); }
.rcf-ex-row { display: flex; justify-content: space-between; gap: var(--h-space-3); align-items: center; padding-top: var(--h-space-3); border-top: 1px solid var(--h-line-soft); font-size: var(--h-text-md); color: var(--h-ink); }
.rcf-ex-row span { flex: none; padding: 2px 8px; border: 1px solid var(--h-line); border-radius: var(--radius-tag); font-size: 12px; font-weight: 600; color: var(--h-ink-2); }
.rcf-ex-q { margin: 0; padding: var(--h-space-3); border-left: 2px solid var(--h-brand); background: var(--h-well); font-size: var(--h-text-base); line-height: 1.5; color: var(--h-ink); }
.rcf-ex-q em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--h-muted); }
