@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: #ffffff; color: #1a1a1a; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: #000; text-decoration: none; }

.login-wrap { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; }
.login-wrap h1 { font-size: 1.2rem; letter-spacing: 6px; text-transform: uppercase; font-weight: 400; margin-bottom: 0.5rem; color: #000; }
.login-wrap .sub { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 2px; color: #888; margin-bottom: 3rem; text-transform: uppercase; }
.login-wrap input { padding: 0.8rem 1.5rem; background: #fff; border: 1px solid #ddd; color: #000; font-family: 'JetBrains Mono', monospace; font-size: 1rem; text-align: center; outline: none; width: 280px; margin-bottom: 1rem; transition: border-color 0.3s; }
.login-wrap input:focus { border-color: #000; }
.login-wrap button { padding: 0.8rem 2rem; background: #000; color: #fff; border: none; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s; }
.login-wrap button:hover { opacity: 0.8; }
.login-wrap .error { color: #d32f2f; font-size: 0.8rem; margin-top: 1rem; display: none; }

.specs-nav { padding: 1.2rem 3rem; border-bottom: 1px solid #e5e5e5; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; letter-spacing: 1px; background: #fff; position: sticky; top: 0; z-index: 100; }
.specs-nav a { color: #666; transition: color 0.3s; }
.specs-nav a:hover { color: #000; }
.specs-nav .restricted { font-family: 'JetBrains Mono', monospace; color: #d32f2f; font-size: 0.7rem; font-weight: 600; }

.specs-container { max-width: 1000px; margin: 0 auto; padding: 4rem 3rem; }
.doc-header { border-bottom: 2px solid #000; padding-bottom: 2rem; margin-bottom: 4rem; }
.doc-title h1 { font-size: 2.5rem; font-weight: 300; letter-spacing: -0.5px; color: #000; margin-bottom: 0.5rem; }
.doc-title .doc-sub { font-size: 0.9rem; color: #555; margin-bottom: 1rem; }
.doc-meta { display: flex; gap: 2rem; margin-top: 1.5rem; font-size: 0.8rem; color: #666; font-family: 'JetBrains Mono', monospace; }
.doc-meta span { color: #000; font-weight: 500; }
.status-badge { display: inline-block; padding: 0.3rem 0.8rem; font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #2e7d32; color: #2e7d32; font-weight: 600; margin-top: 1rem; }

.spec-section { margin-bottom: 4rem; }
.spec-section h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid #e5e5e5; padding-bottom: 0.8rem; margin-bottom: 2rem; color: #000; }
.spec-section h3 { font-size: 0.95rem; font-weight: 600; margin: 2rem 0 1rem; color: #222; }
.spec-section p { font-size: 0.95rem; line-height: 1.8; color: #333; margin-bottom: 1.5rem; }
.spec-section ul, .spec-section ol { margin-bottom: 1.5rem; padding-left: 1.5rem; color: #333; }
.spec-section li { margin-bottom: 0.5rem; line-height: 1.7; }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.spec-table th, .spec-table td { text-align: left; padding: 1rem; border-bottom: 1px solid #f0f0f0; }
.spec-table th { font-weight: 600; color: #000; background: #fafafa; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.spec-table td { color: #333; }
.spec-table tr:hover td { background: #fafafa; }

pre, code { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; }
pre { background: #f5f5f7; padding: 1.5rem; border-radius: 6px; overflow-x: auto; border: 1px solid #e5e5e5; margin: 1.5rem 0; line-height: 1.5; color: #1a1a1a; }
code { background: #f5f5f7; padding: 0.2rem 0.4rem; border-radius: 3px; color: #0044ff; }

.callout { padding: 1.2rem 1.5rem; border-radius: 4px; margin: 1.5rem 0; border-left: 3px solid #000; background: #f9f9f9; font-size: 0.9rem; line-height: 1.6; }
.callout.success { border-left-color: #2e7d32; }
.callout.info { border-left-color: #0044ff; }
.callout strong { display: block; margin-bottom: 0.5rem; color: #000; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }

.action-bar { display: flex; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #e5e5e5; }
.action-btn { padding: 0.8rem 1.5rem; border: 1px solid #000; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; background: transparent; color: #000; cursor: pointer; font-family: 'JetBrains Mono', monospace; transition: all 0.3s; }
.action-btn:hover { background: #000; color: #fff; }

.lang-toggle { display: flex; gap: 0; border: 1px solid rgba(0,0,0,0.2); border-radius: 4px; overflow: hidden; margin-left: 2rem; }
.lang-btn { background: transparent; border: none; padding: 0.4rem 0.8rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; font-family: inherit; color: #666; }
.lang-btn.active { background: #000; color: #fff; }
.lang-btn:hover:not(.active) { color: #000; }

@media (max-width: 768px) {
  .specs-container { padding: 2rem 1.5rem; }
  .doc-meta { flex-direction: column; gap: 0.5rem; }
  .specs-nav { padding: 1rem 1.5rem; flex-direction: column; gap: 0.5rem; }
  .lang-toggle { margin-left: 0; margin-top: 1rem; }
  .spec-table { display: block; overflow-x: auto; }
}
@media print { .specs-nav, .action-bar, .lang-toggle { display: none; } body { background: #fff; } pre { background: #f9f9f9; border: 1px solid #ccc; } }

/* ===== NDA CHECKBOX ===== */
.nda-box {
  max-width: 480px; margin: 0 auto 1.5rem; text-align: center;
  display: flex; justify-content: center; align-items: flex-start; gap: 0.8rem;
}
.nda-box input { 
  margin-top: 0.25rem; cursor: pointer; accent-color: #000; flex-shrink: 0; 
}
.nda-box label { 
  font-size: 0.75rem; color: #555; line-height: 1.5; cursor: pointer; text-align: center; 
}