/* Laskyr v2 — graphite + signal blue. Status colours (clean/suspicious/infected) are reserved for scan results. */
:root {
  --bg: #0A0C10;
  --bg-raised: #0E1117;
  --surface: #12161D;
  --surface-2: #171C25;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #ECEFF4;
  --muted: #8C95A4;
  --faint: #5D6676;
  --accent: #5B8DFF;
  --accent-hover: #7AA3FF;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(91, 141, 255, .12);
  --clean: #34D399;
  --suspicious: #FBBF24;
  --infected: #F87171;
  --info: #5B8DFF;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
::selection { background: rgba(91, 141, 255, .35); }
img, svg { max-width: 100%; }

/* ---------- Type: tracking tightens as size grows ---------- */
h1, h2, h3 { color: var(--text); font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; margin: 3rem 0 .75rem; }
h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; }
.sw-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; max-width: 40rem; }
.sw-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.25rem;
}
.sw-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }
.sw-prose a, main p a, main li a { text-decoration: underline; text-decoration-color: rgba(91, 141, 255, .4); text-underline-offset: 3px; }
.sw-prose a:hover, main p a:hover, main li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sw-skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .5rem .9rem; border-radius: 8px; }
.sw-skip:focus { left: .75rem; top: .75rem; z-index: 50; }
.sw-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
main { display: block; overflow-x: clip; }
main > .sw-wrap:first-child, main > article.sw-wrap:first-child { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Header: translucent material, content scrolls under ---------- */
.sw-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 12, 16, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.sw-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 64px; }
.sw-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 650; font-size: 1.08rem; letter-spacing: -.02em; flex-shrink: 0; }
.sw-brand:hover { color: var(--text); }
.sw-brand-mark { color: var(--accent); }
.sw-nav { display: flex; align-items: center; gap: .15rem; }
.sw-nav a { color: var(--muted); font-size: .9rem; font-weight: 500; padding: .45rem .8rem; border-radius: 8px; transition: color .15s, background-color .15s; }
.sw-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.sw-nav a[aria-current="page"] { color: var(--text); }
.sw-header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* ---------- Buttons: feedback on press, not release ---------- */
.sw-btn, button.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: .8rem 1.15rem; min-height: 44px;
  font: 600 .95rem/1 var(--sans); letter-spacing: -.005em;
  cursor: pointer; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .4);
  transition: background-color .15s, border-color .15s, transform .1s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.sw-btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.sw-btn:active { transform: scale(.97); }
.sw-btn.secondary { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); box-shadow: none; }
.sw-btn.secondary:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.sw-btn.sw-nav-cta { padding: .55rem .95rem; min-height: 36px; font-size: .88rem; border-radius: 9px; }

/* ---------- Mobile menu ---------- */
.sw-nav-mobile { display: none; }
.sw-nav-mobile > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sw-nav-mobile > summary:active { transform: scale(.95); }
.sw-nav-mobile > summary::-webkit-details-marker { display: none; }
.sw-burger { position: relative; width: 16px; height: 10px; }
.sw-burger span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease-out), opacity .2s, top .25s var(--ease-out); }
.sw-burger span:nth-child(1) { top: 0; }
.sw-burger span:nth-child(2) { top: 4.25px; }
.sw-burger span:nth-child(3) { top: 8.5px; }
.sw-nav-mobile[open] .sw-burger span:nth-child(1) { top: 4.25px; transform: rotate(45deg); }
.sw-nav-mobile[open] .sw-burger span:nth-child(2) { opacity: 0; }
.sw-nav-mobile[open] .sw-burger span:nth-child(3) { top: 4.25px; transform: rotate(-45deg); }
.sw-nav-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 64px); overflow-y: auto;
  background: rgba(14, 17, 23, .96);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  padding: .5rem 1rem 1.25rem;
  transform-origin: top right;
  animation: sw-materialize .28s var(--ease-out);
}
@keyframes sw-materialize { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
.sw-nav-panel nav { display: grid; }
.sw-nav-row { display: flex; align-items: center; justify-content: space-between; padding: .95rem .25rem; border-bottom: 1px solid var(--border); color: var(--text); font-size: 1.05rem; font-weight: 550; }
.sw-nav-row:hover, .sw-nav-row:active { color: var(--accent); }
.sw-nav-row svg { color: var(--faint); }
.sw-nav-row[aria-current="page"] { color: var(--accent); }
.sw-btn.sw-nav-panel-cta { display: flex; width: 100%; margin-top: 1.1rem; }
.sw-nav-note { margin: .7rem 0 0; text-align: center; color: var(--faint); font-size: .8rem; }

/* ---------- Layout primitives ---------- */
.sw-section { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.sw-section-head { max-width: 40rem; margin-bottom: 2rem; }
.sw-section-head h2 { margin-top: 0; }
.sw-section-head p { color: var(--muted); margin: 0; }
.sw-grid { display: grid; gap: 1rem; }
.sw-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sw-grid-4 { grid-template-columns: repeat(4, 1fr); }

.sw-card, .sw-finding, .sw-price {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.sw-card > a { color: var(--text); font-weight: 600; text-decoration: none; }
.sw-card > a:hover { color: var(--accent); }
.sw-card p, .sw-price p { color: var(--muted); margin: .4rem 0 0; font-size: .95rem; }
.sw-card h2 { margin-top: 0; font-size: 1.2rem; }

/* ---------- Forms ---------- */
.sw-form { display: flex; gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.sw-form input:not([type=checkbox]):not([type=radio]), .sw-form textarea, .sw-form select,
dialog input[type=email] {
  flex: 1; min-width: min(100%, 260px);
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem; min-height: 44px;
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.sw-form input::placeholder, .sw-form textarea::placeholder { color: var(--faint); }
.sw-form input:focus, .sw-form textarea:focus, .sw-form select:focus, dialog input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sw-form label { color: var(--muted); font-size: .9rem; }
.sw-error { color: var(--infected); font-size: .92rem; margin-top: .5rem; }
.sw-trust { color: var(--muted); font-size: .85rem; margin-top: .85rem; }

/* Hero scan field: one fused control */
.sw-scan { display: flex; gap: .4rem; padding: .4rem; margin-top: 2rem; max-width: 34rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--border-strong); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.sw-scan:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sw-scan input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 1rem; padding: 0 .75rem; outline: none; }
.sw-scan input::placeholder { color: var(--faint); }
.sw-scan .sw-btn { flex-shrink: 0; }
.sw-checks { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.sw-checks li { display: inline-flex; align-items: center; gap: .45rem; }
.sw-checks svg { color: var(--clean); flex-shrink: 0; }

/* ---------- Hero ---------- */
.sw-hero2 { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 1rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.sw-glow { position: absolute; top: -64px; left: 50%; width: 100vw; height: 760px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(700px 420px at 72% 32%, rgba(91, 141, 255, .15), transparent 70%), radial-gradient(520px 320px at 18% 0%, rgba(91, 141, 255, .07), transparent 70%); }
.sw-hero2 h1 span { color: var(--muted); }
.sw-hero2 > * { min-width: 0; }

/* Console panel: a material surface showing what the scan checks */
.sw-console { background: rgba(14, 17, 23, .8); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; font-family: var(--mono); font-size: .82rem; }
.sw-console-bar { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--border); color: var(--faint); }
.sw-console-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.sw-console-bar span { margin-left: .5rem; }
.sw-console ul { list-style: none; margin: 0; padding: .5rem 0; }
.sw-console li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 1rem; color: #C3CAD6; }
.sw-console li b { font-weight: 500; }
.sw-console .ok { color: var(--clean); }
.sw-console .warn { color: var(--suspicious); }
.sw-console-foot { display: flex; justify-content: space-between; padding: .8rem 1rem; border-top: 1px solid var(--border); color: var(--muted); }
.sw-console-foot b { color: var(--suspicious); font-weight: 500; }

/* ---------- Symptom tiles ---------- */
.sw-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.sw-tile { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: .95rem; transition: border-color .15s, background-color .15s, transform .1s var(--ease-out); }
.sw-tile:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.sw-tile:active { transform: scale(.98); }
.sw-tile svg { color: var(--faint); flex-shrink: 0; transition: color .15s, transform .2s var(--ease-out); }
.sw-tile:hover svg { color: var(--accent); transform: translateX(2px); }

/* ---------- Steps / offer ---------- */
.sw-step { position: relative; display: flex; flex-direction: column; }
.sw-step .sw-num { font: 500 .75rem/1 var(--mono); color: var(--faint); letter-spacing: .06em; margin-bottom: 1.5rem; }
.sw-step .sw-amount { font-size: 1.9rem; font-weight: 650; letter-spacing: -.03em; color: var(--text); margin: .25rem 0 .5rem; }
.sw-step .sw-amount small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sw-step p { flex: 1; }
.sw-step .sw-more { margin-top: 1.25rem; font-weight: 550; font-size: .92rem; text-decoration: none; }
.sw-step.featured { border-color: rgba(91, 141, 255, .45); box-shadow: 0 0 0 1px rgba(91, 141, 255, .15), 0 20px 50px -25px rgba(91, 141, 255, .35); }

/* ---------- Feature list ---------- */
.sw-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.sw-feature svg { color: var(--accent); margin-bottom: .9rem; }
.sw-feature h3 { margin-bottom: .3rem; }
.sw-feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Founder / proof strip ---------- */
.sw-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 1.6rem; }
.sw-strip p { margin: 0; color: var(--muted); max-width: 40rem; }
.sw-strip strong { color: var(--text); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.sw-faq { border-top: 1px solid var(--border); max-width: 52rem; }
details:not(.sw-nav-mobile) { border-bottom: 1px solid var(--border); }
details:not(.sw-nav-mobile) > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 550; color: var(--text); -webkit-tap-highlight-color: transparent; }
details:not(.sw-nav-mobile) > summary::-webkit-details-marker { display: none; }
details:not(.sw-nav-mobile) > summary::after { content: ""; width: 9px; height: 9px; flex-shrink: 0; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease-out); }
details[open]:not(.sw-nav-mobile) > summary::after { transform: translateY(2px) rotate(-135deg); }
details:not(.sw-nav-mobile) > summary:hover { color: var(--accent); }
details:not(.sw-nav-mobile) > :not(summary) { color: var(--muted); margin: 0 0 1.1rem; max-width: 46rem; animation: sw-reveal .25s var(--ease-out); }
@keyframes sw-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.sw-cta { margin-top: clamp(4rem, 9vw, 7rem); padding: clamp(2.5rem, 6vw, 4rem); border-radius: 20px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(91, 141, 255, .16), transparent 60%), var(--surface); border: 1px solid var(--border); }
.sw-cta h2 { margin: 0 0 .5rem; }
.sw-cta p { color: var(--muted); margin: 0 auto; max-width: 32rem; }
.sw-cta .sw-scan { margin: 1.75rem auto 0; }

/* ---------- Legacy components restyled ---------- */
.sw-hero { padding: clamp(3rem, 8vw, 5rem) 0 1.5rem; }
.sw-log { font-family: var(--mono); background: rgba(0, 0, 0, .4); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; color: #C3CAD6; font-size: .85rem; overflow: auto; }
.sw-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .15rem .6rem; font: 500 .72rem/1.4 var(--mono); border: 1px solid var(--border-strong); color: var(--muted); }
.sw-pill.critical, .sw-pill.infected { color: var(--infected); border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
.sw-pill.high, .sw-pill.suspicious, .sw-pill.medium { color: var(--suspicious); border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .07); }
.sw-pill.low, .sw-pill.clean { color: var(--clean); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.sw-pill.info { color: var(--accent); border-color: rgba(91, 141, 255, .35); background: var(--accent-soft); }
.sw-banner { border-radius: var(--radius); padding: 1.2rem 1.35rem; border: 1px solid var(--border); margin: 1rem 0; background: var(--surface); }
.sw-banner.infected { background: rgba(248, 113, 113, .07); border-color: rgba(248, 113, 113, .3); }
.sw-banner.suspicious { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .28); }
.sw-banner.clean { background: rgba(52, 211, 153, .06); border-color: rgba(52, 211, 153, .28); }
.sw-price.featured { border-color: rgba(91, 141, 255, .45); }
.sw-price strong { font-size: 2.2rem; letter-spacing: -.03em; display: block; margin: .3rem 0; }
.sw-mono, .sw-prose code { font-family: var(--mono); font-size: .9em; }
.sw-prose { color: #D3D8E1; }
.sw-prose > p, .sw-prose > ul, .sw-prose > ol, .sw-prose > div > p, .sw-prose > div > ul, .sw-prose > div > ol { max-width: 44rem; }
.sw-prose li { margin: .35rem 0; }
.sw-prose li::marker { color: var(--faint); }
.sw-prose h2 { margin-top: 2.5rem; }
.sw-prose pre { overflow: auto; background: rgba(0, 0, 0, .45); border: 1px solid var(--border); padding: 1rem 1.1rem; border-radius: 12px; font-size: .85rem; }
.sw-prose code:not(pre code) { background: rgba(255, 255, 255, .06); padding: .1em .35em; border-radius: 5px; }
.sw-prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 2px solid var(--accent); color: var(--muted); }
.sw-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sw-table th { color: var(--muted); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.sw-table th, .sw-table td { border-bottom: 1px solid var(--border); text-align: left; padding: .65rem .5rem; vertical-align: top; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

dialog { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: 18px; max-width: 26rem; padding: 1.75rem; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); }
dialog[open] { animation: sw-materialize .3s var(--ease-out); }
dialog::backdrop { background: rgba(4, 6, 10, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog h2 { margin-top: 0; font-size: 1.35rem; }
dialog p { color: var(--muted); }
dialog input[type=email] { width: 100%; margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.sw-footer { margin-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--border); background: var(--bg-raised); color: var(--muted); font-size: .9rem; }
.sw-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding: 3.5rem 0 2.5rem; }
.sw-footer-brand p { max-width: 20rem; margin: .9rem 0 1rem; }
.sw-footer h2 { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: .3rem 0 1rem; }
.sw-footer nav a, .sw-footer-brand a { display: block; color: var(--muted); padding: .28rem 0; }
.sw-footer nav a:hover, .sw-footer-brand a:hover { color: var(--text); }
.sw-footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0 2rem; border-top: 1px solid var(--border); font-size: .82rem; color: var(--faint); }
.sw-footer-base nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.sw-footer-base a { color: var(--faint); }
.sw-footer-base a:hover { color: var(--text); }
.sw-contact { padding: 1.25rem 1.3rem; margin-top: 0; }
.sw-contact summary { padding: 0 !important; }
.sw-contact[open] summary { margin-bottom: .5rem; }
.sw-contact .sw-form { margin-top: .5rem; }
.sw-contact .sw-form textarea { flex-basis: 100%; min-height: 6rem; resize: vertical; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sw-hero2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .sw-tiles, .sw-features, .sw-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sw-footer-grid { grid-template-columns: 1fr 1fr; }
  .sw-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sw-nav { display: none; }
  .sw-nav-mobile { display: block; }
  .sw-grid-2, .sw-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sw-tiles, .sw-features, .sw-grid-4 { grid-template-columns: 1fr; }
  .sw-features { gap: 1.5rem; }
  .sw-scan { flex-direction: column; padding: .5rem; }
  .sw-scan input { min-height: 44px; }
  .sw-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .sw-btn:active, .sw-tile:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sw-header, .sw-nav-panel { background: var(--bg-raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --border: rgba(255, 255, 255, .3); --border-strong: rgba(255, 255, 255, .5); --muted: #C2C8D2; --faint: #A3AAB6; }
}
main > .sw-wrap:first-child:has(> .sw-hero2) { padding-top: 0; }

/* Buttons never take the in-text link underline */
main a.sw-btn, .sw-prose a.sw-btn { text-decoration: none; }
.sw-grid { margin-bottom: 1.25rem; }
.sw-price { display: flex; flex-direction: column; }
.sw-price p:last-child { margin-top: auto; padding-top: 1rem; }

/* Contact page */
.sw-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.sw-contact-grid .sw-form { margin-top: 0; }
.sw-contact-grid .sw-form input, .sw-contact-grid .sw-form textarea { flex-basis: 100%; }
.sw-contact-grid .sw-form textarea { min-height: 9rem; resize: vertical; }
.sw-contact-side { display: grid; gap: 1rem; }
.sw-contact-side h2 { font-size: 1.05rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.sw-contact-side p { margin: 0; }
.sw-contact-side .sw-big { font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.sw-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 1.4rem; margin-bottom: 2rem; }
.sw-footer-cta p { margin: 0; color: var(--text); font-weight: 550; }
.sw-footer-cta span { color: var(--muted); font-weight: 400; }
.sw-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--faint); }
.sw-crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--faint); }
.sw-crumbs a { color: var(--muted); text-decoration: none !important; }
.sw-crumbs a:hover { color: var(--text); }
@media (max-width: 860px) { .sw-contact-grid { grid-template-columns: 1fr; } }
.sw-mt { margin-top: 1rem !important; }

/* Scan-result offer + intake form */
.sw-offer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.6rem; border-color: rgba(91, 141, 255, .35); }
.sw-offer h2 { margin: 0 0 .25rem; font-size: 1.35rem; }
.sw-offer .sw-eyebrow { margin-bottom: .75rem; }
.sw-offer .sw-checks { margin-top: .75rem; }
.sw-offer-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.sw-intake { display: grid; gap: .25rem; max-width: 40rem; padding: 1.5rem; }
.sw-intake label { display: grid; gap: .4rem; color: var(--muted); font-size: .9rem; }
.sw-intake label:has(> input[type=checkbox]) { display: flex; align-items: flex-start; gap: .5rem; }
.sw-intake input:not([type=checkbox]), .sw-intake textarea, .sw-intake select { width: 100%; background: rgba(0, 0, 0, .35); border: 1px solid var(--border-strong); color: var(--text); border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 44px; font: inherit; }
.sw-intake textarea { min-height: 6rem; resize: vertical; }
.sw-intake input:focus, .sw-intake textarea:focus, .sw-intake select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.sw-banner .sw-pill { margin: 0 0 .5rem; }
.sw-banner h2 { margin: .25rem 0 .4rem; }
.sw-banner p:last-child { margin-bottom: 0; }
.sw-finding + .sw-finding { margin-top: .75rem; }
.sw-finding h3 { margin-top: .5rem; }

/* Markdown tables in guides */
.sw-prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: .92rem; display: block; overflow-x: auto; }
.sw-prose th { text-align: left; color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: .6rem .75rem; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.sw-prose td { padding: .7rem .75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.sw-prose tr:hover td { background: rgba(255, 255, 255, .02); }
