/* Preserve the site's neutral, cyan and green identity. */
:root { --r-control: 10px; --r-panel: 14px; --r-surface: 16px; }
.ink, .tm-mono { background: none; -webkit-text-fill-color: currentColor; color: var(--brand-from); }
.display { letter-spacing: -.035em; }
.hero { --r-control: 1.125rem; --r-panel: 1.625rem; --r-surface: 2.125rem; }
#hardware .frame.h-full { width: 100%; min-width: 0; height: auto; }
.nx-support { padding: 32px 0 40px; }
.nx-support-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 42px; }
.nx-support-item { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 160ms ease-out; }
.nx-support-item img { width: 27px; height: 27px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .65; transition: opacity 160ms ease-out; }
.nx-support-item img[src$=".png"] { filter: grayscale(1); border-radius: 6px; opacity: .85; }
a.nx-support-item:hover { color: var(--fg); }
a.nx-support-item:hover img { opacity: 1; }
a.nx-support-item:focus-visible { outline: 2px solid var(--brand-from); outline-offset: 6px; border-radius: 3px; }
.nx-support p { margin: 18px 0 0; color: var(--text-3); font-size: 11px; text-align: center; letter-spacing: .02em; }
@media (max-width: 600px) { .nx-support { padding: 24px 0 30px; } .nx-support-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; max-width: 340px; margin: auto; } .nx-support-item { justify-content: start; font-size: 13px; } .nx-support-item img { width: 24px; height: 24px; } }
.nx-section { padding-top: clamp(48px, 7vw, 100px); padding-bottom: 36px; }
.nx-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.nx-section-head h2 { margin: 0; font: 500 clamp(1.8rem, 3.3vw, 2.8rem)/1.14 var(--font-display); letter-spacing: -.03em; }
.nx-section-head p { max-width: 580px; margin: 16px 0 0; color: var(--text-2); line-height: 1.7; font-size: 15px; }
.nx-text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; text-decoration: none; padding: 8px 0; color: var(--brand-from); }
.nx-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
noyce-review { display: block; color: var(--fg); font-family: var(--font-body); }
.nx-review { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.nx-review-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 12px; }
.nx-review-bar strong { font-weight: 500; font-size: 14px; }
.nx-review-demo { color: var(--text-3); margin-left: auto; }
.nx-review-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.nx-review-files { padding: 24px 12px; border-right: 1px solid var(--border); }
.nx-review-files p { font-size: 11px; color: var(--text-3); padding: 0 10px; margin: 0 0 12px; }
.nx-review-files button { display: flex; width: 100%; gap: 8px; align-items: center; padding: 12px 10px; border: 1px solid transparent; background: none; color: var(--text-2); border-radius: 6px; text-align: left; font: inherit; font-size: 12px; cursor: pointer; }
.nx-review-files button[aria-pressed="true"] { color: var(--fg); background: var(--surface-muted); border-color: var(--border); }
.nx-review-files button span:last-child { margin-left: auto; color: var(--warning); }
.nx-review-main { min-width: 0; }
.nx-review-title { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 18px 22px; font-size: 12px; color: var(--text-2); }
.nx-review-title .nx-review-path { margin-right: auto; font-family: var(--font-mono); overflow-wrap: anywhere; }
.nx-review-toggle { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 7px; }
.nx-review-toggle button { background: none; color: var(--text-2); border: 0; padding: 5px 10px; border-radius: 4px; font: inherit; cursor: pointer; }
.nx-review-toggle button[aria-pressed="true"] { color: var(--fg); background: var(--surface-hover); }
.nx-diff { margin: 0; padding: 18px 0; overflow-x: auto; background: var(--bg); font: 12px/1.9 var(--font-mono); }
.nx-diff code { display: block; min-width: max-content; }
.nx-diff-line { display: block; padding: 0 22px; white-space: pre; }
.nx-line-number { display: inline-block; width: 32px; color: var(--text-3); user-select: none; }
.nx-diff-line[data-kind="add"] { background: oklch(78% .18 150 / .1); color: oklch(85% .13 150); }
.nx-diff-line[data-kind="remove"] { background: oklch(72% .17 25 / .08); color: oklch(81% .1 25); }
.nx-review-finding { padding: 22px; }
.nx-review-label { display: inline-flex; gap: 8px; align-items: center; color: var(--warning); font-size: 11px; }
.nx-review-finding h3 { margin: 12px 0 7px; font-size: 16px; font-weight: 500; }
.nx-review-finding p { color: var(--text-2); font-size: 13px; line-height: 1.7; max-width: 65ch; }
.nx-review-authority { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 14px; margin-top: 18px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 11px; }
.nx-review-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.nx-review-controls button { min-height: 38px; border: 1px solid var(--border-strong); border-radius: 7px; color: var(--fg); background: var(--surface-raised); padding: 8px 14px; font: inherit; font-size: 12px; cursor: pointer; transition: background 160ms ease-out; }
.nx-review-controls button:hover { background: var(--surface-hover); }
.nx-review-controls button:first-child { background: var(--brand-from); color: var(--bg); border-color: transparent; }
.nx-review-controls button:first-child:hover { background: var(--brand-to); }
.nx-review-status { padding: 12px 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-2); min-height: 46px; }
.nx-review-status[data-decided="true"] { color: var(--success); }
.nx-review-footnote { margin: 14px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.6; }
.nx-review button:focus-visible { outline: 2px solid var(--brand-from); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .nx-review-main[data-changing="true"] .nx-review-finding { animation: nx-settle 220ms cubic-bezier(.16,1,.3,1); }
  @keyframes nx-settle { from { transform: translateY(12px); } to { transform: none; } }
}
@media (max-width: 700px) {
  .nx-review-body { grid-template-columns: minmax(0, 1fr); }
  .nx-review-files { display: flex; gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--border); }
  .nx-review-files p { display: none; }
  .nx-review-files button { width: auto; flex: 1; font-size: 11px; }
  .nx-review-demo { margin-left: 0; }
  .nx-review-bar, .nx-review-finding, .nx-review-title { padding: 16px; }
  .nx-capabilities { gap: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-hardware video { display: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
