/* Website test page. Builds on home.css: same header, hero, buttons, contact band and footer. */
.scan { width: clamp(104px, 11vw, 130px); aspect-ratio: 13 / 10; margin-bottom: 6px; }
.tested { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; max-width: 880px; margin: 28px auto 0; padding: 0; list-style: none; }
.tested li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.tested li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--ink); transform: translateY(-2px); }
.tested-note { max-width: 52ch; margin: 24px auto 0; color: var(--muted); font-size: 16px; text-align: center; }
.check-form { width: 100%; max-width: 560px; margin-top: 6px; }
.check-input { display: flex; gap: 8px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(36, 38, 32, .04), 0 12px 32px rgba(36, 38, 32, .05); }
.check-input:focus-within { border-color: var(--ink); }
.check-input input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 16px; color: var(--ink); background: transparent; border: 0; border-radius: 999px; font: inherit; font-size: 16px; }
.check-input input:focus-visible { outline: none; }
.check-input input::placeholder { color: #8c9185; }
.check-input .btn { flex: none; }
.check-input button:disabled { opacity: .6; cursor: wait; }
#check-status { min-height: 24px; color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
#check-status:empty { min-height: 0; }
#check-status[data-state="error"] { color: #a12e28; }
#check-status[data-state="loading"]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; vertical-align: -1px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: check-spin 1s linear infinite; }
@keyframes check-spin { to { transform: rotate(360deg); } }

.check-report { width: 100%; max-width: calc(800px + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter); scroll-margin-top: 16px; outline: none; }
.report-card { padding: clamp(22px, 4vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(36, 38, 32, .04), 0 12px 32px rgba(36, 38, 32, .05); }
.report-heading h2 { max-width: none; font-size: clamp(24px, 3vw, 32px); overflow-wrap: anywhere; }
.report-meta { margin-top: 8px; color: var(--muted); font-size: 16px; }
.report-score { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; padding: clamp(18px, 3vw, 26px); color: var(--background); background: var(--ink); border-radius: 16px; }
.score-figure { flex: none; line-height: 1; }
.score-figure strong { font-size: clamp(56px, 9vw, 84px); font-weight: 600; letter-spacing: -.05em; }
.score-figure span { margin-left: 4px; color: var(--on-ink); font-size: 18px; }
.score-words { flex: 1 1 180px; min-width: 0; }
.score-summary { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.report-score .report-meta { color: var(--on-ink); }
/* Four category dials. A category with too few verified checks shows a question mark, never 0 or 100. */
.report-dials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dial { padding: 18px 10px 14px; background: var(--surface); border-radius: 14px; text-align: center; }
.dial-ring { --p: 0; --c: var(--ink); position: relative; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.dial-ring::before { content: ""; position: absolute; inset: 7px; background: var(--surface); border-radius: 50%; }
.dial-ring strong { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.dial.bad .dial-ring { --c: #b4322b; }
.dial.mid .dial-ring { --c: #b8860b; }
.dial.good .dial-ring { --c: #2f7d4f; }
.dial.none .dial-ring { background: var(--line); }
.dial.none strong { color: var(--muted); }
.dial h3 { margin-top: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.dial-verdict { margin-top: 2px; font-size: 16px; font-weight: 600; }
.dial.bad .dial-verdict { color: #b4322b; }
.dial.mid .dial-verdict { color: #8a6508; }
.dial.good .dial-verdict { color: #2f7d4f; }
.dial.none .dial-verdict { color: var(--muted); font-weight: 500; }
.dial-coverage { margin-top: 4px; color: var(--muted); font-size: 16px; }
.check-top { margin-top: 28px; }
.check-top > h3, .check-group > h3 { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.check-group { margin-top: 20px; }
.check-more .check-group:first-of-type { margin-top: 8px; }
.report-email { flex: 1 1 100%; text-align: center; }
.report-email .mail-form { max-width: 460px; margin-left: auto; margin-right: auto; text-align: left; }
.report-email summary { cursor: pointer; color: var(--muted); font-size: 16px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; list-style: none; }
.report-email summary::-webkit-details-marker { display: none; }
.mail-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mail-form input[type="email"] { min-width: 0; width: 100%; flex: 1 1 220px; min-height: 44px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; }
.mail-form .btn { min-height: 44px; }
.mail-status { flex: 1 1 100%; color: var(--muted); font-size: 16px; }
.mail-status:empty { display: none; }
.report-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; margin-top: 14px; }
.check-group > h3 { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.check-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.check-row-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
details.check-row { padding: 0; }
details.check-row > summary { display: flex; align-items: center; min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; }
details.check-row > summary::-webkit-details-marker { display: none; }
details.check-row > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat; transition: transform .2s ease; }
details.check-row[open] > summary::after { transform: rotate(45deg); }
details.check-row > p, details.check-row > a { margin-left: 0; }
details.check-row > :last-child { padding-bottom: 14px; }
details.check-row > p:first-of-type { margin-top: 0; }
.check-row h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.check-row p { max-width: 60ch; margin-top: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.check-value { flex: none; font-size: 15px; font-weight: 600; }
.check-row .check-evidence { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.check-row .check-evidence::before { content: "“"; }
.check-row .check-evidence::after { content: "”"; }
.check-source { display: inline-block; margin-top: 8px; font-size: 16px; }
.check-more { margin-top: 20px; border-top: 1px solid var(--line); }
.check-more + .check-more { margin-top: 0; }
.check-more summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.check-more summary::-webkit-details-marker { display: none; }
.check-more summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform .2s ease; }
.check-more[open] summary::after { transform: rotate(45deg); }
.check-more .check-row p { color: var(--muted); }
.check-more .check-row:last-child { border-bottom: 0; }
.report-next { margin-top: 28px; text-align: center; }
.report-next .btn { display: flex; width: 100%; min-height: 52px; border-radius: 12px; }
.report-next p { max-width: 46ch; margin: 14px auto 0; color: var(--muted); font-size: 16px; }
.report-foot { margin-top: 14px; text-align: center; }
.link-button { padding: 8px 0; color: var(--muted); background: none; border: 0; font: inherit; font-size: 13px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; cursor: pointer; }
.link-button:hover { color: var(--ink); text-decoration-color: currentColor; }

@media (max-width: 640px) {
  .check-input { flex-direction: column; padding: 8px; border-radius: 20px; }
  .check-input input { min-height: 46px; }
  .check-input .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #check-status[data-state="loading"]::before { animation: none; }
}
@media (max-width: 640px) {
  .report-dials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Closing offer: a dark box under the report. */
.report-next { margin-top: 28px; padding: clamp(22px, 3vw, 28px); color: var(--background); background: var(--ink); border-radius: 18px; text-align: left; }
.report-next .report-offer-heading { color: var(--background); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.report-next .report-offer-price { margin: 6px 0 0; max-width: none; color: var(--on-ink); font-size: 16px; }
.report-next .btn { margin-top: 18px; width: auto; display: inline-flex; color: var(--ink); background: var(--background); border-color: var(--background); }
.report-next .btn:hover { background: var(--surface); }
.report-next #report-note { margin: 12px 0 0; max-width: 52ch; color: var(--on-ink); font-size: 16px; text-align: left; }
.report-next :focus-visible { outline-color: var(--background); }
/* No divider lines between the last finding, the full-detail toggle and the closing box. */
.check-top .check-row:last-child { border-bottom: 0; }
.check-more { border-top: 0; }

.check-report .report-card { flex: none; }
.report-next .report-offer-heading { margin: 0; }
.report-next .report-offer-scope, .report-next .delivery { margin: 10px 0 0; color: var(--on-ink); max-width: 52ch; font-size: 16px; }
.report-email summary, .link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.check-source { min-height: 44px; padding: 10px 0; }
.report-card, .report-next, .check-row-heading > * { min-width: 0; }
.check-row-heading { flex-wrap: wrap; }
.check-row-heading h4 { flex: 1 1 170px; }
.check-state { font-size: 16px; }
.report-next .btn { max-width: 100%; }
@media (max-width: 640px) {
  .report-card { padding: 20px; }
  .report-next { padding: 20px; }
  .report-next .report-offer-heading { font-size: 20px; }
  .report-next .btn { width: 100%; padding-left: 14px; padding-right: 14px; }
  .report-dials { gap: 8px; }
  .dial { min-width: 0; padding-left: 6px; padding-right: 6px; }
  .dial h3, .dial p { overflow-wrap: anywhere; }
}

.report-next { position: relative; isolation: isolate; background: radial-gradient(130% 80% at 0% 0%, rgba(255, 255, 255, .08), transparent 55%), var(--ink); }
