:root {
  --ink: #14152b;
  --ink-light: #4a4b66;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --accent: #5b5ff9;
  --accent-dark: #3f3fd4;
  --accent-soft: #eceafe;
  --border: #e6e7f0;
  --ok: #15803d;
  --ok-soft: #e8f6ec;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --warn: #a15c07;
  --warn-soft: #fdf3e1;
}
* { 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;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav.top { display: flex; align-items: center; gap: 26px; }
nav.top a { text-decoration: none; color: var(--ink-light); font-size: 14px; font-weight: 600; }
nav.top a:hover { color: var(--ink); }
nav.top a.btn-primary, nav.top a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 13px 22px; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(91,95,249,0.28); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

section { padding: 76px 0; }
section.soft { background: var(--bg-soft); }
section.hero {
  padding: 88px 0 70px; text-align: center;
  background: radial-gradient(1200px 520px at 50% -10%, #eef0ff 0%, rgba(238,240,255,0) 60%);
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-dark);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 880px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.sub { font-size: 19px; color: var(--ink-light); max-width: 720px; margin: 0 auto 30px; }
.section-sub { font-size: 17px; color: var(--ink-light); max-width: 700px; margin: 0 0 36px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--ink-light); margin-top: 18px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.card p { margin: 0; color: var(--ink-light); font-size: 15px; }
.card .num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

.example {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px;
  text-align: left; max-width: 760px; margin: 0 auto;
}
.example .label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 10px; }
.example h4 { margin: 0 0 8px; font-size: 19px; }
.example .answer { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 0 0 10px; }
.example .rest { color: var(--ink-light); margin: 0; font-size: 15px; }

table.facts { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
table.facts th, table.facts td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 15px; }
table.facts th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-light); }
table.facts tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.mute { background: var(--bg-soft); color: var(--ink-light); }
.source { font-size: 13px; color: var(--ink-light); margin-top: 14px; }
.source a { color: var(--accent-dark); }

.plan { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 14px 34px rgba(91,95,249,0.16); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 14px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink-light); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0; font-size: 15px; color: var(--ink-light); border-bottom: 1px dashed var(--border); }
.plan li:last-child { border-bottom: 0; }
.plan li b { color: var(--ink); }

.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item p { margin: 0; color: var(--ink-light); }

.cta-band { background: linear-gradient(135deg, #2d2f8f, #5b5ff9 70%, #8b7bfa); color: #fff; border-radius: 22px; padding: 54px 32px; text-align: center; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 620px; margin: 0 auto 26px; font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }

footer { border-top: 1px solid var(--border); padding: 30px 0; font-size: 14px; color: var(--ink-light); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .links a { margin-left: 20px; text-decoration: none; }
footer .links a:first-child { margin-left: 0; }
footer .links a:hover { color: var(--ink); }

/* Crawler checker */
.checker-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.checker-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
}
.checker-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
#result { margin-top: 36px; text-align: left; }
.summary { border-radius: 16px; padding: 22px 26px; margin-bottom: 22px; border: 1px solid var(--border); }
.summary.ok { background: var(--ok-soft); border-color: #bfe3c9; }
.summary.bad { background: var(--bad-soft); border-color: #f5c6c1; }
.summary.warn { background: var(--warn-soft); border-color: #f1d9a8; }
.summary h2 { font-size: 22px; margin-bottom: 6px; }
.summary p { margin: 0; color: var(--ink); }
.result-block { margin-bottom: 26px; }
.result-block h3 { margin-bottom: 4px; }
.result-block .hint { color: var(--ink-light); font-size: 14px; margin: 0 0 12px; }
.fixes { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; }
.fixes ol { margin: 8px 0 0; padding-left: 20px; }
.fixes li { margin-bottom: 8px; color: var(--ink-light); }
.error-box { background: var(--bad-soft); color: var(--bad); border-radius: 12px; padding: 14px 18px; font-weight: 600; }
code { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 13px; }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  nav.top a.hide-sm { display: none; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .checker-form { flex-direction: column; }
  nav.top { gap: 14px; }
  table.facts th, table.facts td { padding: 12px 12px; font-size: 14px; }
  .table-scroll { overflow-x: auto; }
  footer .links a { margin-left: 0; margin-right: 18px; }
}
