/* VAULT — cyber-security theme. System monospace = zero font requests. */
:root {
  --bg: #05080a;
  --bg2: #0a1014;
  --surface: #0b1218;
  --surface2: #0e1820;
  --text: #b9f5d8;
  --bright: #e6fff4;
  --dim: #4f7a66;
  --neon: #00ff9c;
  --cyan: #22d3ee;
  --amber: #ffcc66;
  --danger: #ff3b6b;
  --border: rgba(0,255,156,0.14);
  --border-bright: rgba(0,255,156,0.4);
  --mono: ui-monospace, 'JetBrains Mono', 'Cascadia Code', 'SF Mono', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.6;
  min-height: 100vh;
  /* subtle scanline + grid texture, all CSS (no images) */
  background-image:
    linear-gradient(rgba(0,255,156,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,156,0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0,255,156,0.06), transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 600px;
}
a { color: var(--neon); text-decoration: none; }

.wrap { max-width: 980px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* ---- top bar ---- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border); padding-bottom: 0.9rem; margin-bottom: 2.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.06em; }
.brand .mark { color: var(--bg); background: var(--neon); padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 700; }
.brand .name { color: var(--bright); }
.brand .name b { color: var(--neon); }
.bar .up { font-size: 0.72rem; color: var(--dim); }
.bar .up::before { content: '●'; color: var(--neon); margin-right: 0.35rem; }

/* ---- terminal hero ---- */
.term {
  background: linear-gradient(180deg, var(--surface), var(--bg2));
  border: 1px solid var(--border-bright); border-radius: 10px;
  box-shadow: 0 0 60px rgba(0,255,156,0.06), inset 0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden; margin-bottom: 2.5rem;
}
.term-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.25); }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-title { margin-left: 0.5rem; font-size: 0.72rem; color: var(--dim); }
.term-body { padding: 1.6rem 1.4rem 1.9rem; font-size: 0.95rem; }
.prompt { color: var(--dim); }
.prompt .u { color: var(--cyan); } .prompt .p { color: var(--neon); }
.typed { color: var(--bright); }
.cursor { display: inline-block; width: 0.6ch; background: var(--neon); animation: blink 1s steps(1) infinite; color: transparent; }
@keyframes blink { 50% { opacity: 0; } }
.hero-h1 {
  font-size: 2rem; font-weight: 700; letter-spacing: 0.02em; margin: 1.2rem 0 0.5rem; color: var(--bright);
  text-shadow: 0 0 18px rgba(0,255,156,0.25);
}
.hero-h1 b { color: var(--neon); }
.hero-sub { color: var(--dim); font-size: 0.9rem; max-width: 60ch; }

/* ---- section label ---- */
.sec-label { color: var(--dim); font-size: 0.74rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1rem; }
.sec-label::before { content: '// '; color: var(--neon); }

/* ---- tool grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.tool {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.25rem 1.3rem; position: relative; overflow: hidden; transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.tool::after { content: ''; position: absolute; inset: 0; border-radius: 10px; pointer-events: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.2s; }
.tool:hover { border-color: var(--border-bright); transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,255,156,0.08); }
.tool:hover::after { box-shadow: inset 0 0 22px rgba(0,255,156,0.06); }
.tool-ico { width: 30px; height: 30px; color: var(--neon); margin-bottom: 0.8rem; }
.tool h3 { color: var(--bright); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.tool .cmd { color: var(--dim); font-size: 0.74rem; margin: 0.1rem 0 0.7rem; }
.tool p { color: var(--text); font-size: 0.82rem; line-height: 1.55; }
.tool .go { color: var(--neon); font-size: 0.78rem; margin-top: 0.9rem; display: inline-block; }
.tool .go::after { content: ' →'; }
.tag {
  position: absolute; top: 1rem; right: 1rem; font-size: 0.6rem; letter-spacing: 0.1em;
  color: var(--neon); border: 1px solid var(--border-bright); border-radius: 4px; padding: 0.1rem 0.4rem; text-transform: uppercase;
}

/* ---- posture strip ---- */
.posture { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.3rem 1.4rem; margin-bottom: 2.5rem; }
.posture .sec-label { margin-bottom: 0.9rem; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.5rem 1.2rem; }
.pitem { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.82rem; }
.pitem .ok { color: var(--neon); }
.pitem .ok::before { content: '[✓]'; }
.pitem b { color: var(--bright); font-weight: 700; }
.pitem span { color: var(--dim); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--border); padding-top: 1.2rem; color: var(--dim); font-size: 0.74rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.foot a { color: var(--dim); }
.foot a:hover { color: var(--neon); }

@media (max-width: 560px) { .hero-h1 { font-size: 1.5rem; } .term-body { padding: 1.2rem 1rem 1.5rem; } }
