/* NetOps Central public site - no external fonts or libraries (CSP: default-src 'self'). */
:root {
  --bg: #060c18; --surface: #0b1424; --card: #0d182b; --card2: #101d33;
  --line: rgba(148, 163, 184, .14); --line2: rgba(148, 163, 184, .24);
  --ink: #e6edf7; --label: #a7b6cc; --muted: #6f819b;
  --accent: #22d3ee; --accent2: #818cf8;
  --in: #3987e5; --out: #e0662f;                       /* validated pair (dark, surface #0b1424) */
  --good: #1f9d6b; --warn: #b8800f; --bad: #d9365e;     /* validated status set */
  --biz: #2dd4bf; --pub: #f472b6;
  --r: 18px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .9em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(6, 12, 24, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand svg { width: 28px; height: 28px; }
.brand b { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--label); font-size: 14.5px; transition: color .2s; }
.nav nav a:hover, .nav nav a.on { color: var(--ink); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 15px var(--sans); color: #04121a; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 8px 28px rgba(34, 211, 238, .22);
  transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(34, 211, 238, .32); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); max-width: 1320px; margin: 0 auto; }
.grid-bg { position: absolute; inset: -40px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(56, 189, 248, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, .055) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%); }
.grid-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 75% 35%, rgba(129, 140, 248, .16), transparent 70%),
  radial-gradient(520px 340px at 25% 30%, rgba(34, 211, 238, .12), transparent 70%); }
.eyebrow { margin: 0 0 14px; font: 600 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.025em; font-weight: 750; }
h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.01em; }
.grad { background: linear-gradient(90deg, #67e8f9, #a5b4fc 55%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--label); font-size: clamp(16px, 1.35vw, 18.5px); max-width: 62ch; margin: 18px 0 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats li { padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 24, 43, .6); }
.stats b { display: block; font: 700 24px var(--mono); letter-spacing: -.02em; }
.stats span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.hero-viz { margin: 0; border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: linear-gradient(160deg, rgba(16, 29, 51, .85), rgba(6, 12, 24, .7));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(34, 211, 238, .06), 0 0 70px rgba(129, 140, 248, .08); }
.hero-viz svg { display: block; width: 100%; height: auto; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* works-with strip */
.works { max-width: 1240px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 48px) 24px; text-align: center; }
.works p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.works ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.works li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--label); font: 12.5px var(--mono); background: rgba(13, 24, 43, .5); }

/* sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px) 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card2), var(--card));
  transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 30px rgba(34, 211, 238, .06); }
.card h3 { font-size: 17.5px; margin-top: 14px; }
.card p { margin: 0; color: var(--label); font-size: 14.5px; }
.ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(129, 140, 248, .16)); border: 1px solid rgba(34, 211, 238, .25); }
.ic svg { width: 21px; height: 21px; fill: none; stroke: #8be9f9; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* showcase rows */
.show { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin: 0 0 clamp(48px, 7vw, 88px); }
.show > .panel:first-child { order: 0; }
.show-wide { grid-template-columns: 1fr; }
.show-wide .show-copy { max-width: 760px; }
.show-copy p { color: var(--label); margin: 0; }
.show-copy em { color: var(--ink); font-style: normal; font-family: var(--mono); font-size: .92em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--label); font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 5px;
  background: rgba(34, 211, 238, .14); border: 1px solid rgba(34, 211, 238, .5); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 4px; height: 7px; border: solid var(--accent); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
@media (max-width: 980px) { .show { grid-template-columns: 1fr; } .show > .panel:first-child { order: 2; } }

.panel { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(16, 29, 51, .9), rgba(11, 20, 36, .95));
  padding: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); min-width: 0; }
.panel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.panel-head b { font-family: var(--mono); font-weight: 600; }
.panel-head .muted { font-size: 12.5px; }
.panel-head .btn { margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.ok { background: var(--good); box-shadow: 0 0 0 4px rgba(31, 157, 107, .18), 0 0 10px var(--good); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(184, 128, 15, .18), 0 0 10px var(--warn); }
.panel svg { display: block; width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; color: var(--label); font-size: 12.5px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw-x { position: relative; }
.sw-x::after { content: "×"; position: absolute; inset: -3px 0 0; text-align: center; color: #fff; font: 700 11px var(--sans); }
.foot { font-size: 12.5px; margin: 10px 2px 0; }

/* capabilities - abstract art tiles */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .caps { grid-template-columns: 1fr; } }
.cap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--card2), var(--card));
  transition: border-color .3s, transform .3s, box-shadow .3s; }
.cap:hover { border-color: rgba(129, 140, 248, .45); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 40px rgba(129, 140, 248, .08); }
.art { display: block; width: 100%; height: auto; aspect-ratio: 400 / 220; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(34, 211, 238, .08), transparent 60%), radial-gradient(90% 80% at 80% 100%, rgba(192, 132, 252, .08), transparent 60%), #070e1b; }
.cap-body { padding: 20px 22px 22px; }
.cap-body h3 { font-size: 18.5px; }
.cap-body p { margin: 0; color: var(--label); font-size: 14.5px; }
.cap-body ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cap-body li { color: var(--label); font-size: 13.5px; padding-left: 18px; position: relative; }
.cap-body li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.tw { animation: twinkle 3.6s ease-in-out infinite; }
.wave { animation: wave 12s linear infinite; }
.ring { transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.zap { stroke-dasharray: 18 260; animation: zap 3.2s linear infinite; filter: drop-shadow(0 0 4px currentColor); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes wave { to { transform: translateX(-400px); } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes zap { from { stroke-dashoffset: 278; } to { stroke-dashoffset: 0; } }

/* tooltip */
.tip { position: fixed; z-index: 50; pointer-events: none; padding: 9px 11px; border-radius: 10px; background: rgba(8, 15, 28, .96);
  border: 1px solid var(--line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font: 12px/1.5 var(--mono); color: var(--ink); max-width: 300px; }
.tip b { color: #fff; } .tip .m { color: var(--muted); }
.tip i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* architecture */
.arch { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
@media (max-width: 980px) { .arch { grid-template-columns: 1fr; } }
#stack .box rect { fill: #0f1c31; stroke: var(--line2); }
#stack .box.hot rect { stroke: rgba(34, 211, 238, .55); }
#stack .box text { fill: var(--ink); font: 600 12.5px var(--mono); text-anchor: middle; }
#stack .box text.sub { fill: var(--muted); font: 10.5px var(--mono); }
#stack .wire { fill: none; stroke: #2a3c5a; stroke-width: 2; }
#stack .zone { fill: none; stroke: rgba(129, 140, 248, .35); stroke-dasharray: 5 6; }
#stack .zone-l { fill: var(--muted); font: 10.5px var(--mono); }
.bars { display: grid; gap: 9px; margin-top: 6px; }
.bar { display: grid; grid-template-columns: 112px 1fr 64px; gap: 10px; align-items: center; font: 12.5px var(--mono); }
.bar .t { height: 12px; border-radius: 4px; background: #16233a; overflow: hidden; }
.bar .f { height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #2563eb, var(--accent)); width: 0; transition: width 1.1s cubic-bezier(.16, 1, .3, 1); }
.bar .v { text-align: right; color: var(--label); }
.bar .n { color: var(--label); }
details.tbl { margin-top: 10px; font-size: 12.5px; color: var(--label); }
details.tbl summary { cursor: pointer; color: var(--muted); }
details.tbl table { width: 100%; border-collapse: collapse; margin-top: 8px; font: 11.5px var(--mono); }
details.tbl td, details.tbl th { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; }
.code { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #070e1b; overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.code-head span { width: 10px; height: 10px; border-radius: 50%; background: #1e2a3f; }
.code-head b { margin-left: 8px; font-weight: 500; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 13px/1.75 var(--mono); color: #cbd5e1; }
.code .k { color: #7dd3fc; } .code .c { color: #64748b; }

/* principles + closing */
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pr { padding: 22px; border-left: 2px solid; border-image: linear-gradient(var(--accent), var(--accent2)) 1; background: linear-gradient(90deg, rgba(34, 211, 238, .05), transparent 70%); }
.pr b { font-size: 17px; }
.pr p { margin: 6px 0 0; color: var(--label); font-size: 14.5px; }
.closing { max-width: 900px; margin: clamp(80px, 10vw, 140px) auto 0; padding: 0 24px; text-align: center; }
.closing svg { width: 54px; height: 54px; margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(34, 211, 238, .45)); }
.closing .lede { margin: 18px auto 30px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 1240px; margin: 100px auto 0; padding: 26px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line); font-size: 13px; }

/* motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes flow { to { stroke-dashoffset: -56; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tw, .wave, .ring, .zap { animation: none; }
}
