/* Site 02 — xkfqr.com
   Visual direction: mouse-influenced short-line particle clusters (report option 02).
   Composition: asymmetric split (left lede / right numbered list), warm charcoal.
   Deliberately different from site 01 in layout, type scale, button geometry,
   spacing rhythm, motion and color. All original CSS. */

:root {
  --bg-0: #17130f;
  --bg-1: #221b15;
  --ink: #f4ede3;
  --ink-soft: #c8bcac;
  --ink-mute: #97897a;
  --amber: #eaa24d;
  --amber-soft: #f2c98a;
  --rule: rgba(150, 120, 86, 0.28);
  --card: rgba(28, 22, 17, 0.66);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 82% -10%, #3a2c1d 0%, rgba(58, 44, 29, 0) 58%),
    radial-gradient(900px 640px at 6% 110%, #241a12 0%, rgba(36, 26, 18, 0) 60%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-0) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* ---- left lede ---- */
.lede { position: sticky; top: 48px; }
/* Site 02 logo: left-aligned rounded square, warm amber frame (distinct from site 01). */
.mark-img {
  display: block;
  width: clamp(64px, 9vw, 84px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 0 18px;
  object-fit: cover;
  background: #f6efe4;
  border-radius: 12px;
  border: 1px solid rgba(234, 162, 77, 0.7);
  box-shadow: 0 8px 22px rgba(20, 12, 4, 0.5);
}

.kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.intro {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.note {
  margin: 0;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.7;
  padding-left: 12px;
  border-left: 2px solid var(--rule);
}

/* ---- right numbered list (squared, left-accent geometry) ---- */
.entries ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.entry {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(90deg, rgba(40, 31, 22, 0) 0%, rgba(40, 31, 22, 0) 100%);
  transition: background 0.16s ease, border-color 0.16s ease, padding-left 0.16s ease;
}

.entry .idx {
  font-variant-numeric: tabular-nums;
  font-family: "SFMono-Regular", "Consolas", "Menlo", monospace;
  font-size: 13px;
  color: var(--amber);
  min-width: 26px;
}

.entry .txt {
  flex: 1;
  font-size: 15.5px;
  letter-spacing: 0.3px;
}

.entry .arw {
  color: var(--ink-mute);
  font-size: 15px;
  transition: transform 0.16s ease, color 0.16s ease;
}

.entry:hover {
  background: linear-gradient(90deg, rgba(58, 42, 26, 0.7) 0%, rgba(40, 31, 22, 0.2) 100%);
  border-left-color: var(--amber);
  padding-left: 22px;
}
.entry:hover .arw { color: var(--amber-soft); transform: translate(2px, -2px); }

.entry:focus-visible {
  outline: 3px solid var(--amber-soft);
  outline-offset: -1px;
  border-left-color: var(--amber);
}

.guide {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid var(--rule);
  background: rgba(28, 22, 17, 0.5);
}

.guide h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.checks article {
  display: grid;
  gap: 7px;
}

.checks strong {
  color: var(--amber-soft);
  font-size: 14px;
}

.checks span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

/* ---- footer ---- */
.foot {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  font-size: 12.5px;
  line-height: 1.75;
}
.foot p { margin: 6px 0; }
.foot-id { color: var(--ink-soft); letter-spacing: 0.4px; }

/* ---- pause control ---- */
.bg-toggle {
  position: fixed;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(23, 19, 15, 0.82);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.bg-toggle:hover { color: var(--ink); border-color: var(--amber); }
.bg-toggle:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 3px; }

@media (max-width: 820px) {
  .wrap { padding: 48px 22px 32px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .lede { position: static; top: auto; }
  .checks { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .entry, .entry .arw { transition: none; }
}
