@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 200 800;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/space-mono-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --bg: #06100e;
  --bg-deep: #030a08;
  --surface: #0b1815;
  --surface-2: #101f1b;
  --surface-3: #142823;
  --line: #1e342f;
  --line-soft: rgb(147 190 181 / 13%);
  --text: #eff8f5;
  --muted: #91a49f;
  --muted-2: #627570;
  --mint: #64e7d4;
  --mint-bright: #99ffed;
  --amber: #efb875;
  --red: #ff9198;
  --content: min(1180px, calc(100vw - 48px));
  --shadow: 0 30px 90px rgb(0 0 0 / 28%);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f9f8;
  --bg-deep: #e8f0ed;
  --surface: #ffffff;
  --surface-2: #f1f7f5;
  --surface-3: #e7f1ee;
  --line: #cfe0db;
  --line-soft: rgb(23 69 60 / 10%);
  --text: #10211d;
  --muted: #5f746e;
  --muted-2: #81918d;
  --mint: #0b8878;
  --mint-bright: #096f63;
  --amber: #a66519;
  --red: #b63843;
  --shadow: 0 28px 70px rgb(27 61 53 / 12%);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 18%, rgb(100 231 212 / 7%), transparent 28rem),
    radial-gradient(circle at 88% 35%, rgb(166 138 248 / 5%), transparent 25rem),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; }
h1, h2, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--bg-deep);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.diagnostic-header {
  display: grid;
  width: var(--content);
  min-height: 82px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid rgb(138 227 212 / 22%);
  border-radius: 10px;
  box-shadow: 0 0 24px rgb(100 231 212 / 10%);
}

.header-label,
.card-kicker,
.eyebrow,
.support-code span {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.header-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.header-label > span,
.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgb(100 231 212 / 75%);
}

.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  justify-self: end;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: var(--surface-3);
}

.theme-toggle-track::after {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
  transition: transform 180ms ease;
}

html[data-theme="light"] .theme-toggle-track::after { transform: translateX(12px); }

main {
  width: var(--content);
  margin: 0 auto;
}

.intro {
  display: grid;
  min-height: 610px;
  padding: 78px 0 70px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: 84px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-bright);
  font-size: 11px;
}

.intro h1 {
  max-width: 720px;
  margin-top: 23px;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 720;
  letter-spacing: -.055em;
  line-height: .99;
}

.intro-copy > p {
  max-width: 650px;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.safety-line {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.safety-line span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgb(100 231 212 / 28%);
  border-radius: 50%;
  background: rgb(100 231 212 / 8%);
  color: var(--mint-bright);
}

.preflight-card,
.path-card,
.result-card,
.report-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.preflight-card { padding: 31px; }
.card-kicker { color: var(--mint-bright); font-size: 10px; }

.preflight-card h2,
.workspace-heading h2,
.report-card h2 {
  margin-top: 9px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.preflight-card ol,
.connection-path,
.result-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.preflight-card ol {
  display: grid;
  margin-top: 24px;
  gap: 2px;
}

.preflight-card li {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.preflight-card li > span {
  color: var(--mint);
  font: 11px "Space Mono", monospace;
}

.preflight-card li p { display: grid; gap: 3px; }
.preflight-card li strong { font-size: 14px; }
.preflight-card li small { color: var(--muted); font-size: 12px; }

.browser-check {
  display: flex;
  min-height: 62px;
  margin: 22px 0 16px;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.browser-check > i {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 2px solid var(--muted-2);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.browser-check.is-ready > i,
.browser-check.is-error > i { border: 0; animation: none; }
.browser-check.is-ready > i { background: var(--mint); box-shadow: 0 0 14px rgb(100 231 212 / 50%); }
.browser-check.is-error > i { background: var(--red); }
.browser-check div { display: grid; gap: 2px; }
.browser-check strong { font-size: 13px; }
.browser-check small { color: var(--muted); font-size: 11px; }

@keyframes spin { to { transform: rotate(360deg); } }

.primary-button,
.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.primary-button {
  background: var(--mint);
  color: #04110e;
  box-shadow: 0 16px 36px rgb(50 177 159 / 20%);
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled) { transform: translateY(-2px); }
.primary-button:disabled,
.secondary-button:disabled { cursor: not-allowed; opacity: .46; }

.button-signal {
  display: flex;
  height: 20px;
  align-items: end;
  gap: 2px;
}

.button-signal i { display: block; width: 3px; border-radius: 3px; background: currentColor; }
.button-signal i:nth-child(1) { height: 7px; }
.button-signal i:nth-child(2) { height: 12px; }
.button-signal i:nth-child(3) { height: 18px; }

.text-button {
  display: block;
  width: fit-content;
  margin: 13px auto 0;
  padding: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.text-button:hover { color: var(--text); }
.text-button:disabled { cursor: not-allowed; opacity: .45; }
.compatibility-note { margin-top: 18px; color: var(--muted-2); font-size: 11px; line-height: 1.55; text-align: center; }
.is-hidden { display: none !important; }

.diagnostic-workspace {
  padding: 38px 0 78px;
  border-top: 1px solid var(--line-soft);
}

.workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.live-status {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: 10px "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgb(100 231 212 / 75%);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.workspace-grid {
  display: grid;
  margin-top: 25px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: start;
  gap: 20px;
}

.path-card { position: relative; padding: 30px; overflow: hidden; }
.path-progress { position: absolute; width: 2px; height: 249px; top: 69px; left: 50px; background: var(--line); }
.path-progress i { display: block; width: 100%; height: 0; background: var(--mint); box-shadow: 0 0 10px rgb(100 231 212 / 55%); transition: height 320ms ease; }

.connection-path { display: grid; }

.connection-path li {
  display: grid;
  min-height: 83px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
}

.stage-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted-2);
  font: 11px "Space Mono", monospace;
  transition: border 180ms ease, background 180ms ease, color 180ms ease;
}

.connection-path li.is-active .stage-marker { border-color: var(--mint); color: var(--mint-bright); }
.connection-path li.is-complete .stage-marker { border-color: var(--mint); background: var(--mint); color: #04110e; }
.connection-path li.is-error .stage-marker { border-color: var(--red); background: rgb(255 145 152 / 10%); color: var(--red); }
.connection-path li.is-skipped .stage-marker { border-style: dashed; color: var(--muted); }
.connection-path li > div { display: grid; gap: 4px; }
.connection-path strong { font-size: 14px; }
.connection-path small { color: var(--muted); font-size: 12px; }
.connection-path b { color: var(--muted-2); font: 9px "Space Mono", monospace; text-transform: uppercase; }
.connection-path li.is-complete b { color: var(--mint-bright); }
.connection-path li.is-error b { color: var(--red); }
.connection-path li.is-skipped b { color: var(--muted); }

.run-meter {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface-2);
}

.run-meter > div { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.run-meter span { color: var(--muted); }
.run-meter strong { font: 11px "Space Mono", monospace; }
.run-meter progress { width: 100%; height: 6px; margin: 13px 0 8px; border: 0; border-radius: 99px; overflow: hidden; background: var(--line); }
.run-meter progress::-webkit-progress-bar { background: var(--line); }
.run-meter progress::-webkit-progress-value { background: var(--mint); }
.run-meter progress::-moz-progress-bar { background: var(--mint); }
.run-meter small { color: var(--muted-2); font-size: 10px; }
.run-meter .run-meter-detail { gap: 14px; }
.run-meter .run-meter-detail small:last-child { text-align: right; }
.run-meter.is-complete {
  border-color: rgb(100 231 212 / 34%);
  background: rgb(100 231 212 / 8%);
}
.run-meter.is-complete span,
.run-meter.is-complete strong,
.run-meter.is-complete .run-meter-detail small:last-child { color: var(--mint-bright); }

.result-card {
  position: relative;
  min-height: 470px;
  padding: 34px;
  overflow: hidden;
}

.result-orbit { position: absolute; width: 220px; height: 220px; top: -95px; right: -70px; border: 1px solid var(--line-soft); border-radius: 50%; }
.result-orbit i { position: absolute; inset: 20px; border: 1px solid var(--line-soft); border-radius: 50%; }
.result-orbit i:nth-child(2) { inset: 44px; }
.result-orbit i:nth-child(3) { inset: 70px; }

.result-summary {
  position: relative;
  display: flex;
  max-width: 560px;
  margin-bottom: 25px;
  align-items: stretch;
  gap: 12px;
}

.result-icon {
  display: grid;
  width: 72px;
  min-width: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface-2);
  color: var(--mint-bright);
  font: 22px "Space Mono", monospace;
}

.test-verdict {
  display: grid;
  min-height: 72px;
  padding: 13px 17px;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface-2);
}

.test-verdict span {
  color: var(--muted-2);
  font: 9px "Space Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.test-verdict strong { font-size: 20px; letter-spacing: -.025em; }
.test-verdict[data-state="passed"] { border-color: rgb(100 231 212 / 38%); background: rgb(100 231 212 / 10%); }
.test-verdict[data-state="passed"] strong { color: var(--mint-bright); }
.test-verdict[data-state="not-passed"] { border-color: rgb(255 145 152 / 36%); background: rgb(255 145 152 / 9%); }
.test-verdict[data-state="not-passed"] strong { color: var(--red); }
.result-card[data-level="healthy"] .result-icon { border-color: rgb(100 231 212 / 38%); background: rgb(100 231 212 / 10%); }

.result-card[data-level="failure"] .result-icon { color: var(--red); }
.result-card[data-level="warning"] .result-icon { color: var(--amber); }
.result-card[data-level="failure"] .result-icon { border-color: rgb(255 145 152 / 36%); background: rgb(255 145 152 / 9%); }
.result-card[data-level="warning"] .result-icon { border-color: rgb(246 195 97 / 35%); background: rgb(246 195 97 / 9%); }
.result-card h2 { max-width: 650px; margin-top: 12px; font-size: 27px; letter-spacing: -.03em; }
.result-card > p { max-width: 680px; margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.result-card ul { display: grid; margin-top: 10px; gap: 8px; }
.result-card li { position: relative; padding-left: 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.result-card li::before { position: absolute; top: 7px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); content: ""; }

.result-checks {
  position: relative;
  display: grid;
  max-width: 760px;
  margin-top: 28px;
  gap: 8px;
}

.result-checks h3 {
  margin: 0 0 4px;
  color: var(--muted-2);
  font: 9px "Space Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-check {
  display: grid;
  min-height: 62px;
  padding: 10px 14px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--surface-2);
}

.result-check > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
  font: 9px "Space Mono", monospace;
  font-style: normal;
}

.result-check > div { display: grid; min-width: 0; gap: 3px; }
.result-check strong { font-size: 12px; }
.result-check small { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.result-check > b,
.result-check-action > b { color: var(--muted-2); font: 9px "Space Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.result-check[data-state="passed"] { border-color: rgb(100 231 212 / 24%); background: rgb(100 231 212 / 6%); }
.result-check[data-state="passed"] > i,
.result-check[data-state="passed"] > b,
.result-check[data-state="passed"] .result-check-action > b { color: var(--mint-bright); }
.result-check[data-state="passed"] > i { border-color: rgb(100 231 212 / 34%); }
.result-check[data-state="issue"] { border-color: rgb(255 145 152 / 25%); background: rgb(255 145 152 / 6%); }
.result-check[data-state="issue"] > i,
.result-check[data-state="issue"] > b,
.result-check[data-state="issue"] .result-check-action > b { color: var(--red); }
.result-check[data-state="issue"] > i { border-color: rgb(255 145 152 / 34%); }

.result-check-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.check-retry {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgb(255 145 152 / 34%);
  border-radius: 9px;
  background: rgb(255 145 152 / 10%);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.check-retry:hover { border-color: rgb(255 145 152 / 55%); background: rgb(255 145 152 / 16%); }
.check-retry:disabled { cursor: wait; opacity: .55; }

.next-step {
  position: relative;
  max-width: 760px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-2);
}

.next-step > strong { font-size: 12px; }
.next-step[data-state="passed"] { border-color: rgb(100 231 212 / 25%); background: rgb(100 231 212 / 6%); }
.next-step[data-state="action"] { border-color: rgb(246 195 97 / 28%); background: rgb(246 195 97 / 7%); }

.technical-details {
  position: relative;
  max-width: 760px;
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.technical-details summary {
  position: relative;
  display: grid;
  padding: 17px 34px 6px 0;
  cursor: pointer;
  gap: 3px;
  list-style: none;
}

.technical-details summary::-webkit-details-marker { display: none; }
.technical-details summary::after { position: absolute; top: 20px; right: 5px; color: var(--mint); font: 17px "Space Mono", monospace; content: "+"; }
.technical-details[open] summary::after { content: "−"; }
.technical-details summary span { font-size: 12px; font-weight: 750; }
.technical-details summary small { color: var(--muted-2); font-size: 10px; }

.result-tools {
  position: relative;
  display: flex;
  max-width: 760px;
  margin-top: 15px;
  justify-content: flex-end;
}

.result-tools .text-button { margin: 0; }

.controller-facts {
  display: grid;
  margin: 12px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  overflow: hidden;
}

.controller-facts div { display: grid; min-height: 67px; padding: 12px 14px; align-content: center; gap: 3px; background: var(--surface-2); }
.controller-facts div:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.controller-facts div:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line-soft); }
.controller-facts dt { color: var(--muted-2); font: 9px "Space Mono", monospace; text-transform: uppercase; }
.controller-facts dd { margin: 0; overflow: hidden; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.technical-details > .authorization-note {
  max-width: none;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.55;
}

.report-card {
  display: grid;
  margin-top: 20px;
  padding: 28px 30px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  box-shadow: none;
}

.report-card > div:first-child { max-width: 720px; }
.report-card h2 { margin-top: 9px; font-size: 25px; letter-spacing: -.025em; }
.report-card p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.report-actions { min-width: 230px; }

.secondary-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgb(100 231 212 / 25%);
  background: rgb(100 231 212 / 10%);
  color: var(--mint-bright);
}

.support-code {
  display: grid;
  min-width: 250px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 12px;
  padding: 15px 16px;
  border: 1px solid rgb(100 231 212 / 30%);
  border-radius: 15px;
  background: rgb(100 231 212 / 8%);
}

.support-code span { color: var(--muted); font-size: 9px; }
.support-code strong { grid-column: 1; color: var(--mint-bright); font: 19px "Space Mono", monospace; letter-spacing: .09em; }
.support-code button { grid-column: 2; grid-row: 1 / span 2; padding: 9px 11px; border-radius: 9px; background: var(--mint); color: #04110e; font-size: 11px; font-weight: 800; }
.support-code small { grid-column: 1 / -1; color: var(--muted-2); font-size: 9px; line-height: 1.4; }

.privacy-strip {
  display: flex;
  margin: 0 0 66px;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.privacy-strip > span { color: var(--mint); font-size: 25px; }
.privacy-strip p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.privacy-strip strong { color: var(--text); }

.seo-guide {
  margin: 0 0 76px;
  padding: 72px 0 0;
  border-top: 1px solid var(--line-soft);
}

.seo-guide-intro { max-width: 790px; }
.seo-guide h2 { margin-top: 17px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.08; }
.seo-guide-intro > p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.issue-grid {
  display: grid;
  margin-top: 35px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.issue-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.issue-card > span { color: var(--mint); font: 10px "Space Mono", monospace; }
.issue-card h3 { margin: 16px 0 0; font-size: 17px; letter-spacing: -.02em; line-height: 1.35; }
.issue-card p { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.65; }

.seo-faq {
  max-width: 900px;
  margin-top: 50px;
}

.seo-faq > h3 { margin: 0 0 17px; font-size: 23px; letter-spacing: -.025em; }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq details:last-child { border-bottom: 1px solid var(--line); }
.seo-faq summary { position: relative; padding: 20px 42px 20px 0; font-size: 14px; font-weight: 750; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { position: absolute; top: 18px; right: 5px; color: var(--mint); font: 18px "Space Mono", monospace; content: "+"; }
.seo-faq details[open] summary::after { content: "−"; }
.seo-faq details div { padding: 0 42px 20px 0; }
.seo-faq details p { color: var(--muted); font-size: 12px; line-height: 1.7; }

footer {
  display: flex;
  width: var(--content);
  min-height: 86px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 11px;
}

footer a:hover { color: var(--text); }

.toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  max-width: min(380px, calc(100vw - 40px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-3);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .diagnostic-header { grid-template-columns: 1fr auto; }
  .header-label { display: none; }
  .intro { min-height: 0; padding: 55px 0; grid-template-columns: 1fr; gap: 42px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .issue-grid { grid-template-columns: 1fr; }
  .result-card { min-height: 430px; }
}

@media (max-width: 620px) {
  :root { --content: min(100% - 28px, 1180px); }
  .diagnostic-header { min-height: 70px; }
  .theme-toggle { width: 42px; padding: 0; justify-content: center; }
  .theme-toggle > span:last-child { display: none; }
  .intro { padding: 42px 0; }
  .intro h1 { font-size: 43px; }
  .intro-copy > p { font-size: 16px; }
  .safety-line { align-items: flex-start; font-size: 11px; line-height: 1.5; }
  .preflight-card, .path-card, .result-card { padding: 22px; border-radius: 19px; }
  .workspace-heading { align-items: center; }
  .workspace-heading h2 { font-size: 22px; }
  .path-progress { height: 264px; top: 61px; left: 42px; }
  .connection-path li { min-height: 88px; grid-template-columns: 40px 1fr; }
  .connection-path li > b { display: none; }
  .result-card { min-height: 0; }
  .result-summary { max-width: none; }
  .result-icon { width: 62px; min-width: 62px; }
  .test-verdict { min-height: 62px; padding: 11px 14px; }
  .test-verdict strong { font-size: 18px; }
  .result-card h2 { font-size: 24px; }
  .result-check { padding: 10px 11px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; }
  .result-check small { overflow: visible; text-overflow: clip; white-space: normal; }
  .controller-facts { grid-template-columns: 1fr; }
  .controller-facts div:nth-child(odd) { border-right: 0; }
  .controller-facts div:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
  .report-card { padding: 23px; grid-template-columns: 1fr; }
  .report-actions, .support-code { width: 100%; min-width: 0; }
  .privacy-strip { align-items: flex-start; }
  .seo-guide { padding-top: 52px; }
  footer { min-height: 110px; padding: 23px 0; flex-direction: column; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
