:root {
  --canvas: #f8fafc;
  --ink: #1a1a2e;
  --muted: #718096;
  --line: #e2e8f0;
  --card: #ffffff;
  --blue: #0f62fe;
  --blue-dark: #0a4fcc;
  --blue-pale: #ebf2ff;
  --cyan: #00d4ff;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background-color: #f8fafc;
  background-image:
    linear-gradient(rgba(15, 98, 254, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 98, 254, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  color: var(--ink);
  font: 14px/1.5 "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 40px 20px 64px; }
body.is-home .wrap {
  max-width: 1180px;
  padding-top: 64px;
  padding-bottom: 72px;
}
.report-head { margin-bottom: 8px; }
.report-head h1 {
  margin: 14px 0 6px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.report-head h1 span {
  background: linear-gradient(135deg, #0f62fe 0%, #00d4ff 55%, #0f62fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.report-head p { margin: 0 0 18px; color: #2d3748; font-size: 16px; font-weight: 700; }
.report-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 98, 254, 0.08);
}
.report-back:hover { background: var(--blue-pale); }
.pill { text-decoration: none; }
.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.62fr);
  gap: 64px;
  align-items: center;
  padding: 28px 0 12px;
}
.landing-copy h1 {
  margin: 18px 0 8px;
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.landing-copy h1 span {
  background: linear-gradient(135deg, #0f62fe 0%, #00d4ff 55%, #0f62fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.landing-copy h1 .tagline {
  display: block;
  margin-top: 16px;
  max-width: none;
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.landing-copy > p {
  margin: 0 0 22px;
  max-width: 460px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.landing-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 16px 40px rgba(15, 98, 254, 0.08);
}
.landing-search { color: #9ca3af; display: flex; }
.landing-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 14px 6px;
  color: var(--ink);
}
.landing-form button {
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #0f62fe 0%, #0084c7 100%);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15, 98, 254, 0.28);
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.landing-form button:hover { background: linear-gradient(135deg, #0a4fcc 0%, #0f62fe 100%); }
.landing-note {
  margin: 12px 0 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.6;
  max-width: 520px;
}
.landing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  color: #374151;
  font-size: 14px;
}
.landing-points li { display: flex; align-items: center; gap: 8px; }
.landing-points li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.preview { margin: 0; justify-self: end; width: 100%; max-width: 400px; }
.preview-window {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 98, 254, 0.1);
  overflow: hidden;
}
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #fafafa;
  border-bottom: 1px solid #eef2f7;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #f87171; }
.dot-y { background: #fbbf24; }
.dot-g { background: #34d399; }
.preview-url {
  margin-left: 10px;
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 999px;
  color: #9ca3af;
  font-size: 12px;
  padding: 3px 10px;
}
.preview-body { padding: 16px 16px 12px; }
.preview-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.preview-score {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(160deg, #0f62fe 0%, #0084c7 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.preview-score small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  text-align: center;
}
.preview-head strong { display: block; font-size: 16px; }
.preview-sub { color: #9ca3af; font-size: 12px; margin-top: 2px; }
.preview-bars { list-style: none; margin: 0; padding: 0; }
.preview-bars li {
  display: grid;
  grid-template-columns: 96px 1fr 38px;
  gap: 8px;
  align-items: center;
  margin: 7px 0;
  font-size: 12px;
  color: #374151;
}
.preview-bars .track {
  height: 8px;
  background: var(--blue-pale);
  border-radius: 99px;
  overflow: hidden;
}
.preview-bars .track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0f62fe, #00d4ff);
}
.preview-bars b { text-align: right; font-size: 12px; color: #6b7280; }
.audit-loading {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(6px);
}
.audit-loading[hidden] { display: none !important; }
.audit-loading-card {
  min-width: 240px;
  padding: 28px 36px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 98, 254, 0.16);
  animation: audit-pop 0.28s ease;
}
.audit-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid var(--blue-pale);
  border-top-color: var(--blue);
  animation: audit-spin 0.8s linear infinite;
}
.audit-loading-card strong { display: block; font-size: 18px; }
.audit-loading-card p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
body.is-auditing .landing-form button,
body.is-auditing .form button { opacity: 0.85; }
@keyframes audit-spin { to { transform: rotate(360deg); } }
@keyframes audit-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.preview figcaption {
  margin-top: 10px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
}
.error {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.is-report .wrap,
.is-report .wrap * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
@media print {
  .is-report .wrap { display: none !important; }
}
.card.score-hero {
  background: linear-gradient(115deg, #0636b8 0%, #0a52dc 52%, #1468e6 100%);
  color: #fff;
  border: 0;
  border-radius: 28px;
  padding: 32px 32px 24px;
  box-shadow: 0 18px 44px rgba(15, 98, 254, 0.28);
}
.score-hero .score-row { align-items: center; }
.score-hero .ring {
  width: 120px;
  height: 120px;
  background: none;
  flex: 0 0 120px;
}
.score-hero .ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#ffe56a calc(var(--p) * 1%), rgba(255,255,255,.3) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 11px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 11px));
}
.score-hero .ring span {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
}
.score-hero .ring span small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  opacity: .85;
}
.score-copy { flex: 1; min-width: 0; }
.score-title-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.score-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.score-meta { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.6; }
.score-hero .summary { margin: 18px 0 0; color: rgba(255,255,255,.94); font-size: 15px; }
.score-conclusion {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0f62fe;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.score-hero .tiles { margin-top: 20px; }
.score-hero .tile { background: rgba(255,255,255,.16); }
.score-hero .tile b { color: #fff; font-size: 20px; }
.score-hero .tile span { color: rgba(255,255,255,.82); }
.score-hero .disclaimer { color: rgba(255,255,255,.72); }
.card {
  background: var(--card);
  border: 1px solid #e8eef8;
  border-radius: 20px;
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 16px 40px rgba(15, 98, 254, 0.06);
}
.card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.muted { color: var(--muted); font-size: 12px; }
.score-row { display: flex; gap: 18px; align-items: center; }
.ring {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 800;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #ebf2ff 0);
  position: relative;
}
.ring span {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
}
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.tile { background: var(--blue-pale); border-radius: 14px; padding: 12px; }
.tile b { display: block; font-size: 18px; }
.tile span { color: var(--muted); font-size: 11px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sub { display: flex; gap: 8px; align-items: center; margin: 4px 0; color: #6b7280; font-size: 12px; }
.bar { flex: 1; height: 8px; background: var(--blue-pale); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px 10px; }
.bot { text-align: center; }
.bot-logo { height: 28px; margin: 0 auto 6px; display: grid; place-items: center; }
.bot-logo svg { width: 26px; height: 26px; display: block; }
.bot .mark { font-weight: 700; font-size: 12px; }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.m-group h3 { margin: 0; font-size: 14px; }
.m-en { color: #9ca3af; font-size: 10px; letter-spacing: 1px; margin-bottom: 6px; }
.m-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 2px 0; color: #4b5563; }
.issue { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #f3f4f6; }
.issue:first-of-type { border-top: 0; }
.issue .n { width: 28px; font-weight: 800; }
.issue h3 { margin: 0 0 4px; font-size: 14px; }
.check { background: #f9fafb; border-radius: 6px; padding: 8px 10px; margin: 6px 0; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { background: #f0fdf4; color: #374151; border-radius: 4px; padding: 4px 8px; font-size: 12px; }
.summary { color: #374151; line-height: 1.65; }
.disclaimer { color: #9ca3af; font-size: 12px; margin-top: 10px; }
.howto {
  background: transparent;
  padding: 28px 24px 72px;
}
.howto-inner { max-width: 1040px; margin: 0 auto; }
.howto h2 {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.howto ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 48px;
}
.howto li { display: flex; align-items: flex-start; gap: 14px; }
.howto li span {
  flex: none;
  color: var(--blue);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.howto li p {
  margin: 10px 0 0;
  color: #2d3748;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}
.faq-block {
  background: transparent;
  padding: 28px 24px 84px;
}
.faq-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px 72px;
  align-items: start;
}
.faq-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.faq-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.faq-intro p { margin: 0; max-width: 320px; color: #718096; font-size: 15px; line-height: 1.7; }
.faq-list { border-top: 1px solid #e6e8ee; }
.faq-item { border-bottom: 1px solid #e6e8ee; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: #9aa3b2;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 36px 18px 0;
  color: #4a5568;
  font-size: 14px;
  line-height: 1.75;
}
#site-footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f1028 100%);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 40px;
}
#site-footer a { text-decoration: none; }
#site-footer .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 28px 48px;
  align-items: start;
}
.footer-col-title {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 700;
}
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 14px; color: #fff; }
.footer-brand img { height: 36px; width: auto; max-width: 180px; }
.footer-brand span { font-size: 20px; font-weight: 800; }
.footer-intro { margin: 0; max-width: 320px; color: rgba(255,255,255,0.48); font-size: 14px; line-height: 1.75; white-space: pre-line; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 18px; color: rgba(255,255,255,0.42); font-size: 13px; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-list, .footer-meta-list { list-style: none; margin: 0; padding: 0; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a { color: rgba(255,255,255,0.55); font-size: 14px; }
.footer-list a:hover { color: #fdd13c; }
.footer-meta-list { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; }
.footer-meta-list span { display: block; margin-bottom: 2px; color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-contact-intro { margin: 0 0 14px; color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.65; }
.footer-contact-btns { display: flex; flex-direction: column; gap: 10px; }
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.footer-btn--email { background: linear-gradient(135deg, #0f62fe 0%, #00a3e0 100%); box-shadow: 0 6px 20px rgba(15,98,254,0.35); }
.footer-btn--line { background: #06c755; box-shadow: 0 6px 20px rgba(6,199,85,0.28); }
.footer-contact-note { margin: 12px 0 0; color: rgba(255,255,255,0.38); font-size: 13px; }
.footer-rule { height: 1px; margin: 36px 0 22px; background: rgba(255,255,255,0.08); }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  color: rgba(255,255,255,0.38);
  font-size: 13px;
}
.footer-copy-right { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.footer-copy a { color: rgba(255,255,255,0.4); }
.footer-copy a:hover { color: rgba(255,255,255,0.75); }
.footer-legal-sep { opacity: 0.45; }
@media (max-width: 900px) {
  .tiles, .dims, .matrix, .bots { grid-template-columns: 1fr 1fr; }
  .score-row { flex-direction: column; align-items: flex-start; }
  .landing { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  .landing-copy h1 { font-size: 46px; }
  .preview { max-width: none; justify-self: stretch; }
  .howto ol { grid-template-columns: 1fr; gap: 22px; }
  .howto { padding: 48px 20px 64px; }
  .howto h2 { margin-bottom: 28px; }
  .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .faq-block { padding: 56px 20px; }
}
@media (max-width: 560px) {
  .tiles, .matrix, .bots { grid-template-columns: 1fr; }
  .form, .landing-form { flex-direction: column; align-items: stretch; }
  .landing-form { padding: 10px; }
  .landing-search { display: none; }
  .landing-form button { width: 100%; }
  .preview-bars li { grid-template-columns: 92px 1fr 36px; }
}
