/* ============================================================
   w3b3g. Scammers' Worst Nightmare
   hand-built static site. no frameworks, no icons, no gradients.
   set in Anton (display) + IBM Plex Mono (everything else).
   ============================================================ */

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex";
  src: url("fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex";
  src: url("fonts/IBMPlexMono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* tokens */
:root {
  --bg:      #0d0d0e;
  --bg-2:    #111113;
  --line:    #232327;
  --line-2:  #2d2d32;
  --ink:     #e8e4d8;   /* bone, warm bone */
  --ink-dim: #8b887e;   /* muted bone */
  --ink-faint: #55534c;
  --accent:  #8cc63f;   /* lime green, toned down */
  --accent-ink: #8cc63f; /* accent as text, dark surfaces */
  --font-d:  "Anton", "Arial Narrow", sans-serif;
  --font-m:  "Plex", "Menlo", monospace;
  --rail: 232px;
}

html.theme-light {
  --bg: #f1ede1;
  --bg-2: #e8e3d5;
  --line: #d5cfbf;
  --line-2: #c3bcab;
  --ink: #19160d;
  --ink-dim: #5f594a;
  --ink-faint: #8b8472;
  --accent: #8cc63f;
  --accent-ink: #3a6d00;
}
html.theme-light .toast { background: #19160d; color: #f1ede1; }

/* base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

/* no visible scrollbars anywhere: wheel, keys, and the top line carry the page */
.killlist { scrollbar-width: none; }
.killlist::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-m);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #0d0d0e; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* layout */
.wrap {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
}

/* left rail */
.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 20px 26px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  display: block;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.brand-name {
  font-family: var(--font-d);
  font-size: 27px;
  letter-spacing: 0.5px;
  line-height: 1;
  margin: 0;
}
.brand-name .dot { color: var(--accent-ink); }

.rail-status {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.rail-status .live {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-right: 7px;
}

.rail-nav {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
}
.rail-nav a {
  text-decoration: none;
  color: var(--ink-dim);
  padding: 6px 8px;
  display: flex;
  gap: 10px;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.rail-nav a .idx { color: var(--ink-faint); }
.rail-nav a:hover { color: var(--ink); }
.rail-nav a.active {
  color: var(--ink);
  border-left-color: var(--accent);
}
.rail-nav a.active .idx { color: var(--accent-ink); }

/* content */
.content {
  padding: 0 clamp(22px, 4vw, 64px) 60px;
  min-width: 0;
}
section { padding-top: clamp(110px, 14vh, 190px); }

/* scroll progress line */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}
.progress-bar {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 0;
}

/* section heads */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 12px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.sec-head .num {
  font-family: var(--font-d);
  font-size: 22px;
  color: var(--accent-ink);
}
.sec-head h2 {
  font-family: var(--font-d);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: 0.4px;
  margin: 0;
  text-transform: uppercase;
}

/* hero */
.hero {
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(24px, 5vh, 48px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(58px, 10.2vw, 158px);
  line-height: 0.94;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  max-width: 11em;
}
.hero-title .row { display: block; }
.hero-title .hl {
  display: block;
  width: max-content;
  background: var(--accent);
  color: #0d0d0e;
  line-height: 1;
  padding: 0.04em 0.1em 0.07em 0.09em;
  margin: 0.04em 0 0 0;
}
.hero-title .ex { color: var(--accent-ink); }
.hero-title .hl::selection {
  background: #0d0d0e;
  color: var(--accent);
}

.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(34px, 5vw, 60px);
  align-items: start;
}

.hero-lede p {
  margin: 0 0 14px 0;
  font-size: 15.5px;
  color: var(--ink);
  max-width: 56ch;
}
.hero-lede p strong { color: var(--accent-ink); font-weight: 600; }
.hero-lede .muted { color: var(--ink-dim); font-size: 13.5px; }

.hero-facts {
  border-left: 1px solid var(--line-2);
  padding-left: clamp(18px, 2.4vw, 34px);
  font-size: 12.5px;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-facts .hf-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.hero-facts .hf-row b { color: var(--ink); font-weight: 600; text-align: right; }

/* scroll cue at the foot of the hero: constant moving arrow, fades once you leave the top */
.scroll-cue {
  display: flex;
  justify-content: center;
  align-self: center;
  width: 16px;
  height: 40px;
  margin: auto 0 0 0;
  pointer-events: none;
  opacity: 1;
}
.cue-arrow {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--accent-ink);
  border-bottom: 1.5px solid var(--accent-ink);
  transform: rotate(45deg);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue.off { opacity: 0; }
}
.hero-facts a { color: var(--ink-dim); }
.hero-facts a:hover { color: var(--accent-ink); }

/* record */
.record-table {
  border-top: 1px solid var(--line-2);
}
.rt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.rt-row .rt-label {
  font-size: clamp(12px, 1.2vw, 14.5px);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.rt-row .rt-label b { color: var(--ink); font-weight: 600; }
.rt-row .rt-num {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.9;
  white-space: nowrap;
  text-align: right;
}
.rt-row .rt-num small {
  font-size: 0.42em;
  color: var(--accent-ink);
  vertical-align: top;
  margin-left: 6px;
}
.rt-row .rt-note {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.6;
  max-width: 34ch;
}

/* kill list */
.killlist-note {
  font-size: 13px;
  color: var(--ink-dim);
  max-width: 72ch;
  margin: 0 0 34px 0;
}
.killlist-note b { color: var(--ink); font-weight: 600; }

.killlist-chapter + .killlist-chapter { margin-top: clamp(56px, 8vw, 110px); }

.chapter-head { margin-bottom: 14px; }
.chapter-title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  text-transform: uppercase;
  margin: 0 0 4px 0;
}
.chapter-title .dim { color: var(--ink-faint); font-size: 0.65em; }
.killlist-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 14px 0;
}
.killlist-search {
  width: 100%;
  max-width: 460px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-m);
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 0;
}
.killlist-search::placeholder { color: var(--ink-faint); }
.killlist-search:focus { border-color: var(--accent); outline: none; }

.killlist-hint {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.8px;
  margin: 12px 0 10px 0;
}

.killlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
  max-height: min(60vh, 720px);
  overflow-y: auto;
}
.lr {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s ease;
}
.lr:hover, .lr:focus-visible { background: var(--bg-2); }
.lr.copied .ld { color: var(--accent-ink); }
.lr .ln { color: var(--ink-faint); font-size: 11px; text-align: right; }
.lr .ld { overflow-wrap: anywhere; }
.lr[hidden] { display: none; }


/* method */
.m-step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 30px);
  padding: clamp(16px, 2.4vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.m-step:first-of-type { border-top: 1px solid var(--line-2); }
.m-step .m-no {
  width: 8px;
  height: 8px;
  margin: 10px 0 0 2px;
  background: var(--accent-ink);
}
.m-step h3 {
  margin: 2px 0 6px 0;
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.m-step p { margin: 0; font-size: 13px; color: var(--ink-dim); max-width: 76ch; }

.callout {
  margin-top: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line-2);
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: var(--bg-2);
}
.callout p { margin: 0; font-size: 13.5px; color: var(--ink-dim); max-width: 68ch; }
.callout p b { color: var(--ink); font-weight: 600; }
.callout .big-link {
  font-family: var(--font-d);
  text-transform: uppercase;
  font-size: clamp(16px, 1.8vw, 22px);
  text-decoration: none;
  border: 2px solid var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.callout .big-link:hover { background: var(--accent); color: #0d0d0e; }

/* contact */
.contact-big {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 60px);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 30px 0;
  max-width: 14em;
}
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.contact-links a {
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--line-2);
  padding: 12px 18px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--bg-2);
  transition: border-color 0.12s ease, color 0.12s ease;
}
.contact-links a .arrow { color: var(--accent-ink); }
.contact-links a:hover { border-color: var(--accent); color: var(--ink); }

/* footer */
footer {
  border-top: 1px solid var(--line-2);
  margin-top: clamp(90px, 13vw, 180px);
  padding-top: 20px;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #0d0d0e;
  font-size: 12.5px;
  padding: 10px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* theme toggle */
.theme-toggle {
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: 1px solid var(--line-2);
  padding: 7px 10px;
  cursor: pointer;
  margin-top: 16px;
  align-self: flex-start;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--ink); }

/* responsive */
@media (max-width: 1020px) {
  .wrap { grid-template-columns: 1fr; }
  .rail {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
  .rail-status { display: none; }
  .rail-nav {
    margin-top: 0;
    margin-left: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
  }
  .rail-nav a { border-left: 0; border-bottom: 2px solid transparent; padding: 4px 8px; }
  .rail-nav a.active { border-bottom-color: var(--accent); border-left: 0; }
  .content { padding-top: 10px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-facts { border-left: 0; padding-left: 0; }
  .rt-row { grid-template-columns: 1fr auto; }
  .rt-row .rt-note { grid-column: 1 / -1; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lr { grid-template-columns: 40px minmax(0, 1fr); }
  .m-step { grid-template-columns: 52px minmax(0, 1fr); }
  .rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand brand" "nav toggle";
    row-gap: 10px;
  }
  .brand { grid-area: brand; }
  .rail-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    justify-items: start;
    gap: 4px 22px;
    margin: 0;
  }
  .theme-toggle { grid-area: toggle; align-self: center; margin: 0 0 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
