/* The free website check (/scan). Colours are geophii.com's own (assets/site.css), so the check
   reads as part of the website it opens from. Phone first; the preview panel joins at 960px. */

:root {
  --bg: #f2f6f8; --panel: #ffffff; --ink: #182636; --muted: #5b6878; --line: #dce5e9;
  --soft: #eaf2f3; --green: #157d71; --accent: #784ca5; --accent-soft: #f1ebf8;
  --btn: #29bba7; --btn-ink: #062d2b; --btn-line: #33ccb6; --btn-hover: #33ccb6;
  --bad: #b42318; --bad-soft: #fdecea; --ok: #157d71; --ok-soft: #e1f2ed;
  --dot: rgba(24, 38, 54, .07); --shadow: 0 18px 40px -22px rgba(24, 38, 54, .35);
  --r: 12px; --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1827; --panel: #19283b; --ink: #eff3f8; --muted: #a9b8cb; --line: #34475d;
    --soft: #142235; --green: #7ed5c4; --accent: #b38be6; --accent-soft: #2a2440;
    --bad: #ffb4ab; --bad-soft: #3b1d1d; --ok: #7ed5c4; --ok-soft: #12332f;
    --dot: rgba(239, 243, 248, .07); --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1827; --panel: #19283b; --ink: #eff3f8; --muted: #a9b8cb; --line: #34475d;
  --soft: #142235; --green: #7ed5c4; --accent: #b38be6; --accent-soft: #2a2440;
  --bad: #ffb4ab; --bad-soft: #3b1d1d; --ok: #7ed5c4; --ok-soft: #12332f;
  --dot: rgba(239, 243, 248, .07); --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--panel); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── Frame ─────────────────────────────────────────────────────────────── */
.sc-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.sc-logo img { display: block; height: 26px; width: auto; }
.sc-logo .for-dark { display: none; }
:root[data-theme="dark"] .sc-logo .for-light { display: none; }
:root[data-theme="dark"] .sc-logo .for-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sc-logo .for-light { display: none; }
  :root:not([data-theme="light"]) .sc-logo .for-dark { display: block; }
}
/* Inside geophii.com's pop-up the site's own bar has the title and close button, so ours is just
   the step counter: no logo, no line, less height - it reads as one header, not two. */
.sc-embedded .sc-logo { display: none; }
.sc-embedded .sc-top { height: 40px; border-bottom: 0; justify-content: flex-end; }
@media (min-width: 960px) {
  .sc-embedded .sc-top { height: 44px; }
  .sc-embedded .sc-main { min-height: calc(100vh - 44px); }
}
.sc-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.sc-bars { display: flex; gap: 4px; }
.sc-bars i { display: block; width: 18px; height: 4px; border-radius: 4px; background: var(--line); }
.sc-bars i.on { background: var(--btn); }

.sc-main { display: block; }
.sc-form { padding: 20px 16px 32px; max-width: 560px; margin: 0 auto; }
.sc-preview { display: none; }

@media (min-width: 960px) {
  .sc-top { padding: 0 32px; height: 64px; }
  .sc-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 64px); }
  .sc-form { padding: 56px 48px; margin: 0; max-width: none; display: flex; justify-content: center; }
  .sc-form > .sc-inner { width: 100%; max-width: 520px; margin: auto 0; }
  .sc-preview {
    display: flex; align-items: center; justify-content: center; padding: 48px;
    background-color: var(--bg);
    background-image: radial-gradient(var(--dot) 1px, transparent 1px);
    background-size: 18px 18px; border-left: 1px solid var(--line); border-bottom-left-radius: 48px;
  }
}

/* ── Type ──────────────────────────────────────────────────────────────── */
.sc-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--green); }
.sc-h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; outline: none; }
.sc-intro { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.sc-h1-start { margin-bottom: 20px; }
@media (min-width: 960px) {
  .sc-h1 { font-size: 34px; }
  .sc-intro { font-size: 17px; margin-bottom: 28px; }
  .sc-h1-start { margin-bottom: 28px; }
}
.sc-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.sc-note.left { text-align: left; }

/* ── Fields ────────────────────────────────────────────────────────────── */
.sc-field { margin-bottom: 16px; }
.sc-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.sc-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.sc-hint.ok { color: var(--ok); }
.sc-hint.ok::before { content: "✓ "; font-weight: 700; }
.sc-err { margin: 6px 0 0; font-size: 13px; color: var(--bad); font-weight: 500; }
.sc-input-wrap { position: relative; }
.sc-input-wrap .sc-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px;
  color: var(--muted); pointer-events: none; display: flex; align-items: center; justify-content: center;
}
.sc-input-wrap .sc-ico img { width: 20px; height: 20px; border-radius: 4px; }
.sc-input, .sc-select, .sc-textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.sc-input-wrap .sc-input { padding-left: 44px; }
.sc-textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.sc-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.sc-input::placeholder, .sc-textarea::placeholder { color: var(--muted); opacity: .75; }
.sc-input:focus, .sc-select:focus, .sc-textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(41, 187, 167, .22); }
.sc-input.bad, .sc-textarea.bad { border-color: var(--bad); }
.sc-row2 { display: grid; gap: 12px; grid-template-columns: 1.4fr 1fr; margin-bottom: 16px; }
.sc-row2 .sc-select { padding-right: 34px; background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; }
.sc-row2 .sc-field { margin-bottom: 0; min-width: 0; }
@media (max-width: 339px) { .sc-row2 { grid-template-columns: 1fr; } }
.sc-textarea.grow { overflow: hidden; resize: none; }

/* An input with its Add button */
.sc-add { display: flex; gap: 8px; }
.sc-add .sc-input { flex: 1; min-width: 0; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 0 22px; border-radius: 999px; border: 1px solid var(--btn-line); background: var(--btn);
  color: var(--btn-ink); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .08s;
}
.sc-btn:hover { background: var(--btn-hover); }
.sc-btn:active { transform: scale(.98); }
.sc-btn:focus-visible { outline: 3px solid rgba(41, 187, 167, .45); outline-offset: 2px; }
.sc-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.sc-btn.wide { width: 100%; }
.sc-btn .arrow { font-size: 18px; line-height: 1; }
.sc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 600; cursor: pointer; color: var(--ink);
}
.sc-btn-ghost:hover { border-color: var(--muted); }
.sc-btn-ghost:focus-visible { outline: 3px solid rgba(41, 187, 167, .45); outline-offset: 2px; }
.sc-btn-small { min-height: 48px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--soft); font-weight: 600; cursor: pointer; flex-shrink: 0; }
.sc-btn-small:hover { border-color: var(--muted); }
.sc-actions { display: flex; gap: 10px; margin-top: 24px; }
.sc-actions .sc-btn { flex: 1; }

/* ── Chips ─────────────────────────────────────────────────────────────── */
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sc-chips:empty { display: none; }
.sc-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 4px 6px 4px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: 14px;
}
.sc-chip img { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; }
.sc-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-chip button {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1;
}
.sc-chip button:hover { background: var(--line); color: var(--ink); }
.sc-chips.big .sc-chip { min-height: 48px; padding-left: 14px; font-size: 16px; background: var(--panel); }

/* ── Questions list ────────────────────────────────────────────────────── */
.sc-qs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sc-q { display: flex; align-items: flex-start; gap: 8px; }
.sc-q .n { width: 18px; flex-shrink: 0; padding-top: 13px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; }
.sc-q .sc-textarea { flex: 1; min-width: 0; min-height: 48px; padding-top: 11px; padding-bottom: 11px; }
.sc-q button { margin-top: 4px; }
.sc-q button {
  width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font-size: 20px; cursor: pointer;
}
.sc-q button:hover { background: var(--soft); color: var(--ink); }

/* ── Messages ──────────────────────────────────────────────────────────── */
.sc-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r); background: var(--bad-soft); color: var(--ink); font-size: 14px; border: 1px solid var(--bad); }
.sc-alert .sc-alert-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sc-alert .sc-btn, .sc-alert .sc-btn-ghost { min-height: 44px; font-size: 14px; }

/* ── Working (reading) ─────────────────────────────────────────────────── */
.sc-working { padding: 32px 0 8px; text-align: center; }
.sc-spin {
  width: 44px; height: 44px; margin: 0 auto 20px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--btn); animation: sc-spin .9s linear infinite;
}
.sc-status { min-height: 24px; margin: 4px 0 0; color: var(--muted); font-weight: 500; }
.sc-site-card {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 20px auto 0; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 15px;
}
.sc-site-card img { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0; }
.sc-site-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 960px) { .sc-site-card { display: none; } }
@keyframes sc-spin { to { transform: rotate(360deg); } }

/* ── Preview panel (desktop) ───────────────────────────────────────────── */
.pv { width: 100%; max-width: 560px; }
.pv-title { margin: 0 0 6px; font-size: 20px; font-weight: 700; text-align: center; }
.pv-note { margin: 0 auto 24px; max-width: 440px; font-size: 14px; color: var(--muted); text-align: center; }
.pv-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }

.pv-browser .bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--soft); border-radius: 20px 20px 0 0; }
.pv-browser .dots { display: flex; gap: 6px; }
.pv-browser .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.pv-browser .dots i:nth-child(1) { background: #ff5f57; }
.pv-browser .dots i:nth-child(2) { background: #febc2e; }
.pv-browser .dots i:nth-child(3) { background: #28c840; }
.pv-browser .addr { flex: 1; padding: 8px 14px; border-radius: 999px; background: var(--panel); font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-browser .addr.filled { color: var(--ink); }
.pv-browser .body { position: relative; min-height: 360px; padding: 32px; overflow: hidden; }
.pv-browser .site { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 296px; }
.pv-browser .site img { width: 64px; height: 64px; border-radius: 14px; box-shadow: var(--shadow); background: var(--panel); }
.pv-browser .site b { font-size: 18px; font-weight: 600; }
.sk { display: block; height: 12px; border-radius: 6px; background: var(--soft); margin-bottom: 12px; }
.sk.w9 { width: 92%; } .sk.w7 { width: 72%; } .sk.w6 { width: 60%; } .sk.w5 { width: 50%; } .sk.w3 { width: 30%; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.sk-cards div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sk-cards .sk { height: 18px; } .sk-cards .sk + .sk { height: 8px; width: 60%; margin: 0; }
.pv-browser .scanline { position: absolute; left: 0; right: 0; height: 64px; top: -64px;
  background: linear-gradient(180deg, transparent, rgba(41, 187, 167, .18), transparent); animation: sc-scan 2.2s ease-in-out infinite; }
@keyframes sc-scan { to { top: 100%; } }

.pv-flow { display: grid; gap: 14px; }
.pv-flow .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pv-flow .pv-card { padding: 18px; }
.pv-flow h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pv-flow h4 i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; }
.pv-flow .txt { margin: 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pv-flow .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-flow .tags span { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; }
.pv-flow .join { text-align: center; color: var(--btn); font-size: 22px; line-height: 1; }
.pv-flow .ai { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.pv-flow .ai .spark { width: 40px; height: 40px; border-radius: 12px; background: var(--btn); color: var(--btn-ink); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pv-flow .ai p { margin: 0; font-size: 13px; color: var(--muted); }

.pv-table { padding: 8px 8px 4px; }
.pv-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pv-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pv-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.pv-table tr:last-child td { border-bottom: 0; }
.pv-table .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pv-table .who img { width: 20px; height: 20px; border-radius: 4px; }
.pv-table .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-table .you td { background: var(--ok-soft); }
.pv-table .you-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 11px; font-weight: 700; }
.pv-table .sk { margin: 0; height: 10px; width: 64px; }

.pv-assist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pv-assist .pv-card { display: flex; align-items: center; gap: 12px; padding: 18px; font-weight: 600; }
.pv-assist .av { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.pv-qlist { margin-top: 14px; padding: 16px 18px; }
.pv-qlist p { margin: 0 0 8px; font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.pv-qlist p::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pv-qlist p:last-child { margin-bottom: 0; }

/* ── Start: consent, privacy, the bot trap ─────────────────────────────── */
.sc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sc-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.sc-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--btn); flex-shrink: 0; cursor: pointer; }
.sc-fine { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.sc-fine a, .sc-note a { color: var(--green); }

/* ── Journey strip under the first button: free now, report, then Phii ─── */
.sc-journey { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.sc-journey li { position: relative; display: flex; gap: 12px; padding: 0 0 14px; }
.sc-journey li:last-child { padding-bottom: 0; }
.sc-journey li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.sc-journey .dot { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; border: 2px solid var(--line); color: var(--muted); background: var(--panel); }
.sc-journey li.now .dot { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.sc-journey .txt { font-size: 14px; color: var(--muted); padding-top: 3px; line-height: 1.4; }
.sc-journey .txt b { color: var(--ink); font-weight: 600; }
.sc-journey li.now .txt b { color: var(--green); }
@media (min-width: 960px) { .sc-journey { display: none; } }   /* the side panel shows it bigger */

.sc-site-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: -6px 0 18px; }
.sc-site-card.in-form { display: inline-flex; margin: 0; min-width: 0; }
.sc-link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--green); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sc-link:focus-visible { outline: 3px solid rgba(41, 187, 167, .45); outline-offset: 2px; border-radius: 6px; }

/* ── Progress: one screen for everything after the email ───────────────── */
.sc-stages { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; gap: 10px; }
.sc-stages li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.sc-stages .mark { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line); position: relative; }
.sc-stages li.active { color: var(--ink); font-weight: 600; }
.sc-stages li.active .mark { border-color: var(--line); border-top-color: var(--btn); animation: sc-spin .9s linear infinite; }
.sc-stages li.done { color: var(--ink); }
.sc-stages li.done .mark { background: var(--btn); border-color: var(--btn); }
.sc-stages li.done .mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--btn-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sc-found { margin-top: 16px; }
.sc-found-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sc-chips.small .sc-chip { min-height: 32px; padding: 4px 12px 4px 8px; font-size: 13px; }
.sc-found-qs { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink); display: grid; gap: 4px; }
#progress-h { margin-bottom: 4px; overflow-wrap: anywhere; }
[data-step="progress"] .sc-meter { margin: 16px 0 8px; max-width: none; }
[data-step="progress"] .sc-count { min-height: 20px; }

/* ── Desktop journey panel (first screen) ──────────────────────────────── */
.jr { display: grid; gap: 0; max-width: 520px; margin: 0 auto; }
.jr .pv-card { padding: 18px 20px; }
.jr-head { display: flex; align-items: center; gap: 10px; }
.jr-head b { font-size: 16px; }
.jr-num { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  border: 2px solid var(--line); color: var(--muted); flex-shrink: 0; }
.jr-now { border-color: var(--btn); }
.jr-now .jr-num { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.jr-site { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); max-width: 50%; }
.jr-site img { width: 18px; height: 18px; border-radius: 4px; }
.jr-site span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-sub { margin: 8px 0 0 36px; font-size: 13px; color: var(--muted); }
.jr-ticks { list-style: none; margin: 8px 0 0 36px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.jr-ticks li { position: relative; padding-left: 22px; }
.jr-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.jr-next { opacity: .85; }
.jr-line { width: 2px; height: 18px; margin-left: 32px; background: var(--line); }
.jr-phii { display: flex; gap: 16px; align-items: stretch; padding: 4px 0 0 10px; }
.jr-door { width: 64px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.jr-door .spark { font-size: 24px; }
.jr-door b { font-size: 12px; }
.jr-helps { flex: 1; min-width: 0; }
.jr-helps-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.jr-help { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.jr-help .ic { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); flex-shrink: 0; }
.jr-help b { display: block; font-size: 14px; }
.jr-help small { display: block; font-size: 13px; color: var(--muted); }

/* ── Checking ──────────────────────────────────────────────────────────── */
.sc-meter { height: 6px; margin: 18px auto 8px; max-width: 360px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.sc-meter i { display: block; height: 100%; width: 0; background: var(--btn); border-radius: 6px; transition: width .4s ease; }
.sc-count { margin: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── The report: one wide column, no preview panel ─────────────────────── */
@media (min-width: 960px) {
  .sc-main.is-report { grid-template-columns: 1fr; }
  .sc-main.is-report .sc-preview { display: none; }
  .sc-main.is-report .sc-form > .sc-inner { max-width: 720px; }
}
.rp-question { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.rp-finding { display: flex; align-items: center; gap: 16px; margin: 16px 0 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.rp-fraction { flex-shrink: 0; min-width: 64px; font-size: 30px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green); }
.rp-fraction.no { color: var(--bad); }
.rp-fraction.failed { color: var(--muted); }
.rp-line { margin: 0; font-size: 16px; font-weight: 500; }
.rp-h2 { margin: 28px 0 12px; font-size: 18px; font-weight: 700; }
.rp-answers { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.rp-answer { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.rp-answer-head { display: flex; align-items: center; gap: 12px; }
.rp-answer .av { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.rp-answer b { display: block; font-size: 15px; }
.rp-answer small { display: block; font-size: 13px; color: var(--muted); }
.rp-answer.yes small { color: var(--ok); font-weight: 600; }
.rp-answer.failed { background: var(--soft); }
.rp-answer.failed .av { opacity: .5; }
.rp-named { margin: 8px 0 0; font-size: 14px; }
.rp-toggle { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--green); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rp-toggle:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; border-radius: 4px; }
.rp-answer .rp-quote { margin-top: 8px; }
.rp-comps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-comps li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; }
.rp-comps li img { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
.rp-comps li.none { color: var(--muted); }
.rp-fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-fixes li { padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; font-size: 15px; }
.rp-ideas { margin: 0; padding-left: 20px; color: var(--muted); }
.rp-paid { margin: 16px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--btn); border-radius: 0 16px 16px 0; background: var(--ok-soft); }
.rp-paid p { margin: 0 0 8px; }
.rp-paid p:last-child { margin-bottom: 0; }
.rp-paid-h { font-weight: 700; font-size: 17px; }
.rp-qblock { margin-bottom: 20px; }
.rp-qblock h3 { margin: 0 0 8px; font-size: 16px; }
.rp-changes { margin: 0; padding-left: 22px; display: grid; gap: 14px; }
.rp-changes li b { display: block; margin-bottom: 4px; }
.rp-changes li p { margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.rp-changes li p span { font-weight: 600; color: var(--ink); }
.rp-next .sc-btn { margin-top: 4px; }
.rp-ideas li { margin-bottom: 6px; }
.rp-quote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--muted); white-space: pre-line; }
.rp-full { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
.rp-full .rp-h2 { margin-top: 0; }
.rp-full p { margin: 0 0 12px; color: var(--muted); }
.rp-points { margin: 0 0 12px; padding-left: 20px; }
.rp-points li { margin-bottom: 6px; }
.rp-credits { font-weight: 500; color: var(--ink) !important; }
.rp-price { font-weight: 700; color: var(--ink) !important; font-size: 17px; }
.rp-soon { margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }

/* ── The bigger picture: Phii's four areas as arrow tabs, the first lit ─ */
.rp-areas { list-style: none; margin: 0 0 20px; padding: 0; display: flex; }
.rp-areas li { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px 10px 18px; margin-left: -6px; background: var(--soft); color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.2;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); }
.rp-areas li:first-child { margin-left: 0; padding-left: 12px; border-radius: 10px 0 0 10px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.rp-areas li:last-child { border-radius: 0 10px 10px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
.rp-areas svg { flex-shrink: 0; }
.rp-areas li { white-space: nowrap; }
.rp-areas li.now { background: var(--btn); color: var(--btn-ink); }
@media (max-width: 480px) { .rp-areas li { flex: 1 1 0; font-size: 11px; padding: 7px 8px 7px 13px; white-space: normal; text-align: center; letter-spacing: -.01em; } .rp-areas li:first-child { padding-left: 6px; } .rp-areas li:last-child { padding-right: 4px; } }
@media (min-width: 600px) { .rp-areas li { font-size: 13.5px; padding: 11px 10px 11px 22px; justify-content: flex-start; } }

/* ── The free report, the old widget's way: ring, logos, locks, motion ─── */
.rp-intro { margin: 6px 0 16px; font-size: 16px; color: var(--muted); }
.rp-stats { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rp-stats li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.rp-stats b { display: block; font-size: 26px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.rp-stats span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
@media (min-width: 600px) { .rp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rp-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-stats.three b { font-size: 22px; }
.rp-stats.three.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#rp-ai-title { margin-bottom: 0; }
.rp-stats .rp-stat-logos { display: flex; gap: 4px; margin-top: 8px; }
.rp-stat-logos i { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.rp-stat-logos .chatgpt { background: #10a37f; }
.rp-stat-logos .claude { background: #d97757; }
.rp-stat-logos .gemini { background: linear-gradient(135deg, #4285f4, #9b72cb 60%, #d96570); }
.rp-stat-logos .perplexity { background: #1f8a96; }
.rp-verdict { display: flex; align-items: center; gap: 18px; margin: 18px 0 12px; padding: 18px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--soft); position: relative; overflow: hidden; }
.rp-verdict.no { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.rp-verdict.yes { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.rp-ring { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.rp-ring svg { width: 100%; height: 100%; display: block; }
.rp-ring .seg { fill: none; stroke: var(--line); stroke-width: 12; stroke-linecap: round; }
.rp-verdict.no .seg[data-seg="0"] { stroke: var(--bad); }
.rp-verdict.yes .seg[data-seg="0"] { stroke: var(--ok); }
.rp-ring-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 700; line-height: 1; }
.rp-verdict.no .rp-ring-mark { color: var(--bad); }
.rp-verdict.yes .rp-ring-mark { color: var(--ok); }
.rp-verdict.failed .rp-ring-mark { color: var(--muted); }
.rp-verdict-txt { min-width: 0; }
.rp-verdict-h { margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.rp-verdict-sub { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.rp-ring-cap { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }

.rp-engines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rp-engine { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--panel); text-align: center; }
.rp-engine b { font-size: 13px; line-height: 1.2; }
.rp-engine small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.rp-engine .logo, .rp-offer-logos .logo { position: relative; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.rp-engine.chatgpt .logo, .rp-offer-logos .chatgpt { background: #10a37f; }
.rp-engine.claude .logo, .rp-offer-logos .claude { background: #d97757; }
.rp-engine.gemini .logo, .rp-offer-logos .gemini { background: linear-gradient(135deg, #4285f4, #9b72cb 60%, #d96570); }
.rp-engine.perplexity .logo, .rp-offer-logos .perplexity { background: #1f8a96; }
.rp-engine.locked .logo { filter: grayscale(.85); opacity: .55; }
.rp-engine.locked { background: var(--soft); }
.rp-engine .badge { position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--panel);
  display: none; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.rp-engine.asked .badge { display: flex; }
.rp-engine.asked.no .badge { background: var(--bad); }
.rp-engine.asked.no .badge::before { content: '✗'; }
.rp-engine.asked.yes .badge { background: var(--ok); }
.rp-engine.asked.yes .badge::before { content: '✓'; }
.rp-engine.asked.failed .badge { background: var(--muted); }
.rp-engine.asked.failed .badge::before { content: '–'; }
.rp-engine.locked .badge { display: flex; background: var(--muted); }
.rp-engine.locked .badge::before { content: ''; width: 9px; height: 9px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 11V7a6 6 0 0 1 12 0v4h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm3 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 11V7a6 6 0 0 1 12 0v4h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm3 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat; }

.rp-asked .rp-question { margin: 0; }
.rp-asked .rp-quote { margin-top: 8px; }
.rp-block .rp-h2 { margin-top: 30px; }

.rp-instead { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-instead li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-weight: 600; }
.rp-instead .n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rp-instead li.none { font-weight: 400; color: var(--muted); }
.rp-instead li > img { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0; }
.rp-instead .who { min-width: 0; }
.rp-instead .who b { display: block; overflow-wrap: anywhere; }
.rp-instead .who small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.rp-instead-sub { margin: -4px 0 12px; font-size: 15px; color: var(--muted); }
.blur { filter: blur(5px); user-select: none; }
.rp-instead li.locked, .rp-fixes li.locked { background: var(--soft); }
.rp-instead li.more, .rp-fixes li.more { justify-content: center; gap: 8px; border-style: dashed; color: var(--accent); font-weight: 600; background: var(--accent-soft); }
.rp-fixes li.more { display: flex; align-items: center; border-left-width: 1px; border-radius: 12px; font-size: 14px; }

.rp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-chips li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 14px; }
.rp-chips li img { width: 18px; height: 18px; border-radius: 4px; }
.rp-chips li small { font-size: 12px; font-weight: 600; color: var(--muted); }
.rp-chips li.yes small { color: var(--bad); }
.rp-comps-line { margin: 12px 0 0; font-size: 15px; font-weight: 500; }

.rp-locked { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-locked li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.rp-locked .txt { font-size: 15px; filter: blur(3px); user-select: none; }
.rp-locked .lock { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }

.rp-offer { position: relative; text-align: center; padding-top: 34px; border-color: color-mix(in srgb, var(--btn) 45%, var(--line));
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--btn) 14%, var(--panel)), var(--panel) 60%); }
.rp-offer-lock { position: absolute; left: 50%; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--btn); color: var(--btn-ink);
  display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.rp-offer-lock svg { width: 20px; height: 20px; }
.rp-offer .rp-h2 { font-size: 22px; }
.rp-offer-logos { display: flex; justify-content: center; gap: 8px; margin: 0 0 16px; }
.rp-offer-logos .logo { width: 36px; height: 36px; }
.rp-offer .rp-points { list-style: none; padding: 0; text-align: left; display: inline-grid; gap: 8px; margin: 0 auto 14px; }
.rp-offer .rp-points li { position: relative; padding-left: 28px; margin: 0; font-weight: 500; }
.rp-offer .rp-points li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rp-offer .rp-pay { font-size: 17px; padding-top: 16px; padding-bottom: 16px; }
.rp-offer .rp-soon { text-align: center; }

.rp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .5); font-size: 14px; font-weight: 600; }
.rp-sticky .sc-btn { flex-shrink: 0; padding: 10px 16px; }
@media (min-width: 960px) { .rp-sticky { display: none !important; } }

/* Motion: blocks slide up in turn, the ring draws, the asked AI pops, the locks float. */
@keyframes rp-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rp-draw { from { stroke-dasharray: 0 400; } }
@keyframes rp-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes rp-float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
@keyframes rp-glow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn) 55%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
@keyframes rp-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.rp-play .rp-in { animation: rp-up .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
.rp-play .rp-ring .seg { animation: rp-draw .9s ease-out both; }
.rp-play .rp-ring .seg[data-seg="1"] { animation-delay: .15s; }
.rp-play .rp-ring .seg[data-seg="2"] { animation-delay: .3s; }
.rp-play .rp-ring .seg[data-seg="3"] { animation-delay: .45s; }
.rp-play .rp-ring-mark { animation: rp-pop .5s .8s both; }
.rp-play .rp-engine .badge { animation: rp-pop .45s both; animation-delay: calc(var(--d, 0ms) + 600ms); }
.rp-play .rp-verdict::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--panel) 45%, transparent), transparent); animation: rp-sweep 1.1s .2s ease-in-out both; }
.rp-offer-lock { animation: rp-float 3s ease-in-out infinite; }
.rp-offer .rp-pay { animation: rp-glow 2.4s ease-in-out infinite; }

@media (max-width: 420px) {
  .rp-verdict { gap: 14px; padding: 16px 14px; }
  .rp-ring { width: 84px; height: 84px; }
  .rp-ring-mark { font-size: 30px; }
  .rp-verdict-h { font-size: 18px; }
  .rp-engine .logo { width: 34px; height: 34px; border-radius: 10px; }
  .rp-engine b { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rp-offer-lock, .rp-offer .rp-pay { animation: none; }
  .sc-meter i { transition: none; }
  .sc-spin, .pv-browser .scanline { animation: none; }
  .sc-btn:active { transform: none; }
}
