

:root {
  --ink: #151515;
  --muted: #5f645f;
  --line: #d8ddd5;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --signal: #0f766e;
  --amber: #b7791f;
  --red: #b42318;
  --mint: #d8f3dc;
  --sky: #dbeafe;
  --rose: #ffe4e6;
}



* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(183, 121, 31, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

main {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 12px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 42px;
}

.hero-copy,
.signal-panel,
.guide-card,
.query-box,
.answer-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
}

.lede {
  color: #353833;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 12px 16px;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: white;
}

.signal-panel {
  min-height: 420px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.signal-header {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
}

.signal-header span {
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-header strong {
  font-size: 1.3rem;
}

.scope-graphic {
  height: 210px;
  margin: 26px 0;
  position: relative;
}

.scope-graphic::before {
  border: 1px dashed rgba(21, 21, 21, 0.26);
  border-radius: 50%;
  content: "";
  inset: 28px 58px;
  position: absolute;
}

.node,
.trace {
  display: block;
  position: absolute;
}

.node {
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 38px;
  width: 38px;
}

.node-a {
  background: var(--mint);
  left: 18%;
  top: 22%;
}

.node-b {
  background: var(--sky);
  right: 24%;
  top: 8%;
}

.node-c {
  background: var(--rose);
  bottom: 12%;
  left: 46%;
}

.trace {
  background: var(--ink);
  height: 2px;
  transform-origin: left center;
}

.trace-a {
  left: 29%;
  top: 32%;
  transform: rotate(-10deg);
  width: 42%;
}

.trace-b {
  left: 36%;
  top: 61%;
  transform: rotate(23deg);
  width: 31%;
}

.radar-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.radar-stats div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}

.radar-stats dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.radar-stats dd {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 6px 0 0;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.intro-grid,
.method {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.8fr 1.2fr;
}

.intro-grid p,
.method-copy p,
.narrow-page p,
.guide-layout p,
.guide-layout li {
  color: #373b35;
  font-size: 1.02rem;
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 20px;
}

.guide-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  padding: 18px;
}

.guide-card p {
  color: #3f443d;
  line-height: 1.55;
  margin: 0;
}

.guide-card a {
  color: var(--signal);
  font-weight: 900;
  margin-top: auto;
}

.card-meta,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span,
.status-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 6px 9px;
}

.game-name,
.guide-game {
  color: var(--amber) !important;
  font-weight: 900;
}

.method {
  align-items: start;
  border-top: 1px solid var(--line);
}

.rules-list,
.checklist,
.warning-list,
.plain-list,
.source-list {
  margin: 0;
  padding-left: 1.4rem;
}

.rules-list {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  padding: 22px 22px 22px 44px;
}

.rules-list li {
  margin: 0 0 12px;
}

.guide-page,
.narrow-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 24px 70px;
}

.narrow-page {
  max-width: 760px;
}

.narrow-page h1,
.guide-header h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 0.98;
}

.back-link {
  color: var(--signal);
  display: inline-flex;
  font-weight: 900;
  margin-bottom: 28px;
}

.guide-layout {
  display: grid;
  gap: 22px;
}

.guide-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.status-row {
  margin-top: 20px;
}

.query-box,
.answer-box,
.guide-layout section,
.guide-footer {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.query-box h2,
.answer-box h2,
.guide-layout section h2 {
  font-size: 1.5rem;
}

.source-note {
  border-left: 4px solid var(--amber);
  margin-bottom: 0;
  padding-left: 14px;
}

.checklist li,
.warning-list li,
.plain-list li,
.source-list li {
  margin-bottom: 10px;
}

.warning-list li::marker {
  color: var(--red);
}

.source-list a {
  color: var(--signal);
  font-weight: 800;
}

.signal-pixel {
  height: 1px;
  left: -9999px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.guide-footer p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .intro-grid,
  .method {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding: 24px;
  }

  .signal-panel {
    min-height: 340px;
  }

  .guide-grid,
  .radar-stats {
    grid-template-columns: 1fr;
  }
}
