/* ninjaXlabs. System fonts only, no external requests. Graphite and silver, after the engraved plaque. */
:root {
  --bg: #0b0d10;
  --bg-2: #101319;
  --panel: #141821;
  --line: #262d3a;
  --line-2: #3a4353;
  --silver: #eef1f6;
  --steel: #b4bdcb;
  --muted: #8b95a7;
  --accent: #4fd8c4;
  --wrap: 74rem;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: var(--sans); color: var(--steel); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--silver); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--silver); color: var(--bg); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: .5rem; top: .5rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,13,16,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.wm { font-size: 1.35rem; letter-spacing: -.02em; color: var(--silver); font-weight: 500; }
.wm b { font-weight: 800; }
.site-header nav { display: flex; align-items: center; gap: 1.6rem; }
.site-header nav a { text-decoration: none; font-size: .9rem; color: var(--steel); }
.site-header nav a:hover { color: var(--silver); }
.site-header nav a.pill { color: var(--bg); background: var(--silver); border-radius: .45rem; padding: .45rem 1rem; font-weight: 650; }
.site-header nav a.pill:hover { background: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(60rem 30rem at 80% 0%, rgba(120,140,170,.14), transparent 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/circuit.svg") 0 0 / 560px; opacity: .12;
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0, transparent 70%); mask-image: radial-gradient(ellipse at 75% 40%, #000 0, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; padding-block: 6rem; }
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--muted); margin: 0 0 1.2rem; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.04; margin: 0 0 1.4rem; color: var(--silver); font-weight: 650; letter-spacing: -.035em; }
h1 em { font-style: normal; background: linear-gradient(100deg, #fff 10%, #9aa6b8 60%, #e8ecf2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; max-width: 34rem; color: var(--steel); margin: 0 0 2.2rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: .5rem; font-weight: 650; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--silver); color: var(--bg); }
.btn-solid:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--silver); }
.btn-ghost:hover { border-color: var(--steel); background: rgba(255,255,255,.04); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.plaque { margin: 0; position: relative; }
.plaque::before { content: ""; position: absolute; inset: 8% -4% -10% -4%; background: radial-gradient(closest-side, rgba(150,170,200,.2), transparent); filter: blur(24px); z-index: 0; }
.plaque img { position: relative; z-index: 1; border-radius: .9rem; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }

/* sections */
.section { padding-block: 6rem; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1.12; margin: 0 0 1rem; color: var(--silver); font-weight: 650; letter-spacing: -.025em; }
h3 { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--silver); font-weight: 650; letter-spacing: -.01em; }
.section-lead { color: var(--steel); max-width: 42rem; margin: 0 0 2.8rem; font-size: 1.08rem; }
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.prose-block p { margin: 0 0 1.2rem; }
.prose-block .strong { font-size: 1.25rem; color: var(--silver); line-height: 1.4; }
.prose-block em { font-style: normal; border-bottom: 1px solid var(--accent); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; counter-reset: c; }
.grid-2 { grid-template-columns: repeat(3, 1fr); }
.grid article { background: var(--panel); padding: 1.9rem 1.7rem 2rem; counter-increment: c; transition: background .2s ease; }
.grid article:hover { background: #181d28; }
.grid article::before { content: counter(c, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .12em; margin-bottom: 1.2rem; }
.grid p { margin: 0; font-size: .95rem; }

.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: 1.2rem; border-top: 1px dashed var(--line-2); }
.steps li { position: relative; }
.n { position: relative; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--bg); border: 1px solid var(--steel); color: var(--silver); font-family: var(--mono); font-size: .85rem; margin-bottom: 1.2rem; }
.steps p { margin: 0; font-size: .95rem; }

/* certified capsule */
.capsule .two { align-items: center; }
.cert { margin: 0; justify-self: center; width: min(100%, 26rem); }
.cert-frame { position: relative; padding: 2rem 2rem 1.6rem; border: 1px solid var(--steel); border-radius: .4rem; background: linear-gradient(160deg, #1a2029, #12161d); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-2), 0 30px 60px -30px rgba(0,0,0,.9); }
.cert-kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--muted); margin: 0 0 1.2rem; }
.cert-frame ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.cert-frame li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.cert-frame li b { font-family: var(--mono); font-weight: 500; font-size: .82rem; color: var(--silver); }
.seal { display: flex; align-items: center; gap: .8rem; color: var(--accent); font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; }
.cert figcaption { margin-top: 1.6rem; font-size: .82rem; color: var(--muted); text-align: center; }

.why { margin-top: 3rem; padding: 2.2rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--panel); }
.why h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why li { font-size: .95rem; }
.why b { display: block; color: var(--silver); margin-bottom: .3rem; }

.closing { text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.closing::before { content: ""; position: absolute; inset: 0; background: url("/img/circuit.svg") 0 0 / 560px; opacity: .07; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.closing .wrap { position: relative; }
.quote { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; color: var(--silver); font-weight: 650; letter-spacing: -.03em; margin: 0 0 2.2rem; }
.quote em { font-style: normal; color: var(--steel); }
.small { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }

.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 1.8rem; font-size: .88rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot p { margin: 0; }
.site-footer a { color: var(--steel); }

.prose { padding-block: 4rem 6rem; max-width: 46rem; }
.prose h1 { font-size: 2.4rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.notfound .eyebrow { color: var(--accent); }

@media (max-width: 62rem) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero-grid { padding-block: 4rem; }
  .grid, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .why ul { grid-template-columns: 1fr; }
  .site-header nav a:not(.pill) { display: none; }
}
@media (max-width: 40rem) {
  .grid, .grid-2, .steps { grid-template-columns: 1fr; }
  .section { padding-block: 4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
