/* dx-audit-2026-10b — /free-website-audit. Dark is the default theme, light under html[data-theme="light"]. */
.dxa {
  --a-ink: #eef1ff; --a-muted: rgba(226,231,255,.66); --a-line: rgba(255,255,255,.10); --a-paper: #0d1020; --a-paper-2: #141832;
  --a-blue: #5b7cff; --a-cyan: #2bd4f0; --a-violet: #8b6cff; --a-good: #3ddc97; --a-warn: #ffb84d; --a-bad: #ff6b6b;
  color: var(--a-ink);
}
html[data-theme="light"] .dxa {
  --a-ink: #0f1430; --a-muted: rgba(15,20,48,.64); --a-line: rgba(15,20,48,.12); --a-paper: #ffffff; --a-paper-2: #f2f4fb;
  --a-good: #13a46b; --a-warn: #c77a00; --a-bad: #d93a3a;
}
.dxa-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.dxa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dxa h1 { font-family: 'Space Grotesk', Inter, sans-serif; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.02em; margin: 10px 0 18px; max-width: 14ch; }
.dxa h2 { font-family: 'Space Grotesk', Inter, sans-serif; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 14px; max-width: 22ch; }
.dxa h3 { font-size: 18px; margin: 0 0 12px; }
.dxa-overline { margin: 0; color: var(--a-cyan); font-weight: 600; font-size: 15px; }
.dxa-lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: var(--a-muted); max-width: 52ch; margin: 0 0 26px; }
.dxa-muted { color: var(--a-muted); line-height: 1.6; max-width: 46ch; }

/* hero */
.dxa-hero { padding: clamp(120px, 15vw, 160px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.dxa-hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(91,124,255,.20), transparent 70%); pointer-events: none; }
.dxa-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px); align-items: start; position: relative; }

/* url bar = the form's first step */
.dxa-urlbar { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 16px; background: var(--a-paper);
  border: 1px solid var(--a-line); box-shadow: 0 0 0 1px rgba(91,124,255,.0), 0 18px 50px -30px rgba(43,212,240,.55); transition: box-shadow .25s, border-color .25s; }
.dxa-urlbar:focus-within { border-color: var(--a-blue); box-shadow: 0 0 0 4px rgba(91,124,255,.18), 0 18px 50px -30px rgba(43,212,240,.7); }
.dxa-urlbar__lock { color: var(--a-good); display: grid; }
.dxa-urlbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: 500 17px/1.2 Inter, sans-serif; padding: 12px 4px; }
.dxa-scan-btn { white-space: nowrap; }
.dxa-err { color: var(--a-bad); font-size: 13.5px; margin: 8px 0 0; display: block; }
.dxa-done { display: grid; gap: 4px; padding: 14px 16px; margin: 0 0 16px; border-radius: 14px; border: 1px solid var(--a-good); background: color-mix(in srgb, var(--a-good) 12%, transparent); }

.dxa-step2 { margin-top: 18px; display: grid; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--a-line); background: var(--a-paper); }
html.dxa-js .dxa-step2:not([data-open]) { display: none; }
html.dxa-js .dxa-step2[data-open] { animation: dxa-rise .45s cubic-bezier(.2,.8,.2,1); }
.dxa-step2__title { margin: 0; font-weight: 700; font-size: 17px; }
.dxa-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dxa-step2 label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.dxa-step2 small { font-weight: 400; color: var(--a-muted); }
.dxa-step2 input, .dxa-step2 select, .dxa-step2 textarea { font: 400 16px Inter, sans-serif; color: inherit; background: var(--a-paper-2); border: 1px solid var(--a-line);
  border-radius: 11px; padding: 11px 13px; width: 100%; box-sizing: border-box; }
.dxa-step2 :is(input, select, textarea):focus { outline: 2px solid var(--a-blue); outline-offset: 1px; }
.dxa-send { justify-content: center; }
.dxa-fine { margin: 0; font-size: 13px; color: var(--a-muted); }
.dxa-fine a { color: inherit; }

/* the report sheet — the page's one moment of motion */
.dxa-sheet { border-radius: 22px; background: var(--a-paper); border: 1px solid var(--a-line); overflow: hidden; position: relative;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.7); transform: rotate(.6deg); }
html[data-theme="light"] .dxa-sheet { box-shadow: 0 40px 80px -50px rgba(15,20,48,.35); }
.dxa-sheet__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--a-line); background: var(--a-paper-2); }
.dxa-dots { display: flex; gap: 6px; } .dxa-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--a-line); }
.dxa-sheet__url { font: 500 13px 'JetBrains Mono', ui-monospace, monospace; color: var(--a-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dxa-sheet__page { position: relative; padding: 18px 18px 6px; display: grid; gap: 9px; overflow: hidden; }
.dxa-skel { height: 10px; border-radius: 6px; background: var(--a-paper-2); }
.dxa-skel--nav { height: 8px; width: 40%; } .dxa-skel--h { height: 18px; width: 75%; margin-top: 6px; } .dxa-skel--p { width: 92%; } .dxa-skel--p.short { width: 60%; }
.dxa-skel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; } .dxa-skel--card { height: 46px; border-radius: 10px; }
.dxa-beam { position: absolute; left: 0; right: 0; top: 0; height: 46px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(43,212,240,.20) 60%, rgba(43,212,240,.85) 98%, transparent);
  border-bottom: 1px solid var(--a-cyan); animation: dxa-scan 3.2s cubic-bezier(.45,0,.25,1) infinite; }
.dxa.is-scanning .dxa-beam { animation-duration: 1.1s; }
.dxa.is-done .dxa-beam { opacity: 0; transition: opacity .4s; }

.dxa-sheet__score { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--a-line); }
.dxa-total { display: grid; justify-items: center; min-width: 92px; }
.dxa-total__num { font: 700 54px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dxa-total__label { font-size: 12.5px; color: var(--a-muted); }
.dxa-gauges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dxa-gauges li { display: grid; justify-items: center; gap: 2px; text-align: center; position: relative; }
.dxa-gauges svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.dxa-gauges circle { fill: none; stroke-width: 4.5; }
.dxa-gauges .trk { stroke: var(--a-paper-2); }
.dxa-gauges .val { stroke: var(--a-good); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 - 113.1 * var(--v) / 100); transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.dxa-gauges li[data-level="warn"] .val { stroke: var(--a-warn); } .dxa-gauges li[data-level="bad"] .val { stroke: var(--a-bad); }
.dxa-gauges b { position: absolute; top: 15px; font: 700 15px 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.dxa-gauges span { font-size: 12px; color: var(--a-muted); line-height: 1.2; }
.dxa-issues { list-style: none; margin: 0; padding: 4px 18px 6px; display: grid; gap: 8px; }
.dxa-issues li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; }
.dxa-issues li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.dxa-issues li.bad::before { content: '✕'; color: var(--a-bad); } .dxa-issues li.ok::before { content: '✓'; color: var(--a-good); }
.dxa-issues li.is-new { animation: dxa-rise .4s both; }
.dxa-sheet__note { margin: 0; padding: 10px 18px 16px; font-size: 13px; color: var(--a-muted); }

/* sections */
.dxa-section { padding: clamp(50px, 7vw, 96px) 0; border-top: 1px solid var(--a-line); }
.dxa-compare { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.dxa-compare__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dxa-col { padding: 22px; border-radius: 18px; border: 1px solid var(--a-line); }
.dxa-col--full { background: var(--a-paper); border-color: color-mix(in srgb, var(--a-cyan) 50%, var(--a-line)); }
.dxa-col h3 small { display: block; font-weight: 400; font-size: 13px; color: var(--a-muted); margin-top: 4px; }
.dxa-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.dxa-col li { padding-left: 22px; position: relative; } .dxa-col li::before { content: '✓'; position: absolute; left: 0; color: var(--a-cyan); font-weight: 700; }
.dxa-timeline { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.dxa-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--a-blue), var(--a-cyan), var(--a-violet)); opacity: .6; }
.dxa-timeline li { padding: 30px 18px 0 0; position: relative; display: grid; gap: 6px; }
.dxa-timeline li::before { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--a-paper); border: 2px solid var(--a-cyan); }
.dxa-timeline b { font-family: 'Space Grotesk', sans-serif; font-size: 17px; }
.dxa-timeline span { color: var(--a-muted); line-height: 1.5; font-size: 15px; }
.dxa-timeline a { color: var(--a-cyan); }
.dxa-faq__grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 24px; }
.dxa-faq details { border-bottom: 1px solid var(--a-line); padding: 16px 0; }
.dxa-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.dxa-faq summary::after { content: '+'; color: var(--a-cyan); font-size: 22px; line-height: 1; transition: transform .2s; }
.dxa-faq details[open] summary::after { transform: rotate(45deg); }
.dxa-faq details p { color: var(--a-muted); line-height: 1.6; margin: 10px 0 0; max-width: 62ch; }

@keyframes dxa-scan { 0% { transform: translateY(-50px); } 70%, 100% { transform: translateY(190px); } }
@keyframes dxa-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .dxa-hero__grid, .dxa-compare, .dxa-faq__grid { grid-template-columns: 1fr; }
  .dxa-sheet { transform: none; }
  .dxa h1 { max-width: none; }
  .dxa-timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
}
@media (max-width: 560px) {
  .dxa-urlbar { flex-wrap: wrap; padding: 8px; }
  .dxa-urlbar input { flex-basis: calc(100% - 40px); }
  .dxa-scan-btn { width: 100%; justify-content: center; }
  .dxa-fields, .dxa-compare__cols { grid-template-columns: 1fr; }
  .dxa-sheet__score { grid-template-columns: 1fr; justify-items: center; }
  .dxa-gauges { width: 100%; }
  .dxa-timeline { grid-template-columns: 1fr; }
  .dxa-timeline::before { left: 7px; right: auto; width: 2px; top: 0; bottom: 0; height: auto; }
  .dxa-timeline li { padding: 0 0 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .dxa-beam { animation: none; opacity: 0; }
  .dxa-gauges .val, .dxa-step2[data-open], .dxa-issues li.is-new { transition: none; animation: none; }
}
