:root {
  --ink: #f4f6fa;
  --ink-soft: #bcc5d4;
  --muted: #8b94a6;
  --line: #262c38;
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --surface: #16191f;
  --accent: #00e676;
  --accent-dark: #00e676;
  --good: #3ddc84;
  --warn: #f5b942;
  --bad: #ff7070;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(10,11,13,.94);
  position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.nav a.btn-small { text-decoration: none; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0b0d;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-disabled { opacity: .6; cursor: not-allowed; }
.btn-disabled:hover { filter: none; }
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.hero p.sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 660px; margin: 0 auto 28px; }
section.block { padding: 52px 0; }
section.block.alt { background: var(--bg-soft); }
h2.sec { font-size: 1.7rem; letter-spacing: -.01em; margin: 0 0 8px; text-align: center; }
p.sec-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--surface);
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #0a0b0d; font-weight: 800; margin-bottom: 12px;
}
.pricing .card { display: flex; flex-direction: column; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.card ul { margin: 14px 0 20px; padding-left: 20px; color: var(--ink-soft); font-size: .95rem; }
.card ul li { margin-bottom: 7px; }
.card .btn { margin-top: auto; text-align: center; }
details.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px; background: var(--surface);
}
details.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }
details.faq p { margin: 10px 0 2px; color: var(--ink-soft); }
footer.site { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; }
/* check page */
.audit-box { max-width: 640px; margin: 0 auto; }
.url-row { display: flex; gap: 10px; margin-top: 26px; }
.url-row input {
  flex: 1; padding: 13px 16px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #0d0f14; color: var(--ink); font-family: inherit;
}
.url-row input:focus { outline: none; border-color: var(--accent); }
.progress { display: none; margin-top: 26px; text-align: center; color: var(--muted); }
.spinner {
  width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.results { display: none; margin-top: 34px; }
.score-hero { text-align: center; margin-bottom: 30px; }
.score-num { font-size: 4.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.score-num.good { color: var(--good); } .score-num.warn { color: var(--warn); } .score-num.bad { color: var(--bad); }
.score-grade { font-size: 1.25rem; font-weight: 800; margin-top: 4px; color: var(--accent); }
.score-label { color: var(--muted); margin-top: 6px; }
.pillar { margin-bottom: 18px; }
.pillar-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 6px; }
.bar { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; }
.bar > div { height: 100%; border-radius: 6px; background: var(--accent); transition: width .6s ease; }
.pillar p { margin: 8px 0 0; color: var(--ink-soft); font-size: .93rem; }
.locked {
  margin-top: 34px; border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; background: var(--bg-soft);
}
/* AI engine cards (check page) */
.engines { margin: 8px 0 6px; }
.engines-title { font-size: 1.25rem; margin: 0 0 4px; text-align: center; }
.engines-cap { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.engine-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.engine-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.engine-row + .engine-row { border-top: 1px solid var(--line); }
.engine-row.alt { background: var(--bg-soft); }
.engine-name { font-weight: 700; font-size: .98rem; }
.engine-crawler { font-size: .82rem; margin-top: 2px; }
.engine-crawler.ok { color: var(--good); }
.engine-crawler.blocked { color: var(--bad); }
.engine-right { text-align: right; }
.engine-score { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.engine-bar { width: 90px; height: 6px; border-radius: 4px; background: var(--line); margin-top: 6px; margin-left: auto; overflow: hidden; }
.engine-bar > div { height: 100%; border-radius: 4px; background: var(--accent); transition: width .6s ease; }
.locked h3 { margin: 0 0 8px; font-size: 1.3rem; }
.locked p { color: var(--ink-soft); margin: 0 0 18px; }
.locked .fine { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.fix-titles { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; }
.fix-titles li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 10px; background: var(--surface);
  color: var(--ink-soft); font-size: .95rem; font-weight: 600;
}
.fix-lock { margin-right: 8px; }
.error { display: none; margin-top: 20px; color: var(--bad); font-weight: 600; text-align: center; }
.nav-right { display: flex; align-items: center; gap: 18px; }
@media (max-width: 760px) {
  .grid3 { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr; }
  .url-row { flex-direction: column; }
  .hero { padding: 48px 0 40px; }
  section.block { padding: 38px 0; }
  .nav-right { gap: 12px; }
}
