/* NTPNODE brand tokens — industrial timing, not generic AI purple/cream */

/* Self-hosted IBM Plex (no Google Fonts / no cross-border font CDN) */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e1419;
  --bg-elevated: #151d25;
  --bg-panel: #1a2430;
  --surface: #1e2a38;
  --text: #e8eef4;
  --text-muted: #8b9aab;
  --text-dim: #5c6d7e;
  --accent: #2a9d8f;
  --accent-hover: #3db5a6;
  --accent-dim: rgba(42, 157, 143, 0.14);
  --accent-border: rgba(42, 157, 143, 0.45);
  --steel: #4a6fa5;
  --steel-dim: rgba(74, 111, 165, 0.18);
  --line: rgba(232, 238, 244, 0.1);
  --line-strong: rgba(232, 238, 244, 0.18);
  --ok: #7cb87a;
  --warn: #c4a35a;
  --danger: #c47070;
  --radius: 2px;
  /* Latin: self-hosted IBM Plex; CJK: system UI fonts (no third-party CDN) */
  --font-display: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1120px;
  --nav-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(74, 111, 165, 0.22), transparent 55%),
    radial-gradient(900px 500px at -5% 30%, rgba(42, 157, 143, 0.12), transparent 50%),
    linear-gradient(180deg, #0c1217 0%, var(--bg) 40%, #0a1014 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-hover);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 20, 25, 0.82);
  backdrop-filter: blur(12px);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  color: var(--text);
  line-height: 1.15;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  max-width: min(22rem, 52vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-left: 0.5rem;
}

.lang-switch a {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-decoration: none;
  background: transparent;
}

.lang-switch a[aria-current="true"] {
  background: var(--accent-dim);
  color: var(--accent-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 560;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #041210;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #041210;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 20, 25, 0.92) 0%, rgba(14, 20, 25, 0.55) 48%, rgba(14, 20, 25, 0.35) 100%),
    url("/images/hero-grid.svg") center / cover no-repeat,
    linear-gradient(135deg, #0e1419 0%, #1a2a38 50%, #0e1a22 100%);
  z-index: 0;
  animation: heroFade 1.2s var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  animation: riseIn 0.9s var(--ease) 0.15s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
  color: var(--text);
  text-shadow: 0 0 40px rgba(42, 157, 143, 0.25);
}

.hero-company {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 32rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
  animation: riseIn 0.7s var(--ease) both;
}

/* Product strips — not cards unless interactive */
.product-strip {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.product-strip:first-of-type { border-top: none; }

@media (min-width: 768px) {
  .product-strip {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.product-strip h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.model-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  color: var(--text-dim);
  font-weight: 500;
}

.spec-table td { color: var(--text-muted); }

.note {
  font-size: 0.9rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--text-muted);
  margin: 1.25rem 0;
}

.exclude-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.exclude-list li { margin-bottom: 0.35rem; }

/* Guide list */
.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.guide-list a {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease);
}

.guide-list a:hover {
  padding-left: 0.5rem;
}

.guide-list h3 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.guide-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent-hover); }

.legal-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  animation: riseIn 0.7s var(--ease) both;
}

.page-hero .lead {
  max-width: 36rem;
  font-size: 1.1rem;
  animation: riseIn 0.7s var(--ease) 0.1s both;
}

.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: 2.5rem; }
.prose ul { color: var(--text-muted); }

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.download-list strong { color: var(--text); }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  border-radius: var(--radius);
}

.badge-soon {
  border-color: var(--warn);
  color: var(--warn);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(14, 20, 25, 0.96);
    border-bottom: 1px solid var(--line);
    gap: 0.75rem;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
