* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.topbar {
  height: 52px;
  background: rgba(10,10,15,0.97);
  border-bottom: 0.5px solid rgba(108,99,255,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-dot { width: 22px; height: 22px; background: #6c63ff; border-radius: 5px; flex-shrink: 0; }
.nav-brand span { font-size: 14px; font-weight: 500; color: #e8e8f0; }
.nav-back {
  font-size: 12px; color: #7070a0; text-decoration: none;
  padding: 5px 12px; border: 0.5px solid rgba(108,99,255,0.25); border-radius: 6px;
  transition: all 0.15s;
}
.nav-back:hover { color: #a09af0; border-color: rgba(108,99,255,0.5); }

/* ── Content ── */
main { flex: 1; }

.hero {
  padding: 48px 24px 28px;
  max-width: 820px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #6c63ff; margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600; color: #e8e8f0; line-height: 1.2; margin-bottom: 10px;
}
.hero p { font-size: 14px; color: #8080a0; line-height: 1.65; }
.updated { font-size: 11px; color: #505070; margin-top: 10px; }

.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  border-top: 0.5px solid rgba(108,99,255,0.1);
}

.content h2 {
  font-size: 15px; font-weight: 600; color: #c8c0f0;
  margin: 36px 0 10px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(108,99,255,0.15);
}
.content h3 { font-size: 13px; font-weight: 600; color: #a09af0; margin: 20px 0 6px; }
.content p { font-size: 13.5px; color: #888898; line-height: 1.75; margin-bottom: 12px; }

.content ul { list-style: none; margin: 0 0 12px 0; }
.content ul li {
  font-size: 13.5px; color: #888898; line-height: 1.75;
  padding-left: 14px; position: relative; margin-bottom: 3px;
}
.content ul li::before { content: '·'; position: absolute; left: 3px; color: #6c63ff; }

.content code {
  font-family: 'Courier New', monospace; font-size: 12px;
  background: rgba(108,99,255,0.1); color: #a09af0;
  padding: 1px 5px; border-radius: 3px;
}
.content a { color: #a09af0; text-decoration: none; }
.content a:hover { text-decoration: underline; }

.note {
  background: rgba(108,99,255,0.07);
  border: 0.5px solid rgba(108,99,255,0.2);
  border-radius: 8px; padding: 12px 16px;
  font-size: 13px; color: #8080a0; line-height: 1.6; margin: 16px 0;
}

/* ── Contact form ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: #8888b8; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(108,99,255,0.05);
  border: 0.5px solid rgba(108,99,255,0.25); border-radius: 7px;
  color: #e8e8f0; font-size: 13.5px; padding: 9px 12px;
  font-family: inherit; outline: none; transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(108,99,255,0.6); }
.form-group select { cursor: pointer; }
.form-group select option { background: #13131f; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: rgba(108,99,255,0.85); border: none; color: #fff;
  padding: 10px 24px; border-radius: 7px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.btn-submit:hover { background: #6c63ff; }
.response-times { display: grid; gap: 10px; margin: 16px 0; }
.rt-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 14px; background: rgba(108,99,255,0.05);
  border: 0.5px solid rgba(108,99,255,0.12); border-radius: 7px;
}
.rt-label { font-size: 12px; font-weight: 600; color: #a09af0; flex-shrink: 0; min-width: 140px; }
.rt-val { font-size: 13px; color: #8080a0; }

/* ── Footer ── */
.site-footer {
  border-top: 0.5px solid rgba(108,99,255,0.18);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  background: #09090e;
}
.footer-copy { font-size: .78rem; color: #7070a0; }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { font-size: .78rem; color: #8888b8; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: #a09af0; }

/* ── Cookie banner ── */
.ck {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #13131f; border-top: 0.5px solid rgba(108,99,255,0.4);
  box-shadow: 0 -8px 40px rgba(0,0,0,.6);
}
.ck.hidden { display: none; }
.ck-cats { padding: 1rem 1.5rem; border-bottom: 0.5px solid rgba(108,99,255,0.18); display: none; }
.ck-cats.open { display: block; }
.ck-intro { font-size: .78rem; color: #7070a0; line-height: 1.5; margin-bottom: .8rem; }
.ck-intro a { color: #a09af0; text-decoration: none; }
.ck-cat {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: .65rem .9rem;
  background: rgba(108,99,255,0.05); border: 0.5px solid rgba(108,99,255,0.12);
  border-radius: 8px; margin-bottom: .5rem;
}
.ck-cat-label { font-size: .82rem; font-weight: 500; color: #e8e8f0; margin-bottom: 3px; }
.ck-badge { font-size: .63rem; color: #7070a0; background: rgba(108,99,255,0.15); padding: 1px 6px; border-radius: 10px; margin-left: 5px; }
.ck-cat-desc { font-size: .75rem; color: #7070a0; line-height: 1.5; }
.toggle {
  width: 40px; height: 22px; border-radius: 11px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.12); position: relative; transition: background .2s;
  padding: 0; flex-shrink: 0;
}
.toggle.on, .toggle.locked { background: #7F77DD; }
.toggle.locked { cursor: default; }
.toggle-knob {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; transition: left .2s;
}
.toggle.on .toggle-knob, .toggle.locked .toggle-knob { left: 21px; }
.ck-bar {
  padding: .8rem 1.5rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.ck-bar-text { font-size: .78rem; color: #9090b0; line-height: 1.5; margin: 0; }
.ck-bar-text a { color: #a09af0; text-decoration: none; }
.ck-btns { display: flex; gap: .45rem; flex-wrap: wrap; }
.cb { padding: 6px 13px; border-radius: 6px; font-size: .76rem; font-weight: 500; cursor: pointer; white-space: nowrap; font-family: inherit; }
.cb-ghost { background: transparent; border: 0.5px solid rgba(108,99,255,0.25); color: #7070a0; }
.cb-outline { background: transparent; border: 0.5px solid rgba(108,99,255,0.5); color: #a09af0; }
.cb-primary { background: rgba(108,99,255,0.85); border: none; color: #fff; }
.cb-primary:hover { background: #6c63ff; }
