/* Free AI visibility check: form, live view, report */
.chk-hero { padding-bottom: 28px; }
.chk-promise { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-weight: 600; color: var(--ink); }
.chk-promise li { display: flex; align-items: center; gap: 8px; }
.chk-section { padding-top: 24px; }
.chk-live { margin-top: 8px; }
.chk-card { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 34px 36px; }
.chk-progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.chk-progress li { flex: 1; counter-increment: s; font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--line); transition: border-color .3s, color .3s; }
.chk-progress li::before { content: counter(s) ". "; }
.chk-progress li.on { color: var(--red-ink); border-color: var(--red-btn); }
.chk-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.chk-step legend { font: 800 1.45rem/1.2 var(--head); color: var(--ink); margin-bottom: 8px; padding: 0; }
.chk-help { color: var(--muted); margin: 0 0 18px; }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 10px; }
.chk-grid .wide { grid-column: 1 / -1; }
.chk-grid label, .chk-questions label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.chk-card input:not([type=radio]), .chk-card select, .chk-card textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.chk-card input:focus, .chk-card select:focus, .chk-card textarea:focus { outline: none; border-color: var(--red-btn); box-shadow: 0 0 0 4px var(--red-soft); }
.chk-card .bad { border-color: var(--red-btn) !important; }
.chk-questions { display: grid; gap: 10px; }
.chk-q { display: flex; gap: 10px; align-items: flex-start; }
.chk-q textarea { resize: vertical; min-height: 48px; line-height: 1.45; }
.chk-q button { flex: none; width: 40px; height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.chk-q button:hover { color: var(--red-ink); border-color: var(--red-btn); }
.chk-add { margin-top: 12px; background: none; border: 1.5px dashed var(--line); border-radius: 10px; padding: 11px 16px; width: 100%; font: 700 .92rem var(--body); color: var(--ink); cursor: pointer; }
.chk-add:hover { border-color: var(--red-btn); color: var(--red-ink); }
.chk-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 14px; }
.chk-mode { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.chk-mode:has(input:checked) { border-color: var(--red-btn); background: var(--red-soft); }
.chk-mode input { margin-top: 4px; accent-color: var(--red-btn); }
.chk-mode strong { display: block; color: var(--ink); }
.chk-mode small { display: block; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.chk-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chk-fine { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.chk-err { color: var(--red-ink); font-weight: 600; margin: 16px 0 0; }
.chk-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.chk-nav .btn-red { margin-left: auto; }

/* email confirmation */
.chk-sent { text-align: center; }
.chk-sent-ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--red-soft); position: relative; }
.chk-sent-ico::after { content: ""; position: absolute; inset: 22px 20px; border: 3px solid var(--red-btn); border-radius: 4px; }

/* live view */
.chk-live, .chk-report, #chk-form, #chk-sent { scroll-margin-top: 120px; }
.chk-live { max-width: 980px; margin: 0 auto; background: var(--ink); color: #e9e9ee; border-radius: 22px; padding: 30px 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.chk-live::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 85% -10%, rgba(253, 15, 2, .28), transparent 70%); pointer-events: none; }
.chk-live h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.chk-live-head { display: flex; gap: 16px; align-items: center; position: relative; }
.chk-live-head p { margin: 2px 0 0; color: #a9a9b3; }
.chk-pulse { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(253, 15, 2, .6); animation: chkPulse 1.6s infinite; flex: none; }
.chk-live.done .chk-pulse { animation: none; background: #2bd47d; box-shadow: none; }
@keyframes chkPulse { 70% { box-shadow: 0 0 0 16px rgba(253, 15, 2, 0); } 100% { box-shadow: 0 0 0 0 rgba(253, 15, 2, 0); } }
.chk-live-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; margin-top: 26px; position: relative; }
.chk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chk-steps li { position: relative; padding: 10px 12px 10px 42px; border-radius: 12px; color: #8d8d97; transition: background .3s, color .3s; }
.chk-steps li b { display: block; font: 700 .95rem var(--head); color: inherit; }
.chk-steps li small { color: #77777f; font-size: .8rem; }
.chk-steps li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #44444c; box-sizing: border-box; }
.chk-steps li.s-run { background: rgba(255, 255, 255, .06); color: #fff; }
.chk-steps li.s-run::before { border-color: var(--red); border-right-color: transparent; animation: chkSpin .8s linear infinite; }
.chk-steps li.s-ok { color: #d6d6dc; }
.chk-steps li.s-ok::before { border-color: #2bd47d; background: #2bd47d; }
.chk-steps li.s-ok::after { content: ""; position: absolute; left: 18px; top: 17px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes chkSpin { to { transform: rotate(360deg); } }
.chk-engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; align-content: start; }
.chk-engine { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 14px; min-height: 92px; position: relative; transition: border-color .3s, background .3s, transform .3s; }
.chk-engine b { display: block; color: #fff; font: 800 1rem var(--head); }
.chk-engine small { display: block; color: #9a9aa4; margin-top: 6px; font-size: .8rem; }
.chk-engine .dots { display: flex; gap: 4px; margin-top: 12px; }
.chk-engine .dots i { width: 6px; height: 6px; border-radius: 50%; background: #55555e; animation: chkDot 1.2s infinite; }
.chk-engine .dots i:nth-child(2) { animation-delay: .2s; } .chk-engine .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes chkDot { 50% { background: var(--red); transform: translateY(-3px); } }
.chk-engine.e-ok { border-color: rgba(43, 212, 125, .5); }
.chk-engine.e-ok .dots, .chk-engine.e-na .dots { display: none; }
.chk-engine.e-na { opacity: .5; }
.chk-engine .tally { font: 800 1.6rem var(--head); color: #fff; margin-top: 6px; }
.chk-engine .tally span { font-size: .85rem; color: #9a9aa4; font-weight: 600; }
.chk-ticker { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .95rem; color: #d6d6dc; display: flex; gap: 10px; align-items: baseline; position: relative; min-height: 22px; }
.chk-ticker-label { flex: none; font: 800 .7rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
#chk-ticker-q { transition: opacity .25s; }
.chk-feed { display: grid; gap: 8px; margin-top: 14px; position: relative; }
.chk-feed div { padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--red); font-size: .92rem; animation: chkIn .45s ease both; }
.chk-feed div.good { border-left-color: #2bd47d; }
@keyframes chkIn { from { opacity: 0; transform: translateY(8px); } }

/* report */
.chk-report { max-width: 1040px; margin: 0 auto; }
.chk-report section { margin-top: 34px; }
.chk-report h2 { font-size: 1.55rem; }
.chk-report .lead { color: var(--muted); }
.rp-top { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 30px 34px; }
.rp-ring { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.rp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rp-ring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rp-ring .num b { font: 900 3.4rem/1 var(--head); color: var(--ink); }
.rp-ring .num span { font: 700 .82rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.rp-top h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.rp-grade { display: inline-block; font: 800 .78rem var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-ink); }
.rp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.rp-stat { background: var(--bg-2); border-radius: 12px; padding: 12px 14px; }
.rp-stat b { display: block; font: 800 1.45rem var(--head); color: var(--ink); }
.rp-stat span { font-size: .82rem; color: var(--muted); }
.rp-engines { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.rp-engine { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.rp-engine b { font: 800 1rem var(--head); color: var(--ink); }
.rp-bar { height: 8px; border-radius: 99px; background: var(--bg-2); margin: 10px 0 6px; overflow: hidden; }
.rp-bar i { display: block; height: 100%; background: var(--red-btn); border-radius: 99px; width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.rp-engine small { color: var(--muted); }
.rp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .92rem; }
.rp-table th, .rp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rp-table thead th { background: var(--ink); color: #fff; font: 700 .76rem var(--head); text-transform: uppercase; letter-spacing: .05em; }
.rp-table td.cell { text-align: center; width: 92px; }
.rp-table tr:last-child td { border-bottom: 0; }
.rp-dot { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; border: 0; cursor: pointer; }
.rp-dot.y { background: #e5f8ee; color: #128a4b; }
.rp-dot.n { background: var(--bg-2); color: #9a9aa4; }
.rp-answer { background: var(--bg-2); border-radius: 12px; padding: 16px 18px; white-space: pre-wrap; font-size: .9rem; line-height: 1.6; color: var(--text); margin: 0; }
.rp-answer-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.rp-chip em { font-style: normal; font-size: .78rem; color: var(--muted); }
.rp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-check { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.rp-check .st { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 .8rem var(--head); color: #fff; }
.rp-check .st.pass { background: #22b36a; } .rp-check .st.warn { background: #f0a020; } .rp-check .st.fail { background: var(--red-btn); }
.rp-check b { display: block; color: var(--ink); font-size: .94rem; }
.rp-check small { color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }
.rp-recs { display: grid; gap: 12px; counter-reset: r; }
.rp-rec { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red-btn); border-radius: 12px; padding: 16px 18px 16px 58px; position: relative; counter-increment: r; }
.rp-rec::before { content: counter(r); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--red-btn); color: #fff; font: 800 .9rem/28px var(--head); text-align: center; }
.rp-rec b { display: block; color: var(--ink); font-size: 1.02rem; }
.rp-rec p { margin: 4px 0 0; color: var(--text); }
.rp-rec .fix { color: var(--muted); font-size: .92rem; }
.rp-cta { background: var(--ink); color: #d6d6dc; border-radius: 22px; padding: 32px 34px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.rp-cta h2 { color: #fff; margin: 0 0 6px; }
.rp-cta p { margin: 0; }
.rp-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.rp-wait { text-align: center; padding: 40px 0; color: var(--muted); }

@media (max-width: 760px) {
  .chk-card { padding: 24px 18px; border-radius: 16px; }
  .chk-grid, .chk-modes, .rp-checks { grid-template-columns: 1fr; }
  .chk-progress li { font-size: .66rem; }
  .chk-live { padding: 22px 16px; border-radius: 16px; }
  .chk-live-grid { grid-template-columns: 1fr; }
  .rp-top { grid-template-columns: 1fr; padding: 24px 18px; text-align: center; }
  .rp-stats { grid-template-columns: 1fr 1fr 1fr; text-align: left; }
  .rp-ring { width: 170px; height: 170px; }
  .rp-table td.cell { width: auto; padding: 10px 6px; }
  .rp-table th, .rp-table td { padding: 10px 8px; }
  .rp-cta { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { .chk-live *, .chk-report * { animation: none !important; transition: none !important; } }
