/* App Tunnel Manager -- shared site styles */
:root {
  --bg: #0a0e14;
  --bg-elevated: #0f141c;
  --panel: #131a24;
  --panel-2: #1a2230;
  --border: #232c3a;
  --text: #e7ebf1;
  --text-dim: #8b96a8;
  --accent: #22d3ee;      /* cyan -- "tunnel" */
  --accent-2: #a78bfa;    /* violet -- secondary */
  --accent-warn: #f59e0b;
  --accent-ok: #34d399;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 6px; font-size: 0.92em; font-family: Consolas, monospace; color: var(--accent);
}

/* ---- header ---- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(10,14,20,0.9); backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.site-header .brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; }
.site-header nav a:hover, .site-header nav a.active { color: var(--text); text-decoration: none; }
.site-header .btn-download {
  background: var(--accent); color: #05222a; font-weight: 700; padding: 9px 18px;
  border-radius: 8px; font-size: 14px;
}
.site-header .btn-download:hover { background: #67e3f5; text-decoration: none; }

/* ---- generic page shell ---- */
main.page { max-width: 780px; margin: 0 auto; padding: 60px 24px 100px; }
main.page h1 { font-size: 32px; margin-bottom: 8px; }
main.page .lead { color: var(--text-dim); font-size: 16px; margin-bottom: 40px; }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 8px;
  background: var(--accent); color: #05222a; font-weight: 700; font-size: 15px; border: none;
}
.btn:hover { background: #67e3f5; text-decoration: none; }
.btn.secondary {
  background: transparent; border: 1px solid var(--border); color: var(--text); font-weight: 600;
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn.big { padding: 16px 36px; font-size: 16px; }

/* ---- cards / panels ---- */
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.card .eyebrow {
  color: var(--accent); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card h3 { margin: 8px 0 10px; font-size: 18px; }
.card p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px;
  background: var(--panel); overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 15px;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 16px; font-size: 20px; color: var(--accent);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .answer { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; }
.faq-item .answer code { display: inline-block; margin: 2px 0; }
.faq-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-2); margin: 36px 0 14px;
}
.faq-section-title:first-child { margin-top: 0; }

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--border); padding: 36px 40px; text-align: center;
  color: var(--text-dim); font-size: 13px;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .site-header { padding: 14px 20px; }
  .site-header nav { gap: 16px; }
  main.page { padding: 40px 18px 80px; }
}
