/* Neko Security: tokens, base elements, buttons, nav, footer */
:root {
  --black: #000000;   /* brand black: main background */
  --white: #FFFFFF;   /* brand white: text on black, light section */
  --red:   #CF0012;   /* brand red: the only accent */
  --mask:  #666666;   /* brand mask grey: quiet details */
  --line:  #262626;   /* grid lines and borders on black */
  --ash:   #B5B5B5;   /* secondary text on black (passes contrast) */

  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --body:    "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --voice:   "Comic Neue", "Comic Sans MS", "Chalkboard SE", cursive;
  --osd:     "VT323", ui-monospace, "Courier New", monospace;

  --wrap: 1200px;     /* content column width */
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark; /* single-theme site, by choice: brand is night */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;     /* the big background kana must never cause sideways scroll */
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ----------
   Two kinds only: solid red (main action) and outlined (second action). */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  border: 2px solid var(--red);
  background: var(--red); color: var(--white);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(var(--black), rgba(0,0,0,.6) 70%, transparent);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span { font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; }
.nav__links { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { text-decoration: none; color: var(--ash); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--white); }
.nav .btn { padding: 10px 16px; font-size: .9rem; }

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer { padding: 40px 0 50px; color: var(--mask); font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--ash); text-decoration: none; }
.footer a:hover { color: var(--white); }


/* Hidden SVG sprite (was an inline style; moved here for the CSP) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.footer__badge { width: 96px; height: 96px; }

/* Footer list of service pages (internal links on every page) */
.footer__services { flex: 1 1 60%; }
.footer__services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
