/* Options Sniper exhibit: the dark cinematic band above the light membership
   site. Palette is the desktop app's own panel colour, so the embedded WebGL
   rifle blends into the page instead of sitting on a slab. */

.sn {
  --sn-bg: #0b0e13;
  --sn-deep: #14161a;
  --sn-panel: #141922;
  --sn-line: #232b37;
  --sn-text: #e9edf3;
  --sn-dim: #8d97a6;
  --sn-faint: #5b6472;
  --sn-lime: #c8f135;
  --sn-lime-dim: #9ab82a;
  --sn-mono: ui-monospace, Consolas, "SF Mono", Menlo, monospace;
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 68% 30%, rgba(200,241,53,0.07) 0%, rgba(11,14,19,0) 60%),
    radial-gradient(ellipse 90% 70% at 62% 34%, #212a38 0%, rgba(11,14,19,0) 62%),
    linear-gradient(180deg, #080a0e 0%, #0b0e13 42%, #0c1016 100%);
  color: var(--sn-text);
  overflow: hidden;
  isolation: isolate;
}
/* hairline grid */
.sn::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--sn-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--sn-line) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.2;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 26%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 26%, #000 8%, transparent 76%);
}
/* film grain: kills the flat-gradient "template" look */
.sn::after {
  content: "";
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.sn-inner {
  position: relative; z-index: 2; max-width: 1040px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 3.2vw, 2.75rem);
}

/* TOP BAR ------------------------------------------------------------- */
.sn-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0 0.2rem; }
.sn-bar .sn-brand img { display: block; height: 40px; width: auto; }
.sn-bar nav { display: flex; align-items: center; gap: 1.6rem; }
.sn-bar nav a {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sn-dim); text-decoration: none; padding-bottom: 3px;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.sn-bar nav a:hover { color: var(--sn-text); border-bottom-color: var(--sn-lime); }
.sn-bar nav a.sn-navcta { color: #0b0e13; background: var(--sn-lime); padding: 9px 16px; border-bottom: none; }
.sn-bar nav a.sn-navcta:hover { background: #d9ff52; color: #0b0e13; }

/* STAGE --------------------------------------------------------------- */
.sn-stage {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem; align-items: center; padding: 1.6rem 0 2.6rem; min-height: 78vh;
}
.sn-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sn-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--sn-lime-dim); margin-bottom: 0.9rem;
}
.sn-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--sn-lime-dim); display: block; }
.sn-eyebrow .sn-live { width: 6px; height: 6px; border-radius: 50%; background: var(--sn-lime); box-shadow: 0 0 0 0 rgba(200,241,53,.6); animation: sn-pulse 2.2s infinite; }
@keyframes sn-pulse { 70% { box-shadow: 0 0 0 7px rgba(200,241,53,0); } 100% { box-shadow: 0 0 0 0 rgba(200,241,53,0); } }

/* display type: solid line + outlined line, tight and oversized */
.sn-title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif); font-weight: 400;
  font-size: clamp(54px, 7.4vw, 112px); line-height: 0.84; letter-spacing: 0.012em;
  color: #fff; margin: 0 0 1.05rem; text-transform: uppercase;
}
.sn-title .sn-l { display: block; overflow: hidden; }
.sn-title .sn-l > span { display: block; }
html.sn-js .sn-title .sn-l > span { transform: translateY(102%); }
.sn.is-live .sn-title .sn-l > span { animation: sn-wipe .95s cubic-bezier(.19,1,.22,1) forwards; }
.sn.is-live .sn-title .sn-l:nth-child(2) > span { animation-delay: .1s; }
@keyframes sn-wipe { to { transform: none; } }
.sn-title .sn-hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sn-lime);
  text-stroke: 1.5px var(--sn-lime);
  paint-order: stroke fill;
}

.sn-lede { font-size: 16px; line-height: 1.75; color: #aeb8c6; max-width: 33rem; }
.sn-lede strong { color: #fff; font-weight: 700; }
.sn-lede + .sn-lede { margin-top: 0.85rem; }

/* terminal boot readout */
.sn-term {
  margin: 1.4rem 0 1.4rem; padding: 0.85rem 1.05rem;
  background: rgba(5, 7, 10, 0.68); border: 1px solid var(--sn-line); border-left: 2px solid var(--sn-lime);
  font-family: var(--sn-mono); font-size: 12.5px; line-height: 1.95; color: var(--sn-dim);
  min-height: 9.6rem;
}
.sn-term b { color: var(--sn-text); font-weight: 400; }
.sn-term i { color: var(--sn-lime); font-style: normal; }
.sn-term .sn-row { display: block; white-space: nowrap; overflow: hidden; }
.sn-term .sn-caret { color: var(--sn-lime); animation: sn-blink 1s step-end infinite; }
@keyframes sn-blink { 50% { opacity: 0; } }

.sn-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.sn-btn {
  position: relative; display: inline-block; background: var(--sn-lime); color: #0b0e13; border: none; cursor: pointer;
  font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 21px; letter-spacing: 0.06em;
  padding: 14px 34px; text-decoration: none; overflow: hidden;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.sn-btn:hover { background: #d9ff52; color: #0b0e13; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(200,241,53,0.22); }
/* light sweeps across the button on hover */
.sn-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transition: left .55s ease;
}
.sn-btn:hover::after { left: 120%; }
.sn-btn-ghost {
  display: inline-block; background: transparent; color: var(--sn-text); cursor: pointer;
  font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 18px; letter-spacing: 0.06em;
  padding: 11px 26px; text-decoration: none; border: 1px solid var(--sn-line); transition: border-color .15s, background .15s;
}
.sn-btn-ghost:hover { border-color: var(--sn-lime); background: rgba(200,241,53,0.06); color: var(--sn-text); }
.sn-risk { margin-top: 1.25rem; font-size: 12px; line-height: 1.7; color: var(--sn-faint); max-width: 32rem; }

/* RIFLE PANEL + HUD --------------------------------------------------- */
.sn-rig { position: relative; }
.sn-frame {
  position: relative; border: 1px solid var(--sn-line); background: #12151b;
  aspect-ratio: 16 / 11; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 90px rgba(200,241,53,0.05), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.sn-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s ease; }
.sn-frame.is-ready iframe { opacity: 1; }
.sn-skel { position: absolute; inset: 0; display: grid; place-content: center; gap: 0.7rem; text-align: center; transition: opacity .5s ease; z-index: 2; }
.sn-frame.is-ready .sn-skel { opacity: 0; pointer-events: none; }
.sn-skel span { font-family: var(--sn-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sn-faint); }
.sn-skel .sn-bar-load { width: 168px; height: 2px; background: var(--sn-line); overflow: hidden; }
.sn-skel .sn-bar-load::after { content: ""; display: block; width: 38%; height: 100%; background: var(--sn-lime); animation: sn-load 1.25s ease-in-out infinite; }
@keyframes sn-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(360%); } }

/* HUD sits above the canvas and is entirely non-interactive */
.sn-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .8s ease .2s; }
.sn-frame.is-ready .sn-hud { opacity: 1; }
.sn-corner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--sn-lime); opacity: .6; }
.sn-corner.tl { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.sn-corner.tr { top: 9px; right: 9px; border-left: 0; border-bottom: 0; }
.sn-corner.bl { bottom: 9px; left: 9px; border-right: 0; border-top: 0; }
.sn-corner.br { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }
@keyframes sn-breathe { 50% { transform: scale(1.16); opacity: .25; } }
/* scan line */
.sn-scan { position: absolute; left: 0; right: 0; height: 130px; top: -130px;
           background: linear-gradient(180deg, transparent, rgba(200,241,53,0.035) 62%, rgba(200,241,53,0.16) 97%, transparent);
           animation: sn-scan 7s linear infinite; }
@keyframes sn-scan { 0% { top: -130px; } 100% { top: 100%; } }

/* armoury */
.sn-armoury { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.85rem; align-items: center; }
.sn-armoury .sn-armlabel { font-family: var(--sn-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sn-faint); margin-right: 0.3rem; }
.sn-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1px solid var(--sn-line); color: var(--sn-dim);
  font-family: var(--font-body, system-ui, sans-serif); font-size: 11.5px; letter-spacing: 0.04em;
  padding: 6px 11px; transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.sn-chip:hover { color: var(--sn-text); border-color: #3a4552; transform: translateY(-1px); }
.sn-chip[aria-pressed="true"] { color: #0b0e13; background: var(--sn-lime); border-color: var(--sn-lime); font-weight: 700; }
.sn-chip .sn-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35); }

/* COUNTDOWN ----------------------------------------------------------- */
.sn-drop {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  border: 1px solid var(--sn-line); background: linear-gradient(90deg, rgba(200,241,53,0.05), rgba(11,14,19,0) 55%);
  padding: 1.15rem 1.4rem;
}
.sn-drop-l { display: flex; flex-direction: column; gap: 5px; }
.sn-drop-k { font-family: var(--sn-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sn-lime-dim); }
.sn-drop-t { font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 27px; line-height: 1; color: #fff; letter-spacing: 0.02em; }
.sn-clock { display: flex; gap: 10px; }
.sn-unit { min-width: 62px; text-align: center; border: 1px solid var(--sn-line); background: rgba(5,7,10,0.6); padding: 8px 6px 6px; }
.sn-unit b { display: block; font-family: var(--sn-mono); font-size: 23px; line-height: 1; color: var(--sn-lime); font-weight: 700; font-variant-numeric: tabular-nums; }
.sn-unit span { display: block; font-family: var(--sn-mono); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sn-faint); margin-top: 5px; }

/* PIPELINE ------------------------------------------------------------ */
.sn-flow { padding: 3.4rem 0 4.4rem; }
.sn-flow-head { max-width: 40rem; margin-bottom: 2rem; }
.sn-h2 { font-family: var(--font-display, 'Bebas Neue', sans-serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1; color: #fff; letter-spacing: 0.015em; margin-bottom: 0.7rem; }
.sn-sub { font-size: 14.5px; line-height: 1.8; color: var(--sn-dim); }
.sn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sn-line); border: 1px solid var(--sn-line); }
.sn-step { background: var(--sn-panel); padding: 1.7rem 1.5rem 1.8rem; position: relative; transition: background .2s; }
.sn-step:hover { background: #18202b; }
.sn-step::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--sn-lime); transition: width .45s ease; }
.sn-step:hover::before { width: 100%; }
.sn-step-n { font-family: var(--sn-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--sn-lime); margin-bottom: 0.7rem; }
.sn-step h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 0.55rem; letter-spacing: 0.01em; }
.sn-step p { font-size: 13.5px; line-height: 1.75; color: #98a2b1; }
.sn-step p + p { margin-top: 0.6rem; }
.sn-step code { font-family: var(--sn-mono); font-size: 12px; color: var(--sn-lime-dim); }

.sn-note { margin-top: 1.6rem; border: 1px solid var(--sn-line); border-left: 2px solid var(--sn-lime-dim); background: rgba(255,255,255,0.02); padding: 1.1rem 1.3rem; font-size: 13.5px; line-height: 1.8; color: #98a2b1; }
.sn-note strong { color: #fff; }
.sn-foot-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 2rem; }
.sn-foot-cta p { font-size: 12.5px; color: var(--sn-faint); }


/* ENTRANCE ------------------------------------------------------------ */
html.sn-js .sn-rise { opacity: 0; transform: translateY(18px); }
/* Last-resort override. CSS animations are paused in a backgrounded tab, so a
   hero built out of animated-in elements can sit at opacity 0 indefinitely.
   After a short grace period the script sets this and the content is simply
   there, animated or not. */
html.sn-forced .sn-rise,
html.sn-forced .sn-rig { opacity: 1 !important; transform: none !important; filter: none !important; }
html.sn-forced .sn-title .sn-l > span { transform: none !important; }
.sn.is-live .sn-rise { animation: sn-rise .8s cubic-bezier(.22,.7,.3,1) forwards; }
.sn.is-live .sn-rise[data-d="1"] { animation-delay: .04s; }
.sn.is-live .sn-rise[data-d="3"] { animation-delay: .30s; }
.sn.is-live .sn-rise[data-d="4"] { animation-delay: .40s; }
.sn.is-live .sn-rise[data-d="5"] { animation-delay: .50s; }
.sn.is-live .sn-rise[data-d="6"] { animation-delay: .60s; }
.sn.is-live .sn-rise[data-d="7"] { animation-delay: .70s; }
@keyframes sn-rise { to { opacity: 1; transform: none; } }
html.sn-js .sn-rig { opacity: 0; transform: translateY(28px) scale(.982); }
.sn.is-live .sn-rig { animation: sn-rise 1s cubic-bezier(.22,.7,.3,1) .3s forwards; }
.sn-sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.sn.is-live .sn-sweep::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 44%;
  background: linear-gradient(100deg, transparent, rgba(200,241,53,0.14), transparent);
  transform: translateX(-160%) rotate(8deg); animation: sn-sweep 1.6s ease-out 1.05s 1;
}
@keyframes sn-sweep { to { transform: translateX(340%) rotate(8deg); } }
html.sn-js .sn-reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.7,.3,1); }
.sn-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sn-rise, .sn-rig, .sn-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .sn-title .sn-l > span { transform: none !important; animation: none !important; }
  .sn.is-live .sn-sweep::after, .sn-scan, .sn-eyebrow .sn-live { animation: none !important; }
  .sn-scan { display: none; }
  .sn-skel .sn-bar-load::after { animation: none; width: 100%; }
  .sn-term .sn-caret { animation: none; }
  .sn-btn:hover { transform: none; }
}

/* RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1020px) {
  .sn-stage { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 1.4rem; min-height: 0; }
  .sn-steps { grid-template-columns: 1fr; }
  .sn-lede { max-width: none; }
}
@media (max-width: 640px) {
  .sn-bar { flex-direction: column; gap: 0.8rem; padding-top: 1rem; }
  .sn-bar nav { flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.1rem; }
  .sn-term { font-size: 11.5px; min-height: 10.5rem; }
  .sn-title { font-size: clamp(46px, 14vw, 72px); }
  .sn-title .sn-hollow { -webkit-text-stroke-width: 1.5px; }
  .sn-ctas .sn-btn, .sn-ctas .sn-btn-ghost { width: 100%; text-align: center; }
  .sn-drop { justify-content: flex-start; }
  .sn-unit { min-width: 54px; }
    }

/* EARLY ACCESS MODAL --------------------------------------------------- */
.sn-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 1.25rem; overflow-y: auto;
  background: rgba(5, 7, 10, 0.86); backdrop-filter: blur(4px);
  --sn-lime: #c8f135; --sn-line: #232b37; --sn-faint: #5b6472;
  --sn-mono: ui-monospace, Consolas, "SF Mono", Menlo, monospace;
}
.sn-modal[hidden] { display: none; }
.sn-card {
  position: relative; width: 100%; max-width: 490px; background: #12161d;
  border: 1px solid var(--sn-line); color: #e9edf3; padding: 2.4rem 2.1rem 1.9rem;
  box-shadow: 0 40px 90px rgba(0,0,0,0.65); animation: sn-pop .22s ease-out;
}
@keyframes sn-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sn-card .sn-x { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 26px; line-height: 1; color: #5b6472; cursor: pointer; padding: 4px 8px; }
.sn-card .sn-x:hover { color: #e9edf3; }
.sn-card .sn-kicker { font-family: var(--sn-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #9ab82a; margin-bottom: 0.5rem; }
.sn-card h2 { font-family: var(--font-display, 'Bebas Neue', sans-serif); font-weight: 400; font-size: 38px; line-height: 1; color: #fff; margin-bottom: 0.7rem; }
.sn-card .sn-cardsub { font-size: 13.5px; line-height: 1.7; color: #98a2b1; margin-bottom: 1.5rem; }
.sn-f { display: block; margin-bottom: 1rem; }
.sn-f span.sn-lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #cfd6e0; margin-bottom: 6px; }
.sn-f span.sn-lab em { font-style: normal; font-weight: 400; color: var(--sn-faint); letter-spacing: 0.08em; }
.sn-f input, .sn-f textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: #e9edf3; background: #0b0e13;
  border: 1px solid var(--sn-line); padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.sn-f textarea { resize: vertical; min-height: 78px; line-height: 1.6; }
.sn-f input:focus, .sn-f textarea:focus { outline: none; border-color: var(--sn-lime); box-shadow: 0 0 0 3px rgba(200,241,53,0.16); }
.sn-f input[aria-invalid="true"] { border-color: #e05c4b; }
.sn-err { display: block; font-size: 12px; color: #e05c4b; margin-top: 5px; }
.sn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sn-submit {
  width: 100%; background: var(--sn-lime); color: #0b0e13; border: none; cursor: pointer; margin-top: 0.4rem;
  font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 21px; letter-spacing: 0.06em; padding: 14px; transition: background .15s;
}
.sn-submit:hover:not(:disabled) { background: #d9ff52; }
.sn-submit:disabled { opacity: .55; cursor: default; }
.sn-status { font-size: 13px; margin-top: 0.9rem; text-align: center; line-height: 1.6; }
.sn-status.is-err { color: #e05c4b; }
.sn-fine { font-size: 11px; color: var(--sn-faint); text-align: center; margin-top: 0.9rem; line-height: 1.6; }
.sn-fine a { color: #9ab82a; }
.sn-done { text-align: center; padding: 1rem 0 0.5rem; }
.sn-done .sn-tick { font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 44px; color: var(--sn-lime); line-height: 1; margin-bottom: .4rem; }
.sn-done h3 { font-family: var(--font-display, 'Bebas Neue', sans-serif); font-weight: 400; font-size: 32px; color: #fff; margin-bottom: .7rem; outline: none; }
.sn-done p { font-size: 14px; color: #98a2b1; line-height: 1.75; }
.sn-done a { color: #9ab82a; }
body.sn-locked { overflow: hidden; }
@media (max-width: 640px) { .sn-card { padding: 2rem 1.4rem 1.5rem; } .sn-card h2 { font-size: 32px; } }
