@import url('/assets/fonts.css');
/* Storeguard: night graphite, guard mint, alarm red. Archivo (wide for headlines), JetBrains Mono for what machines say. */
:root {
  --night: #06080a; --deep: #0b0e12; --panel: #10151b; --panel2: #151b23; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --ink: #eef3f4; --soft: #a3adb4; --mute: #6c777f;
  --mint: #3cf2b5; --mint2: #1fd39a; --mintbg: rgba(60,242,181,.10);
  --red: #ff4d4d; --red2: #ff2e3a; --redbg: rgba(255,77,77,.12);
  --amber: #ffb547; --amberbg: rgba(255,181,71,.12);
  --paper: #f3f5f4; --paperink: #0b0e12;
  --r: 18px; --r2: 26px;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wide: 112%;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-stretch: var(--wide); letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.soft { color: var(--soft); }
.mute { color: var(--mute); }
.red { color: var(--red); }
.mint { color: var(--mint); }
[hidden] { display: none !important; }

/* the bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.bar.solid { background: rgba(6,8,10,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 118%; letter-spacing: -.02em; font-size: 19px; }
.logo img { width: 30px; height: 30px; }
.bar nav { display: flex; gap: 24px; margin-left: 8px; }
.bar nav a { text-decoration: none; color: var(--soft); font-size: 14.5px; font-weight: 500; }
.bar nav a:hover { color: var(--ink); }
.bar .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bar .signin { text-decoration: none; color: var(--soft); font-size: 14.5px; font-weight: 500; padding: 8px 10px; }
.bar .signin:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; font-weight: 650; font-size: 15px; letter-spacing: -.005em; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--mint); color: #03130d; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 0 0 1px rgba(60,242,181,.5), 0 8px 30px -8px rgba(60,242,181,.55); }
.btn:hover { background: #5ff7c5; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.small { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark { background: var(--paperink); color: #fff; box-shadow: none; }
.btn.danger { background: var(--red); color: #fff; box-shadow: 0 8px 30px -10px rgba(255,77,77,.6); }
.btn.block { width: 100%; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link { background: none; border: 0; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; font-size: 14px; }

/* the store box */
.storebox { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(16,21,27,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line2), 0 20px 60px -20px rgba(0,0,0,.8); max-width: 540px; }
.storebox:focus-within { box-shadow: inset 0 0 0 1px rgba(60,242,181,.6), 0 0 0 4px rgba(60,242,181,.12), 0 20px 60px -20px rgba(0,0,0,.8); }
.storebox .pre { padding-left: 12px; color: var(--mute); font-family: var(--mono); font-size: 14px; flex: none; }
.storebox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 46px; font-size: 16.5px; padding: 0 4px; font-family: var(--mono); }
.storebox input::placeholder { color: #56616a; }
.storebox .btn { flex: none; }
.storebox .short { display: none; }
.storebox-err { color: var(--red); font-size: 14px; margin-top: 10px; min-height: 1em; }

/* tags and levels */
.tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding: 5px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line2); background: rgba(255,255,255,.03); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.lv { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; flex: none; }
.lv.critical { background: var(--redbg); color: #ff7a7a; box-shadow: inset 0 0 0 1px rgba(255,77,77,.35); }
.lv.high { background: rgba(255,120,77,.12); color: #ff9a6b; box-shadow: inset 0 0 0 1px rgba(255,120,77,.3); }
.lv.medium { background: var(--amberbg); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,181,71,.28); }
.lv.low { background: rgba(255,255,255,.05); color: var(--soft); box-shadow: inset 0 0 0 1px var(--line2); }
.lv.ok, .lv.good { background: var(--mintbg); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(60,242,181,.3); }
.lv.info { background: rgba(120,170,255,.1); color: #9cc0ff; box-shadow: inset 0 0 0 1px rgba(120,170,255,.25); }
.lv.warn { background: var(--amberbg); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,181,71,.28); }

/* fields */
.field { display: grid; gap: 7px; font-size: 14px; color: var(--soft); }
.field input, .field select { height: 48px; border-radius: 12px; border: 0; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line2); padding: 0 14px; font-size: 16px; color: var(--ink); outline: 0; }
.field input:focus { box-shadow: inset 0 0 0 1px rgba(60,242,181,.6), 0 0 0 4px rgba(60,242,181,.1); }
.err { color: #ff8080; font-size: 14px; min-height: 0; }
.err:empty { display: none; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 46px; color: var(--mute); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
.foot a { text-decoration: none; color: var(--soft); }
.foot a:hover { color: var(--ink); }
.foot .logo { font-size: 16px; color: var(--ink); }
.foot .logo img { width: 24px; height: 24px; }
.foot .r { margin-left: auto; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .bar nav { display: none; }
  .bar .wrap { gap: 12px; }
  .wrap { width: calc(100% - 32px); }
  .foot .r { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .bar .end .btn.small { padding: 0 12px; }
  .storebox .pre { display: none; }
  .storebox input { font-size: 16px; padding-left: 10px; }
  .storebox .btn { padding: 0 14px; }
  .storebox .long { display: none; }
  .storebox .short { display: inline; }
}
