/* Help center - matches opteroo.com marketing palette */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0f1629;
  --navy2: #162040;
  --blue: #2563eb;
  --blue3: #60a5fa;
  --slate: #94a3b8;
  --slate2: #64748b;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
}
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--blue3); }
a:hover { color: #fff; }
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 22, 41, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.nav-logo svg { display: block; flex-shrink: 0; }
.nav-logo span { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.nav-logo span b { color: var(--blue); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--slate); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 5% 80px; }
.doc-title { font-size: clamp(26px, 4vw, 36px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.2; }
.doc-meta { font-size: 13px; color: var(--slate2); margin-bottom: 28px; }
.doc-lead { font-size: 17px; color: var(--slate); margin-bottom: 28px; line-height: 1.7; }
.doc-body h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.doc-body h3 { font-size: 15px; font-weight: 600; margin: 22px 0 8px; color: #e2e8f0; }
.doc-body p, .doc-body li { font-size: 15px; color: var(--slate); margin-bottom: 12px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px 1.15rem; }
.doc-body li { margin-bottom: 8px; }
.doc-body strong { color: #e2e8f0; font-weight: 600; }
.callout {
  border-left: 3px solid var(--blue);
  padding: 14px 16px;
  margin: 20px 0;
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--slate);
}
.route-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 24px;
}
.route-table th, .route-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 0.5px solid var(--border);
}
.route-table th { color: var(--slate2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.route-table td { color: var(--slate); }
.route-table code { font-family: ui-monospace, monospace; font-size: 12px; color: var(--blue3); }
.hub-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.hub-card {
  display: block;
  padding: 22px 24px;
  background: var(--navy2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.hub-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(22, 32, 64, 0.95);
}
.hub-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.hub-card p { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 0; }
footer {
  padding: 36px 5%;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer p { font-size: 13px; color: var(--slate2); }
.contact-form-wrap { margin-top: 8px; max-width: 520px; position: relative; }
.contact-form { margin-top: 12px; }
.contact-field { margin-bottom: 14px; }
.contact-field label { display: block; font-size: 12px; font-weight: 600; color: var(--slate2); margin-bottom: 6px; }
.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
}
.contact-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.contact-field select option { background: #0f172a; color: #f1f5f9; }
.contact-field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--slate2); }
.contact-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-submit:hover:not(:disabled) { opacity: 0.92; }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.contact-msg { margin-top: 14px; font-size: 13px; line-height: 1.5; display: none; }
.contact-msg.show { display: block; }
.contact-msg.ok { color: #86efac; }
.contact-msg.err { color: #fca5a5; }
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
}
