/* /services/website-development/website-redesign/ (3 Nov 2026). Sits on svc.css, tseo.css and ptool.css. One signature moment: the hero's two lines, the same design
   launched two ways, drawing themselves once. No class here contains "ad": ad blockers hide those. */

.rdf { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.rdf figcaption { margin: 0 0 12px; font: 700 1.1rem/1.3 var(--serif); }
.rdf-c { display: block; width: 100%; height: auto; overflow: visible; }
.rdf-g { stroke: var(--line); stroke-width: 1; }
.rdf-m { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.rdf-t { fill: var(--muted); font: 400 12px/1 var(--sans); }
.rdf-a, .rdf-b { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rdf-a { stroke: var(--gold); }
.rdf-b { stroke: #E0907C; }
.rdf-la { fill: var(--gold); font: 700 13px/1 var(--sans); }
.rdf-lb { fill: #E0907C; font: 700 13px/1 var(--sans); }
.rdf .note { margin: 12px 0 0 !important; }
.rdf .note a { color: inherit; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .rdf-a, .rdf-b { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rdfDraw 1.4s .3s cubic-bezier(.4, 0, .2, 1) forwards; }
  .rdf-b { animation-delay: .5s; }
}
@keyframes rdfDraw { to { stroke-dashoffset: 0; } }

/* the redirect list */
.rdm { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.rdm-l { margin: 0; padding: 0; list-style: none; }
.rdm-l li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rdm-l li:last-child { border-bottom: 0; }
.rdm-t { min-width: 0; }
.rdm-t b { display: block; font: 500 .92rem/1.35 var(--mono); overflow-wrap: anywhere; }
.rdm-t span { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rdm-l li[data-on] .rdm-t b { color: var(--gold); }
.rdm-x { flex: none; min-width: 92px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: none; color: var(--ink); font: 600 .92rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rdm-x[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--espresso); }
@media (hover: hover) { .rdm-x:hover:not([aria-pressed="true"]) { border-color: var(--gold); } }
.rdm-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* our own scores, each one a link to the tester's page */
.rdo { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.rdo a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 10px; color: inherit; text-decoration: none; transition: border-color .2s; }
@media (hover: hover) { .rdo a:hover { border-color: var(--gold); } }
.rdo span { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.rdo b { font: 700 1.05rem/1.2 var(--serif); color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.rdo small { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }

@media (max-width: 1000px) { .rdm { grid-template-columns: minmax(0, 1fr); } }
