/*!
 * crawlerbase audit - clean modern stylesheet
 * Inspired by woltlab.com clean professional style, warm palette
 * Copyright (c) 2026 Dennis Andres / crawlerbase.de
 */

:root {
  /* warm professional palette */
  --bg:           #fafafa;
  --bg-soft:      #f4f4f6;
  --bg-2:         #ededf0;
  --bg-warm:      #fef7f2;
  --bg-dark:      #0f172a;
  --bg-darker:    #0b1220;
  --surface:      #ffffff;

  --text:         #0f172a;
  --text-soft:    #334155;
  --muted:        #64748b;
  --dim:          #94a3b8;
  --line:         #e2e8f0;
  --line-soft:    #eef0f3;
  --line-strong:  #cbd5e1;

  /* signature: warm orange (not the tech-blue), teal as secondary */
  --accent:       #ea580c;
  --accent-h:     #c2410c;
  --accent-soft:  #fef0e6;
  --accent-faint: #fff7f1;
  --accent-2:     #0f766e;
  --accent-2-soft:#ccfbf1;

  --pass:         #16a34a;
  --warn:         #ea580c;
  --fail:         #dc2626;
  --pass-soft:    #dcfce7;
  --warn-soft:    #fed7aa;
  --fail-soft:    #fee2e2;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* soft shadows */
  --sh-sm:    0 1px 2px rgba(15,23,42,0.04);
  --sh:       0 2px 8px -2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
  --sh-md:    0 8px 24px -8px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.04);
  --sh-lg:    0 24px 48px -12px rgba(15,23,42,0.18), 0 4px 12px rgba(15,23,42,0.06);
  --sh-glow:  0 0 0 4px var(--accent-soft);

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --nav-h: 68px;
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum", "ss01";
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.print-only { display: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 18px; } }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.nav-inner {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  transition: transform .2s;
}
.brand:hover { transform: translateY(-1px); }
.brand-dot { display: none; }
.brand-name { display: inline; }
.brand-dot-c {
  color: var(--accent);
  display: inline-block;
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.brand-beta {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  margin-left: 4px;
  position: relative;
  top: -2px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
}
.nav-links {
  display: flex; gap: 4px;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-soft);
  position: relative;
  transition: color .15s, background .15s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-link.is-active::after { transform: scaleX(1); }
.nav-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 7px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.nav-badge:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.nav-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@media (max-width: 720px) {
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 0 18px; gap: 12px; }
  .nav-links { display: none; }
  .brand { font-size: 19px; }
  .nav-badge { font-size: 10.5px; padding: 5px 11px; }
}

/* ============== RESULT BAR ============== */
.result-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  height: var(--bar-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.result-bar-inner {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.rb-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rb-score-mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}
.rb-score-mini.score-good { background: var(--pass-soft); color: var(--pass); }
.rb-score-mini.score-warn { background: var(--warn-soft); color: var(--warn); }
.rb-score-mini.score-bad  { background: var(--fail-soft); color: var(--fail); }
.rb-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rb-host {
  font-weight: 700; font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rb-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.rb-cache { color: var(--accent); font-weight: 700; }
.rb-actions { display: flex; gap: 6px; flex-shrink: 0; }
.act {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.act:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-faint);
  transform: translateY(-1px);
  box-shadow: var(--sh);
}
.act.ok { color: var(--pass); border-color: var(--pass); background: var(--pass-soft); }
.act-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.act-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }
.act-ico { font-size: 13px; line-height: 1; }
.act-lbl { font-weight: 700; }
@media (max-width: 1024px) {
  .act-lbl { display: none; }
  .act { padding: 9px 11px; }
  .rb-meta { display: none; }
}
@media (max-width: 600px) {
  .result-bar-inner { padding: 0 16px; gap: 10px; }
  .rb-score-mini { width: 40px; height: 40px; font-size: 14px; }
  .rb-host { font-size: 14px; }
}

.main { position: relative; }

/* ============== HERO ============== */
.hero {
  padding: 96px 28px 88px;
  position: relative;
  overflow: hidden;
}
/* animated decorative shapes */
.hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, rgba(234,88,12,0.15), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: float-1 24s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 70% 70%, rgba(15,118,110,0.12), transparent 60%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: float-2 30s ease-in-out infinite;
}
@keyframes float-1 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(40px, -30px) rotate(20deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-30px, -50px) rotate(-15deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: end;
}
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; } }
.hero-main { max-width: 920px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  border: 1px solid rgba(234,88,12,0.25);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: eye-pulse 2.4s ease-in-out infinite;
}
@keyframes eye-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 17ch;
  color: var(--text);
}
.hero h1 br { display: inline; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.3;
  transform-origin: left;
  transform: scaleX(0);
  animation: hero-underline 1s 0.6s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes hero-underline { to { transform: scaleX(1); } }

.hero .lede {
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  max-width: 60ch;
  margin: 0 0 40px;
  line-height: 1.55;
}
.hero .lede strong { color: var(--text); font-weight: 700; }

/* search form */
.searchform { margin-bottom: 28px; max-width: 720px; }
.input-wrap {
  display: flex; align-items: stretch;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: var(--sh);
}
.input-wrap:hover { box-shadow: var(--sh-md); transform: translateY(-1px); }
.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--sh-md);
  transform: translateY(-1px);
}
.input-prefix {
  padding: 0 12px 0 18px;
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  user-select: none;
  font-weight: 600;
}
.input-wrap input {
  flex: 1; min-width: 0;
  background: transparent; border: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  padding: 19px 8px;
  outline: 0;
  font-weight: 500;
}
.input-wrap input::placeholder { color: var(--dim); }
.input-wrap button {
  background: var(--accent); color: #fff;
  border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px;
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.005em;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.input-wrap button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform .5s;
}
.input-wrap button:hover { background: var(--accent-h); }
.input-wrap button:hover::before { transform: translateX(100%); }
.input-wrap button .arrow {
  font-size: 18px;
  transition: transform .2s;
}
.input-wrap button:hover .arrow { transform: translateX(3px); }
@media (max-width: 600px) {
  .input-wrap { flex-direction: column; border-radius: 14px; }
  .input-prefix { padding: 14px 18px 4px; }
  .input-wrap input { padding: 6px 18px 14px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .input-wrap button { padding: 16px; justify-content: center; }
}

.hp-field {
  position: absolute !important;
  left: -10000px !important; top: -10000px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}

/* trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}
.ts-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.ts-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* quick start */
.quick-start {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
  margin-top: 16px;
}
.qs-label { font-size: 13px; color: var(--muted); margin-right: 4px; font-weight: 500; }
.qs-chip {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
  transition: all .2s;
  box-shadow: var(--sh-sm);
}
.qs-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--sh);
}

/* hero sidebar */
.hero-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  font-size: 13px;
  display: flex; flex-direction: column;
  gap: 4px;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.hero-sidebar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #fb923c);
}
.hero-sidebar .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.hero-sidebar .row:last-child { border-bottom: 0; }
.hero-sidebar .k {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
}
.hero-sidebar .v {
  color: var(--text);
  font-weight: 700;
  font-size: 13.5px;
}

.alert {
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--fail);
  background: var(--fail-soft);
  font-size: 14.5px;
  max-width: 720px;
}
.alert strong { color: var(--fail); margin-right: 6px; font-weight: 700; }

/* ============== DEEP DIVE ============== */
.deep-dive {
  padding: 96px 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.dd-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .dd-grid { grid-template-columns: 1fr; gap: 40px; } }
.dd-text { max-width: 60ch; }
.dd-text h2 {
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
  color: var(--text);
}
.dd-lede {
  color: var(--text-soft);
  font-size: 17.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.dd-lede:last-child { margin-bottom: 0; }

.dd-callouts { display: flex; flex-direction: column; gap: 14px; }
.dd-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.dd-callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 4px 0 0 4px;
}
.dd-callout:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--accent);
}
.dd-callout-num {
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dd-callout-text { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }
.dd-callout-text strong { color: var(--text); font-weight: 700; }

/* ============== HOW ============== */
.how {
  padding: 96px 28px;
  background: var(--bg-soft);
}
.how-inner { max-width: 1240px; margin: 0 auto; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
  color: var(--text);
}
.section-head p {
  color: var(--text-soft);
  font-size: 17.5px;
  max-width: 56ch;
  line-height: 1.55;
}
.how-h {
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 48px;
  max-width: 22ch;
}
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step-counter;
}
.how-steps > li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 30px 28px;
  position: relative;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.how-steps > li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #fb923c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.how-steps > li:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--accent);
}
.how-steps > li:hover::before { transform: scaleX(1); }
.how-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  border-radius: 14px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  transition: transform .3s, background .3s, color .3s;
}
.how-steps > li:hover .how-num {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
}
.how-steps h3 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.how-steps p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}
@media (max-width: 880px) { .how-steps { grid-template-columns: 1fr; } }

/* ============== FOR WHO ============== */
.for-who {
  padding: 96px 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.for-inner { max-width: 1240px; margin: 0 auto; }
.for-h {
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 48px;
  max-width: 22ch;
}
.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.for-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.for-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 4px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.for-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--accent);
}
.for-card:hover::before { width: 60%; }
.for-card h3 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--text);
}
.for-card h3::before {
  content: "";
  display: block;
  width: 28px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
  transition: width .3s;
}
.for-card:hover h3::before { width: 56px; }
.for-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ============== TOPICS ============== */
.topics {
  padding: 96px 28px;
  background: var(--bg-soft);
}
.topics-inner { max-width: 1240px; margin: 0 auto; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
}
.topic {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.topic::after {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.topic:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--accent);
}
.topic:hover::after { opacity: 1; }
.topic-head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.topic-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: background .3s, color .3s, transform .3s;
}
.topic:hover .topic-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.topic h3 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.topic-desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.topic-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
}
.topic-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform .2s;
}
.topic-list li:hover::before { transform: translateX(2px); }

/* ============== METHODOLOGY (DARK) ============== */
.methodology {
  padding: 96px 28px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.methodology::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,0.12), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float-1 30s ease-in-out infinite;
}
.methodology::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,118,110,0.18), transparent 60%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: float-2 36s ease-in-out infinite;
}
.methodology-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}
.methodology .eyebrow {
  background: rgba(234,88,12,0.18);
  color: #fdba74;
  border-color: rgba(234,88,12,0.4);
}
.methodology h2 {
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 8px 0 16px;
  color: #fff;
  max-width: 22ch;
}
.methodology > .methodology-inner > p:first-of-type {
  color: rgba(255,255,255,0.72);
  font-size: 17.5px;
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 56px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.method-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  transition: transform .25s, background .25s, border-color .25s;
  backdrop-filter: blur(8px);
}
.method-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(234,88,12,0.4);
}
.method-card h3 {
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.method-card h3 .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform .3s;
}
.method-card:hover h3 .icon { transform: rotate(360deg); }
.method-card p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.65;
}
.method-card code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #fdba74;
  background: rgba(234,88,12,0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ============== WHY-FREE ============== */
.why-free {
  padding: 96px 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.why-inner h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.why-inner p {
  color: var(--text-soft);
  font-size: 17.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.why-inner p:last-child { margin-bottom: 0; }
.why-inner p strong { color: var(--text); font-weight: 700; }
.why-pledge {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px !important;
  font-size: 15px !important;
  color: var(--muted) !important;
  font-style: italic;
}

/* ============== CTA ============== */
.cta-bottom {
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #fff;
  padding: 96px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bottom::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: cta-pulse 8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.15); }
}
.cta-bottom h2 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.cta-bottom p {
  font-size: 17.5px;
  opacity: 0.92;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-bottom .input-wrap {
  border: 2px solid #fff;
  background: rgba(255,255,255,0.08);
  max-width: 580px;
  margin: 0 auto;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}
.cta-bottom .input-wrap:focus-within {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}
.cta-bottom .input-prefix { color: rgba(255,255,255,0.7); }
.cta-bottom .input-wrap input { color: #fff; }
.cta-bottom .input-wrap input::placeholder { color: rgba(255,255,255,0.6); }
.cta-bottom .input-wrap button {
  background: #fff;
  color: var(--accent);
}
.cta-bottom .input-wrap button:hover { background: rgba(255,255,255,0.92); }

/* ============== RESULTS ============== */
.results-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  align-items: start;
}
@media (max-width: 1024px) { .results-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 720px) { .results-grid { padding: 24px 18px 48px; } }

.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--bar-h) + 16px);
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  max-height: calc(100vh - var(--nav-h) - var(--bar-h) - 32px);
  overflow-y: auto;
  box-shadow: var(--sh-sm);
}
.toc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.toc-title { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.toc-count {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  background: var(--bg-soft);
  padding: 3px 9px; border-radius: 999px;
  font-weight: 600;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.fb-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px; font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .15s;
}
.fb-btn:hover { background: var(--bg-soft); color: var(--text); }
.fb-btn.is-active { background: var(--text); color: var(--surface); border-color: var(--text); }
.fb-btn.fb-fail.is-active { background: var(--fail); border-color: var(--fail); }
.fb-btn.fb-warn.is-active { background: var(--warn); border-color: var(--warn); }
.fb-btn.fb-pass.is-active { background: var(--pass); border-color: var(--pass); }

.toc-list { list-style: none; padding: 0; }
.toc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: background .15s, color .15s;
  align-items: center;
  margin-bottom: 1px;
  font-weight: 500;
}
.toc-item:hover { background: var(--bg-soft); color: var(--text); }
.toc-item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.toc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.toc-pills { display: inline-flex; gap: 4px; flex-shrink: 0; }
.pill {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px; line-height: 1.5;
}
.pill-pass { color: var(--pass); background: var(--pass-soft); }
.pill-warn { color: var(--warn); background: var(--warn-soft); }
.pill-fail { color: var(--fail); background: var(--fail-soft); }

@media (max-width: 1024px) {
  .toc { position: static; max-height: none; overflow: visible; }
  .toc-list { max-height: 220px; overflow-y: auto; }
  .filter-bar { grid-template-columns: repeat(4, 1fr); }
}

.results-main { min-width: 0; }
.results-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--sh-sm);
}
@media (max-width: 720px) { .results-summary { grid-template-columns: 1fr; gap: 24px; padding: 24px; } }
.score { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.score-ring {
  --p: 0;
  width: 144px; height: 144px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--p) * 1%), var(--line) 0);
  display: grid; place-items: center;
  position: relative;
  margin-bottom: 4px;
  transition: transform .3s;
}
.score:hover .score-ring { transform: scale(1.03); }
.score-ring::before {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%; background: var(--surface);
}
.score-num {
  position: relative;
  font-weight: 800; font-size: 38px;
  color: var(--text);
  letter-spacing: -0.04em;
}
.score-num span { font-size: 18px; color: var(--muted); font-weight: 600; }
.score-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: -0.005em; }
.score.score-good .score-ring { --ring-color: var(--pass); }
.score.score-warn .score-ring { --ring-color: var(--warn); }
.score.score-bad  .score-ring { --ring-color: var(--fail); }
.score.score-good .score-num { color: var(--pass); }
.score.score-warn .score-num { color: var(--warn); }
.score.score-bad  .score-num { color: var(--fail); }

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  font-size: 14px;
}
.meta-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
  min-width: 0;
}
.meta-list dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.meta-list dd { font-family: var(--mono); font-size: 13px; color: var(--text); word-break: break-all; min-width: 0; font-weight: 500; }
.meta-list dd a { color: var(--accent); }
.meta-list dd a:hover { text-decoration: underline; }
.meta-list dd.ok { color: var(--pass); }
.meta-list dd.warn { color: var(--warn); }
.meta-list dd.bad { color: var(--fail); }
@media (max-width: 720px) { .meta-list { grid-template-columns: 1fr; } }

/* blocks */
.block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 14px;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 16px);
  box-shadow: var(--sh-sm);
  transition: box-shadow .25s;
}
.block:hover { box-shadow: var(--sh); }
.block-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.block-head h2 {
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.block-summary { display: inline-flex; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.block-summary .b {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
}
.block-summary .b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.block-summary .b.pass { color: var(--pass); background: var(--pass-soft); }
.block-summary .b.warn { color: var(--warn); background: var(--warn-soft); }
.block-summary .b.fail { color: var(--fail); background: var(--fail-soft); }

.rows { list-style: none; }
.row { border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.row details summary {
  display: grid;
  grid-template-columns: 24px 1fr 2fr 24px;
  gap: 18px;
  padding: 14px 24px;
  align-items: baseline;
  list-style: none;
  cursor: pointer;
  transition: background .15s;
}
.row details summary::-webkit-details-marker { display: none; }
.row details summary::marker { display: none; }
.row details summary:hover { background: var(--bg-soft); }

.row-status {
  width: 18px; height: 18px;
  border-radius: 50%;
  align-self: start;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.row.row-pass .row-status { background: var(--pass); }
.row.row-pass .row-status::before { content: "✓"; }
.row.row-warn .row-status { background: var(--warn); }
.row.row-warn .row-status::before { content: "!"; }
.row.row-fail .row-status { background: var(--fail); }
.row.row-fail .row-status::before { content: "×"; }

.row-main { display: flex; flex-direction: column; gap: 2px; }
.row-name { font-weight: 600; font-size: 14.5px; color: var(--text); letter-spacing: -0.005em; }
.row-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

.row-value {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-soft);
  word-break: break-word;
  background: var(--bg-soft);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: start;
  min-width: 0;
  overflow-wrap: anywhere;
}

.row-toggle {
  font-size: 18px; font-weight: 300;
  color: var(--dim);
  text-align: center;
  align-self: start;
  transition: color .15s, transform .15s;
}
.row details[open] summary .row-toggle { transform: rotate(45deg); color: var(--accent); }

.row-tip {
  padding: 8px 24px 22px 66px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.row-tip p { margin-bottom: 10px; }
.row-tip strong { color: var(--text); font-weight: 700; }

.tip-why {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: 16px !important;
  font-size: 14.5px;
  box-shadow: var(--sh-sm);
}
.tip-why strong { color: var(--accent); font-weight: 700; }
.tip-how {
  font-size: 12px;
  letter-spacing: -0.005em;
  color: var(--muted) !important;
  font-weight: 700;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}
.tip-how strong { color: var(--accent) !important; }

.tip-fixes { display: grid; grid-template-columns: 1fr; gap: 10px; }
.fix {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.fix:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.fix-platform {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.fix-note { font-size: 14px; color: var(--text-soft); line-height: 1.55; margin: 0 !important; }

.tip-code-wrap { position: relative; }
.copy-code {
  position: absolute; top: 8px; right: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-transform: uppercase;
  transition: all .15s;
  z-index: 2;
}
.copy-code:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.copy-code.ok { color: var(--pass); border-color: var(--pass); background: var(--pass-soft); }
.tip-code {
  background: var(--bg-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-top: 8px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre;
}
.tip-code code { color: inherit; background: none; }

@media (max-width: 720px) {
  .row details summary { grid-template-columns: 18px 1fr 22px; gap: 12px; padding: 12px 18px; }
  .row-value { grid-column: 1 / -1; margin-left: 30px; margin-top: 4px; }
  .row-toggle { font-size: 16px; }
  .row-tip { padding: 8px 18px 18px 48px; font-size: 13px; }
  .fix { padding: 12px 14px; }
  .tip-code { font-size: 12px; padding: 12px 14px; }
  .block-head { padding: 14px 18px; }
  .block-head h2 { font-size: 15px; }
}

body[data-filter="fail"] .row[data-status="pass"],
body[data-filter="fail"] .row[data-status="warn"] { display: none; }
body[data-filter="warn"] .row[data-status="pass"],
body[data-filter="warn"] .row[data-status="fail"] { display: none; }
body[data-filter="pass"] .row[data-status="warn"],
body[data-filter="pass"] .row[data-status="fail"] { display: none; }
body[data-filter="fail"] .block:not(:has(.row[data-status="fail"])),
body[data-filter="warn"] .block:not(:has(.row[data-status="warn"])),
body[data-filter="pass"] .block:not(:has(.row[data-status="pass"])) { display: none; }

/* ============== FOOTER ============== */
.foot {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.6);
  padding: 64px 28px 40px;
}
.foot-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.foot-brand { display: flex; align-items: baseline; gap: 14px; }
.foot-name { font-weight: 800; font-size: 22px; letter-spacing: -0.025em; color: #fff; }
.foot-c { color: var(--accent); }
.foot-tag { font-size: 13px; color: rgba(255,255,255,0.5); }
.foot-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; justify-content: center; }
.foot-nav a {
  color: rgba(255,255,255,0.7);
  transition: color .15s;
  position: relative;
}
.foot-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.foot-nav a:hover { color: #fff; }
.foot-nav a:hover::after { transform: scaleX(1); }
.foot-meta { font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,0.4); }
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .foot-brand { justify-content: center; }
  .foot-nav { justify-content: center; flex-wrap: wrap; }
}

/* watermark print */
.watermark {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  opacity: 0.06; pointer-events: none; z-index: 0;
  text-align: center;
}
.watermark .wm-text { font-weight: 800; font-size: 120px; letter-spacing: -0.05em; color: var(--text); line-height: 0.95; }
.watermark .wm-sub { font-family: var(--mono); font-size: 14px; letter-spacing: 0.3em; color: var(--text); margin-top: 8px; text-transform: uppercase; }

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.22s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.31s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.40s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.49s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1          { animation: rise 0.9s 0.1s cubic-bezier(.2,.8,.2,1) backwards; }
.hero .lede        { animation: rise 0.7s 0.35s ease backwards; }
.hero .searchform  { animation: rise 0.7s 0.5s ease backwards; }
.hero .trust-strip { animation: rise 0.7s 0.65s ease backwards; }
.hero .quick-start { animation: rise 0.7s 0.75s ease backwards; }
.hero-sidebar      { animation: rise 0.8s 0.4s ease backwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero h1, .hero .lede, .hero .searchform, .hero .trust-strip,
  .hero .quick-start, .hero-sidebar { opacity: 1 !important; transform: none !important; }
}

/* print */
@media print {
  @page { size: A4; margin: 18mm 14mm 22mm 14mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 10.5pt !important; line-height: 1.45 !important; }
  .no-print { display: none !important; }
  .print-only { display: block !important; }
  .row-toggle, .copy-code { display: none !important; }
  .results-grid { display: block !important; padding: 0 !important; max-width: 100% !important; }
  .results-summary { background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important; page-break-inside: avoid; }
  .meta-list dt { color: #555 !important; }
  .meta-list dd { color: #000 !important; }
  .score-ring::before { background: #fff !important; }
  .block { background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important; page-break-inside: avoid; }
  .block-head { background: #f8f8f8 !important; }
  .row-tip { padding: 1mm 5mm 4mm 14mm !important; font-size: 9pt !important; page-break-inside: avoid; }
  .tip-why { background: #fff !important; border-left: 2px solid #ea580c !important; box-shadow: none !important; }
  .fix { background: #fafafa !important; border: 1px solid #ddd !important; page-break-inside: avoid; }
  .fix-platform { background: #ea580c !important; color: #fff !important; }
  .tip-code { background: #1a1a1a !important; color: #fff !important; }
  .foot { background: #fff !important; color: #555 !important; border-top: 1px solid #ccc !important; }
  .foot-nav { display: none !important; }
  .watermark { display: block !important; }
  .watermark .wm-text { font-size: 90pt !important; color: #888 !important; }
}
