/* Noonsenet — engineering-led: midnight + electric blue, IBM Plex Sans with JetBrains Mono accents, dark header/hero/footer. */
:root {
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --midnight: #0e1726;
  --midnight-2: #131f33;
  --line-dark: #22314a;
  --electric: #3b82f6;
  --primary-soft: #e3ecfd;
  --shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 6px 20px -12px rgba(14, 23, 38, .18);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
.eyebrow { font-family: var(--font-mono); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.eyebrow::before { content: "// "; opacity: .7; }
.nn-mono { font-family: var(--font-mono); }
.btn { border-radius: 8px; font-weight: 600; }
.card, .price-card, .steps li, .faq details { border-radius: 8px; }
.price { font-weight: 600; }
.price-card .badge-top { font-family: var(--font-mono); text-transform: none; letter-spacing: 0; border-radius: 6px; }
.steps { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .85rem; border-radius: 6px; width: 38px; height: 26px; }
code { font-family: var(--font-mono); }

/* Dark header */
.site-header { background: color-mix(in srgb, var(--midnight) 94%, transparent); border-bottom: 1px solid var(--line-dark); }
.main-nav a { color: #c7d2e3; }
.main-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(59, 130, 246, .22); }
.header-actions .btn-ghost { color: #e2e8f0; }
.header-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.nav-toggle { color: #e2e8f0; border-color: var(--line-dark); }
@media (max-width: 760px) {
  .main-nav { background: var(--midnight); border-bottom-color: var(--line-dark); }
}

/* Dark footer (the logo is light) */
.site-footer { background: #0a111d; border-top-color: var(--line-dark); color: #b8c3d6; }
.site-footer h3 { color: #7f8ea8; }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #93c5fd; }
.footer-brand p, .contact-list li, .footer-pay, .footer-legal, .site-footer .muted { color: #9aa8bf; }
.footer-pay, .footer-legal { border-top-color: var(--line-dark); }
.site-footer .pay-chip { background: var(--midnight-2); border-color: var(--line-dark); color: #e2e8f0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--midnight) 0%, #15284a 60%, #1d3f86 100%); color: #fff; border-radius: 12px; }
.cta-band .btn-secondary { background: var(--electric); color: #fff; }
.cta-band .btn-secondary:hover { background: #2f6fe4; }

/* ------------------------------------------------------------------ home: hero */
.nn-hero { background:
    radial-gradient(60% 80% at 85% 20%, rgba(59, 130, 246, .28), transparent 60%),
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--midnight);
  color: #e6edf7; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.nn-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.nn-kicker { color: #7dd3fc; font-size: .9rem; margin-bottom: 1rem; }
.nn-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #fff; line-height: 1.08; }
.nn-hero h1 span { color: #93c5fd; display: block; }
.nn-hero .lead { color: #b8c3d6; max-width: 50ch; }
.nn-hero .hero-points { color: #b8c3d6; }
.nn-hero .hero-points .icon { color: #4ade80; }
.nn-ghost { color: #e2e8f0; border: 1px solid var(--line-dark); }
.nn-ghost:hover { background: rgba(255, 255, 255, .07); }
.nn-window { margin: 0; background: #0a111d; border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(59, 130, 246, .08); overflow: hidden; }
.nn-window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line-dark); background: var(--midnight-2); }
.nn-window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.nn-window-bar span:first-child { background: #ef4444; } .nn-window-bar span:nth-child(2) { background: #f59e0b; } .nn-window-bar span:nth-child(3) { background: #22c55e; }
.nn-window-bar em { font-family: var(--font-mono); font-style: normal; font-size: .8rem; color: #8a99b3; margin-left: 10px; }
.nn-window svg { display: block; width: 100%; height: auto; }
.nn-caret { animation: nn-blink 1.2s steps(1) infinite; }
@keyframes nn-blink { 50% { opacity: 0; } }

/* engagement models */
.nn-models { background: var(--surface); border-bottom: 1px solid var(--border); }
.nn-models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nn-model { padding: 34px 28px; border-left: 1px solid var(--border); }
.nn-model:first-child { border-left: 0; padding-left: 0; }
.nn-model .nn-mono { color: var(--primary); font-size: .82rem; margin-bottom: .6rem; }
.nn-model h2 { font-size: 1.3rem; }
.nn-model p { color: var(--muted); }
.nn-model a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* capability list */
.nn-cap-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.nn-cap-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.nn-cap-intro .grid { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
.nn-cap-intro a.card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; box-shadow: none; }
.nn-cap-intro a.card h3 { font-size: .98rem; margin: 0; flex: 1; }
.nn-cap-intro a.card .card-icon { width: 34px; height: 34px; margin: 0; border-radius: 8px; }
.nn-cap-intro a.card .card-icon .icon { width: 18px; height: 18px; }
.nn-cap-intro a.card p.muted { display: none; }
.nn-cap-intro a.card p.small { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: .78rem; }
.nn-cap-list .grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--text); }
.nn-cap-list .svc-card { display: grid !important; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; background: transparent; padding: 24px 4px; }
.nn-cap-list .svc-card:hover { transform: none; box-shadow: none; background: var(--surface); }
.nn-cap-list .svc-card .card-icon { grid-row: span 3; margin: 0; background: var(--midnight); color: #93c5fd; }
.nn-cap-list .svc-card h3 { font-size: 1.25rem; }
.nn-cap-list .svc-card p { margin-bottom: .6rem; }
.nn-cap-list .svc-card-foot { border-top: 0; padding-top: 0; margin: 0; font-family: var(--font-mono); font-size: .85rem; }
.nn-all { display: inline-flex; gap: 6px; align-items: center; margin-top: 20px; font-weight: 600; text-decoration: none; }

/* milestones */
.nn-milestones { background: var(--surface-2); border-block: 1px solid var(--border); }
.nn-cycle { background: #f8faff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow-x: auto; }
.nn-cycle svg { display: block; min-width: 720px; width: 100%; height: auto; }
.nn-ms-notes { margin-top: 28px; }
.nn-ms-notes h3 { font-size: 1.02rem; }
.nn-ms-notes h3::before { content: "→ "; color: var(--primary); font-family: var(--font-mono); }
.nn-ms-notes p { color: var(--muted); font-size: .95rem; margin: 0; }

/* standards (dark) */
.nn-standards { background: var(--midnight); color: #e6edf7; }
.nn-standards .eyebrow { color: #7dd3fc; }
.nn-standards h2 { color: #fff; }
.nn-std-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; }
.nn-std { background: var(--midnight); padding: 26px; }
.nn-std .nn-mono { display: inline-block; font-size: .78rem; color: #7dd3fc; border: 1px solid #1f3a64; background: rgba(59, 130, 246, .1); border-radius: 5px; padding: 2px 8px; margin-bottom: 14px; }
.nn-std h3 { color: #fff; font-size: 1.1rem; }
.nn-std p { color: #a9b6cb; margin: 0; font-size: .95rem; }

/* commitments table */
.nn-commit-table th[scope="row"] { font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--text); background: transparent; font-weight: 600; white-space: nowrap; }
.nn-commit-table td:last-child { font-family: var(--font-mono); font-size: .82rem; white-space: nowrap; }
.nn-commit-table thead th { background: var(--midnight); color: #c7d2e3; }

.nn-retainer { padding-bottom: 72px; }
.nn-faq { background: var(--surface); border-top: 1px solid var(--border); }

@media (max-width: 980px) {
  .nn-hero-grid, .nn-cap-grid { grid-template-columns: 1fr; }
  .nn-cap-intro { position: static; }
  .nn-std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nn-models-grid, .nn-std-grid { grid-template-columns: 1fr; }
  .nn-model { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0; }
  .nn-model:first-child { border-top: 0; }
  .nn-commit-table th[scope="row"], .nn-commit-table td:last-child { white-space: normal; }
}
