/* =========================================================
   ARGUS · landing page
   Sharp, technical. Palette from the logo: obsidian, ivory, violet iris.
   Mint / amber / rose only for evidence and status.
   ========================================================= */
:root {
  --bg: #050407;
  --ink-1: #0b0a0f;
  --ink-2: #121018;
  --ink-3: #1a1722;
  --ivory: #f3ecdf;
  --ivory-2: #c9c1b2;
  --ivory-3: #857e70;
  --line: rgba(243, 236, 223, 0.09);
  --line-2: rgba(243, 236, 223, 0.18);
  --violet: #7a3cf0;
  --violet-hi: #a77bff;
  --violet-lo: #4b16c2;
  --violet-glow: rgba(122, 60, 240, 0.45);
  --mint: #4ade9b;
  --amber: #f6b24e;
  --rose: #ff6b8a;
  --r: 4px;
  --r-lg: 6px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font: 16px/1.55 var(--font); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); }
.dim { color: var(--ivory-3); }
::selection { background: rgba(122, 60, 240, 0.6); color: #fff; }
:focus-visible { outline: 1px solid var(--violet-hi); outline-offset: 3px; }
.container { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }

/* ---------- background ---------- */
#bg {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; display: block;
  background: radial-gradient(80% 60% at 70% 20%, rgba(122, 60, 240, 0.25), transparent 60%), var(--bg);
}
.grain {
  position: fixed; inset: -50%; z-index: -2; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-3%,2%); } 66% { transform: translate(2%,-3%); } }

/* ---------- primitives ---------- */
.label {
  display: inline-block; margin-bottom: 18px;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-hi);
}
/* corner ticks: a technical frame */
.ticks { position: relative; }
.ticks::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 3; --t: var(--violet-hi); --s: 10px;
  background:
    linear-gradient(var(--t), var(--t)) top left / var(--s) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) top left / 1px var(--s) no-repeat,
    linear-gradient(var(--t), var(--t)) top right / var(--s) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) top right / 1px var(--s) no-repeat,
    linear-gradient(var(--t), var(--t)) bottom left / var(--s) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) bottom left / 1px var(--s) no-repeat,
    linear-gradient(var(--t), var(--t)) bottom right / var(--s) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) bottom right / 1px var(--s) no-repeat;
}
.panel-box, .card, .stats, .final, .abstain, .faq details {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.card::after, .panel-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), rgba(167, 123, 255, 0.12), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::after, .panel-box:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: var(--r);
  font: 600 14.5px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s var(--ease), color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15.5px; }
.btn-primary {
  color: #fff; background: var(--violet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(167, 123, 255, .5), 0 10px 30px -10px var(--violet-glow);
}
.btn-primary:hover { background: #8a52f5; box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 0 0 1px rgba(167,123,255,.8), 0 14px 40px -10px rgba(122,60,240,.8); }
.btn-ghost { color: var(--ivory); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(243, 236, 223, .32); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- header ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.scrolled .nav-wrap { background: rgba(5, 4, 7, 0.78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 18px rgba(122, 60, 240, .5); }
.wordmark { font-weight: 700; letter-spacing: .22em; font-size: 14px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ivory-2); border-radius: var(--r); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
@keyframes blink { 50% { opacity: .3; } }
.burger { display: none; width: 40px; height: 40px; border-radius: var(--r); position: relative; box-shadow: inset 0 0 0 1px var(--line-2); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 2px; padding: 8px 16px 16px; background: rgba(5, 4, 7, .96); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- sources ---------- */
.sources { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 4, 7, .4); }
.sources-row { display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.sources .label { margin: 0; flex: none; color: var(--ivory-3); }
.marquee { flex: 1; min-width: 0; width: 100%; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: rgba(243, 236, 223, 0.42); }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
h2 { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; font-weight: 700; }
h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.025em; font-weight: 600; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- evidence ---------- */
.evidence { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.evidence-copy > p { color: var(--ivory-2); margin: 22px 0 0; max-width: 440px; font-size: 17px; }
.abstain { display: flex; gap: 14px; margin-top: 30px; padding: 18px 20px; }
.abstain svg { color: var(--amber); margin-top: 2px; }
.abstain b { display: block; font-weight: 600; margin-bottom: 4px; }
.abstain span { color: var(--ivory-3); font-size: 14.5px; }
.evidence-list { padding: 6px; display: grid; }
.ev-row { display: grid; grid-template-columns: 6px 1fr 130px 70px; gap: 16px; align-items: center; padding: 15px 14px; border-bottom: 1px solid var(--line); }
.ev-row:last-child { border-bottom: 0; }
.ev-row > i { width: 6px; height: 6px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ev-text b { display: block; font-weight: 600; font-size: 15px; }
.ev-text span { color: var(--ivory-3); font-size: 13.5px; }
.meter { height: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--c); box-shadow: 0 0 10px var(--c); transition: width 1.4s var(--ease-out); }
.evidence-list.in .meter span { width: var(--w); }
.evidence-list.in .ev-row:nth-child(2) .meter span { transition-delay: .08s; }
.evidence-list.in .ev-row:nth-child(3) .meter span { transition-delay: .16s; }
.evidence-list.in .ev-row:nth-child(4) .meter span { transition-delay: .24s; }
.evidence-list.in .ev-row:nth-child(5) .meter span { transition-delay: .32s; }
.evidence-list.in .ev-row:nth-child(6) .meter span { transition-delay: .4s; }
.ev-row em { font: 500 11px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--c); text-align: right; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.card { padding: 26px; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; transition: border-color .25s; }
.card:hover { border-color: var(--line-2); }
.card p { color: var(--ivory-2); margin: 0; font-size: 15px; }
.card-k { display: block; margin-bottom: 34px; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-hi); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.live i { width: 6px; height: 6px; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: blink 1.4s infinite; }
.card-watcher { grid-column: span 4; grid-row: span 2; }
.card-hash { grid-column: span 2; grid-row: span 2; }
.card-search, .card-safety, .card-private { grid-column: span 2; }
.card-ways { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.card-ways .card-k { margin-bottom: 12px; }
.card-ways h3 { margin: 0; }

.feed { margin-top: 26px; display: grid; gap: 6px; align-content: start; min-height: 250px; -webkit-mask: linear-gradient(180deg, #000 65%, transparent); mask: linear-gradient(180deg, #000 65%, transparent); }
.feed-row { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(0,0,0,.25); animation: feedIn .6s var(--ease-out) both; }
.feed-row:first-child { border-color: rgba(167, 123, 255, .4); background: rgba(122, 60, 240, .08); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-12px); } }
.feed-av { width: 30px; height: 30px; border-radius: var(--r); display: grid; place-items: center; font-size: 16px; background: rgba(255,255,255,.05); }
.feed-name { font-weight: 600; font-size: 14px; }
.feed-name span { font: 500 12px var(--mono); color: var(--ivory-3); margin-left: 6px; }
.feed-src { font: 400 11.5px var(--mono); color: var(--ivory-3); }
.feed-link { font: 500 11.5px var(--mono); color: var(--violet-hi); }
.feed-link.none { color: var(--ivory-3); }
.feed-time { font: 500 11.5px var(--mono); color: var(--ivory-3); min-width: 34px; text-align: right; }

.hash-compare { margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.hgrid { aspect-ratio: 1; max-width: 140px; width: 100%; justify-self: center; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 5px; border: 1px solid var(--line); background: rgba(0,0,0,.35); }
.hgrid i { background: rgba(255,255,255,.05); transition: background .35s; }
.hgrid i.on { background: var(--violet-hi); }
.hgrid i.diff { background: var(--amber); }
.hmid { display: grid; justify-items: center; gap: 2px; font: 500 11px var(--mono); color: var(--ivory-3); text-transform: uppercase; }
.hmid b { font-size: 14px; color: var(--mint); }
.search-demo { margin-top: auto; padding: 11px 13px; border: 1px solid var(--line); background: rgba(0,0,0,.35); font-size: 13px; color: var(--ivory-2); display: flex; align-items: center; border-radius: var(--r); }
.card-search p { margin-bottom: 20px; }
.caret { width: 7px; height: 15px; margin-left: 3px; background: var(--violet-hi); animation: blink 1s steps(1) infinite; }
.auth-row { margin-top: auto; padding-top: 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 500 11.5px var(--mono); padding: 5px 8px; border-radius: var(--r); }
.tag.ok { color: var(--mint); background: rgba(74, 222, 155, .08); box-shadow: inset 0 0 0 1px rgba(74, 222, 155, .25); }
.tag.warn { color: var(--amber); background: rgba(246, 178, 78, .08); box-shadow: inset 0 0 0 1px rgba(246, 178, 78, .28); }
.ways { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.way { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; font: 500 12.5px var(--mono); color: var(--ivory-2); border: 1px solid var(--line-2); border-radius: var(--r); }
.way img { width: 18px; height: 18px; border-radius: 50%; }
.keys { display: flex; gap: 4px; margin-left: 4px; }
kbd { min-width: 38px; height: 38px; padding: 0 9px; display: grid; place-items: center; border-radius: var(--r); font: 600 15px var(--font); color: var(--ivory); background: linear-gradient(180deg, #24202c, #141219); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(26px, 3.4vw, 42px) 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(42px, 5vw, 66px); font-weight: 700; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font: 500 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ivory-3); max-width: 200px; }
.footnote { margin: 14px 0 0; font: 400 12px var(--mono); color: var(--ivory-3); }

/* ---------- faq ---------- */
.faq-list { max-width: 860px; display: grid; gap: 6px; }
.faq details { padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: var(--ivory-2); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details[open] { border-color: rgba(167, 123, 255, .35); }
.faq details p { margin: -4px 0 18px; color: var(--ivory-2); }

/* ---------- final ---------- */
.final { text-align: center; padding: clamp(60px, 9vw, 110px) 24px; overflow: hidden; background: radial-gradient(70% 120% at 50% 0%, rgba(122, 60, 240, .3), transparent 60%), rgba(255,255,255,.02); }
.final h2 { font-size: clamp(40px, 6.4vw, 88px); margin-bottom: 34px; }
.final-eye { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 0 40px rgba(122, 60, 240, .6); animation: float 6s ease-in-out infinite; }

/* ---------- footer ---------- */
.footer { padding: 60px 0 40px; margin-top: 100px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ivory-2); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--ivory); }
.disclaimer { margin: 28px 0 8px; color: var(--ivory-3); font: 400 12px var(--mono); max-width: 760px; }
.copyright { margin: 0; color: var(--ivory-3); font: 400 12px var(--mono); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .evidence { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-watcher, .card-ways { grid-column: span 2; grid-row: auto; }
  .card-hash, .card-search, .card-safety, .card-private { grid-column: span 1; grid-row: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .nav-cta .btn { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sources-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bento { grid-template-columns: 1fr; }
  .card-watcher, .card-hash, .card-search, .card-safety, .card-private, .card-ways { grid-column: auto; }
  .card { padding: 20px; min-height: 0; }
  .card-k { margin-bottom: 22px; }
  .feed-row { grid-template-columns: 28px 1fr auto auto; gap: 10px; }
  .feed-src { display: none; }
  .ev-row { grid-template-columns: 6px 1fr 60px; gap: 12px; padding: 14px 8px; }
  .ev-row em { display: none; }
  .stat { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- pixel eye that trails the cursor ---------- */
.eye-cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0;
  image-rendering: pixelated; transition: opacity .3s;
  filter: drop-shadow(0 0 6px rgba(122, 60, 240, .75));
}
@media (pointer: coarse) { .eye-cursor { display: none; } }
