/* /our-website-scores/ (30 Oct 2026). Sits on svc.css. One signature moment: the hero's results card, where each
   tester's grade is set down in turn like a stamp. Two small tools: the phone/desktop switch and the page picker. */
.sc-hero, .sc-speed { --okc: #5FB98A; --avc: #E5A54B; }

/* hero: the results card (on the dark card from svc.css) */
.scc { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.scc figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0 0 10px; font: 700 1.1rem/1.3 var(--serif); }
.scc figcaption span { font: 400 .8rem/1.6 var(--sans); color: var(--muted); }
.scc ol { margin: 0; padding: 0; list-style: none; }
.scc li { border-top: 1px solid var(--line); }
.scc a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 4px; color: inherit; text-decoration: none; border-radius: 6px; }
.scc-t { display: grid; gap: 2px; min-width: 0; }
.scc-t b { font: 600 .98rem/1.3 var(--sans); }
.scc-t small { font-size: .8rem; color: var(--muted); }
.scc-g { display: grid; justify-items: end; flex: none; font: 700 1.7rem/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.scc-g small { margin-top: 4px; font: 400 .7rem/1 var(--sans); color: var(--muted); }
@media (hover: hover) { .scc a:hover { background: var(--panel2); } .scc a:hover .scc-t b { color: var(--gold); } }
@media (prefers-reduced-motion: no-preference) {
  .scc li { animation: sccIn .45s calc(.25s + var(--i) * .16s) both; }
  .scc-g { animation: sccStamp .5s calc(.55s + var(--i) * .16s) cubic-bezier(.3, 1.5, .5, 1) both; }
}
@keyframes sccIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes sccStamp { from { opacity: 0; transform: scale(1.6) rotate(-6deg); } }

/* six results */
.scts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: clamp(28px, 4vh, 44px) 0 0; padding: 0; list-style: none; }
.sct { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); scroll-margin-top: 100px; }
.sct:target { box-shadow: 0 0 0 2px var(--accent); }
.sct-by { margin: 0 0 4px !important; font-size: .85rem; color: var(--muted); }
.sct h3 { font: 700 1.35rem/1.2 var(--serif); margin: 0 0 8px; }
.sct-what { margin: 0 0 18px !important; font-size: .95rem; color: var(--muted); }
.sct-r { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.sct-r b { font: 700 clamp(2.4rem, 3.4vw, 3rem)/1 var(--serif); letter-spacing: -.02em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.sct-r span { font-size: .85rem; color: var(--muted); }
.sct-det { margin: 0 0 14px !important; font-size: .95rem; }
.sct-why { margin: 0 0 20px !important; font-size: .9rem; color: var(--muted); }
.sct-why span { color: var(--ink); font-weight: 600; }
.sct-ln { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; }
.sct-ln a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.sct-ln a svg, .spd-link svg, .pk-go svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sct-go { color: var(--accent-text); }
.sct-re { color: var(--muted); font-weight: 500 !important; }
@media (hover: hover) { .sct-ln a:hover { color: var(--ink); } }

/* speed in detail */
.spd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.spd-copy p { color: var(--muted); } .spd-copy p b { color: var(--ink); }
.spd { padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.spd-sw { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border: 1px solid var(--rule); border-radius: 99px; }
.spd-sw button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 99px; background: none; color: var(--muted); font: 600 .9rem/1 var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.spd-sw button[aria-pressed="true"] { background: var(--gold); color: var(--espresso); }
@media (hover: hover) { .spd-sw button[aria-pressed="false"]:hover { color: var(--ink); } }
.spgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.spg { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.spg svg { width: min(84px, 100%); height: auto; transform: rotate(-90deg); }
.spg circle { fill: none; stroke: var(--line); stroke-width: 3.5; }
.spg .spg-v { stroke: var(--okc); stroke-linecap: round; stroke-dasharray: calc(var(--s) * 1.194px) 200px; }
.spg b { position: absolute; top: 0; left: 0; right: 0; display: grid; place-items: center; aspect-ratio: 1; width: min(84px, 100%); margin: 0 auto; font: 700 1.35rem/1 var(--serif); color: var(--okc); }
.spg span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
@media (prefers-reduced-motion: no-preference) { .spd-v:not([hidden]) .spg-v { animation: spgFill 1s .1s cubic-bezier(.45, 0, .3, 1) both; } }
@keyframes spgFill { from { stroke-dasharray: 0 200px; } }
.spms { margin: 0; }
.spm { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.spm dt { display: grid; gap: 2px; font-weight: 600; font-size: .95rem; }
.spm dt small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.spm dd { display: grid; justify-items: end; gap: 2px; margin: 0; text-align: right; }
.spm dd b { font: 700 1.15rem/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.spm dd span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); }
.spm dd span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--okc); }
.spm.average dd span::before { background: var(--avc); }
.spd-link { margin: 18px 0 0 !important; }
.spd-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold); font-weight: 600; text-underline-offset: 4px; }

/* test any page */
.pk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pk { padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.pk label { display: block; margin-bottom: 8px; font-weight: 600; }
.pk select { width: 100%; min-height: 48px; padding: 0 44px 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2317110E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/16px no-repeat; color: var(--ink); font: 500 1rem/1.2 var(--sans); appearance: none; }
.pk-url { margin: 10px 0 18px !important; font: 400 .8rem/1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.pk-gos { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pk-go { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s; }
.pk-go b { font-weight: 600; } .pk-go > span:not(.sr) { grid-row: 2; font-size: .85rem; color: var(--muted); }
.pk-go svg { grid-row: 1 / span 2; grid-column: 2; width: 16px !important; height: 16px !important; color: var(--accent-text); }
@media (hover: hover) { .pk-go:hover { border-color: var(--accent); background: var(--panel2); } }

@media (max-width: 1000px) { .scts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spd-grid, .pk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .scts { grid-template-columns: minmax(0, 1fr); }
  .spgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .spm { flex-direction: column; gap: 6px; } .spm dd { justify-items: start; text-align: left; } .spm dd b, .spm dd span { justify-self: start; }
}
