/* Xeno Sniper site (2026-12-06). Static: no scripts, no outside requests. Fonts under the OFL, served from /fonts. */

@font-face {
  font-family: "Exo 2";
  src: url("/fonts/exo2.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrainsmono.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #b8ff1a;
  --lime-hi: #d2ff66;
  --line: rgba(184, 255, 26, .72);
  --line-dim: rgba(184, 255, 26, .38);
  --ink: #f3f6f0;
  --soft: #d3dacd;
  --mute: #aab4a4;
  --head: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --chamfer: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  --chamfer-in: polygon(9.4px 0, calc(100% - 9.4px) 0, 100% 9.4px, 100% calc(100% - 9.4px), calc(100% - 9.4px) 100%, 9.4px 100%, 0 calc(100% - 9.4px), 0 9.4px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font: 500 18px/1.5 var(--head);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
h1, h2, p { margin: 0; }
.wrap { width: min(1240px, 100% - 80px); margin-inline: auto; }
.rule { flex: 1; height: 1px; background: var(--line); }

/* Buttons: lime with corner brackets around it, or a chamfered outline. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font: 700 17px/1 var(--mono);
  letter-spacing: .02em;
  border-radius: 4px;
}
.btn-go {
  padding: 17px 30px;
  background: var(--lime);
  color: #000;
  box-shadow: 0 0 28px rgba(184, 255, 26, .25);
}
.btn-go::before {
  content: "";
  position: absolute;
  inset: -7px;
  pointer-events: none;
  background:
    linear-gradient(var(--lime), var(--lime)) left top / 12px 1.5px,
    linear-gradient(var(--lime), var(--lime)) left top / 1.5px 12px,
    linear-gradient(var(--lime), var(--lime)) right top / 12px 1.5px,
    linear-gradient(var(--lime), var(--lime)) right top / 1.5px 12px,
    linear-gradient(var(--lime), var(--lime)) left bottom / 12px 1.5px,
    linear-gradient(var(--lime), var(--lime)) left bottom / 1.5px 12px,
    linear-gradient(var(--lime), var(--lime)) right bottom / 12px 1.5px,
    linear-gradient(var(--lime), var(--lime)) right bottom / 1.5px 12px;
  background-repeat: no-repeat;
}
.btn-go:hover { background: var(--lime-hi); }
.btn-ghost {
  padding: 0;
  background: #c9d1c4;
  border-radius: 0;
  clip-path: var(--chamfer);
}
.btn-ghost span {
  display: block;
  margin: 1.5px;
  padding: 15.5px 40px;
  background: #000;
  color: var(--ink);
  clip-path: var(--chamfer-in);
}
.btn-ghost:hover { background: var(--lime); }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.brand-mark { width: 78px; }
.brand-word { width: 196px; }
.nav { display: flex; align-items: center; font: 500 16px/1 var(--mono); letter-spacing: .03em; margin-right: 44px; }
.nav a { padding: 7px 32px; color: #e9eee5; }
.nav a + a { border-left: 1px solid var(--line); }
.nav a:hover { color: var(--lime); }

/* Hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 480px; }
.hero h1 { font: 800 clamp(56px, 7.2vw, 108px)/1 var(--head); letter-spacing: -.012em; margin-bottom: 22px; }
.lede { font-size: 23px; color: var(--soft); margin-bottom: 38px; }
.cta { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }

/* The scope: a reticle through the mark, rulers either side, a line out to the edge. */
.scope { position: relative; align-self: stretch; min-height: 480px; --mark: 500px; }
.scope::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background:
    linear-gradient(var(--line), var(--line)) top / 1px calc(50% - var(--mark) * .375) no-repeat,
    linear-gradient(var(--line), var(--line)) bottom / 1px calc(50% - var(--mark) * .375) no-repeat;
}
.scope::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + var(--mark) * .38);
  width: 100vw;
  height: 1px;
  background: var(--line);
}
.glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--mark) * 1.1);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(184, 255, 26, .16), rgba(184, 255, 26, .05) 60%, transparent);
}
.ticks {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--mark) * 1.4);
  transform: translate(-50%, -50%);
  color: var(--line);
  overflow: visible;
}
.scope-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--mark);
  /* The ring sits a little above the middle of the art: 47% down, not 50%. */
  transform: translate(-50%, -47%);
  mix-blend-mode: screen;
}
.range {
  position: absolute;
  top: 36px;
  right: 0;
  font: 500 14px/1.5 var(--mono);
  letter-spacing: .06em;
  color: var(--lime);
}

/* Blocks 0 to 10, the first three as one bundle */
.blocks { padding: 62px 0 46px; }
.blocks-in { display: flex; align-items: center; gap: 18px; }
.blocks-label { font: 500 15px/1 var(--mono); letter-spacing: .1em; color: var(--lime); }
.rule-short { flex: 0 0 100px; }
.cells-wrap { position: relative; margin-inline: 18px; }
.cells { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.cells li {
  display: grid;
  place-items: center;
  width: 58px;
  height: 50px;
  border: 1px solid #3a4234;
  border-radius: 7px;
  font: 700 17px/1 var(--mono);
}
.cells li.on {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
  box-shadow: 0 0 18px rgba(184, 255, 26, .3);
}
.bundle {
  position: absolute;
  left: 6px;
  top: -24px;
  width: calc(58px * 3 + 14px * 2 - 12px);
  height: 12px;
  border: 1px solid var(--lime);
  border-bottom: 0;
}
.bundle span {
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  padding: 0 7px;
  background: #000;
  font: 500 14px/1 var(--mono);
  color: var(--lime);
}

/* Six cards */
.features { padding-bottom: 40px; scroll-margin-top: 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  padding: 32px 34px 38px;
  min-height: 258px;
  border: 1px solid var(--line-dim);
  background:
    linear-gradient(var(--lime), var(--lime)) left top / 16px 2px,
    linear-gradient(var(--lime), var(--lime)) left top / 2px 16px,
    linear-gradient(var(--lime), var(--lime)) right top / 16px 2px,
    linear-gradient(var(--lime), var(--lime)) right top / 2px 16px,
    linear-gradient(var(--lime), var(--lime)) left bottom / 16px 2px,
    linear-gradient(var(--lime), var(--lime)) left bottom / 2px 16px,
    linear-gradient(var(--lime), var(--lime)) right bottom / 16px 2px,
    linear-gradient(var(--lime), var(--lime)) right bottom / 2px 16px,
    #000;
  background-repeat: no-repeat;
  background-origin: border-box;
  scroll-margin-top: 20px;
}
.ico { display: block; width: 66px; height: 66px; color: var(--lime); margin-bottom: 26px; }
.card h2 { font: 700 31px/1.15 var(--head); margin-bottom: 12px; }
.card p { font-size: 19px; line-height: 1.45; color: var(--mute); }

/* The bot's home screen, as Telegram shows it */
.bot { padding: 40px 0 64px; scroll-margin-top: 20px; }
.tg {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 36px 44px;
  border: 1px solid #263046;
  border-radius: 14px;
  background: linear-gradient(160deg, #121b2d, #0a111e);
}
.tg-ava { flex: none; width: 82px; height: 82px; border-radius: 50%; margin-top: 2px; }
.tg-col { flex: 1; max-width: 920px; }
.tg-msg {
  position: relative;
  padding: 16px 22px 18px;
  border-radius: 16px 16px 16px 4px;
  background: #1c2739;
  font: 500 21px/1.5 var(--head);
}
.tg-msg b { font-weight: 700; }
.tg-hint { margin-top: 12px; }
.tg-time { position: absolute; right: 16px; bottom: 10px; font-size: 14px; color: #8794a9; }
.tg-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tg-keys span {
  padding: 15px 10px;
  border: 1px solid #2d3b54;
  border-radius: 8px;
  background: rgba(39, 53, 78, .72);
  text-align: center;
  font: 500 19px/1.2 var(--head);
  color: #e7ecf4;
}

/* Closing band */
.closing { padding: 34px 0 72px; text-align: center; }
.closing-row { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.plus {
  flex: none;
  width: 34px;
  height: 34px;
  background:
    linear-gradient(var(--lime), var(--lime)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) center / 1.5px 100% no-repeat;
}
.closing h2 { font: 800 clamp(30px, 3.5vw, 48px)/1.1 var(--head); letter-spacing: -.01em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 38px; }
.foot-row { display: flex; align-items: center; gap: 26px; font: 500 14px/1 var(--mono); color: var(--soft); }
.foot-row a:hover { color: var(--lime); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-mark { width: 58px; }
.foot-word { width: 150px; }
.bar { flex: none; width: 1px; height: 34px; background: var(--line); }

/* Narrow screens */
@media (max-width: 1100px) {
  .nav { display: none; }
  .scope { --mark: 420px; }
  .rule-short { display: none; }
  .cells li { width: 42px; height: 44px; }
  .cells { gap: 8px; }
  .bundle { width: calc(42px * 3 + 8px * 2 - 12px); }
}
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 52px; }
  .scope { min-height: 400px; margin-top: 18px; --mark: 360px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .top-in { gap: 10px; padding-block: 14px; }
  .brand-mark { width: 44px; }
  .brand-word { width: 112px; }
  .top .btn-go { padding: 11px 14px; font-size: 13px; }
  .top .btn-go::before { inset: -5px; }
  .hero-in { padding-top: 44px; }
  .hero h1 { font-size: 56px; margin-bottom: 16px; }
  .lede { font-size: 18px; margin-bottom: 28px; }
  .cta { gap: 18px; }
  .cta .btn-go { padding: 15px 20px; font-size: 15px; }
  .btn-ghost span { padding: 13.5px 22px; font-size: 15px; }
  .scope { min-height: 340px; --mark: 300px; }
  .range { top: 14px; font-size: 12px; }
  .blocks { padding: 54px 0 34px; }
  .blocks-in { flex-direction: column; align-items: flex-start; gap: 38px; }
  .blocks .rule { display: none; }
  .cells-wrap { margin-inline: 0; }
  .cells { gap: 5px; }
  .cells li { width: 27.5px; height: 36px; border-radius: 5px; font-size: 13px; }
  .bundle { left: 3px; top: -22px; width: calc(27.5px * 3 + 5px * 2 - 6px); height: 10px; }
  .bundle span { font-size: 12px; top: -8px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; padding: 24px 24px 26px; }
  .ico { width: 48px; height: 48px; margin-bottom: 16px; }
  .card h2 { font-size: 25px; margin-bottom: 8px; }
  .card p { font-size: 17px; }
  .bot { padding: 34px 0 48px; }
  .tg { gap: 10px; padding: 18px 14px; }
  .tg-ava { width: 40px; height: 40px; }
  .tg-msg { padding: 12px 14px 24px; font-size: 16px; }
  .tg-time { font-size: 12px; bottom: 7px; right: 12px; }
  .tg-keys span { padding: 12px 6px; font-size: 15px; }
  .closing { padding: 24px 16px 56px; }
  .closing-row { gap: 12px; margin-bottom: 30px; }
  .closing-row .rule { display: none; }
  .plus { width: 20px; height: 20px; }
  .closing h2 { font-size: 28px; }
  .foot-row { flex-direction: column; gap: 16px; }
  .foot-row .rule, .foot-row > .bar { display: none; }
  .foot-mark { width: 48px; }
  .foot-word { width: 124px; }
}
