/* Snoopy Track Wallet site. Plain CSS, no build step, no external files. */

:root {
  --bg: #07090c;
  --bg-2: #0c1015;
  --panel: #10161c;
  --panel-2: #141c24;
  --line: #26313b;
  --ink: #eef3f6;
  --muted: #aab6c0;
  --orange: #ff9a1f;
  --orange-hot: #ffb54d;
  --teal: #2ef2df;
  --teal-deep: #0e8f86;
  --red: #ff5a4e;
  --on-accent: #120900;
  --radius: 14px;
  --shadow-hard: 6px 6px 0 #000;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.5px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--orange-hot); }

:focus-visible {
  outline: 3px solid var(--orange-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: #000;
  color: var(--orange-hot);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.35em;
  overflow-wrap: anywhere;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--orange);
  color: var(--on-accent);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 2px solid #000;
  background: rgba(7, 9, 12, 0.92);
  box-shadow: 0 1px 0 var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.85rem, 3.6vw, 1rem);
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-name b { color: var(--orange); font-weight: 900; }
.brand:hover { color: var(--ink); }

.tag-beta {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--teal);
  padding: 2px 7px;
  transform: skew(-10deg);
  flex: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 9px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--teal-deep); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
@media (max-width: 420px) {
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0; justify-content: space-between; }
  .site-nav a { padding: 6px 4px; font-size: 0.88rem; }
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 8.5vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 5.5vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--teal);
  padding: 4px 10px;
  margin: 0 0 16px;
  transform: skew(-10deg);
  box-shadow: 4px 4px 0 #000;
}
.kicker.orange { background: var(--orange); }

.hl-orange { color: var(--orange); text-shadow: 0 0 22px rgba(255, 154, 31, 0.45); }
.hl-teal { color: var(--teal); text-shadow: 0 0 22px rgba(46, 242, 223, 0.4); }

.lede { font-size: 1.1rem; color: #d7e0e6; max-width: 38em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000; }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }

.btn-primary { background: var(--orange); color: var(--on-accent); }
.btn-primary:hover { background: var(--orange-hot); color: var(--on-accent); }
.btn-primary code { background: rgba(0, 0, 0, 0.82); color: var(--teal); border-color: #000; white-space: nowrap; overflow-wrap: normal; }

.btn-ghost { background: var(--panel-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--teal); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 8px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  border-bottom: 2px solid #000;
  background-color: var(--bg-2);
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(46, 242, 223, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255, 154, 31, 0.14), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: auto, auto, 6px 6px;
  overflow: hidden;
}
.hero::after {
  /* scanlines */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 48px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.hero-facts li {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  padding: 4px 12px;
}
.hero-facts li::before { content: "✓ "; color: var(--teal); }

.hero-art {
  position: relative;
  margin: 8px 0 0;
  width: 100%;
}
.comic-panel {
  border: 4px solid #000;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 2px var(--teal), 0 0 40px rgba(46, 242, 223, 0.25), 10px 10px 0 #000;
}
.comic-panel img { width: 100%; }
.comic-panel.wide { margin: 0 0 26px; box-shadow: 0 0 0 2px var(--orange), 10px 10px 0 #000; }
.comic-panel.wide img { aspect-ratio: 16 / 7; object-fit: cover; object-position: center 40%; }
@media (min-width: 900px) {
  .hero-art .comic-panel { transform: rotate(1.5deg); }
}
.bubble {
  position: absolute;
  top: -18px;
  left: 10px;
  max-width: 62%;
  margin: 0;
  background: #fff8ec;
  color: #111;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 3px solid #000;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-4deg);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -16px;
  border-width: 16px 14px 0 0;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}
.bubble::before {
  content: "";
  position: absolute;
  left: 25px;
  bottom: -9px;
  z-index: 1;
  border-width: 10px 9px 0 0;
  border-style: solid;
  border-color: #fff8ec transparent transparent transparent;
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section + .section { padding-top: 8px; }
.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head p:not(.kicker) { color: var(--muted); }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-2, .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--panel);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-hard);
  padding: 22px 20px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: #cdd7de; margin: 0; }
.card .num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--on-accent);
  background: var(--orange);
  padding: 2px 8px;
  margin-bottom: 12px;
  transform: skew(-10deg);
}
.card.teal .num { background: var(--teal); }
.card.edge-orange { border-top: 4px solid var(--orange); }
.card.edge-teal { border-top: 4px solid var(--teal); }

/* keys panel */
.keys {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(46, 242, 223, 0.09), rgba(255, 154, 31, 0.07)),
    var(--panel);
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--teal-deep) inset, 10px 10px 0 #000;
  padding: 28px 20px;
}
@media (min-width: 860px) { .keys { grid-template-columns: 1fr 1fr; padding: 40px; } }
.keys h2 { margin-bottom: 0.4em; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  color: #d4dde3;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  border-radius: 4px;
  background: var(--teal);
  box-shadow: 2px 2px 0 #000;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.3em + 3px);
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.checks.orange li::before { background: var(--orange); }
.checks strong { color: var(--ink); }

/* shots */
.shots {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) { .shots { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.shot { margin: 0; }
.shot img {
  border: 3px solid #000;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 6px 6px 0 #000;
  background: #0b0b0d;
}
.shot:nth-child(odd) img { box-shadow: 0 0 0 1px var(--line), 6px 6px 0 var(--orange); }
.shot:nth-child(even) img { box-shadow: 0 0 0 1px var(--line), 6px 6px 0 var(--teal-deep); }
.shot figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.shot figcaption strong { display: block; color: var(--ink); font-size: 1rem; }

/* steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--panel);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line) inset, 4px 4px 0 #000;
  padding: 16px 16px 16px 66px;
  min-height: 64px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--on-accent);
  background: var(--orange);
  border: 2px solid #000;
  border-radius: 8px;
  transform: rotate(-4deg);
}
.steps strong { color: var(--ink); }
.steps p { margin: 4px 0 0; color: #cdd7de; }

.note {
  border-left: 5px solid var(--teal);
  background: rgba(46, 242, 223, 0.07);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 22px 0 0;
  color: #d4dde3;
}
.note strong { color: var(--ink); }

/* safety block */
.safety {
  position: relative;
  border-radius: 18px;
  padding: 12px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, #000 16px 32px);
  box-shadow: 10px 10px 0 #000;
}
.safety-inner {
  background: #0b0c0f;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 24px 20px;
}
@media (min-width: 720px) { .safety-inner { padding: 32px 36px; } }
.safety h2 { color: #fff; }
.safety h2 .warn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 2px 12px 4px;
  transform: skew(-8deg);
  box-shadow: 4px 4px 0 #000;
  text-shadow: 2px 2px 0 #000;
}
.safety ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.safety li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
  color: #f0f3f5;
}
.safety li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--on-accent);
  background: var(--orange);
  border-radius: 50%;
}

/* follow */
.follow { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- inner pages ---------- */

.page-head {
  border-bottom: 2px solid #000;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.72), var(--bg)),
    url("img/city-800.webp") center 30% / cover;
}
@media (min-width: 800px) {
  .page-head {
    background:
      linear-gradient(180deg, rgba(7, 9, 12, 0.72), var(--bg)),
      url("img/city-1600.webp") center 30% / cover;
  }
}
.page-head .wrap { max-width: 50rem; padding-top: 40px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: 0.3em; }
.page-head p { color: #d0d9df; max-width: 44em; margin: 0; }

.prose { max-width: 50rem; padding-top: 36px; padding-bottom: 56px; }
.prose h2 {
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  margin-top: 1.8em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; color: var(--orange-hot); }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--orange); }
.prose strong { color: #fff; }
.prose em { color: var(--muted); }

.meta-line {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  background: var(--panel);
  margin: 0 0 1.4em;
}

/* responsive table: rows become cards on narrow screens */
.table-wrap { margin: 0 0 1.2em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td code { white-space: nowrap; }
@media (max-width: 719px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr {
    background: var(--panel);
    border: 2px solid #000;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--line) inset;
    margin-bottom: 12px;
    padding: 6px 4px;
  }
  td { border: 0; padding: 6px 12px; }
  td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  td code { white-space: normal; }
}

.box {
  background: var(--panel);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-hard);
  padding: 20px;
  margin: 1.6em 0;
}
.box h2, .box h3 { margin-top: 0; border: 0; padding: 0; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box.teal { box-shadow: 0 0 0 1px var(--teal-deep) inset, 6px 6px 0 #000; }
.box.orange { box-shadow: 0 0 0 1px rgba(255, 154, 31, 0.6) inset, 6px 6px 0 #000; }

dl.kv { display: grid; gap: 4px 16px; margin: 0; }
dl.kv dt { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
dl.kv dd { margin: 0; }
dl.kv code { overflow-wrap: anywhere; word-break: break-all; }

.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.release-head h2 { margin: 0; border: 0; padding: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--panel);
  border: 2px solid #000;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line) inset, 4px 4px 0 #000;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  padding: 14px 44px 14px 16px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--on-accent);
  background: var(--teal);
  border-radius: 6px;
}
.faq details[open] summary::after { content: "−"; background: var(--orange); }
.faq .answer { padding: 0 16px 16px; color: #d4dde3; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 2px solid #000;
  box-shadow: 0 -1px 0 var(--line);
  background: #050608;
  padding: 32px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .cols { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--orange-hot); }
.site-footer p { margin: 0 0 0.6em; }
.site-footer .attr { font-size: 0.82rem; }

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

/* 404 */
.notfound { padding-top: 56px; text-align: left; }
.notfound img { width: 160px; height: 160px; border-radius: 50%; border: 3px solid var(--teal); box-shadow: 6px 6px 0 #000; margin-bottom: 20px; }

/* browser screenshots (safety section) */
.browser-shots { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 860px) { .browser-shots { grid-template-columns: 1fr 1fr; } }
.browser-shot { margin: 0; }
.browser-shot img {
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line), 6px 6px 0 var(--orange);
  background: #111;
}
.browser-shot:nth-child(even) img { box-shadow: 0 0 0 1px var(--line), 6px 6px 0 var(--teal-deep); }
.browser-shot figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.browser-shot figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
